Skip to main content
POST
Search Cases

Authorizations

Authorization
string
header
required

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

Path Parameters

queue_id
string<uuid>
required

The queue's unique identifier

Body

application/json
filters
object
limit
integer
default:25
Required range: 1 <= x <= 100
offset
integer
default:0
Required range: 0 <= x <= 9007199254740991
sort_by
enum<string>
default:created_at
Available options:
created_at,
updated_at,
postponed_to
sort_order
enum<string>
default:desc
Available options:
asc,
desc
count_only
boolean

Skip Case row selection, enrichment, and transformation. The normal response shape contains an empty cases array and the matching total.

include_blockers
boolean

Also return blocker on each case: for a case waiting to start, why the dispatcher cannot start it now, or null when nothing blocks it. Off by default, because it adds database reads; when off, blocker is left out.

fields
enum<string>[]

Return only these keys on each case, for a light read such as a dashboard polling for changes. id is always returned. Leaving out data, json_data and search_match_data_snippet keeps the case payload out of the response and skips reading it for the returned rows; a search or json_data filter still reads it to match. A key the case does not carry in this read is left out, such as blocker without include_blockers or search_match_data_snippet without a search match. An unknown key is rejected. Omit to return every key.

Minimum array length: 1
Available options:
id,
queue_id,
title,
data,
json_data,
json_schema_id,
status,
priority,
display_status,
outcome_severity,
claimed_at,
claimed_by_run_id,
completed_at,
postponed_to,
created_at,
updated_at,
created_by_user_id,
created_by_user_name,
created_by_user_email,
agent_run_status,
agent_run_user_id,
pending_human_request_id,
pending_human_request_type,
pending_approval_batch_id,
pending_approval_assignee_user_ids,
approval_approved_count,
approval_rejected_count,
eval_summary,
search_match_data_snippet,
labels,
source_automation_revision_id,
automation_revision_id,
automation_revision,
blocker

Response

Default Response

cases
object[]
required
total
number
required
limit
integer
required
Required range: -9007199254740991 <= x <= 9007199254740991
offset
integer
required
Required range: -9007199254740991 <= x <= 9007199254740991