Skip to main content
GET
List an agent's available models

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.