List batches
Retrieves a paginated list of batches for a specific agent. Customer ID is automatically determined from the API key.
Authentication
X-API-Keystring
API key for authentication. Example: raya_ABCD1234567890abcdef
Query parameters
agent_id
The UUID of the agent
offset
Number of records to skip (default: 0)
limit
Maximum number of records to return (default: 10, max: 100)
sort
Sort order by created_at time (default: desc)
Allowed values:
Response
Batches retrieved successfully
batches
total
offset
limit
Errors
401
Unauthorized Error

