List RSKs (the canonical risk register).
const url = 'https://api.adversarial.com/api/v1/risks?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&discovered_after=2026-01-01T00%3A00%3A00Z&discovered_before=2026-12-31T23%3A59%3A59Z&in_report_period_after=2026-01-01T00%3A00%3A00Z&in_report_period_before=2026-12-31T23%3A59%3A59Z&overdue_as_of=2026-12-31T23%3A59%3A59Z&due_after=2026-01-01T00%3A00%3A00Z&due_before=2026-12-31T23%3A59%3A59Z&expected_after=2026-01-01T00%3A00%3A00Z&expected_before=2026-12-31T23%3A59%3A59Z&closed_after=2026-01-01T00%3A00%3A00Z&closed_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/risks?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&discovered_after=2026-01-01T00%3A00%3A00Z&discovered_before=2026-12-31T23%3A59%3A59Z&in_report_period_after=2026-01-01T00%3A00%3A00Z&in_report_period_before=2026-12-31T23%3A59%3A59Z&overdue_as_of=2026-12-31T23%3A59%3A59Z&due_after=2026-01-01T00%3A00%3A00Z&due_before=2026-12-31T23%3A59%3A59Z&expected_after=2026-01-01T00%3A00%3A00Z&expected_before=2026-12-31T23%3A59%3A59Z&closed_after=2026-01-01T00%3A00%3A00Z&closed_before=2026-12-31T23%3A59%3A59Z&page=1&page_size=50'Parameters
Section titled “Parameters”Query Parameters
Section titled “Query Parameters”Return only these risks. Accepts RSK-<n> or a bare number, matching
parent_id / child_id and the incident register’s id.
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 discovered_date. RFC 3339 or bare YYYY-MM-DD.
Example
2026-01-01T00:00:00ZInclusive upper bound on discovered_date. RFC 3339 or bare YYYY-MM-DD.
Example
2026-12-31T23:59:59ZStart of a report window: with in_report_period_before, restrict to
the risks a deck report over that window describes — discovered within
it, closed within it, or past a due date falling within it. Not the
standing backlog: an open risk with no due date, or one due after the
window, is outside it. Supply both bounds or neither. RFC 3339 or bare
YYYY-MM-DD.
Example
2026-01-01T00:00:00ZEnd of a report window. See in_report_period_after.
Example
2026-12-31T23:59:59ZOverdue as of this instant: due on or before it and not closed by it.
overdue=true stays “overdue right now”. RFC 3339 or bare
YYYY-MM-DD.
Example
2026-12-31T23:59:59ZInclusive lower bound on due_date. RFC 3339 or bare YYYY-MM-DD.
Example
2026-01-01T00:00:00ZInclusive upper bound on due_date. RFC 3339 or bare YYYY-MM-DD.
Example
2026-12-31T23:59:59ZMatch only risks whose due_date is unset. Mutually exclusive with
due_after/due_before.
Inclusive lower bound on expected_date. RFC 3339 or bare YYYY-MM-DD.
Example
2026-01-01T00:00:00ZInclusive upper bound on expected_date. RFC 3339 or bare YYYY-MM-DD.
Example
2026-12-31T23:59:59ZMatch only risks whose expected_date is unset. Mutually exclusive
with expected_after/expected_before.
Inclusive lower bound on closed_date. RFC 3339 or bare YYYY-MM-DD.
Example
2026-01-01T00:00:00ZInclusive upper bound on closed_date. RFC 3339 or bare YYYY-MM-DD.
Example
2026-12-31T23:59:59ZMatch only risks whose closed_date is unset. Mutually exclusive with
closed_after/closed_before.
Accepts UUIDs, the literal null (unassigned), and the sentinel
me (the calling user, resolved server-side). Multiple values
union — e.g. assigned_to=me&assigned_to=<uuid> returns rows
assigned to either.
Risks 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
risks that mention you plus risks that mention nobody.
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.
Filter to overdue (true) or non-overdue (false) risks. Overdue
means open and past due_date.
Filter on what a risk is linked under. Accepts the literal null
(top-level risks), the literal any (only risks linked under a parent),
or a parent id as RSK-<n> or a bare number. Repeat the parameter to
union — ?parent_id=null&parent_id=any is every risk.
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 a risk. Accepts the literal any
(risks with at least one non-deleted child — the “Parent Risks Only”
quick filter), the literal null (risks with no children), or a child
id as RSK-<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.
Direction of an urgency shift between a risk’s initially-reported urgency and its current urgency.
Return only risks whose current urgency has shifted from the urgency
they were first reported at. Upgrade matches risks now at least one
level more severe; Downgrade matches those now at least one level
less severe. Omit to leave the filter off.
Responses
Section titled “Responses”List RSKs with register-context fields
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 Organization Risks (RSKs). A Risk plus the relational data
shown on the risk register: threat objectives, incident associations, tags, and
comment count.
object
Count of comments on this risk (not the comments themselves).
Number of risks linked under this risk (i.e. children pointing at it).
A risk is itself a linked child when risk.parent_id is set.
The core view of an Organization Risk (RSK).
Relational data — threat objectives, comments, incident associations, and tags —
is exposed on RiskRegisterEntry, not here.
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 risk is linked under the named parent risk.
The status of a risk
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.
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_associations": "INC-00001", "risk": { "id": "RSK-00001", "impact": "Very Low", "initially_reported_urgency": "Critical", "likelihood": "Remote", "parent_id": "RSK-00001", "status": "New", "type": "Code", "urgency": "Info" }, "threat_objectives": [ { "relevance": "Moderate", "threat_objective": "Sabotage" } ] } ]}