List Runs
Changed onList all runs.
Request
- Base URLhttps://app.letta.com
- URLhttps://app.letta.com/v1/runs/
- AuthHTTP bearer
Query parameters
The unique identifier of the agent associated with the run.
The unique identifiers of the agents associated with the run. Deprecated in favor of agent_id field.
Filter runs by status. Can specify multiple statuses.
If True, filters for runs that were created in background mode.
Filter runs by stop reason.
Run ID cursor for pagination. Returns runs that come before this run ID in the specified sort order
Run ID cursor for pagination. Returns runs that come after this run ID in the specified sort order
Maximum number of runs to return
Sort order for runs by creation time. 'asc' for oldest first, 'desc' for newest first
Field to sort by
Filter for active runs.
Whether to sort agents oldest to newest (True) or newest to oldest (False, default). Deprecated in favor of order field.
Response
Successful Response
Example response
[
{
"id": "run-123e4567-e89b-12d3-a456-426614174000"
}
]Changes
- info
added the new optional
queryrequest parameterstatuses
- info
- breaking
for the
queryrequest parameterlimit, default value was changed from50to100 - info
added the new optional
queryrequest parameterorder - info
added the new optional
queryrequest parameterorder_by - info
queryrequest parameterascendingwas deprecated
- breaking