Models
models
Methods
post/v5/models
Create Model
get/v5/models
List Models
query Parameters
ending_before: string
Optional
limit: number
(maximum: 1000, minimum: 1, default: 100)Optional
model_vendor:
Optional
"openai"
"cohere"
"vertex_ai"
"anthropic"
"azure"
"gemini"
"launch"
"llmengine"
"model_zoo"
"bedrock"
"xai"
"fireworks_ai"
name: string
Optional
sort_by: string
Optional
sort_order:
(default: "asc")Optional
"asc"
"desc"
starting_after: string
Optional
Response fields
has_more: boolean
Whether there are more items left to be fetched.
total: number
The total of items that match the query. This is greater than or equal to the number of items returned.
limit: number
(default: 100)Optional
The maximum number of items to return.
object: "list"
(default: "list")Optional
Request example
200Example
patch/v5/models/{model_id}
Update Model
Delete Model -> { id, deleted, object }
delete/v5/models/{model_id}
Delete Model
get/v5/models/{model_id}
Get Model
Domain types
InferenceModel = { id, created_at, created_by_identity_type, 9 more... }