Get Models

Retrieves a list of models.

GET /api/v1/models

Query Parameters

ParameterTypeDescription
includeSystembooleanWhether to include system models (default: false)
modelRatingintegerFilter models by rating

Responses

StatusDescription
200OK
500Internal Server Error

Save New Model

Creates a new model.

POST /api/v1/models

Request Body

FieldTypeDescription
modelRequestModelRequestThe model details

Responses

StatusDescription
200OK
500Internal Server Error

Remove From Team

Removes a model from the team.

POST /api/v1/models/remove-from-team

Request Body

FieldTypeDescription
modelModelThe model to remove

Responses

StatusDescription
200OK
500Internal Server Error

Get Active Models From List

Retrieves active models from a given list of model IDs.

POST /api/v1/models/list

Request Body

FieldTypeDescription
modelIdsarray of UUIDList of model IDs

Responses

StatusDescription
200OK
500Internal Server Error

Get All Active Models From List

Retrieves all active models from a given list of model IDs.

POST /api/v1/models/list/all

Request Body

FieldTypeDescription
modelIdsarray of UUIDList of model IDs

Responses

StatusDescription
200OK
500Internal Server Error

Add To Team

Adds a model to the team.

POST /api/v1/models/add-to-team

Request Body

FieldTypeDescription
modelModelThe model to add

Responses

StatusDescription
200OK
500Internal Server Error

Get Model

Retrieves a specific model by ID.

GET /api/v1/models/{modelId}

Path Parameters

ParameterTypeDescription
modelIdUUIDThe ID of the model

Responses

StatusDescription
200OK
500Internal Server Error

Save Model

Updates an existing model.

PATCH /api/v1/models/{modelId}

Path Parameters

ParameterTypeDescription
modelIdUUIDThe ID of the model to update

Request Body

FieldTypeDescription
modelRequestModelRequestThe updated model details

Responses

StatusDescription
200OK
500Internal Server Error

Get All Models

Retrieves all models.

GET /api/v1/models/all

Query Parameters

ParameterTypeDescription
includeSystembooleanWhether to include system models (default: false)
modelRatingintegerFilter models by rating

Responses

StatusDescription
200OK
500Internal Server Error

Schemas

ModelRequest

FieldTypeDescription
idUUID
namestring
apiKeystring
urlstring
connectionTypestringEnum: "URL", "BEDROCK"
apiBasestringEnum: "OPENAI", "LLAMA2", "ANTHROPIC"
iconstring
baseModelstring
paramCountinteger
computeTypestring
architecturestring
formatstring
enginestring
bitCountinteger
groupSizeinteger
contextWindowinteger
promptModestring
accuracynumber
speednumber
weightnumber
specializedboolean
activeboolean

Model

FieldTypeDescription
idUUID
namestring
apiKeystring
iconstring
baseModelstring
contextWindowinteger
chatCreditsinteger
activeboolean
internalUseOnlyboolean
createdstring (date-time)
updatedstring (date-time)
usesSystemPromptsboolean
imageGenboolean
hasVisionboolean
settingsAvailablearray of ModelSetting
instructionFollowingboolean
promptWrapperPromptWrapper
modelRatinginteger

ModelSetting

FieldTypeDescription
fieldNamestring
namestring
descriptionstring

PromptWrapper

FieldTypeDescription
wrapperNamestring
valuestring