Skip to navigation

List job agents

View as Markdown

Retrieves a paginated list of job agents for the authenticated account. Results are sorted by created_at. Only agents with at least one job are included.

Authentication

X-API-Keystring

API key for authentication. Example: raya_ABCD1234567890abcdef

Query parameters

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

Customer job agents retrieved successfully
agentslist of objectsOptional
totaldoubleOptional
Total number of agents with jobs 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