List Models

Returns a list of models available for use.

Authentication

AuthorizationBearer

Bearer authentication of the form Bearer <token>, where token is your auth token.

Query parameters

page_sizedoubleOptional

Maximum number of models to include in a page Defaults to 20, min value of 1, max value of 1000.

page_tokenstringOptional

Page token provided in the next_page_token field of a previous response.

endpointenumOptional
When provided, filters the list of models to only those that are compatible with the specified endpoint.
default_onlybooleanOptional

When provided, filters the list of models to only the default model to the endpoint. This parameter is only valid when endpoint is provided.

Response

OK
modelslist of objects
next_page_tokenstring

A token to retrieve the next page of results. Provide in the page_token parameter of the next request.

Errors

400
Bad Request Error
401
Unauthorized Error
403
Forbidden Error
404
Not Found Error
422
Unprocessable Entity Error
429
Too Many Requests Error
498
Invalid Token Error
499
Client Closed Request Error
500
Internal Server Error
501
Not Implemented Error
503
Service Unavailable Error
504
Gateway Timeout Error