Retrieves a list of models.
Parameter | Type | Description |
---|
includeSystem | boolean | Whether to include system models (default: false) |
modelRating | integer | Filter models by rating |
Status | Description |
---|
200 | OK |
500 | Internal Server Error |
Creates a new model.
Field | Type | Description |
---|
modelRequest | ModelRequest | The model details |
Status | Description |
---|
200 | OK |
500 | Internal Server Error |
Removes a model from the team.
POST /api/v1/models/remove-from-team
Field | Type | Description |
---|
model | Model | The model to remove |
Status | Description |
---|
200 | OK |
500 | Internal Server Error |
Retrieves active models from a given list of model IDs.
Field | Type | Description |
---|
modelIds | array of UUID | List of model IDs |
Status | Description |
---|
200 | OK |
500 | Internal Server Error |
Retrieves all active models from a given list of model IDs.
POST /api/v1/models/list/all
Field | Type | Description |
---|
modelIds | array of UUID | List of model IDs |
Status | Description |
---|
200 | OK |
500 | Internal Server Error |
Adds a model to the team.
POST /api/v1/models/add-to-team
Field | Type | Description |
---|
model | Model | The model to add |
Status | Description |
---|
200 | OK |
500 | Internal Server Error |
Retrieves a specific model by ID.
GET /api/v1/models/{modelId}
Parameter | Type | Description |
---|
modelId | UUID | The ID of the model |
Status | Description |
---|
200 | OK |
500 | Internal Server Error |
Updates an existing model.
PATCH /api/v1/models/{modelId}
Parameter | Type | Description |
---|
modelId | UUID | The ID of the model to update |
Field | Type | Description |
---|
modelRequest | ModelRequest | The updated model details |
Status | Description |
---|
200 | OK |
500 | Internal Server Error |
Retrieves all models.
Parameter | Type | Description |
---|
includeSystem | boolean | Whether to include system models (default: false) |
modelRating | integer | Filter models by rating |
Status | Description |
---|
200 | OK |
500 | Internal Server Error |
Field | Type | Description |
---|
id | UUID | |
name | string | |
apiKey | string | |
url | string | |
connectionType | string | Enum: "URL", "BEDROCK" |
apiBase | string | Enum: "OPENAI", "LLAMA2", "ANTHROPIC" |
icon | string | |
baseModel | string | |
paramCount | integer | |
computeType | string | |
architecture | string | |
format | string | |
engine | string | |
bitCount | integer | |
groupSize | integer | |
contextWindow | integer | |
promptMode | string | |
accuracy | number | |
speed | number | |
weight | number | |
specialized | boolean | |
active | boolean | |
Field | Type | Description |
---|
id | UUID | |
name | string | |
apiKey | string | |
icon | string | |
baseModel | string | |
contextWindow | integer | |
chatCredits | integer | |
active | boolean | |
internalUseOnly | boolean | |
created | string (date-time) | |
updated | string (date-time) | |
usesSystemPrompts | boolean | |
imageGen | boolean | |
hasVision | boolean | |
settingsAvailable | array of ModelSetting | |
instructionFollowing | boolean | |
promptWrapper | PromptWrapper | |
modelRating | integer | |
Field | Type | Description |
---|
fieldName | string | |
name | string | |
description | string | |
Field | Type | Description |
---|
wrapperName | string | |
value | string | |