curl --request GET \
--url https://api.example.com/api/v2/models \
--header 'Authorization: Bearer <token>'{
"data": [
{
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"name": "<string>",
"display_name": "<string>",
"provider_name": "<string>",
"provider_info": {},
"supports_tool_use": true,
"model_family": "<string>",
"model_version": "<string>",
"created_at": "2023-11-07T05:31:56Z"
}
],
"pagination": {
"page": 123,
"page_size": 123,
"has_next": true
}
}Retrieve a paginated list of custom models configured for the account.
curl --request GET \
--url https://api.example.com/api/v2/models \
--header 'Authorization: Bearer <token>'{
"data": [
{
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"name": "<string>",
"display_name": "<string>",
"provider_name": "<string>",
"provider_info": {},
"supports_tool_use": true,
"model_family": "<string>",
"model_version": "<string>",
"created_at": "2023-11-07T05:31:56Z"
}
],
"pagination": {
"page": 123,
"page_size": 123,
"has_next": true
}
}Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
ModelListResponse(data: list[server.api_routes.models_api_v2.ModelReplicationInfo], pagination: server.api_routes.api_v2_common.PaginationInfo)