GET /openapi/memorylake/api/v3/agents/{id}/versions
Permission required:
agent:version_listPath Parameters
Agent identifier
Query Parameters
Number of versions to return per page
Token from a previous response to fetch the next page of results
curl -X GET 'https://app.memorylake.ai/openapi/memorylake/api/v3/agents/agt_r8k2m1n3/versions?page_size=10' \
-H 'Authorization: Bearer sk_xxxxxx'
Response
Show Paginated version list
Show Paginated version list
Array of agent version objects
Show Agent version object
Show Agent version object
Version number
Model used in this version
List of capability identifiers
Execution policies for this version
Show Policies object
Show Policies object
Maximum number of conversation turns per run
Maximum number of tool calls per turn
Allowlist of tool names the agent may invoke
Denylist of tool names the agent must not invoke
Maximum seconds a subagent may run before being cancelled
Maximum number of subagents that may run concurrently
Parent agent identifier
System prompt used in this version
Model-specific settings for this version
Runtime binding configuration for this version
Version creation timestamp
Token to retrieve the next page of results. Absent when there are no more pages.
{
"success": true,
"data": {
"items": [
{
"version": 3,
"model": "gpt-4o",
"capabilities": ["tool_use", "memory_read", "memory_write"],
"policies": {
"max_turns": 20,
"max_tool_calls": 10,
"allow_tools": ["search_kb", "create_ticket"],
"deny_tools": [],
"subagent_timeout": 300,
"subagent_max_concurrency": 3
},
"output": {
"mode": "text",
"json_schema": null
},
"subagents": [
{
"name": "ticket-creator",
"mode": "delegate",
"context": "Create support tickets from conversation context",
"inherit_tools": false
}
],
"skills": [
{
"skill_id": "skl_kb_search",
"skill_version": 2
}
],
"agent_id": "agt_r8k2m1n3",
"system_prompt": "You are a helpful support assistant. Use the knowledge base to answer questions accurately.",
"model_settings": {
"temperature": 0.7,
"max_tokens": 4096
},
"runtime_bindings": {
"knowledge_base": "kb_prod_docs"
},
"created_at": "2025-04-22T14:30:00Z"
},
{
"version": 2,
"model": "gpt-4o",
"capabilities": ["tool_use", "memory_read"],
"policies": {
"max_turns": 15,
"max_tool_calls": 8,
"allow_tools": ["search_kb"],
"deny_tools": [],
"subagent_timeout": 300,
"subagent_max_concurrency": 2
},
"output": {
"mode": "text",
"json_schema": null
},
"subagents": [],
"skills": [
{
"skill_id": "skl_kb_search",
"skill_version": 1
}
],
"agent_id": "agt_r8k2m1n3",
"system_prompt": "You are a helpful support assistant.",
"model_settings": {
"temperature": 0.7,
"max_tokens": 2048
},
"runtime_bindings": {
"knowledge_base": "kb_prod_docs"
},
"created_at": "2025-03-25T11:00:00Z"
}
],
"continuation_token": null
}
}