List
GET/models
List
Request
Query Parameters
cursor string
The cursor
limit integer
Default value: 10
The maximum number of results
Responses
- 200
- 401
Found.
- application/json
- Schema
- Example (from schema)
Schema
Array [
]
first stringnullablerequired
The link to the first page.
items
object[]
required
An array of objects.
id int64
The unique id.
name stringrequired
The language model name.
system_prompt string
The system prompt for the model - chat models only.
token_margin int32
Possible values: <= 30
The upper token margin for completions.
last stringnullablerequired
The link to the last page.
next stringnullablerequired
The link to the next page or null if there's no page.
prev stringnullablerequired
The link to the previous page or null if there's no page.
self stringnullablerequired
The link to the current page.
{
"first": "string",
"items": [
{
"id": 0,
"name": "string",
"system_prompt": "string",
"token_margin": 0
}
],
"last": "string",
"next": "string",
"prev": "string",
"self": "string"
}
Authentication Failure