Models
Add A New Model
Add a new model to the specified team.
POST
/
{resourceSlug}
/
forms
/
model
/
add
Path Parameters
resourceSlug
string
requiredThe resourceSlug is a URL parameter of the teamId associated with the user.
Body
model.json
_id
string
requiredUnique identifier for the model.
orgId
string
requiredIdentifier of the organization to which the model belongs.
teamId
string
requiredIdentifier of the team to which the model belongs.
name
string
requiredThe name of the model.
model
string
requiredThe specific AI model used.
embeddingLength
integer
requiredThe length of the embeddings generated by the model.
modelType
string
requiredThe type of the model.
type
string
requiredThe general type of the model (e.g., embedding, language model).
config
object
requiredConfiguration settings for the model.
Response
302 - dynamicResponse
_id
string
The unique Mongo id of the newly inserted object.
redirect
string
a string containing the redirect link to get all objects after a successful insertion.