Skip to navigation

Get job agent

View as Markdown
Retrieves detailed information about a job agent by UUID. Requires API key authentication. The agent must have at least one job.

Authentication

X-API-Keystring

API key for authentication. Example: raya_ABCD1234567890abcdef

Path parameters

idstringRequiredformat: "uuid"
The UUID of the job agent

Response

Job agent details retrieved successfully
uuidstringOptionalformat: "uuid"
Unique identifier of the agent
namestringOptional
Name of the agent
agent_rolestringOptional

Agent role: how the voice agent should behave (e.g. prescreening interviewer). Distinct from job role (the position being hired for).

introductionstringOptional
Introduction
about_jobstringOptional
About job
about_companystringOptional
About company
extra_instructionsstringOptional
Extra instructions
output_instructionsstringOptional

Instructions for how to populate output_fields after a call.

closing_messagestringOptional
Closing message
questionslist of stringsOptional
Questions
output_fieldslist of objectsOptional

Array of key-description pairs. Each item has key and description only (no extra properties).

agent_argsmap from strings to anyOptional

Agent arguments as a JSON object (e.g. {“contact_name”: “John”, “order_id”: “123”}). Not an array.

required_silence_after_speechdouble or nullOptional
Required silence after speech in seconds
allowed_silence_before_nudgedouble or nullOptional
Allowed silence before nudge in seconds
allowed_speech_before_nudgedouble or nullOptional
Allowed speech before nudge in seconds
out_diddouble or nullOptional
Outbound DID number
in_diddouble or nullOptional

Inbound DID number (read-only; for reference)

webhook_urlstring or nullOptional

Webhook URL for callbacks (sent on call completed or call failure). See Webhooks for payload format.

allow_call_transferbooleanOptional
India only. When true, live call transfer to a human is allowed.
transfer_destination_phonestring or nullOptionalformat: "^[0-9]{10}$"

India mobile (10 digits, no +91). Null if unused.

Errors

400
Bad Request Error
401
Unauthorized Error
404
Not Found Error
500
Internal Server Error