Skip to main content
GET
Get one immutable agent version

Authorizations

Authorization
string
header
required

A Recursion API key, created in the console under API keys.

Path Parameters

agent_id
string<uuid>
required

Agent id (UUID) the version belongs to.

agent_version_id
string<uuid>
required

Immutable agent version id (UUID), as listed by listAgentVersions or reported as an agent's latest_agent_version_id.

Response

An immutable snapshot of an agent's configuration, minted on every update. Sessions reference a version rather than the agent, so a running session's behaviour cannot change under it.

An immutable snapshot of an agent's configuration, minted on every update. Sessions reference a version rather than the agent, so a running session's behaviour cannot change under it.

agent_id
string
required

Agent this version belongs to (UUID).

agent_version_id
string
required

Identifier for this agent version (UUID). Server-assigned. Pass it when starting a session that must run a specific version.

created_at
string<date-time>
required

RFC 3339 timestamp of when this record was created. Server-assigned.

default_credential_refs
object[] | null
required

Narrows this version's default vaults to individual credentials.

default_vault_ids
string[] | null
required

Vaults whose credentials are copied into a new session started from this version when the create request omits vault_ids.

disabled_integration_mcp_providers
string[] | null
required

Native integration providers whose MCP tools sessions started from this version do not receive. The grant and its sandbox credentials are unaffected.

mcp_servers
object[] | null
required

Remote MCP servers attached at this version. Each entry is an object with name and url (http/https); further keys pass to the runtime unchanged. Credentials come from the session's granted vaults.

model_config
object
required

Default inference settings this version applies to every turn unless a session overrides them.

Example:
name
string
required

The agent's human-readable label as it stood at this version.

organization_id
string
required

Organization that owns this record. Resolved from the API key; never accepted from the caller.

skills
object[] | null
required

Skill packages loaded into the runtime at this version, each an entry with the skill reference and its metadata.

system
string
required

System prompt this version prepends to every conversation.

toolsets
object[] | null
required

The bare evaluation marker, when this is an evaluator version. Historical stored versions may contain ignored declarations, omitted from current API responses. Built-in sandbox tools need no marker.

Maximum array length: 1
version_number
integer<int64>
required

Monotonically increasing version counter within the agent, starting at 1. Server-assigned.

built_in_integrations
object[]

Built-in integrations sessions started from this version may use, each naming an organization connection an admin added. Snapshotted with the version.

created_by
string

User who made the edit that produced this version, for audit. Empty when the version was created by an automated caller.

default_rubric
string

Markdown rubric that sessions started from this version are graded against when their create request omits an outcome. A session that supplies its own outcome ignores this entirely.

description
string

The agent's free-text note as it stood at this version.

max_concurrent_sessions
integer

Maximum concurrent root sessions configured on the agent when this version was minted. Unset means unlimited. Live admission uses the agent head's current value, not this snapshot.

Required range: 1 <= x <= 10000
metadata
object

Free-form caller-supplied key/value labels. Stored verbatim and never interpreted by the service.

model
string

Model this version runs on, in the same form as an agent's model: a models-catalog id such as anthropic/claude-sonnet-4-5, returned in its stored form with a provider prefix added.

multiagent
object

Multi-agent orchestration settings at this version, such as subagent definitions and delegation limits.

nativeIntegrations
object[]

Native connections this agent may use, with provider-enforced permission and resource restrictions. Omit or send [] for none. Stored in full on each agent version; secrets remain on the connection.

Maximum array length: 25
web_search_enabled
boolean
default:true

Whether sessions created from this version may use the native web_search tool. Omitted on legacy versions and interpreted as enabled.