GET /openapi/memorylake/api/v3/agents/{id}/versions
Permission required:
agent:version_listPath 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/agt_r8k2m1n3/versions?page_size=10' \
-H 'Authorization: Bearer sk_xxxxxx'
Response
object
Show Paginated version list
Show Paginated version list
array
Array of agent version objects
Show Agent version object
Show Agent version object
integer
Version number
string
Model used in this version
array
List of capability identifiers
object
Execution policies for this version
Show Policies object
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
array
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.
{
"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
}
}