GET /openapi/memorylake/api/v3/agents/{id}/versions/{version}
Permission required:
agent:version_readPath Parameters
string
required
Agent identifier
integer
required
Version number to retrieve
curl -X GET 'https://app.memorylake.ai/openapi/memorylake/api/v3/agents/agt_r8k2m1n3/versions/3' \
-H 'Authorization: Bearer sk_xxxxxx'
Response
object
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
{
"success": true,
"data": {
"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"
}
}