Skip to main content
POST
/
agents
/
{agent_id}
/
case-triggers
Create case trigger
curl --request POST \
  --url https://api.duvo.ai/v1/agents/{agent_id}/case-triggers \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "case_queue_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
  "enabled": true,
  "concurrency": 123
}
'
{
  "case_trigger": {
    "id": "<string>",
    "agent_id": "<string>",
    "case_queue_id": "<string>",
    "case_queue_name": "<string>",
    "user_id": "<string>",
    "enabled": true,
    "concurrency": 123,
    "created_at": "<string>",
    "updated_at": "<string>",
    "creator_display_name": "<string>",
    "can_disable": true,
    "has_conflict": true,
    "conflicting_agents": [
      {
        "id": "<string>",
        "name": "<string>"
      }
    ]
  }
}

Documentation Index

Fetch the complete documentation index at: https://docs.duvo.ai/llms.txt

Use this file to discover all available pages before exploring further.

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

Pattern: ^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12})$

Body

application/json
case_queue_id
string<uuid>
required

Queue whose new cases should trigger this agent

Pattern: ^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12})$
enabled
boolean
required

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

concurrency
integer | null

Maximum number of concurrent runs for this trigger. Null/omitted means unlimited.

Required range: x <= 9007199254740991

Response

Default Response

case_trigger
object
required