Skip to main content
GET
Get Agent BYOK Model

Authorizations

Authorization
string
header
required

Your API key (ta_live_…) from Settings → API keys, sent as Authorization: Bearer <key>. Keep it on a server: it can message every customer you have. A key is full, build or read-only; a request its level does not allow is refused with 403.

Headers

Thinnest-Workspace
string

Developers only: the customer workspace this request acts in — its org_… id from POST /customers. Leave it out to act in your own workspace.

Example:

"org_3fKq9TzQ1mN8vB2xR7cLpA"

Path Parameters

id
string
required

The agent's id (ag_…), as List Agents returns it. Another workspace's agent is the same 404 as one that never existed.

Response

The agent's model on your LLM key.

provider
object
required

One of your own providers.

model
string | null
required

This agent's own choice, or null when it runs the key's model.

workspaceModel
string | null
required

The key's own model — what an agent with no choice runs.

stale
string | null
required

An earlier choice the key no longer reaches; the key's model answers instead until you choose again.