Skip to Content
Agents

List agent models

The models the caller may call through the LLM gateway with an agent key, on both gateway APIs. A caller who can view every policy also gets the models the rules block, marked blocked. Empty when the LLM gateway is off for the organization.

GET
/agents/catalog/models

The models the caller may call through the LLM gateway with an agent key, on both gateway APIs. A caller who can view every policy also gets the models the rules block, marked blocked. Empty when the LLM gateway is off for the organization.

Authorization

ApiKeyAuth
headerAuthorizationBearer <token>

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

Required permission

view_agents

Query Parameters

agent_slug?string

The agent the key is for, so rules naming it apply; without it, only rules that name no agent do.

Lengthlength <= 255
autonomous?boolean

Decide as an autonomous caller.

Response Body

The request has succeeded.

application/json
  1. response

Models served through the LLM gateway, each once, in model provider order.

models*array<>
Example Request
curl -X GET 'https://your-org.aisecurity.services.us.connect.secureauth.com/api/v1/agents/catalog/models'
Example Response
{  "models": [    {      "id": "string",      "name": "string",      "blocked": true,      "blocked_by": {        "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",        "name": "string"      },      "provider_type": "openai",      "model_provider_id": "e8dd39c4-1070-4c00-8ab5-c345bdef77c9",      "model_provider_name": "string"    }  ]}