Skip to main content
GET
Error

Authorizations

fastapiusersauth
string
cookie
required

Path Parameters

workspace_id
string<uuid>
required

Query Parameters

limit
integer
default:20

Maximum items per page

Required range: 1 <= x <= 200
cursor
string | null

Cursor for pagination

reverse
boolean
default:false

Reverse pagination direction

order_by
enum<string> | null

Column name to order by (e.g. created_at, updated_at, priority, severity, status, tasks, assignee, tags). Default: created_at

Available options:
created_at,
updated_at,
priority,
severity,
status,
tasks,
assignee,
tags
sort
enum<string> | null

Direction to sort (asc or desc)

Available options:
asc,
desc
include_rows
boolean
default:false

Include linked table rows

field_ids
string[] | null

Include only the requested custom field IDs

include_durations
boolean
default:false

Include case duration values

include_payload
boolean
default:false

Include case payload

payload_fields
string[] | null

Return only these literal top-level payload keys, automatically including the subset regardless of include_payload. Dots are literal; nested values are returned whole. Missing keys are omitted and null values preserved. An empty list acts as omitted; an empty string selects the literal empty key.

include_count
boolean
default:true

Include the exact filtered total_estimate for compatibility. Set false when fetching aggregate counts separately; total_estimate will be null.

hierarchy
enum<string>
default:all

Return every case, or only top-level cases without a parent.

Available options:
all,
top_level
payload_paths
string | null

JSON-encoded array of up to 100 object paths, e.g. [["alert","source","ip"]]. Each path contains 1 to 32 literal keys. Preserves nesting, combines with payload_fields, and includes the subset automatically. Selected parents include their whole value. Missing paths are omitted; nulls are preserved. Arrays can be selected whole, without index traversal. An empty list acts as omitted.

Response

Successful Response

items
CaseReadMinimal · object[]
required
next_cursor
string | null

Cursor for next page

prev_cursor
string | null

Cursor for previous page

has_more
boolean
default:false

Whether more items exist

has_previous
boolean
default:false

Whether previous items exist

total_estimate
integer | null

Estimated total count from table statistics