List incidents with associated components for the incident register
const url = 'https://api.adversarial.com/api/v1/incidents?created_after=2026-01-01T00%3A00%3A00Z&created_before=2026-12-31T23%3A59%3A59Z&updated_after=2026-01-01T00%3A00%3A00Z&updated_before=2026-12-31T23%3A59%3A59Z&detected_after=2026-01-01T00%3A00%3A00Z&detected_before=2026-12-31T23%3A59%3A59Z&occurred_after=2026-01-01T00%3A00%3A00Z&occurred_before=2026-12-31T23%3A59%3A59Z&responded_after=2026-01-01T00%3A00%3A00Z&responded_before=2026-12-31T23%3A59%3A59Z&contained_after=2026-01-01T00%3A00%3A00Z&contained_before=2026-12-31T23%3A59%3A59Z&page=1&page_size=50';const options = {method: 'GET'};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request GET \ --url 'https://api.adversarial.com/api/v1/incidents?created_after=2026-01-01T00%3A00%3A00Z&created_before=2026-12-31T23%3A59%3A59Z&updated_after=2026-01-01T00%3A00%3A00Z&updated_before=2026-12-31T23%3A59%3A59Z&detected_after=2026-01-01T00%3A00%3A00Z&detected_before=2026-12-31T23%3A59%3A59Z&occurred_after=2026-01-01T00%3A00%3A00Z&occurred_before=2026-12-31T23%3A59%3A59Z&responded_after=2026-01-01T00%3A00%3A00Z&responded_before=2026-12-31T23%3A59%3A59Z&contained_after=2026-01-01T00%3A00%3A00Z&contained_before=2026-12-31T23%3A59%3A59Z&page=1&page_size=50'Parameters
Section titled “Parameters”Query Parameters
Section titled “Query Parameters”Return only these incidents. Accepts INC-<n> or a bare number,
matching parent_id / child_id and the risk register’s id.
Accepts UUIDs, the literal null (unassigned), and the sentinel
me (the calling user, resolved server-side). Multiple values
union.
Incidents with at least one live comment that @-mentions the given
user. Accepts UUIDs, the sentinel me (the calling user, resolved
server-side), and the literal null (no comment mentions anyone).
Multiple values union — e.g. mentioned=me&mentioned=null returns
incidents that mention you plus incidents that mention nobody.
Inclusive lower bound on created_date. RFC 3339 or bare YYYY-MM-DD.
Example
2026-01-01T00:00:00ZInclusive upper bound on created_date. RFC 3339 or bare YYYY-MM-DD.
Example
2026-12-31T23:59:59ZInclusive lower bound on updated_date. RFC 3339 or bare YYYY-MM-DD.
Example
2026-01-01T00:00:00ZInclusive upper bound on updated_date. RFC 3339 or bare YYYY-MM-DD.
Example
2026-12-31T23:59:59ZInclusive lower bound on detected_date. RFC 3339 or bare YYYY-MM-DD.
Example
2026-01-01T00:00:00ZInclusive upper bound on detected_date. RFC 3339 or bare YYYY-MM-DD.
Example
2026-12-31T23:59:59ZInclusive lower bound on occurred_date. RFC 3339 or bare YYYY-MM-DD.
Example
2026-01-01T00:00:00ZInclusive upper bound on occurred_date. RFC 3339 or bare YYYY-MM-DD.
Example
2026-12-31T23:59:59ZMatch only incidents whose occurred_date is unset. Mutually
exclusive with occurred_after/occurred_before.
Inclusive lower bound on responded_date. RFC 3339 or bare YYYY-MM-DD.
Example
2026-01-01T00:00:00ZInclusive upper bound on responded_date. RFC 3339 or bare YYYY-MM-DD.
Example
2026-12-31T23:59:59ZMatch only incidents whose responded_date is unset. Mutually
exclusive with responded_after/responded_before.
Inclusive lower bound on contained_date. RFC 3339 or bare YYYY-MM-DD.
Example
2026-01-01T00:00:00ZInclusive upper bound on contained_date. RFC 3339 or bare YYYY-MM-DD.
Example
2026-12-31T23:59:59ZMatch only incidents whose contained_date is unset. Mutually
exclusive with contained_after/contained_before.
Filter on what an incident is linked under. Accepts the literal
null (top-level incidents), the literal any (only incidents linked
under a parent), or a parent id as INC-<n> or a bare number. Repeat
the parameter to union — ?parent_id=null&parent_id=any is every
incident.
Defaults to null, so registers and rollups list top-level records
only. An explicit JSON null on the body path reads as that same
default, not as “no filter”.
Filter on what is linked under an incident. Accepts the literal any
(incidents with at least one non-deleted child — the “Parent Incidents
Only” quick filter), the literal null (incidents with no children), or
a child id as INC-<n> or a bare number (that child’s parent). Repeat
to union. Omit to leave the filter off.
Because links are single-layer, every parent is top-level, so this
composes with the default parent_id=null register view.
1-indexed page number. Defaults to 1 (explicit null reads as the
default); zero is rejected.
Rows per page. Defaults to 50 (explicit null reads as the default);
zero is rejected.
Responses
Section titled “Responses”List incidents
Paginated list envelope: { "results": [...], "pagination": {...} }.
object
Pagination metadata describing the slice.
object
1-indexed page number of this result slice.
Number of items requested per page.
Total number of matching items across all pages.
Total number of pages at this page size.
The items on this page.
Register row for an Incident. An Incident plus the relational data shown on
the incident register: risk associations, threat objectives, tags, and comment count.
object
Relationship, core incident information
object
A User as returned by the API.
Profile images are not embedded — clients fetch them from
GET /api/v1/{icon} when icon is Some.
object
Relative path to the user’s avatar endpoint, e.g.
"users/{id}/avatar?v={hash}". None when the user has no avatar.
A User as returned by the API.
Profile images are not embedded — clients fetch them from
GET /api/v1/{icon} when icon is Some.
object
Relative path to the user’s avatar endpoint, e.g.
"users/{id}/avatar?v={hash}". None when the user has no avatar.
When set, this incident is linked under the named parent incident.
Where the incident was reported from (e.g. “Employee Reported”). Always present.
The status of an incident
A User as returned by the API.
Profile images are not embedded — clients fetch them from
GET /api/v1/{icon} when icon is Some.
object
Relative path to the user’s avatar endpoint, e.g.
"users/{id}/avatar?v={hash}". None when the user has no avatar.
Number of incidents linked under this incident (i.e. children pointing at it).
An incident is itself a linked child when incident.parent_id is set.
object
A threat objective paired with how relevant it is to a risk.
Two relations are considered the same when the objective and its relevance
match; created_date records when the relation was last changed and is not
part of its identity.
object
The time that this relation was mutated
The threat objective type
Example
{ "results": [ { "incident": { "id": "INC-00001", "parent_id": "INC-00001", "severity": "SEV-5", "status": "New" }, "threat_objectives": [ { "relevance": "Moderate", "threat_objective": "Sabotage" } ] } ]}