List Agents
Get a list of all agents.
Query parameters
Name of the agent
Name of the agent
List of tags to filter agents by
List of tags to filter agents by
If True, only returns agents that match ALL given tags. Otherwise, return agents that have ANY of the passed-in tags.
If True, only returns agents that match ALL given tags. Otherwise, return agents that have ANY of the passed-in tags.
Cursor for pagination
Cursor for pagination
Cursor for pagination
Cursor for pagination
Limit for pagination
Limit for pagination
Search agents by name
Search agents by name
Search agents by project ID - this will default to your default project on cloud
Search agents by project ID - this will default to your default project on cloud
Search agents by template ID
Search agents by template ID
Search agents by base template ID
Search agents by base template ID
Search agents by identity ID
Search agents by identity ID
Search agents by identifier keys
Search agents by identifier keys
Specify which relational fields (e.g., 'tools', 'sources', 'memory') to include in the response. If not provided, all relationships are loaded by default. Using this can optimize performance by reducing unnecessary joins.
Specify which relational fields (e.g., 'tools', 'sources', 'memory') to include in the response. If not provided, all relationships are loaded by default. Using this can optimize performance by reducing unnecessary joins.
Sort order for agents by creation time. 'asc' for oldest first, 'desc' for newest first
Sort order for agents by creation time. 'asc' for oldest first, 'desc' for newest first
Field to sort by
Field to sort by
Whether to sort agents oldest to newest (True) or newest to oldest (False, default)
Whether to sort agents oldest to newest (True) or newest to oldest (False, default)
Field to sort by. Options: 'created_at' (default), 'last_run_completion'
Field to sort by. Options: 'created_at' (default), 'last_run_completion'
Response
Successful Response
Example response
[
{
"memory": {
"blocks": [
{
"id": "block-123e4567-e89b-12d3-a456-426614174000"
}
],
"file_blocks": [
{
"id": "block-123e4567-e89b-12d3-a456-426614174000"
}
]
},
"tools": [
{
"id": "tool-123e4567-e89b-12d3-a456-426614174000"
}
],
"sources": [
{
"id": "source-123e4567-e89b-12d3-a456-426614174000"
}
],
"tool_exec_environment_variables": [
{
"id": "agent-env-123e4567-e89b-12d3-a456-426614174000"
}
],
"secrets": [
{
"id": "agent-env-123e4567-e89b-12d3-a456-426614174000"
}
]
}
]