Models

models

Methods

Create Model ->
post/v5/models

Create Model

List Models -> CursorPage<>
get/v5/models

List Models

query Parameters
ending_before: string
Optional
limit: number
Optional
(maximum: 1000, minimum: 1, default: 100)
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:
Optional
(default: "asc")
"asc"
"desc"
starting_after: string
Optional
Response fields
has_more: boolean

Whether there are more items left to be fetched.

items: Array<>
total: number

The total of items that match the query. This is greater than or equal to the number of items returned.

limit: number
Optional
(default: 100)

The maximum number of items to return.

object: "list"
Optional
(default: "list")
Request example
200Example
Update Model ->
patch/v5/models/{model_id}

Update Model

Delete Model -> { id, deleted, object }
delete/v5/models/{model_id}

Delete Model

Get Model ->
get/v5/models/{model_id}

Get Model

Domain types

InferenceModel = { id, created_at, created_by_identity_type, 9 more... }