APIInference

Inference Connections_models

The models this connection can serve: the provider's own list, filtered for known providers, or a fixed list for a sign-in connection.

GET
/inference/connections/{connection_id}/models

The models this connection can serve: the provider's own list, filtered for known providers, or a fixed list for a sign-in connection.

Authorization

ApiKeyAuth
headerAuthorizationBearer <token>

Bearer token authentication. Send an API key (a saai_api_-prefixed token) as Authorization: Bearer <token>.

Required permission

view_inference

Path Parameters

connection_id*string
Formatuuid

Response Body

The request has succeeded.

application/json
  1. response
models*array<>
Example Request
curl -X GET 'https://your-org.aisecurity.services.us.connect.secureauth.com/api/v1/inference/connections/497f6eca-6276-4993-bfeb-53cbbbba6f08/models'
Example Response
{  "models": [    {      "id": "string",      "name": "string"    }  ]}