GET /openapi/memorylake/api/v3/agents/{id}/versions/{version}
Retrieves a single version of the specified agent. Use this to inspect the configuration snapshot for any historical or current version.
Permission required:agent:read
Path Parameters
string
required
Agent identifier
integer
required
Version number to retrieve
curl -X GET 'https://app.memorylake.ai/openapi/memorylake/api/v3/agents/agent-f8bf71ab17ed8eccad8c0e8ae708273f/versions/3' \ -H 'Authorization: Bearer sk_xxxxxx'
Response
object
Show Agent version object
integer
Version number
string
Model used in this version
object
Capabilities of this version, keyed by capability name. The platform fills in default values for fields you didn’t set, so a configuration can include fields these docs don’t describe.
object
Execution policies for this version
Show Policies object
integer
Maximum number of conversation turns per run
integer
Maximum number of tool calls per turn
array
Allowlist of tool names the agent may invoke
array
Denylist of tool names the agent must not invoke
integer
Maximum seconds a subagent may run before being cancelled
integer
Maximum number of subagents that may run concurrently
object
Output configuration for this version
Show Output object
string
Output mode
object
JSON Schema for structured output
array
Subagent definitions in this version
Show Subagent object
string
Subagent name
string
Execution mode for the subagent
string
Context instructions passed to the subagent
boolean
Whether the subagent inherits the parent agent’s tools