GET /openapi/memorylake/api/v3/agents/{id}/versions
Returns a paginated list of all versions for the specified agent, ordered by version number. Each version captures a snapshot of the agent’s configuration at the time it was created.
Permission required:agent:read
Path Parameters
string
required
Agent identifier
Query Parameters
integer
Number of versions to return per page
string
Token from a previous response to fetch the next page of results
curl -X GET 'https://app.memorylake.ai/openapi/memorylake/api/v3/agents/agent-f8bf71ab17ed8eccad8c0e8ae708273f/versions?page_size=10' \ -H 'Authorization: Bearer sk_xxxxxx'
Response
object
Show Paginated version list
array
Array of agent version objects
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
array
Skills in this version
Show Skill reference
string
Skill identifier
integer
Skill version number
string
Parent agent identifier
string
System prompt used in this version
object
Model-specific settings for this version
object
Runtime binding configuration for this version
string
Version creation timestamp
string
Token to retrieve the next page of results. Absent when there are no more pages.