Skip to main content
GET
List an agent's available models
Shows which models the agent can choose from based on its granted LLM key. It always answers 200 for an existing agent. See LLMs to add an LLM key. The models the agent’s granted LLM key can run, the provider’s defaults, and the agent’s current selection. Always 200 for an existing agent — no granted key yields an empty list.
Availability: Cloud · Community (self-hosted) · Enterprise (self-hosted)

Authorizations

Authorization
string
header
required

A workspace API key (oc_…) or organization API key (oc_org_…). Workspace-scoped endpoints called with an organization key also need X-Workspace-Id.

Path Parameters

agentId
string
required

Response

The model view

What a hosted agent can run and what it runs now, derived from the LLM key granted to it.

provider
string | null

The LLM provider of the granted key (anthropic, openai), or null when no key is granted.

providerLabel
string | null
providerScope
string | null

Where the granted key lives (workspace or organization).

models
object[]
efforts
object[]
defaults
object
selected
object
degraded
boolean

True when the live model list could not be fetched and a static fallback is shown.