Skip to main content
POST
Error

Authorizations

fastapiusersauth
string
cookie
required

Path Parameters

workspace_id
string<uuid>
required

Body

application/json

Case criteria as a request runs them: on their own or through a view.

filters
Condition · object

AND/OR/NOT conditions. Payload scalar equality uses field="payload.metadata.product.vendor_name", op="eq", value="Microsoft". Dot-separated literal keys or numeric array indices; keys containing dots are unsupported. Equality preserves JSON types. Payload is_null matches a missing path; explicit JSON null is a present value. Exclusions omit missing paths unless ORed with is_null.

search_term
string | null
Maximum string length: 1000
search_mode
enum<string> | null

Explicit word/phrase or escaped substring search. Omitted mode retains legacy matching and ordering.

Available options:
full_text,
literal
search_columns
enum<string>[] | null
Required array length: 1 - 2 elements
Available options:
summary,
description
short_id
string | null
Maximum string length: 1000
case_id
string<uuid> | null
hierarchy
enum<string>
default:all
Available options:
all,
top_level
parent_id
string<uuid> | null
status
enum<string>[] | null

Case status values aligned with OCSF Incident Finding status.

Available options:
unknown,
new,
in_progress,
on_hold,
resolved,
closed,
other
priority
enum<string>[] | null

Case priority values aligned with urgency levels.

Values: UNKNOWN (0): No priority is assigned LOW (1): Application or personal procedure is unusable, where a workaround is available or a repair is possible MEDIUM (2): Non-critical function or procedure is unusable or hard to use causing operational disruptions with no direct impact on a service's availability. A workaround is available HIGH (3): Critical functionality or network access is interrupted, degraded or unusable, having a severe impact on services availability. No acceptable alternative is possible CRITICAL (4): Interruption making a critical functionality inaccessible or a complete network interruption causing a severe impact on services availability. There is no possible alternative OTHER (99): The priority is not normalized

Available options:
unknown,
low,
medium,
high,
critical,
other
severity
enum<string>[] | null

Case severity values aligned with OCSF severity values.

Values: UNKNOWN (0): The event/finding severity is unknown INFORMATIONAL (1): Informational message. No action required LOW (2): The user decides if action is needed MEDIUM (3): Action is required but the situation is not serious at this time HIGH (4): Action is required immediately CRITICAL (5): Action is required immediately and the scope is broad FATAL (6): An error occurred but it is too late to take remedial action OTHER (99): The event/finding severity is not mapped

Available options:
unknown,
informational,
low,
medium,
high,
critical,
fatal,
other
assignee_id
(string<uuid> | enum<string>)[] | null

User IDs, "unassigned", or "me" for the requesting user.

created_by
(string<uuid> | string)[] | null

Users who created the case, or "me" for the requesting user. A case a workflow or agent created on a user's behalf counts as that user's. Scheduled, webhook, and other runs with no user record no creator, so their cases never match.

Maximum array length: 1000
tags
string[] | null
Maximum array length: 1000
dropdown
string[] | null
Maximum array length: 50
start_time
string<date-time> | null
end_time
string<date-time> | null
created_within
RelativeTimeWindow · object | null

Created within this window, ending at the time the query runs.

updated_after
string<date-time> | null
updated_before
string<date-time> | null
updated_within
RelativeTimeWindow · object | null

Updated within this window, ending at the time the query runs.

view_id

Run a saved case view. The view supplies the matching criteria; the request may add a filters tree, which is ANDed with the view's, and other matching fields are rejected. Pagination, result options, and order_by/sort still apply; order_by overrides the view's order.

match_none
boolean
default:false

The ordinary filter population matches no cases.

cap_broad_matches
boolean
default:false

Bound the work for a search_mode search that matches more than 10,000 cases. Search status counts stop at 10,000 and report capped, and relevance order ranks only the 10,000 newest matches; older matches are left out. Column orders still return every match, and include_count's total_estimate stays exact.

Response

Successful Response

total
integer
required

Number of matching cases. When capped is true, more cases match and this is the cap.

status_groups
CaseStatusGroupCounts · object | null
required

Matching cases per status. Null when capped is true.

capped
boolean
default:false

True when a keyword search matched more cases than the count cap (10,000), so counting stopped there.