Retrieves a single agent. By default, the id path parameter is matched against the internal agent ID. Set by_custom_id=true to look up the agent by its custom identifier instead.
Permission required:agent:read
Path Parameters
string
required
Agent identifier. Interpreted as the internal ID by default, or as the custom ID when by_custom_id is true.
Query Parameters
boolean
When true, the id path parameter is matched against the agent’s custom_id instead of its internal id.
curl -X GET 'https://app.memorylake.ai/openapi/memorylake/api/v3/agents/agt_r8k2m1n3' \ -H 'Authorization: Bearer sk_xxxxxx'
Response
object
Show Agent object
string
Unique agent identifier
string
Agent name
string
Agent description
object
Arbitrary key-value pairs for storing additional agent information
integer
Current active version number
string
Model used by the agent
object
Capabilities the agent has, 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 that constrain agent behavior
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 the agent
Show Output object
string
Output mode
object
JSON Schema for structured output
array
Subagent definitions attached to this agent
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 attached to this agent
Show Skill reference
string
Skill identifier
integer
Skill version number
string
Custom identifier for external system integration
string
Actor identifier associated with this agent
integer
Latest version number available for this agent
string
System prompt used to instruct the agent
object
Model-specific settings such as temperature and max tokens
object
Runtime binding configuration for tools and data sources