Skip to navigation

List agent calls

View as Markdown

Retrieves a paginated list of calls for a specific agent. Requires agent_id.

Authentication

X-API-Keystring

API key for authentication. Example: raya_ABCD1234567890abcdef

Query parameters

agent_idstringRequiredformat: "uuid"

The UUID of the agent (mandatory)

offsetintegerOptional>=0Defaults to 0

Number of records to skip (default: 0)

limitintegerOptional1-100Defaults to 10

Maximum number of records to return (default: 10, max: 100)

sortenumOptionalDefaults to desc

Sort order by created_at time (default: desc)

Allowed values:

Response

Agent calls retrieved successfully
callslist of objectsOptional
totaldoubleOptional
Total number of calls for this customer
offsetdoubleOptional
Number of records skipped
limitdoubleOptional
Maximum number of records returned

Errors

400
Bad Request Error
401
Unauthorized Error
500
Internal Server Error