messages
List Batches
Changed onList all batch runs.
get/v1/messages/batches
Request
- Base URLhttps://app.letta.com
- URLhttps://app.letta.com/v1/messages/batches
- AuthHTTP bearer
Query parameters
beforestring nullable
Job ID cursor for pagination. Returns jobs that come before this job ID in the specified sort order
afterstring nullable
Job ID cursor for pagination. Returns jobs that come after this job ID in the specified sort order
limitinteger nullable
Maximum number of jobs to return
order'asc' | 'desc'
Sort order for jobs by creation time. 'asc' for oldest first, 'desc' for newest first
order_by'created_at'
Field to sort by
Response
Successful Response
Example response
[
{
"id": "job-123e4567-e89b-12d3-a456-426614174000"
}
]Changes
- info
added the optional property
/to the response with the status - info
added the optional property
/to the response with the status
- info