Skip to main content
POST
Create Agent Case Trigger

Authorizations

Authorization
string
header
required

API key authentication. Get your API key from the Duvo dashboard.

Path Parameters

agent_id
string<uuid>
required

The agent's unique identifier

Body

application/json
case_queue_id
string<uuid>
required

Queue whose new cases should trigger this agent

enabled
boolean
required

Whether the trigger is active. Disabled triggers do not dispatch runs.

concurrency
enum<number> | null

Concurrency cap for the target queue. The cap is queue-wide, so this affects every Agent working the queue, not just this trigger. Only 1 (run cases one at a time) or null (reset the whole queue's cap to the platform default) can be set here; higher caps are configured per-queue via PATCH /v2/admin/case-queues/{queueId}/concurrency. Omit to leave the queue's current cap unchanged.

Available options:
1

Response

Default Response

case_trigger
object
required