List Batch Messages
Get messages for a specific batch job.
Returns messages associated with the batch in chronological order.
Pagination:
- For the first page, omit the cursor parameter
- For subsequent pages, use the ID of the last message from the previous response as the cursor
- Results will include messages before/after the cursor based on sort_descending
Path parameters
batch_id
Headers
Authorization
Header authentication of the form Bearer <token>
Query parameters
limit
Maximum number of messages to return
cursor
Message ID to use as pagination cursor (get messages before/after this ID) depending on sort_descending.
agent_id
Filter messages by agent ID
sort_descending
Sort messages by creation time (true=newest first)
Response
Successful Response
messages