Skip to main content
GET
Get an agent
Returns the agent with every setting at its configured or default value — routing, model policy, budgets, PII and firewall policy ids, cache mode, output schema, residency. An agent belonging to another tenant, or a KnoxCall system agent, returns 404 not_found: a probe cannot distinguish “not yours” from “does not exist”. Requires the read capability on ai_gateway. See the control-plane overview for authentication, the {data, meta} envelope, pagination and error types.

Authorizations

Authorization
string
header
required

OAuth 2.1 authentication — recommended for new integrations. Access tokens (kc_ prefix) are minted at the root-host token endpoint https://api.knoxcall.com/oauth/token and passed as Authorization: Bearer <access_token>. Public clients must use PKCE with the authorization_code grant; confidential clients may use client_credentials. The first-party SDKs and the knoxcall login CLI handle token minting, caching, refresh, and DPoP for you.

Path Parameters

id
string<uuid>
required

The AI agent UUID.

Response

The agent.

data
object

An agent under a gateway — the addressable unit an AI SDK points at.

meta
object

Metadata included with every API response.