List Agents
List all agents associated with a given user.
This endpoint retrieves a list of all agents and their configurations associated with the specified user ID.
Headers
Header authentication of the form Bearer <token>
Query parameters
Name of the agent
Cursor for pagination
Cursor for pagination
Limit for pagination
Search agents by name
Search agents by project ID
Search agents by template ID
Search agents by base template ID
Search agents by identity ID
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.
Whether to sort agents oldest to newest (True) or newest to oldest (False, default)
Response
Successful Response
The id of the agent. Assigned by the database.
The name of the agent.
The system prompt used by the agent.
The type of agent.
The LLM configuration used by the agent.
The embedding configuration used by the agent.
The in-context memory of the agent.
The tools used by the agent.
The sources used by the agent.
The id of the user that made this object.
The id of the user that made this object.
The timestamp when the object was created.
The timestamp when the object was last updated.
The list of tool rules.
The ids of the messages in the agent’s in-context memory.
The description of the agent.
The metadata of the agent.
The environment variables for tool execution specific to this agent.
The id of the project the agent belongs to.
The id of the template the agent belongs to.
The base template id of the agent.
The ids of the identities associated with this agent.
If set to True, the agent will not remember previous messages (though the agent will still retain state via core memory blocks and archival/recall memory). Not recommended unless you have an advanced use case.
If set to True, memory management will move to a background agent thread.
The multi-agent group that this agent manages