Models
Add A New Model
Add a new model to the specified team.
POST
Path Parameters
The resourceSlug is a URL parameter of the teamId associated with the user.
Body
model.json
JSON body containing the model object to be added. Do not include an '_id', as this will be automatically generated.
Represents an AI model used within a team or organization.
Unique identifier for the model.
Identifier of the organization to which the model belongs.
Identifier of the team to which the model belongs.
The name of the model.
The specific AI model used.
The length of the embeddings generated by the model.
The type of the model.
The general type of the model (e.g., embedding, language model).
Configuration settings for the model.
Response
302
dynamicResponse
Successful operation, redirect to '/{resourceSlug}/models'.
Server response after successsfully adding a new object
The unique Mongo id of the newly inserted object.
a string containing the redirect link to get all objects after a successful insertion.