Skip to main content
GET
cURL

Authorizations

X-API-Key
string
header
required

API key

Query Parameters

baseModelName
string

For thread models, the model of the call the threads belong to. Defaults to your default model. If it only accepts text, so must its threads' models. If it accepts audio, its threads may also use that same model.

Minimum string length: 1
cursor
string

The pagination cursor value.

pageSize
integer

Number of results to return per page.

purpose
enum<string>
default:generation

List models for this purpose: generation for a call's model, or thread for models that the call's threads can use.

  • generation - generation
  • thread - thread
Available options:
generation,
thread
Minimum string length: 1

Response

200 - application/json
results
object[]
required
next
string<uri> | null
Example:

"http://api.example.org/accounts/?cursor=cD00ODY%3D\""

previous
string<uri> | null
Example:

"http://api.example.org/accounts/?cursor=cj0xJnA9NDg3"

total
integer
Example:

123