Inference Connections_read
ApiKeyAuthAuthorizationBearer <token>Bearer token authentication. Send an API key (a saai_api_-prefixed token) as Authorization: Bearer <token>.
Required permission
view_inferenceconnection_id*stringuuidThe request has succeeded.
application/json- response
A credential + endpoint an org can use for inference.
id*uuiduuidname*string1 <= length <= 255provider_type*ProviderTypeThe API a connection speaks. Each type sets its own base URL form and whether an API key is required.
"openai""anthropic"base_url?stringAbsent on a managed connection: the platform's endpoint is operator infrastructure, not the org's to see.
length <= 2048allowed_models*array<string>Models this connection may be bound to. ["*"] allows all.
has_api_key?booleanRead-only: whether an API key is stored. The key itself is never returned. Absent on a managed connection, whose credential the org neither sets nor fixes.
managed*booleanRead-only: true for the platform-provided connection, which the org can't edit or delete.
created_at?stringAbsent on a managed connection.
date-timeupdated_at?stringAbsent on a managed connection.
date-timecurl -X GET "https://example.com/inference/connections/497f6eca-6276-4993-bfeb-53cbbbba6f08"{ "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "name": "string", "provider_type": "openai", "base_url": "string", "allowed_models": [ "string" ], "has_api_key": true, "managed": true, "created_at": "2019-08-24T14:15:22Z", "updated_at": "2019-08-24T14:15:22Z"}