RiskWrenv0.10.1
GitHub

API reference

Every route of the JSON API, written from RiskWren's OpenAPI document for version 0.10.1. For sign-in, the shape of answers and errors, and how lists page, see The API. A running server gives the document itself at /api/openapi.json.

System#

GET /api/v1/health/live#

Is the server process running?

GET /api/v1/health/ready#

Can the server do its work?

The database answers and its schema is the one this version expects.

GET /api/v1/meta#

The product's name, version, and branding

What the web app needs before anyone signs in.

Signing in#

DELETE /api/v1/session#

Sign out

GET /api/v1/session#

Who is signed in

POST /api/v1/session#

Sign in with an email address and password

JSON body:

FieldTypeRequiredMeaning
emailstringyes
passwordstringyes

POST /api/v1/session/demo#

Sign in as a sample person (demo installations only)

Only a demo organization has this, only for the sample people it names, and only from the machine it runs on unless the server was started with --demo-on-network.

JSON body:

FieldTypeRequiredMeaning
emailstringyes

POST /api/v1/session/password#

Change your own password

JSON body:

FieldTypeRequiredMeaning
current_passwordstring
new_passwordstringyes

Single sign-on#

GET /api/v1/sso#

How single sign-on is set up

GET /api/v1/sso/callback#

Finish single sign-on

ParameterInTypeRequiredMeaning
codequerystring
statequerystring
errorquerystring

POST /api/v1/sso/check#

Ask the identity provider whether it answers

Reads the provider's discovery document and signing keys, and says whether the client secret is set. Nothing is changed and nobody is signed in.

PUT /api/v1/sso/mappings#

Say which groups give which roles

JSON body:

FieldTypeRequiredMeaning
mappingslist of MappingInyes

GET /api/v1/sso/start#

Begin single sign-on

Sends the browser to the identity provider. It comes back to /sso/callback.

ParameterInTypeRequiredMeaning
nextquerystring

People and units#

GET /api/v1/accounts#

Find people

ParameterInTypeRequiredMeaning
qquerystringDefault: "".
statusquerystring

POST /api/v1/accounts#

Add a person

JSON body:

FieldTypeRequiredMeaning
display_namestringyes
emailstringyes
passwordstring
roleslist of GrantBody
titlestring
unit_idslist of integer

GET /api/v1/accounts/{account_id}#

One person

ParameterInTypeRequiredMeaning
account_idpathintegeryes

PATCH /api/v1/accounts/{account_id}#

Change a person's details

ParameterInTypeRequiredMeaning
account_idpathintegeryes

JSON body:

FieldTypeRequiredMeaning
display_namestring
emailstringThe address they sign in with (administrators)
statusstring
time_zonestring
titlestring

POST /api/v1/accounts/{account_id}/password#

Give a person a new password

ParameterInTypeRequiredMeaning
account_idpathintegeryes

JSON body:

FieldTypeRequiredMeaning
new_passwordstringyes

PUT /api/v1/accounts/{account_id}/roles#

Set a person's roles

ParameterInTypeRequiredMeaning
account_idpathintegeryes

JSON body:

FieldTypeRequiredMeaning
roleslist of GrantBodyyes

PUT /api/v1/accounts/{account_id}/units#

Set the units a person works in

ParameterInTypeRequiredMeaning
account_idpathintegeryes

JSON body:

FieldTypeRequiredMeaning
unit_idslist of integeryes

POST /api/v1/imports/people#

Import people from CSV

Send the CSV as the request body. With dry_run (the default) nothing is changed.

ParameterInTypeRequiredMeaning
dry_runquerybooleanDefault: true.

POST /api/v1/imports/units#

Import units from CSV

Send the CSV as the request body. With dry_run (the default) nothing is changed.

ParameterInTypeRequiredMeaning
dry_runquerybooleanDefault: true.

GET /api/v1/roles#

The roles and what each allows

GET /api/v1/units#

The organization's units, as a list and as a tree

POST /api/v1/units#

Add a unit

JSON body:

FieldTypeRequiredMeaning
codestring
kindstringyes
namestringyes
parent_idinteger

GET /api/v1/units/{unit_id}#

One unit, with the units above it

ParameterInTypeRequiredMeaning
unit_idpathintegeryes

PATCH /api/v1/units/{unit_id}#

Rename, move, or close a unit

ParameterInTypeRequiredMeaning
unit_idpathintegeryes

JSON body:

FieldTypeRequiredMeaning
codestring
kindstring
namestring
parent_idinteger
statusstring

Appearance#

GET /api/v1/admin/branding#

The branding, for editing

PUT /api/v1/admin/branding#

Change the product name, palette, and accent

JSON body:

FieldTypeRequiredMeaning
accentstring
accent_darkstring
email_footerstring
footer_linkslist of object
organization_namestring
palettestringyes
product_namestringyes
rating_rampstring
show_powered_byboolean
sign_in_messagestring
termsobjectThe organization's own words: key → {one, many}

POST /api/v1/admin/branding/check#

How an accent color would read, before saving it

JSON body:

FieldTypeRequiredMeaning
accentstringyes
accent_darkstring

DELETE /api/v1/admin/branding/images/{kind}#

Remove a logo or tab icon

ParameterInTypeRequiredMeaning
kindpathstringyes

POST /api/v1/admin/branding/images/{kind}#

Upload a logo or tab icon

Send the image as the request body: PNG, JPEG, WebP, or SVG, up to 2 MB.

ParameterInTypeRequiredMeaning
kindpathstringyes

The inventory#

GET /api/v1/admin/visibility#

How much of the register everyone can see

PUT /api/v1/admin/visibility#

Change how much of the register everyone can see

JSON body:

FieldTypeRequiredMeaning
visibilitystringyes

GET /api/v1/admin/vocabularies#

Every vocabulary, with what may be changed in it

GET /api/v1/information#

Find information assets

ParameterInTypeRequiredMeaning
qquerystringWords to look for in the name, reference, or summary
unitqueryintegerA unit's id; includes every unit beneath it
statusquerystring
kindquerystring
criticalityquerystring
data_classquerystring
ownerqueryinteger
minequerybooleanOnly records I am named on Default: false.
sortquerystringA field name; start with - for descending Default: "-updated_at".
limitqueryinteger
cursorquerystring

POST /api/v1/information#

Add an information asset

JSON body:

FieldTypeRequiredMeaning
agreementstringWhat it is held or shared under
criticalitystring
customobjectValues of the organization's own fields, by key
data_classstring
external_refslist of ExternalRefBody
held_instringThe systems and places it is kept
kindstring
namestring
org_unit_idinteger
restrictedboolean
shared_withstring
statusstring
summarystring
tagslist of string
versioninteger

GET /api/v1/information/{ref}#

One information asset, with its owners and links

ParameterInTypeRequiredMeaning
refpathstringyes

PATCH /api/v1/information/{ref}#

Change an information asset

ParameterInTypeRequiredMeaning
refpathstringyes

JSON body:

FieldTypeRequiredMeaning
agreementstringWhat it is held or shared under
criticalitystring
customobjectValues of the organization's own fields, by key
data_classstring
external_refslist of ExternalRefBody
held_instringThe systems and places it is kept
kindstring
namestring
org_unit_idinteger
restrictedboolean
shared_withstring
statusstring
summarystring
tagslist of string
versioninteger

GET /api/v1/information/{ref}/history#

Everything that has happened to an information asset

ParameterInTypeRequiredMeaning
refpathstringyes

POST /api/v1/information/{ref}/links#

Link an information asset to a record

ParameterInTypeRequiredMeaning
refpathstringyes

JSON body:

FieldTypeRequiredMeaning
notestring
relationstringyesThe key of a kind of link, such as relies_on
tostringyesThe reference of the record it reaches, such as SYS-0003

PUT /api/v1/information/{ref}/owners#

Set a information asset's owners

ParameterInTypeRequiredMeaning
refpathstringyes

JSON body:

FieldTypeRequiredMeaning
ownerslist of objectyesEach with an account_id and a kind

GET /api/v1/processes#

Find processes

ParameterInTypeRequiredMeaning
qquerystringWords to look for in the name, reference, or summary
unitqueryintegerA unit's id; includes every unit beneath it
statusquerystring
kindquerystring
criticalityquerystring
data_classquerystring
ownerqueryinteger
minequerybooleanOnly records I am named on Default: false.
sortquerystringA field name; start with - for descending Default: "-updated_at".
limitqueryinteger
cursorquerystring

POST /api/v1/processes#

Add a process

JSON body:

FieldTypeRequiredMeaning
criticalitystring
customobjectValues of the organization's own fields, by key
data_classstring
external_refslist of ExternalRefBody
kindstring
namestring
org_unit_idinteger
purposestring
restrictedboolean
statusstring
summarystring
tagslist of string
versioninteger

GET /api/v1/processes/{ref}#

One process, with its owners and links

ParameterInTypeRequiredMeaning
refpathstringyes

PATCH /api/v1/processes/{ref}#

Change a process

ParameterInTypeRequiredMeaning
refpathstringyes

JSON body:

FieldTypeRequiredMeaning
criticalitystring
customobjectValues of the organization's own fields, by key
data_classstring
external_refslist of ExternalRefBody
kindstring
namestring
org_unit_idinteger
purposestring
restrictedboolean
statusstring
summarystring
tagslist of string
versioninteger

GET /api/v1/processes/{ref}/history#

Everything that has happened to a process

ParameterInTypeRequiredMeaning
refpathstringyes

POST /api/v1/processes/{ref}/links#

Link a process to a record

ParameterInTypeRequiredMeaning
refpathstringyes

JSON body:

FieldTypeRequiredMeaning
notestring
relationstringyesThe key of a kind of link, such as relies_on
tostringyesThe reference of the record it reaches, such as SYS-0003

PUT /api/v1/processes/{ref}/owners#

Set a process's owners

ParameterInTypeRequiredMeaning
refpathstringyes

JSON body:

FieldTypeRequiredMeaning
ownerslist of objectyesEach with an account_id and a kind

GET /api/v1/sites#

Find sites

ParameterInTypeRequiredMeaning
qquerystringWords to look for in the name, reference, or summary
unitqueryintegerA unit's id; includes every unit beneath it
statusquerystring
kindquerystring
criticalityquerystring
data_classquerystring
ownerqueryinteger
minequerybooleanOnly records I am named on Default: false.
sortquerystringA field name; start with - for descending Default: "-updated_at".
limitqueryinteger
cursorquerystring

POST /api/v1/sites#

Add a site

JSON body:

FieldTypeRequiredMeaning
addressstring
criticalitystring
customobjectValues of the organization's own fields, by key
data_classstring
external_refslist of ExternalRefBody
kindstring
namestring
org_unit_idinteger
restrictedboolean
statusstring
summarystring
tagslist of string
versioninteger

GET /api/v1/sites/{ref}#

One site, with its owners and links

ParameterInTypeRequiredMeaning
refpathstringyes

PATCH /api/v1/sites/{ref}#

Change a site

ParameterInTypeRequiredMeaning
refpathstringyes

JSON body:

FieldTypeRequiredMeaning
addressstring
criticalitystring
customobjectValues of the organization's own fields, by key
data_classstring
external_refslist of ExternalRefBody
kindstring
namestring
org_unit_idinteger
restrictedboolean
statusstring
summarystring
tagslist of string
versioninteger

GET /api/v1/sites/{ref}/history#

Everything that has happened to a site

ParameterInTypeRequiredMeaning
refpathstringyes

POST /api/v1/sites/{ref}/links#

Link a site to a record

ParameterInTypeRequiredMeaning
refpathstringyes

JSON body:

FieldTypeRequiredMeaning
notestring
relationstringyesThe key of a kind of link, such as relies_on
tostringyesThe reference of the record it reaches, such as SYS-0003

PUT /api/v1/sites/{ref}/owners#

Set a site's owners

ParameterInTypeRequiredMeaning
refpathstringyes

JSON body:

FieldTypeRequiredMeaning
ownerslist of objectyesEach with an account_id and a kind

GET /api/v1/systems#

Find systems

ParameterInTypeRequiredMeaning
qquerystringWords to look for in the name, reference, or summary
unitqueryintegerA unit's id; includes every unit beneath it
statusquerystring
kindquerystring
criticalityquerystring
data_classquerystring
hostingquerystring
lifecyclequerystring
ownerqueryinteger
minequerybooleanOnly records I am named on Default: false.
sortquerystringA field name; start with - for descending Default: "-updated_at".
limitqueryinteger
cursorquerystring

POST /api/v1/systems#

Add a system

JSON body:

FieldTypeRequiredMeaning
criticalitystring
customobjectValues of the organization's own fields, by key
data_classstring
external_refslist of ExternalRefBody
hostingstring
kindstring
lifecyclestring
namestring
org_unit_idinteger
restrictedboolean
statusstring
summarystring
tagslist of string
urlstring
versioninteger

GET /api/v1/systems/{ref}#

One system, with its owners and links

ParameterInTypeRequiredMeaning
refpathstringyes

PATCH /api/v1/systems/{ref}#

Change a system

ParameterInTypeRequiredMeaning
refpathstringyes

JSON body:

FieldTypeRequiredMeaning
criticalitystring
customobjectValues of the organization's own fields, by key
data_classstring
external_refslist of ExternalRefBody
hostingstring
kindstring
lifecyclestring
namestring
org_unit_idinteger
restrictedboolean
statusstring
summarystring
tagslist of string
urlstring
versioninteger

GET /api/v1/systems/{ref}/history#

Everything that has happened to a system

ParameterInTypeRequiredMeaning
refpathstringyes

POST /api/v1/systems/{ref}/links#

Link a system to a record

ParameterInTypeRequiredMeaning
refpathstringyes

JSON body:

FieldTypeRequiredMeaning
notestring
relationstringyesThe key of a kind of link, such as relies_on
tostringyesThe reference of the record it reaches, such as SYS-0003

PUT /api/v1/systems/{ref}/owners#

Set a system's owners

ParameterInTypeRequiredMeaning
refpathstringyes

JSON body:

FieldTypeRequiredMeaning
ownerslist of objectyesEach with an account_id and a kind

GET /api/v1/third-parties#

Find third parties

ParameterInTypeRequiredMeaning
qquerystringWords to look for in the name, reference, or summary
unitqueryintegerA unit's id; includes every unit beneath it
statusquerystring
kindquerystring
criticalityquerystring
data_classquerystring
tierquerystringA tier's key, or none for untiered
reviewquerystringdue: overdue; soon: within a month
ownerqueryinteger
minequerybooleanOnly records I am named on Default: false.
sortquerystringA field name; start with - for descending Default: "-updated_at".
limitqueryinteger
cursorquerystring

POST /api/v1/third-parties#

Add a third party

JSON body:

FieldTypeRequiredMeaning
criticalitystring
customobjectValues of the organization's own fields, by key
data_classstring
external_refslist of ExternalRefBody
kindstring
namestring
notesstring
org_unit_idinteger
restrictedboolean
statusstring
summarystring
tagslist of string
versioninteger
websitestring

GET /api/v1/third-parties/{ref}#

One third party, with its owners and links

ParameterInTypeRequiredMeaning
refpathstringyes

PATCH /api/v1/third-parties/{ref}#

Change a third party

ParameterInTypeRequiredMeaning
refpathstringyes

JSON body:

FieldTypeRequiredMeaning
criticalitystring
customobjectValues of the organization's own fields, by key
data_classstring
external_refslist of ExternalRefBody
kindstring
namestring
notesstring
org_unit_idinteger
restrictedboolean
statusstring
summarystring
tagslist of string
versioninteger
websitestring

GET /api/v1/third-parties/{ref}/history#

Everything that has happened to a third party

ParameterInTypeRequiredMeaning
refpathstringyes

POST /api/v1/third-parties/{ref}/links#

Link a third party to a record

ParameterInTypeRequiredMeaning
refpathstringyes

JSON body:

FieldTypeRequiredMeaning
notestring
relationstringyesThe key of a kind of link, such as relies_on
tostringyesThe reference of the record it reaches, such as SYS-0003

PUT /api/v1/third-parties/{ref}/owners#

Set a third party's owners

ParameterInTypeRequiredMeaning
refpathstringyes

JSON body:

FieldTypeRequiredMeaning
ownerslist of objectyesEach with an account_id and a kind

GET /api/v1/vocabularies#

The lists of values records choose from

PUT /api/v1/vocabularies/{name}#

Rename, reorder, add to, or retire a vocabulary

A value's key never changes, so renaming one never rewrites a record. A value in use is retired, not removed: records keep it and new ones cannot choose it.

ParameterInTypeRequiredMeaning
namepathstringyes

JSON body:

FieldTypeRequiredMeaning
itemslist of objectyesEvery value, in order: key, label, description, and retired

Risks#

GET /api/v1/program#

How risks are rated: the method, the categories, and the rules

GET /api/v1/program/fields#

The fields of the organization's own on each kind of record

PUT /api/v1/program/fields/{type_key}#

Set the fields a kind of record carries

ParameterInTypeRequiredMeaning
type_keypathstringyes

JSON body:

FieldTypeRequiredMeaning
fieldslist of objectyesIn order, each with key, label, kind (text, number, date, or choice), choices for a choice, and optionally help and required

POST /api/v1/program/preview#

See which risks a change to the program would move

Makes the change, lists every open risk whose rating, standing, or next review moved, and then undoes it. Nothing is changed, and what is listed is exactly what publishing the same change would move.

JSON body:

FieldTypeRequiredMeaning
appetitesobjectCategory key to rating; null takes the one above
cadencesobjectThe whole cadence table
methodobjectThe whole scoring method

POST /api/v1/program/publish#

Change the scoring method, appetite, or cadences

A changed scoring method is published as a new version. Every open risk is read again under what is now in force; assessments keep the rating they were given.

JSON body:

FieldTypeRequiredMeaning
appetitesobjectCategory key to rating; null takes the one above
cadencesobjectThe whole cadence table
methodobjectThe whole scoring method

POST /api/v1/risk-categories#

Add a risk category

JSON body:

FieldTypeRequiredMeaning
appetitestringA rating; needed at the top
descriptionstring
keystringMade from the name if absent
namestringyes
parentstringThe key of the category above it

PATCH /api/v1/risk-categories/{key}#

Rename a risk category or change its appetite

ParameterInTypeRequiredMeaning
keypathstringyes

JSON body:

FieldTypeRequiredMeaning
appetitestring
descriptionstring
movestringup or down, among those beside it
namestring
statusstring

GET /api/v1/risk-library#

Reusable risk statements to start a risk from

ParameterInTypeRequiredMeaning
qquerystringWords to look for in the name, reference, or summary
categoryquerystring
keyquerystringOne entry, by its key

GET /api/v1/risks#

Find risks

ParameterInTypeRequiredMeaning
qquerystringWords to look for in the name, reference, or summary
unitqueryintegerA unit's id; includes every unit beneath it
atqueryintegerA unit's id: its own risks and those escalated to it
categoryquerystringA category key; includes those beneath
statusquerystring
standingquerystring
residual_ratingquerystring
inherent_ratingquerystring
responsequerystring
subjectquerystringThe reference of a record it concerns
above_appetitequerybooleanDefault: false.
overduequerybooleanOpen risks whose review date has passed Default: false.
in_doubtquerybooleanDefault: false.
addedquerystringRaised in a period: FROM..TO
inherent_likelihoodqueryinteger
inherent_impactqueryinteger
residual_likelihoodqueryinteger
residual_impactqueryinteger
target_likelihoodqueryinteger
target_impactqueryinteger
ownerqueryinteger
minequerybooleanOnly records I am named on Default: false.
sortquerystringA field; start with - to reverse Default: "-residual_rating".
limitqueryinteger
cursorquerystring

POST /api/v1/risks#

Raise a risk

JSON body:

FieldTypeRequiredMeaning
categorystringThe key of a risk category
causestring
closed_reasonstring
consequencestring
customobjectValues of the organization's own fields, by key
eventstring
external_refslist of ExternalRefBody
library_keystringThe library entry it was started from
namestringA short title
org_unit_idinteger
restrictedboolean
statusstring
summarystring
tagslist of string
versioninteger

GET /api/v1/risks/{ref}#

One risk, with its ratings and what it concerns

ParameterInTypeRequiredMeaning
refpathstringyes

PATCH /api/v1/risks/{ref}#

Change a risk, close it, or reopen it

ParameterInTypeRequiredMeaning
refpathstringyes

JSON body:

FieldTypeRequiredMeaning
categorystringThe key of a risk category
causestring
closed_reasonstring
consequencestring
customobjectValues of the organization's own fields, by key
eventstring
external_refslist of ExternalRefBody
library_keystringThe library entry it was started from
namestringA short title
org_unit_idinteger
restrictedboolean
statusstring
summarystring
tagslist of string
versioninteger

GET /api/v1/risks/{ref}/assessments#

Every judgment made of a risk, newest first

ParameterInTypeRequiredMeaning
refpathstringyes

POST /api/v1/risks/{ref}/assessments#

Assess a risk

ParameterInTypeRequiredMeaning
refpathstringyes

JSON body:

FieldTypeRequiredMeaning
impact_levelsobjectyesThe level chosen on each impact dimension that applies
kindstringyesinherent, residual, or target
likelihoodintegeryes
rationalestringyes

GET /api/v1/risks/{ref}/bow-tie#

A risk's causes, controls, event, and consequences

ParameterInTypeRequiredMeaning
refpathstringyes

PUT /api/v1/risks/{ref}/escalation#

Escalate a risk to a higher unit, or take it back

ParameterInTypeRequiredMeaning
refpathstringyes

JSON body:

FieldTypeRequiredMeaning
reasonstring
unit_idintegeryesA unit above the risk's own; null takes it back down

GET /api/v1/risks/{ref}/estimate#

A risk's estimate in ranges and its simulation

ParameterInTypeRequiredMeaning
refpathstringyes

POST /api/v1/risks/{ref}/estimate#

Estimate a risk in ranges, anew

ParameterInTypeRequiredMeaning
refpathstringyes

JSON body:

FieldTypeRequiredMeaning
assumptionsstringyesWhere the numbers came from
currencystring
frequency_highnumberyes
frequency_likelynumberyes
frequency_lownumberyesFewest times a year, such as 0.1 (once a decade)
loss_highnumberyes
loss_likelynumberyes
loss_lownumberyesLeast it costs each time, in whole currency units

GET /api/v1/risks/{ref}/history#

Everything that has happened to a risk

ParameterInTypeRequiredMeaning
refpathstringyes

PUT /api/v1/risks/{ref}/objectives#

Say which objectives a risk threatens

ParameterInTypeRequiredMeaning
refpathstringyes

JSON body:

FieldTypeRequiredMeaning
objectiveslist of stringyesReferences of the objectives the risk threatens

PUT /api/v1/risks/{ref}/owners#

Set a risk's owners

ParameterInTypeRequiredMeaning
refpathstringyes

JSON body:

FieldTypeRequiredMeaning
ownerslist of objectyesEach with an account_id and a kind

PUT /api/v1/risks/{ref}/subjects#

Say what a risk concerns

ParameterInTypeRequiredMeaning
refpathstringyes

JSON body:

FieldTypeRequiredMeaning
subjectslist of stringyesReferences of the records the risk concerns

Controls#

GET /api/v1/control-library#

Common controls in plain words, to start a control from

ParameterInTypeRequiredMeaning
qquerystringWords to look for in the name, reference, or summary
keysquerystringLibrary keys, separated by commas

GET /api/v1/controls#

Find controls

ParameterInTypeRequiredMeaning
qquerystringWords to look for in the name, reference, or summary
unitqueryintegerA unit's id; includes every unit beneath it
statusquerystring
kindquerystring
naturequerystring
frequencyquerystring
statequerystringeffective, partly, ineffective, or not_assessed
testedquerystringBy a test that still holds: effective, failing, or none (no such test)
is_keyquerybooleanDefault: false.
stalequerybooleanRated, but too long ago to rely on Default: false.
riskquerystringA risk's reference: the controls on it
ownerqueryinteger
minequerybooleanOnly records I am named on Default: false.
sortquerystringA field name; start with - for descending Default: "-updated_at".
limitqueryinteger
cursorquerystring

POST /api/v1/controls#

Add a control

JSON body:

FieldTypeRequiredMeaning
customobjectValues of the organization's own fields, by key
external_refslist of ExternalRefBody
frequencystring
is_keyboolean
kindstring
library_keystring
namestringA short title
naturestring
objectivestring
org_unit_idinteger
restrictedboolean
statementstringWho does what, how often
statusstring
summarystring
tagslist of string
versioninteger

GET /api/v1/controls/{ref}#

One control, with its rating and the risks it bears on

ParameterInTypeRequiredMeaning
refpathstringyes

PATCH /api/v1/controls/{ref}#

Change a control

ParameterInTypeRequiredMeaning
refpathstringyes

JSON body:

FieldTypeRequiredMeaning
customobjectValues of the organization's own fields, by key
external_refslist of ExternalRefBody
frequencystring
is_keyboolean
kindstring
library_keystring
namestringA short title
naturestring
objectivestring
org_unit_idinteger
restrictedboolean
statementstringWho does what, how often
statusstring
summarystring
tagslist of string
versioninteger

GET /api/v1/controls/{ref}/history#

Everything that has happened to a control

ParameterInTypeRequiredMeaning
refpathstringyes

PUT /api/v1/controls/{ref}/owners#

Set a control's owners

ParameterInTypeRequiredMeaning
refpathstringyes

JSON body:

FieldTypeRequiredMeaning
ownerslist of objectyesEach with an account_id and a kind

GET /api/v1/controls/{ref}/ratings#

Every rating a control has had, newest first

ParameterInTypeRequiredMeaning
refpathstringyes

POST /api/v1/controls/{ref}/ratings#

Rate how well a control works

ParameterInTypeRequiredMeaning
refpathstringyes

JSON body:

FieldTypeRequiredMeaning
designstringyeseffective, partly, ineffective, or not_assessed
notestringyesWhat the rating rests on
operationstringyes

GET /api/v1/controls/{ref}/requirements#

The requirements a control helps to satisfy

ParameterInTypeRequiredMeaning
refpathstringyes

PUT /api/v1/controls/{ref}/requirements#

Map a control to a requirement, or change how

ParameterInTypeRequiredMeaning
refpathstringyes

JSON body:

FieldTypeRequiredMeaning
codestringyesThe requirement's code, such as PR.AA-05
coveragestringfull or partial
frameworkstringyesThe framework's key, such as nist-csf
notestring

POST /api/v1/controls/{ref}/requirements/suggested#

Map a control to everything the library suggests for it

ParameterInTypeRequiredMeaning
refpathstringyes

DELETE /api/v1/controls/{ref}/requirements/{mapping_id}#

Take a requirement off a control

ParameterInTypeRequiredMeaning
refpathstringyes
mapping_idpathintegeryes

GET /api/v1/risks/{ref}/controls#

The controls on a risk, and what they suggest

ParameterInTypeRequiredMeaning
refpathstringyes

PUT /api/v1/risks/{ref}/controls#

Link a control to a risk, or change how it bears

ParameterInTypeRequiredMeaning
refpathstringyes

JSON body:

FieldTypeRequiredMeaning
controlstringyesThe control's reference, such as CTL-0007
notestring
reducesstringyeslikelihood, impact, or both
reliancestringyesprimary or supporting

DELETE /api/v1/risks/{ref}/controls/{control_ref}#

Take a control off a risk

ParameterInTypeRequiredMeaning
refpathstringyes
control_refpathstringyes

Treatment#

GET /api/v1/acceptances#

Acceptances of risks the asker may see

ParameterInTypeRequiredMeaning
statequerystringin_force, expired, or withdrawn
expiring_withinqueryintegerDays from today
unitqueryintegerA unit's id; includes every unit beneath it
minequerybooleanOnly those I gave Default: false.

POST /api/v1/acceptances/{acceptance_id}/withdrawal#

Withdraw an acceptance

ParameterInTypeRequiredMeaning
acceptance_idpathintegeryes

JSON body:

FieldTypeRequiredMeaning
reasonstringyes

GET /api/v1/actions#

Actions: one list of everything owed

ParameterInTypeRequiredMeaning
qquerystringWords to look for in the name, reference, or summary
statusquerystringopen (not yet done), or a status
overduequerybooleanDefault: false.
unitqueryintegerA unit's id; includes every unit beneath it
ownerqueryinteger
minequerybooleanOnly records I am named on Default: false.
limitqueryinteger
cursorquerystring

PATCH /api/v1/actions/{ref}#

Progress, finish, reschedule, or reassign an action

ParameterInTypeRequiredMeaning
refpathstringyes

JSON body:

FieldTypeRequiredMeaning
completion_notestring
detailstring
due_onstring
owner_idinteger
reasonstring
statusstring
titlestring

GET /api/v1/plans#

Treatment plans for risks the asker may see

ParameterInTypeRequiredMeaning
statusquerystring
overduequerybooleanDefault: false.
unitqueryintegerA unit's id; includes every unit beneath it
minequerybooleanOnly plans I own Default: false.

GET /api/v1/plans/{ref}#

One treatment plan, with its actions

ParameterInTypeRequiredMeaning
refpathstringyes

POST /api/v1/plans/{ref}/actions#

Add an action to a plan

ParameterInTypeRequiredMeaning
refpathstringyes

JSON body:

FieldTypeRequiredMeaning
detailstring
due_onstringyes
owner_idintegeryes
titlestringyes

POST /api/v1/plans/{ref}/cancellation#

Cancel a treatment plan, with the reason

ParameterInTypeRequiredMeaning
refpathstringyes

JSON body:

FieldTypeRequiredMeaning
reasonstringyes

POST /api/v1/risks/{ref}/acceptances#

Accept a risk above appetite

ParameterInTypeRequiredMeaning
refpathstringyes

JSON body:

FieldTypeRequiredMeaning
conditionsstring
expires_onstringyes
rationalestringyes

POST /api/v1/risks/{ref}/plans#

Open a treatment plan for a risk

ParameterInTypeRequiredMeaning
refpathstringyes

JSON body:

FieldTypeRequiredMeaning
due_onstringyes
objectivestringyes
owner_idintegeryes
target_ratingstring

PUT /api/v1/risks/{ref}/response#

Record the response to a risk, and why

ParameterInTypeRequiredMeaning
refpathstringyes

JSON body:

FieldTypeRequiredMeaning
rationalestringyes
responsestringyesreduce, accept, transfer, or avoid

GET /api/v1/risks/{ref}/treatment#

What is being done about a risk

ParameterInTypeRequiredMeaning
refpathstringyes

Frameworks#

GET /api/v1/framework-packs#

The frameworks that ship, and which are loaded

POST /api/v1/framework-packs#

Load a framework beside the others

A pack that ships, by its key, or a whole pack: a publisher's new version, or a framework an organization keeps for itself. It is loaded beside what is there, never over it, and changes nothing that uses another.

JSON body:

FieldTypeRequiredMeaning
keystringThe key of a pack that ships
packobjectA whole framework pack

GET /api/v1/frameworks#

The frameworks on record

ParameterInTypeRequiredMeaning
retiredquerybooleanDefault: false.

POST /api/v1/frameworks#

Enter a framework of your own

JSON body:

FieldTypeRequiredMeaning
keystringA short key; made from the title if left out
kindstringstandard, regulation, agreement, or internal
publisherstringWho it comes from: a sponsor, a party
source_urlstring
statusstringactive or retired
summarystring
titlestring
versionstring

GET /api/v1/frameworks/{key}#

One framework, with its source and baselines

ParameterInTypeRequiredMeaning
keypathstringyes

PATCH /api/v1/frameworks/{key}#

Change a framework of your own, or retire any

ParameterInTypeRequiredMeaning
keypathstringyes

JSON body:

FieldTypeRequiredMeaning
keystringA short key; made from the title if left out
kindstringstandard, regulation, agreement, or internal
publisherstringWho it comes from: a sponsor, a party
source_urlstring
statusstringactive or retired
summarystring
titlestring
versionstring

GET /api/v1/frameworks/{key}/change#

One requirement in both versions

ParameterInTypeRequiredMeaning
keypathstringyes
fromquerystringyesThe key of the earlier version
codequerystringyesThe requirement's code, such as AC-2 or 164.308(a)(1)(i)

GET /api/v1/frameworks/{key}/changes#

What changed from an earlier version

Requirements added, changed, and withdrawn since the earlier version, and what uses the earlier one: the scopes held to it, the controls, exceptions, and documents mapped to what changed, and how many crosswalks a move would carry.

ParameterInTypeRequiredMeaning
keypathstringyes
fromquerystringyesThe key of the earlier version

GET /api/v1/frameworks/{key}/coverage#

How many of a framework's requirements have a control mapped to them

ParameterInTypeRequiredMeaning
keypathstringyes

DELETE /api/v1/frameworks/{key}/requirement#

Remove a requirement of your own

ParameterInTypeRequiredMeaning
keypathstringyes
codequerystringyesThe requirement's code, such as AC-2 or 164.308(a)(1)(i)

GET /api/v1/frameworks/{key}/requirement#

One requirement in full, with its controls

ParameterInTypeRequiredMeaning
keypathstringyes
codequerystringyesThe requirement's code, such as AC-2 or 164.308(a)(1)(i)

PATCH /api/v1/frameworks/{key}/requirement#

Change a requirement of your own

ParameterInTypeRequiredMeaning
keypathstringyes
codequerystringyesThe requirement's code, such as AC-2 or 164.308(a)(1)(i)

JSON body:

FieldTypeRequiredMeaning
codestringA stable code, such as 4.2 or DUA-7
guidancestring
is_citablebooleanFalse for a heading
parentstringThe code of the requirement above it
textstringWhat is required
titlestring

GET /api/v1/frameworks/{key}/requirements#

One level of a framework's tree, or the requirements that match

ParameterInTypeRequiredMeaning
keypathstringyes
parentquerystringA code; lists what is beneath it
qquerystringWords to find in codes, titles, and text
baselinequerystringA baseline's key
mappedquerybooleantrue for those with a control, false for those with none
limitqueryinteger
cursorquerystring

POST /api/v1/frameworks/{key}/requirements#

Add a requirement to your own

ParameterInTypeRequiredMeaning
keypathstringyes

JSON body:

FieldTypeRequiredMeaning
codestringA stable code, such as 4.2 or DUA-7
guidancestring
is_citablebooleanFalse for a heading
parentstringThe code of the requirement above it
textstringWhat is required
titlestring

POST /api/v1/frameworks/{key}/requirements/paste#

Add many requirements from pasted lines, after a dry run

ParameterInTypeRequiredMeaning
keypathstringyes
dry_runquerybooleanDefault: true.

JSON body:

FieldTypeRequiredMeaning
textstringyesOne requirement to a line: a code, then what it requires

GET /api/v1/frameworks/{key}/suggestions#

Crosswalks a publisher's mapping suggests

ParameterInTypeRequiredMeaning
keypathstringyes

POST /api/v1/frameworks/{key}/suggestions/confirm#

Map a suggested crosswalk

ParameterInTypeRequiredMeaning
keypathstringyes

JSON body:

FieldTypeRequiredMeaning
codestringyesThe requirement's code in this framework
controlstringyesThe control's reference

POST /api/v1/frameworks/{key}/suggestions/set-aside#

Set a suggestion aside

ParameterInTypeRequiredMeaning
keypathstringyes

JSON body:

FieldTypeRequiredMeaning
codestringyesThe requirement's code in this framework
controlstringyesThe control's reference

POST /api/v1/frameworks/{key}/versions#

Start a new version of your own

A copy of a framework of the organization's own, beside it, to be edited.

ParameterInTypeRequiredMeaning
keypathstringyes

JSON body:

FieldTypeRequiredMeaning
titlestringyesThe new version's title
versionstringWhat it is called

Scopes#

GET /api/v1/scopes#

Find scopes

ParameterInTypeRequiredMeaning
qquerystringWords to look for in the name, reference, or summary
unitqueryintegerA unit's id; includes every unit beneath it
statusquerystring
frameworkquerystringA framework's key
offersquerybooleanOnly scopes that offer their controls Default: false.
ownerqueryinteger
minequerybooleanOnly records I am named on Default: false.
sortquerystringA field name; start with - for descending Default: "-updated_at".
limitqueryinteger
cursorquerystring

POST /api/v1/scopes#

Add a scope

JSON body:

FieldTypeRequiredMeaning
boundarystringWhere the scope begins and ends
external_refslist of ExternalRefBody
namestring
offers_controlsbooleanWhether other scopes may inherit its controls
org_unit_idinteger
restrictedboolean
statusstring
summarystring
tagslist of string
versioninteger

GET /api/v1/scopes/{ref}#

One scope, with its boundary and what it must meet

ParameterInTypeRequiredMeaning
refpathstringyes

PATCH /api/v1/scopes/{ref}#

Change a scope

ParameterInTypeRequiredMeaning
refpathstringyes

JSON body:

FieldTypeRequiredMeaning
boundarystringWhere the scope begins and ends
external_refslist of ExternalRefBody
namestring
offers_controlsbooleanWhether other scopes may inherit its controls
org_unit_idinteger
restrictedboolean
statusstring
summarystring
tagslist of string
versioninteger

GET /api/v1/scopes/{ref}/controls#

How each control is done within a scope

ParameterInTypeRequiredMeaning
refpathstringyes

PUT /api/v1/scopes/{ref}/controls#

Use a control in a scope, or say where it stands

ParameterInTypeRequiredMeaning
refpathstringyes

JSON body:

FieldTypeRequiredMeaning
controlstringyesThe control's reference, such as CTL-0007
responsibilitystringWho answers for it here
statementstringHow it is done here
statusstringplanned, partly, in_place, or not_applicable

GET /api/v1/scopes/{ref}/controls/candidates#

Controls that answer a scope's requirements and are not used in it yet

ParameterInTypeRequiredMeaning
refpathstringyes

POST /api/v1/scopes/{ref}/controls/inherited#

Inherit a control another scope offers

ParameterInTypeRequiredMeaning
refpathstringyes

JSON body:

FieldTypeRequiredMeaning
implementationintegeryesThe id of the implementation another scope offers
inheritancestringyesinherited (whole) or shared
responsibilitystring
statementstringWhat this scope does as its part
statusstringWhere this scope's own part stands

GET /api/v1/scopes/{ref}/controls/offered#

Controls other scopes offer to this one

ParameterInTypeRequiredMeaning
refpathstringyes

DELETE /api/v1/scopes/{ref}/controls/{implementation_id}#

Stop using a control in a scope

ParameterInTypeRequiredMeaning
refpathstringyes
implementation_idpathintegeryes

PUT /api/v1/scopes/{ref}/frameworks#

Hold a scope to a framework, or change its baseline

ParameterInTypeRequiredMeaning
refpathstringyes

JSON body:

FieldTypeRequiredMeaning
baselinestringA baseline's key, to start from
frameworkstringyesThe framework's key

DELETE /api/v1/scopes/{ref}/frameworks/{key}#

Take a framework off a scope

ParameterInTypeRequiredMeaning
refpathstringyes
keypathstringyes

POST /api/v1/scopes/{ref}/frameworks/{key}/move#

Move a scope to a later version of a framework

Its decisions and exceptions go with it where the code is unchanged; the crosswalks and documents mapped to the earlier version are carried for everyone.

ParameterInTypeRequiredMeaning
refpathstringyes
keypathstringyes

JSON body:

FieldTypeRequiredMeaning
tostringyesThe key of the later version

GET /api/v1/scopes/{ref}/history#

Everything that has happened to a scope

ParameterInTypeRequiredMeaning
refpathstringyes

PUT /api/v1/scopes/{ref}/members#

Say what is inside a scope's boundary

ParameterInTypeRequiredMeaning
refpathstringyes

JSON body:

FieldTypeRequiredMeaning
recordslist of stringReferences, such as SYS-0003
unitslist of integerUnit ids

PUT /api/v1/scopes/{ref}/owners#

Set a scope's owners

ParameterInTypeRequiredMeaning
refpathstringyes

JSON body:

FieldTypeRequiredMeaning
ownerslist of objectyesEach with an account_id and a kind

GET /api/v1/scopes/{ref}/plan-of-action#

The open issues that bear on a scope, each with its milestones

ParameterInTypeRequiredMeaning
refpathstringyes

GET /api/v1/scopes/{ref}/requirements#

A scope's statement of applicability for one framework

ParameterInTypeRequiredMeaning
refpathstringyes
frameworkquerystringyesThe framework's key
statequerystringgap, planned, in_place, or excluded
qquerystring

PUT /api/v1/scopes/{ref}/requirements#

Say whether a requirement applies within a scope

ParameterInTypeRequiredMeaning
refpathstringyes

JSON body:

FieldTypeRequiredMeaning
applicablebooleanyes
codestringyes
frameworkstringyes
reasonstringNeeded to leave a requirement out

Evidence#

GET /api/v1/evidence#

Find evidence

ParameterInTypeRequiredMeaning
qquerystringWords to look for in the name, reference, or summary
unitqueryintegerA unit's id; includes every unit beneath it
statusquerystring
kindquerystring
statequerystringcurrent, expiring, or stale
subjectquerystringA control or scope it supports
ownerqueryinteger
minequerybooleanOnly records I am named on Default: false.
sortquerystringA field name; start with - for descending Default: "-updated_at".
limitqueryinteger
cursorquerystring

POST /api/v1/evidence#

Add an evidence item

JSON body:

FieldTypeRequiredMeaning
collected_onstringThe day it was collected
covers_fromstring
covers_tostring
data_classstring
kindstringfile, link, note, or attestation
namestringWhat it is, briefly
notestringWhat was seen, or what is attested to
org_unit_idinteger
restrictedboolean
statusstring
summarystring
tagslist of string
urlstring
valid_untilstringThe day it stops counting; a year after collection if absent
versioninteger

GET /api/v1/evidence-for/{ref}#

The evidence attached to a control or a scope

ParameterInTypeRequiredMeaning
refpathstringyes

GET /api/v1/evidence/{ref}#

One evidence item, with what it supports

ParameterInTypeRequiredMeaning
refpathstringyes

PATCH /api/v1/evidence/{ref}#

Change an evidence item

ParameterInTypeRequiredMeaning
refpathstringyes

JSON body:

FieldTypeRequiredMeaning
collected_onstringThe day it was collected
covers_fromstring
covers_tostring
data_classstring
kindstringfile, link, note, or attestation
namestringWhat it is, briefly
notestringWhat was seen, or what is attested to
org_unit_idinteger
restrictedboolean
statusstring
summarystring
tagslist of string
urlstring
valid_untilstringThe day it stops counting; a year after collection if absent
versioninteger

GET /api/v1/evidence/{ref}/file#

Download the file an evidence item holds

ParameterInTypeRequiredMeaning
refpathstringyes

POST /api/v1/evidence/{ref}/file#

Send the file an evidence item holds

Send the file as the request body. Its type is judged by its content: PDF, common images, Word, Excel, and PowerPoint documents, and plain text, up to 25 MB.

ParameterInTypeRequiredMeaning
refpathstringyes
namequerystringThe file's name

GET /api/v1/evidence/{ref}/history#

Everything that has happened to an evidence item

ParameterInTypeRequiredMeaning
refpathstringyes

PUT /api/v1/evidence/{ref}/owners#

Set an evidence item's owners

ParameterInTypeRequiredMeaning
refpathstringyes

JSON body:

FieldTypeRequiredMeaning
ownerslist of objectyesEach with an account_id and a kind

PUT /api/v1/evidence/{ref}/subjects#

Say what an evidence item supports

ParameterInTypeRequiredMeaning
refpathstringyes

JSON body:

FieldTypeRequiredMeaning
subjectslist of stringyesReferences of controls and scopes, such as CTL-0007

Assessments and tests#

GET /api/v1/assessments#

Find assessments

ParameterInTypeRequiredMeaning
qquerystringWords to look for in the name, reference, or summary
unitqueryintegerA unit's id; includes every unit beneath it
statusquerystring
scopequerystringA scope's reference
leadqueryinteger
ownerqueryinteger
minequerybooleanOnly records I am named on Default: false.
sortquerystringA field name; start with - for descending Default: "-updated_at".
limitqueryinteger
cursorquerystring

POST /api/v1/assessments#

Start an assessment of a scope

JSON body:

FieldTypeRequiredMeaning
approachstring
controlslist of stringParticular controls to test; all of the scope's own if absent
frameworkstringA framework the scope is held to
lead_idinteger
namestring
period_endstring
period_startstring
restrictedboolean
scopestringThe scope assessed, such as SCP-0001
summarystring
tagslist of string
versioninteger

GET /api/v1/assessments/{ref}#

One assessment, with its tests

ParameterInTypeRequiredMeaning
refpathstringyes

PATCH /api/v1/assessments/{ref}#

Change an assessment

ParameterInTypeRequiredMeaning
refpathstringyes

JSON body:

FieldTypeRequiredMeaning
approachstring
controlslist of stringParticular controls to test; all of the scope's own if absent
frameworkstringA framework the scope is held to
lead_idinteger
namestring
period_endstring
period_startstring
restrictedboolean
scopestringThe scope assessed, such as SCP-0001
summarystring
tagslist of string
versioninteger

POST /api/v1/assessments/{ref}/cancellation#

Abandon an assessment

ParameterInTypeRequiredMeaning
refpathstringyes

POST /api/v1/assessments/{ref}/completion#

Close an assessment whose tests all count

ParameterInTypeRequiredMeaning
refpathstringyes

GET /api/v1/assessments/{ref}/history#

Everything that has happened in an assessment

ParameterInTypeRequiredMeaning
refpathstringyes

PUT /api/v1/assessments/{ref}/owners#

Set an assessment's owners

ParameterInTypeRequiredMeaning
refpathstringyes

JSON body:

FieldTypeRequiredMeaning
ownerslist of objectyesEach with an account_id and a kind

POST /api/v1/assessments/{ref}/tests#

Add a control to an assessment

ParameterInTypeRequiredMeaning
refpathstringyes

JSON body:

FieldTypeRequiredMeaning
controlstringyesThe control's reference

POST /api/v1/results/{result_id}/review#

Confirm a test result, or return it

ParameterInTypeRequiredMeaning
result_idpathintegeryes

JSON body:

FieldTypeRequiredMeaning
confirmbooleanyesTrue to confirm the result; false to return it
notestring

DELETE /api/v1/tests/{test_id}#

Take a control out of an assessment

ParameterInTypeRequiredMeaning
test_idpathintegeryes

PATCH /api/v1/tests/{test_id}#

Change how a control is to be tested, or by whom

ParameterInTypeRequiredMeaning
test_idpathintegeryes

JSON body:

FieldTypeRequiredMeaning
assigned_tointeger
methodstringexamine, interview, or test
procedurestring

POST /api/v1/tests/{test_id}/results#

Record what a test found

ParameterInTypeRequiredMeaning
test_idpathintegeryes

JSON body:

FieldTypeRequiredMeaning
designstringyeseffective, partly, or ineffective
evidencelist of stringReferences of evidence items
notestringyesWhat was found
operationstringyes
samplestringWhat was looked at

Issues, exceptions, and notices#

GET /api/v1/exceptions#

Find exceptions

ParameterInTypeRequiredMeaning
qquerystringWords to look for in the name, reference, or summary
unitqueryintegerA unit's id; includes every unit beneath it
statequerystringrequested, in_force, expired, refused, or withdrawn
scopequerystringA scope's reference
documentquerystringA document's reference
frameworkquerystringAbout a framework's requirements
aboutquerystringcontrol, requirement, or document
ownerqueryinteger
minequerybooleanOnly records I am named on Default: false.
sortquerystringA field name; prefix with - for descending Default: "expires_on".
limitqueryinteger
cursorquerystring

POST /api/v1/exceptions#

Ask for an exception

JSON body:

FieldTypeRequiredMeaning
compensatingstringWhat makes up for it meanwhile
controlstringThe control's reference
documentstringThe document's reference
expires_onstring
justificationstring
namestring
renewsstringThe exception this carries on from
requirementRequirementRef
scopestringThe scope it applies in
starts_onstring
versioninteger

GET /api/v1/exceptions/{ref}#

One exception

ParameterInTypeRequiredMeaning
refpathstringyes

PATCH /api/v1/exceptions/{ref}#

Reword a request that has not been decided

ParameterInTypeRequiredMeaning
refpathstringyes

JSON body:

FieldTypeRequiredMeaning
compensatingstringWhat makes up for it meanwhile
controlstringThe control's reference
documentstringThe document's reference
expires_onstring
justificationstring
namestring
renewsstringThe exception this carries on from
requirementRequirementRef
scopestringThe scope it applies in
starts_onstring
versioninteger

POST /api/v1/exceptions/{ref}/decision#

Approve or refuse an exception

ParameterInTypeRequiredMeaning
refpathstringyes

JSON body:

FieldTypeRequiredMeaning
approvebooleanyes
expires_onstringAn earlier end, when approving
notestring

GET /api/v1/exceptions/{ref}/history#

Everything that has happened to an exception

ParameterInTypeRequiredMeaning
refpathstringyes

POST /api/v1/exceptions/{ref}/withdrawal#

Take back a request, or end one early

ParameterInTypeRequiredMeaning
refpathstringyes

JSON body:

FieldTypeRequiredMeaning
reasonstring

GET /api/v1/issues#

Find issues

ParameterInTypeRequiredMeaning
qquerystringWords to look for in the name, reference, or summary
unitqueryintegerA unit's id; includes every unit beneath it
statusquerystringopen, proposed, closed, cancelled, or live
severityquerystring
source_kindquerystring
aboutquerystringA control, scope, or risk reference
overduequerybooleanDefault: false.
agequerystringDays since it was raised: 0-30, 31-90, 91-180, or 181+
raisedquerystringRaised in a period: FROM..TO
closedquerystringClosed in a period: FROM..TO
root_causequerystring
frameworkquerystringAbout a framework's requirements
ownerqueryinteger
minequerybooleanOnly records I am named on Default: false.
sortquerystringA field name; prefix with - for descending Default: "due_on".
limitqueryinteger
cursorquerystring

POST /api/v1/issues#

Raise an issue

JSON body:

FieldTypeRequiredMeaning
namestring
org_unit_idinteger
owner_idintegerWho is to put it right
requirementslist of RequirementRef
restrictedboolean
severitystringcritical, high, moderate, or low
source_kindstringFrom the issue_sources vocabulary
subjectslist of stringReferences of the controls, scopes, and risks it is about
summarystringWhat is wrong, and how it was found
tagslist of string
versioninteger

GET /api/v1/issues/{ref}#

One issue, with its actions

ParameterInTypeRequiredMeaning
refpathstringyes

PATCH /api/v1/issues/{ref}#

Change an issue

ParameterInTypeRequiredMeaning
refpathstringyes

JSON body:

FieldTypeRequiredMeaning
namestring
org_unit_idinteger
owner_idintegerWho is to put it right
requirementslist of RequirementRef
restrictedboolean
severitystringcritical, high, moderate, or low
source_kindstringFrom the issue_sources vocabulary
subjectslist of stringReferences of the controls, scopes, and risks it is about
summarystringWhat is wrong, and how it was found
tagslist of string
versioninteger

POST /api/v1/issues/{ref}/actions#

Add an action to an issue

ParameterInTypeRequiredMeaning
refpathstringyes

JSON body:

FieldTypeRequiredMeaning
contact_idinteger
detailstring
due_onstringyes
owner_idintegeryes
titlestringyes

POST /api/v1/issues/{ref}/cancellation#

Withdraw an issue raised in error

ParameterInTypeRequiredMeaning
refpathstringyes

JSON body:

FieldTypeRequiredMeaning
reasonstring

POST /api/v1/issues/{ref}/closure#

Propose that an issue is put right

ParameterInTypeRequiredMeaning
refpathstringyes

JSON body:

FieldTypeRequiredMeaning
evidencelist of stringReferences of evidence items
notestringyesWhat was done to put it right
root_causestringyesFrom the root_causes vocabulary

POST /api/v1/issues/{ref}/due-date#

Move an issue's date, with the reason

ParameterInTypeRequiredMeaning
refpathstringyes

JSON body:

FieldTypeRequiredMeaning
due_onstringyes
reasonstringyesWhy the date is moving

GET /api/v1/issues/{ref}/history#

Everything that has happened to an issue

ParameterInTypeRequiredMeaning
refpathstringyes

PUT /api/v1/issues/{ref}/owners#

Say who is to put an issue right

ParameterInTypeRequiredMeaning
refpathstringyes

JSON body:

FieldTypeRequiredMeaning
ownerslist of objectyesEach with an account_id and a kind

POST /api/v1/issues/{ref}/reopening#

Open a closed issue again

ParameterInTypeRequiredMeaning
refpathstringyes

JSON body:

FieldTypeRequiredMeaning
reasonstring

PUT /api/v1/issues/{ref}/subjects#

Say what an issue is about

ParameterInTypeRequiredMeaning
refpathstringyes

JSON body:

FieldTypeRequiredMeaning
requirementslist of RequirementRef
subjectslist of string

POST /api/v1/issues/{ref}/validation#

Confirm an issue's closure, or send it back

ParameterInTypeRequiredMeaning
refpathstringyes

JSON body:

FieldTypeRequiredMeaning
confirmbooleanyesTrue to confirm it is put right; false to send it back
notestring

GET /api/v1/notices#

What has been assigned to you or changed for you

ParameterInTypeRequiredMeaning
unreadquerybooleanDefault: false.

GET /api/v1/notices/count#

How many of your notices are unread

POST /api/v1/notices/read#

Mark notices as read

JSON body:

FieldTypeRequiredMeaning
idslist of integerOmit to mark every notice read

Import and export#

GET /api/v1/exports/{kind}#

A list, as filtered, as CSV or JSON

kind is a list's own name: processes, systems, third-parties, information, risks, controls, scopes, evidence, assessments, issues, exceptions, actions, plans, acceptances, requirements (with framework), or statement (with scope and framework). Every other parameter is a filter, the same ones that list takes. What comes back is what the asker may see, and taking it is recorded in the history.

ParameterInTypeRequiredMeaning
kindpathstringyes
formatquerystringcsv or json Default: "csv".

POST /api/v1/imports/records/{path}#

Import records from CSV

path is processes, systems, third-parties, information, risks, or controls. Send the CSV as the request body. With dry_run (the default) every row is checked and nothing is changed. Nothing is added unless every row can be.

ParameterInTypeRequiredMeaning
pathpathstringyes
dry_runquerybooleanDefault: true.
mappingquerystringA JSON object saying which column holds each field; the rest are guessed

POST /api/v1/imports/records/{path}/columns#

Read a CSV's columns and match them to fields

Send the CSV as the request body. Nothing is checked or changed: the answer says what columns the file has, and which field each is taken for.

ParameterInTypeRequiredMeaning
pathpathstringyes

POST /api/v1/imports/requirements/{key}#

Import a framework's requirements from CSV

For one of the organization's own frameworks. Columns: a code, and optionally a title, the text, and the code of the requirement each sits under.

ParameterInTypeRequiredMeaning
keypathstringyes
dry_runquerybooleanDefault: true.
mappingquerystringA JSON object saying which column holds each field; the rest are guessed

POST /api/v1/imports/requirements/{key}/columns#

Read a CSV's columns and match them to a requirement's fields

ParameterInTypeRequiredMeaning
keypathstringyes

Reports#

GET /api/v1/admin/leadership-readers#

Who reads the leadership reports

PUT /api/v1/admin/leadership-readers#

Change who reads the leadership reports

JSON body:

FieldTypeRequiredMeaning
peoplelist of integerAccounts named as readers
reachstringyesexecutives, organization, or leaders

GET /api/v1/as-of#

A register as it stood at the end of a day, rebuilt from the history

ParameterInTypeRequiredMeaning
typequerystringrisk, control, issue, ... Default: "risk".
onquerystringThe day; today if left out
livequerybooleanOnly what was open or in use then Default: true.

GET /api/v1/as-of/{ref}#

A record as it stood at the end of a day, beside how it is now

ParameterInTypeRequiredMeaning
refpathstringyes
onquerystringThe day; today if left out

GET /api/v1/compliance#

Where compliance stands: readiness by scope, issues, evidence, and exceptions

ParameterInTypeRequiredMeaning
unitqueryintegerA unit's id; includes every unit beneath it

GET /api/v1/dashboard#

Where the register stands, each figure with its list's filters

ParameterInTypeRequiredMeaning
unitqueryintegerA unit's id; includes every unit beneath it

POST /api/v1/dossiers/check#

Check that a dossier is whole and unchanged

Send the dossier's ZIP file as the request body, up to 32 MB; for a larger one, the command line's riskwren check-dossier checks it.

GET /api/v1/dossiers/{ref}#

A dossier of a scope, a risk, or a third party: a ZIP with a manifest that verifies

ParameterInTypeRequiredMeaning
refpathstringyes

GET /api/v1/graph/{ref}#

A record and what it is connected to, in groups

ParameterInTypeRequiredMeaning
refpathstringyes

GET /api/v1/heat-map#

Open risks counted by likelihood and impact

ParameterInTypeRequiredMeaning
kindquerystringinherent, residual, or target Default: "residual".
unitqueryintegerA unit's id; includes every unit beneath it
categoryquerystringA category key; includes those beneath

GET /api/v1/history#

Every change, newest first, for those who read everything

ParameterInTypeRequiredMeaning
actorqueryintegerAn account's id
aboutquerystringA record's reference
kindquerystringA kind of record, or other
sincequerystringFrom this date, year-month-day
untilquerystringUp to and including this date
beforequeryintegerThe next of the page before

GET /api/v1/home#

What the asker owes, overdue first

GET /api/v1/leadership-reports#

The leadership reports issued, the latest first

POST /api/v1/leadership-reports#

Issue a leadership report: what it says is frozen, with its fingerprint

JSON body:

FieldTypeRequiredMeaning
fromstringThe first day it covers; after the last report
summarystringWhat the issuer has to say about it
titlestringIts title
tostringThe last day it covers; today

GET /api/v1/leadership-reports/next#

The next leadership report as it stands now: not stored until it is issued

ParameterInTypeRequiredMeaning
fromquerystringThe first day it covers
toquerystringThe last day it covers

GET /api/v1/leadership-reports/{ref}#

A leadership report as it was issued, and whether its fingerprint verifies

ParameterInTypeRequiredMeaning
refpathstringyes

GET /api/v1/measures#

Every defined measure: what it counts, its figure, and its trend

GET /api/v1/portfolio#

Risk and compliance by unit, category, framework, or third party

ParameterInTypeRequiredMeaning
byquerystringunit, category, framework, third_party, causes Default: "unit".
periodquerystringquarter, half, or year Default: "quarter".

GET /api/v1/scopes/{ref}/oscal/{document}#

A scope in OSCAL: its system security plan (ssp) or its plan of action (poam)

ParameterInTypeRequiredMeaning
refpathstringyes
documentpathstringyes
frameworkquerystringFor ssp: the framework's key

GET /api/v1/scopes/{ref}/security-plan#

A scope's system security plan, as a page that prints by itself

ParameterInTypeRequiredMeaning
refpathstringyes

Scheduled work and email#

GET /api/v1/admin/operations#

This installation: version, database, backups, health

What an administrator needs to know of the installation itself, and what riskwren doctor --production would say of it, without reaching anything outside.

GET /api/v1/jobs#

Scheduled work, and how its recent runs went

PUT /api/v1/jobs/{key}#

Pause or resume one job

ParameterInTypeRequiredMeaning
keypathstringyes

JSON body:

FieldTypeRequiredMeaning
enabledbooleanyes

POST /api/v1/jobs/{key}/run#

Run one job now

Runs the job at once, whether or not it is due, and says what it did. If another process is running it at this moment, nothing is run and the answer says so.

ParameterInTypeRequiredMeaning
keypathstringyes

GET /api/v1/mail#

How email is set up, and how it is doing

POST /api/v1/mail/test#

Send yourself a test message

Sends one message to your own address, now, and says whether the mail server took it.

GET /api/v1/session/preferences#

How you want to be told

PUT /api/v1/session/preferences#

Say how you want to be told

JSON body:

FieldTypeRequiredMeaning
email_noticesstringyes

Questionnaires#

GET /api/v1/questionnaires#

The questionnaires on record

ParameterInTypeRequiredMeaning
purposequerystring

POST /api/v1/questionnaires#

Add a questionnaire

JSON body:

FieldTypeRequiredMeaning
documentobjectyes
keystringyes
purposestring
summarystring
titlestringyes

POST /api/v1/questionnaires/check#

Check a questionnaire without saving it

Says everything wrong with a document and, if nothing is, which questions the given answers would show. Nothing is saved.

JSON body:

FieldTypeRequiredMeaning
answersobject
documentobjectyes

GET /api/v1/questionnaires/{key}#

One questionnaire, as it is or as it was

ParameterInTypeRequiredMeaning
keypathstringyes
versionqueryinteger

PATCH /api/v1/questionnaires/{key}#

Change a questionnaire

A changed document is published as a new version. Earlier versions, and the answers given to them, are left as they were.

ParameterInTypeRequiredMeaning
keypathstringyes

JSON body:

FieldTypeRequiredMeaning
documentobject
notestring
purposestring
statusstring
summarystring
titlestring

POST /api/v1/questionnaires/{key}/responses#

Answer a questionnaire

With complete false the answers are kept as a draft. A draft is finished by sending its response_id again, and is answered under the version it was begun under.

ParameterInTypeRequiredMeaning
keypathstringyes

JSON body:

FieldTypeRequiredMeaning
answersobjectyes
completeboolean
response_idinteger

GET /api/v1/responses/{response_id}#

Answers, as they were asked

ParameterInTypeRequiredMeaning
response_idpathintegeryes

Campaigns#

GET /api/v1/campaign-items/{item_id}#

What one person is asked

ParameterInTypeRequiredMeaning
item_idpathintegeryes

POST /api/v1/campaign-items/{item_id}/answer#

Answer what you were asked

With complete false the answers are kept as a draft and the item stays open.

ParameterInTypeRequiredMeaning
item_idpathintegeryes

JSON body:

FieldTypeRequiredMeaning
answersobjectyes
completeboolean

POST /api/v1/campaign-items/{item_id}/excuse#

Take an item out of a campaign

ParameterInTypeRequiredMeaning
item_idpathintegeryes

JSON body:

FieldTypeRequiredMeaning
notestringyes

GET /api/v1/campaigns#

Campaigns you run or may read

ParameterInTypeRequiredMeaning
statusquerystring

POST /api/v1/campaigns#

Start a campaign

JSON body:

FieldTypeRequiredMeaning
documentstringFor acknowledgment
due_onstring
kindstringyes
namestring
org_unit_idinteger
scopestring
summarystring
wantedstring

POST /api/v1/campaigns/preview#

Who a campaign would ask

Counts what would be asked and of how many people. Nothing is started.

JSON body:

FieldTypeRequiredMeaning
documentstringFor acknowledgment
due_onstring
kindstringyes
namestring
org_unit_idinteger
scopestring
summarystring
wantedstring

GET /api/v1/campaigns/{ref}#

One campaign: progress, coverage by unit, and items

ParameterInTypeRequiredMeaning
refpathstringyes

POST /api/v1/campaigns/{ref}/cancel#

Cancel a campaign started in error

ParameterInTypeRequiredMeaning
refpathstringyes

POST /api/v1/campaigns/{ref}/close#

Close a campaign, keeping what was answered

ParameterInTypeRequiredMeaning
refpathstringyes

POST /api/v1/campaigns/{ref}/remind#

Remind everyone who has not answered

ParameterInTypeRequiredMeaning
refpathstringyes

Indicators#

GET /api/v1/indicators#

Find indicators

ParameterInTypeRequiredMeaning
qquerystringWords to look for in the name, reference, or summary
unitqueryintegerA unit's id; includes every unit beneath it
statusquerystring
statequerystringok, warn, breach, or no_reading
riskquerystringA risk it warns of
ownerqueryinteger
minequerybooleanOnly records I am named on Default: false.
sortquerystringA field name; start with - for descending Default: "-updated_at".
limitqueryinteger
cursorquerystring

POST /api/v1/indicators#

Add an indicator

JSON body:

FieldTypeRequiredMeaning
breach_atnumberThe level that is too far
directionstringup if higher is worse, else down
frequencystringweekly, monthly, quarterly, annually
measurestringCounted in: %, days
namestringWhat is measured
org_unit_idinteger
restrictedboolean
sourcestringWhere the number is read from
statusstring
summarystring
tagslist of string
versioninteger
warn_atnumberThe level at which to worry

GET /api/v1/indicators/{ref}#

One indicator, with its readings and risks

ParameterInTypeRequiredMeaning
refpathstringyes

PATCH /api/v1/indicators/{ref}#

Change an indicator

ParameterInTypeRequiredMeaning
refpathstringyes

JSON body:

FieldTypeRequiredMeaning
breach_atnumberThe level that is too far
directionstringup if higher is worse, else down
frequencystringweekly, monthly, quarterly, annually
measurestringCounted in: %, days
namestringWhat is measured
org_unit_idinteger
restrictedboolean
sourcestringWhere the number is read from
statusstring
summarystring
tagslist of string
versioninteger
warn_atnumberThe level at which to worry

GET /api/v1/indicators/{ref}/history#

Everything that has happened to an indicator

ParameterInTypeRequiredMeaning
refpathstringyes

PUT /api/v1/indicators/{ref}/owners#

Set an indicator's owners

ParameterInTypeRequiredMeaning
refpathstringyes

JSON body:

FieldTypeRequiredMeaning
ownerslist of objectyesEach with an account_id and a kind

POST /api/v1/indicators/{ref}/readings#

Record what an indicator stands at

A second reading for the same day corrects the first. A reading that takes the indicator past its limit tells its owners and flags the risks it warns of.

ParameterInTypeRequiredMeaning
refpathstringyes

JSON body:

FieldTypeRequiredMeaning
notestring
read_onstringThe day it was read; today if absent
valuenumberyes

PUT /api/v1/indicators/{ref}/risks#

Say which risks an indicator warns of

ParameterInTypeRequiredMeaning
refpathstringyes

JSON body:

FieldTypeRequiredMeaning
riskslist of stringyesReferences of the risks it warns of, such as RSK-0007

GET /api/v1/risks/{ref}/indicators#

The indicators that warn of a risk

ParameterInTypeRequiredMeaning
refpathstringyes

Find and tidy#

POST /api/v1/accounts/{account_id}/handover#

Pass on what a person held

ParameterInTypeRequiredMeaning
account_idpathintegeryes

JSON body:

FieldTypeRequiredMeaning
onlylist of HandoverItemOnly these; everything you may pass on if absent
tointegeryesThe account that takes it

GET /api/v1/accounts/{account_id}/holdings#

What a person answers for

Everything they are named on, and what was passed to a stand-in when their account was disabled, cut to what you may see.

ParameterInTypeRequiredMeaning
account_idpathintegeryes

GET /api/v1/search#

Search every kind of record

Looks in names, references, summaries, and what a record is called elsewhere, across every kind of record and actions. Only what you may open is returned.

ParameterInTypeRequiredMeaning
qquerystringyesWords to look for; every word must be on the record
typequerystringOnly this kind, such as risk
limitqueryintegerHow many of each kind Default: 6.

GET /api/v1/similar#

Records that one with this name might already be

ParameterInTypeRequiredMeaning
typequerystringyesThe kind of record, such as issue
namequerystringyesThe name being given
unitqueryintegerThe unit it would belong to
apart_fromquerystringA reference to leave out

GET /api/v1/tidy#

What needs putting in order

What records are missing, likely duplicates, and what people who have left still hold, each cut to what you may see. Every count is the length of the list behind it.

ParameterInTypeRequiredMeaning
unitqueryintegerA unit's id, with every unit beneath

POST /api/v1/tidy/not-duplicates#

Say that two records are different things

JSON body:

FieldTypeRequiredMeaning
refslist of stringyesThe two references, such as SYS-0004 and SYS-0019

GET /api/v1/views#

Your saved views, and the shared ones

ParameterInTypeRequiredMeaning
pathquerystringOf one list only

POST /api/v1/views#

Save a view

JSON body:

FieldTypeRequiredMeaning
namestring
pathstringThe list it is of, such as /risks
querystringIts filters, as the address has them
sharedbooleanWhether everyone has it

DELETE /api/v1/views/{view_id}#

Delete a view

ParameterInTypeRequiredMeaning
view_idpathintegeryes

PATCH /api/v1/views/{view_id}#

Rename, change, share, or stop sharing a view

ParameterInTypeRequiredMeaning
view_idpathintegeryes

JSON body:

FieldTypeRequiredMeaning
namestring
pathstringThe list it is of, such as /risks
querystringIts filters, as the address has them
sharedbooleanWhether everyone has it

Risk analyses#

GET /api/v1/risk-analyses#

Find risk analyses

ParameterInTypeRequiredMeaning
qquerystringWords to look for in the name, reference, or summary
unitqueryintegerA unit's id; includes every unit beneath it
statusquerystring
ownerqueryinteger
minequerybooleanOnly records I am named on Default: false.
sortquerystringA field name; start with - for descending Default: "-updated_at".
limitqueryinteger
cursorquerystring

POST /api/v1/risk-analyses#

Start a risk analysis

One question is made for each thing against each threat. Nothing is added later, so the analysis says what it looked at on the day it started.

JSON body:

FieldTypeRequiredMeaning
categorieslist of stringKeys of risk categories
namestring
org_unit_idintegerThe unit; a scope's own if absent
restrictedboolean
scopestringA scope's reference, such as SCP-0002
summarystringWhy it is being done, and how
threatslist of stringKeys of library risks

POST /api/v1/risk-analyses/preview#

How big an analysis would be

JSON body:

FieldTypeRequiredMeaning
categorieslist of stringKeys of risk categories
namestring
org_unit_idintegerThe unit; a scope's own if absent
restrictedboolean
scopestringA scope's reference, such as SCP-0002
summarystringWhy it is being done, and how
threatslist of stringKeys of library risks

GET /api/v1/risk-analyses/{ref}#

One analysis: its progress and what it found

ParameterInTypeRequiredMeaning
refpathstringyes

PATCH /api/v1/risk-analyses/{ref}#

Rename or describe an analysis

ParameterInTypeRequiredMeaning
refpathstringyes

JSON body:

FieldTypeRequiredMeaning
namestring
restrictedboolean
summarystring
tagslist of string
versioninteger

GET /api/v1/risk-analyses/{ref}/assets/{subject}#

One thing in an analysis, with each threat and what might answer it

ParameterInTypeRequiredMeaning
refpathstringyes
subjectpathstringyes

POST /api/v1/risk-analyses/{ref}/assets/{subject}/rest#

Say none of the unanswered threats apply to one thing

ParameterInTypeRequiredMeaning
refpathstringyes
subjectpathstringyes

JSON body:

FieldTypeRequiredMeaning
notestring

POST /api/v1/risk-analyses/{ref}/close#

Close an analysis, with what it found

ParameterInTypeRequiredMeaning
refpathstringyes

JSON body:

FieldTypeRequiredMeaning
conclusionstringWhat the analysis found

GET /api/v1/risk-analyses/{ref}/history#

Everything that happened in an analysis

ParameterInTypeRequiredMeaning
refpathstringyes

POST /api/v1/risk-analyses/{ref}/items/{item_id}#

Answer one question

The threat does not apply to the thing; a risk on the register covers it; or a risk is raised for it, started from the library with the thing as what it concerns.

ParameterInTypeRequiredMeaning
refpathstringyes
item_idpathintegeryes

JSON body:

FieldTypeRequiredMeaning
look_againbooleanFor covered: put its rating in doubt
namestringFor raised: its title
notestringWhy
outcomestringyesnot_applicable, covered, raised, or pending to take back
riskstringFor covered: the risk's reference

PUT /api/v1/risk-analyses/{ref}/owners#

Set who leads an analysis

ParameterInTypeRequiredMeaning
refpathstringyes

JSON body:

FieldTypeRequiredMeaning
ownerslist of objectyesEach with an account_id and a kind

POST /api/v1/risk-analyses/{ref}/reopen#

Reopen a closed analysis

ParameterInTypeRequiredMeaning
refpathstringyes

Documents and the library#

GET /api/v1/documents#

Find documents

ParameterInTypeRequiredMeaning
qquerystringWords to look for in the name, reference, or summary
unitqueryintegerA unit's id; includes every unit beneath it
kindquerystringpolicy, standard, procedure, guideline
statusquerystringactive or retired
statequerystringdraft, in_review, approved, working, unpublished, due, or overdue
parentquerystringThose that implement this one
awaiting_mequerybooleanWaiting for my approval Default: false.
acknowledgequerybooleanThose that ask to be acknowledged Default: false.
ownerqueryinteger
minequerybooleanOnly records I am named on Default: false.
sortquerystringA field name; start with - for descending Default: "-updated_at".
limitqueryinteger
cursorquerystring

POST /api/v1/documents#

Add a document, with its first draft

JSON body:

FieldTypeRequiredMeaning
acknowledgebooleanWhether the people it applies to are asked to acknowledge it
bodystringIts text, in a simple Markdown
formstringtext, link, or file
kindstringpolicy, standard, procedure, or guideline
namestringIts title
org_unit_idinteger
parentstringThe reference of what it implements
restrictedboolean
review_monthsintegerMonths between reviews
summarystringWhat it is for, in a sentence or two
tagslist of string
urlstringWhere it is kept, if not here
versioninteger

GET /api/v1/documents/{ref}#

One document: the version in force, and the one coming

ParameterInTypeRequiredMeaning
refpathstringyes

PATCH /api/v1/documents/{ref}#

Change what a document is, or where it sits

ParameterInTypeRequiredMeaning
refpathstringyes

JSON body:

FieldTypeRequiredMeaning
acknowledgebooleanWhether the people it applies to are asked to acknowledge it
bodystringIts text, in a simple Markdown
formstringtext, link, or file
kindstringpolicy, standard, procedure, or guideline
namestringIts title
org_unit_idinteger
parentstringThe reference of what it implements
restrictedboolean
review_monthsintegerMonths between reviews
summarystringWhat it is for, in a sentence or two
tagslist of string
urlstringWhere it is kept, if not here
versioninteger

GET /api/v1/documents/{ref}/acknowledgments#

Who has acknowledged a document

Everyone the document applies to, split by whether they have acknowledged the version they must, and by unit. For those who look after it, assessors, and those who read everything.

ParameterInTypeRequiredMeaning
refpathstringyes

PUT /api/v1/documents/{ref}/audience#

Say who a document applies to

Everyone, or the people who work in the units named (and those beneath them) and those who hold the roles named.

ParameterInTypeRequiredMeaning
refpathstringyes

JSON body:

FieldTypeRequiredMeaning
everyonebooleanyesWhether it applies to everyone
roleslist of stringRoles, wherever they are held
unitslist of integerUnits, with those beneath them

GET /api/v1/documents/{ref}/compare#

Two versions side by side

ParameterInTypeRequiredMeaning
refpathstringyes
fromqueryintegeryesA version's id
toqueryintegeryesA version's id

PUT /api/v1/documents/{ref}/controls#

Say a document directs a control

Add the control, or change the note on it.

ParameterInTypeRequiredMeaning
refpathstringyes

JSON body:

FieldTypeRequiredMeaning
controlstringyesThe control's reference
notestring

DELETE /api/v1/documents/{ref}/draft#

Discard the draft

ParameterInTypeRequiredMeaning
refpathstringyes

PATCH /api/v1/documents/{ref}/draft#

Change the draft

ParameterInTypeRequiredMeaning
refpathstringyes

JSON body:

FieldTypeRequiredMeaning
ask_againbooleanWhether those who acknowledged earlier must do so again
bodystringIts text, in a simple Markdown
change_notestringWhat changed, and why
formstringtext, link, or file
urlstringWhere it is kept, if not here

POST /api/v1/documents/{ref}/draft#

Start a new version

The draft starts as a copy of the version in force.

ParameterInTypeRequiredMeaning
refpathstringyes

POST /api/v1/documents/{ref}/draft/decision#

Approve the draft, or return it

ParameterInTypeRequiredMeaning
refpathstringyes

JSON body:

FieldTypeRequiredMeaning
decisionstringyesapproved, or returned
notestringWhy; needed to return

POST /api/v1/documents/{ref}/draft/file#

Send a file as the draft's content

Send the file as the request body: PDF, Word, and the other kinds evidence takes, up to 25 MB.

ParameterInTypeRequiredMeaning
refpathstringyes
namequerystringThe file's name

POST /api/v1/documents/{ref}/draft/publish#

Publish the approved draft

It is numbered, put in force, and never changed again.

ParameterInTypeRequiredMeaning
refpathstringyes

POST /api/v1/documents/{ref}/draft/submit#

Send the draft to be approved

None of the people named may be the one sending it, or the one who started it.

ParameterInTypeRequiredMeaning
refpathstringyes

JSON body:

FieldTypeRequiredMeaning
approverslist of integeryesThe accounts asked to approve it

POST /api/v1/documents/{ref}/draft/withdraw#

Take the draft back from approval

ParameterInTypeRequiredMeaning
refpathstringyes

GET /api/v1/documents/{ref}/governs#

What a document governs

The controls it directs and the requirements it answers, framework by framework.

ParameterInTypeRequiredMeaning
refpathstringyes

GET /api/v1/documents/{ref}/history#

Everything that has happened to a document

ParameterInTypeRequiredMeaning
refpathstringyes

PUT /api/v1/documents/{ref}/owners#

Set a document's owners

ParameterInTypeRequiredMeaning
refpathstringyes

JSON body:

FieldTypeRequiredMeaning
ownerslist of objectyesEach with an account_id and a kind

POST /api/v1/documents/{ref}/reinstate#

Put a retired document back in use

ParameterInTypeRequiredMeaning
refpathstringyes

PUT /api/v1/documents/{ref}/requirements#

Say a document answers a requirement

Add the requirement, or change the note on it.

ParameterInTypeRequiredMeaning
refpathstringyes

JSON body:

FieldTypeRequiredMeaning
codestringyesThe requirement's code
frameworkstringyesThe framework's key
notestring

POST /api/v1/documents/{ref}/retire#

Take a document out of use

ParameterInTypeRequiredMeaning
refpathstringyes

JSON body:

FieldTypeRequiredMeaning
notestring

POST /api/v1/documents/{ref}/review#

Review a document and keep it as it is

ParameterInTypeRequiredMeaning
refpathstringyes

JSON body:

FieldTypeRequiredMeaning
notestring

GET /api/v1/documents/{ref}/versions/{version_id}#

One version of a document

ParameterInTypeRequiredMeaning
refpathstringyes
version_idpathintegeryes

GET /api/v1/documents/{ref}/versions/{version_id}/file#

Download a version's file

ParameterInTypeRequiredMeaning
refpathstringyes
version_idpathintegeryes

GET /api/v1/library#

The published documents that apply to you

Those you have still to acknowledge come first, then the broadest kind first.

ParameterInTypeRequiredMeaning
qquerystringWords in the title, summary, or text
allquerybooleanEvery published document Default: false.

GET /api/v1/library/{ref}#

A published document, to read

ParameterInTypeRequiredMeaning
refpathstringyes

POST /api/v1/library/{ref}/acknowledge#

Say you have read the version in force

ParameterInTypeRequiredMeaning
refpathstringyes

Agreements#

GET /api/v1/agreements#

Find agreements

ParameterInTypeRequiredMeaning
qquerystringWords to look for in the name, reference, or summary
unitqueryintegerA unit's id; includes every unit beneath it
kindquerystringThe kind of agreement
statusquerystringactive (the default), closed, or all
statequerystringin_force, ending, ended, upcoming, or closed
frameworkquerystringThose that impose this framework
coversquerystringThose that cover this record
ownerqueryinteger
minequerybooleanOnly records I am named on Default: false.
sortquerystringA field name; start with - for descending Default: "ends_on".
limitqueryinteger
cursorquerystring

POST /api/v1/agreements#

Add an agreement

JSON body:

FieldTypeRequiredMeaning
ends_onstringLeave out for one that runs on
frameworkstringThe key of the framework of the requirements it imposes
kindstringaward, data_use, business_associate, contract, confidentiality, memorandum, or other
namestring
notice_daysintegerDays before it ends by which notice must be given
org_unit_idinteger
partiesstringWho it is with
referencestringTheir number for it
renewsbooleanWhether it carries on by itself
restrictedboolean
starts_onstring
summarystring
tagslist of string
urlstringWhere the signed copy is kept
versioninteger

GET /api/v1/agreements/{ref}#

One agreement: what it covers and what it imposes

ParameterInTypeRequiredMeaning
refpathstringyes

PATCH /api/v1/agreements/{ref}#

Change an agreement, its dates, or its terms

ParameterInTypeRequiredMeaning
refpathstringyes

JSON body:

FieldTypeRequiredMeaning
ends_onstringLeave out for one that runs on
frameworkstringThe key of the framework of the requirements it imposes
kindstringaward, data_use, business_associate, contract, confidentiality, memorandum, or other
namestring
notice_daysintegerDays before it ends by which notice must be given
org_unit_idinteger
partiesstringWho it is with
referencestringTheir number for it
renewsbooleanWhether it carries on by itself
restrictedboolean
starts_onstring
summarystring
tagslist of string
urlstringWhere the signed copy is kept
versioninteger

POST /api/v1/agreements/{ref}/close#

Close an agreement that has ended

What it imposed leaves the scopes that held it because of it.

ParameterInTypeRequiredMeaning
refpathstringyes

JSON body:

FieldTypeRequiredMeaning
notestringWhy it is closed

PUT /api/v1/agreements/{ref}/covers#

Say what an agreement covers

Every scope that holds what it covers is held to the framework it imposes.

ParameterInTypeRequiredMeaning
refpathstringyes

JSON body:

FieldTypeRequiredMeaning
coverslist of stringyesThe references of the systems, information, and scopes

GET /api/v1/agreements/{ref}/history#

Everything that has happened to an agreement

ParameterInTypeRequiredMeaning
refpathstringyes

PUT /api/v1/agreements/{ref}/owners#

Set an agreement's owners

ParameterInTypeRequiredMeaning
refpathstringyes

JSON body:

FieldTypeRequiredMeaning
ownerslist of objectyesEach with an account_id and a kind

POST /api/v1/agreements/{ref}/reopen#

Open a closed agreement again

ParameterInTypeRequiredMeaning
refpathstringyes

Objectives and committee sessions#

GET /api/v1/objectives#

Find objectives

ParameterInTypeRequiredMeaning
qquerystringWords to look for in the name, reference, or summary
unitqueryintegerA unit's id; includes every unit beneath it
statusquerystringactive, achieved, retired, or all; not retired by default
ownerqueryinteger
minequerybooleanOnly records I am named on Default: false.
sortquerystringA field name; start with - for descending Default: "name".
limitqueryinteger
cursorquerystring

POST /api/v1/objectives#

Add an objective

JSON body:

FieldTypeRequiredMeaning
measurestringHow it is known to be met
namestring
org_unit_idinteger
periodstringSuch as 2026 to 2030
restrictedboolean
statusstringactive, achieved, or retired
summarystring
tagslist of string
versioninteger

GET /api/v1/objectives/{ref}#

One objective, with the risks that threaten it

ParameterInTypeRequiredMeaning
refpathstringyes

PATCH /api/v1/objectives/{ref}#

Change an objective

ParameterInTypeRequiredMeaning
refpathstringyes

JSON body:

FieldTypeRequiredMeaning
measurestringHow it is known to be met
namestring
org_unit_idinteger
periodstringSuch as 2026 to 2030
restrictedboolean
statusstringactive, achieved, or retired
summarystring
tagslist of string
versioninteger

GET /api/v1/objectives/{ref}/history#

Everything that has happened to an objective

ParameterInTypeRequiredMeaning
refpathstringyes

PUT /api/v1/objectives/{ref}/owners#

Set an objective's owners

ParameterInTypeRequiredMeaning
refpathstringyes

JSON body:

FieldTypeRequiredMeaning
ownerslist of objectyesEach with an account_id and a kind

GET /api/v1/scenarios#

Find scenarios

ParameterInTypeRequiredMeaning
qquerystringWords to look for in the name, reference, or summary
unitqueryintegerA unit's id; includes every unit beneath it
statusquerystringdraft, concluded, retired, or all; not retired by default
riskquerystringThose that touch this risk or process
ownerqueryinteger
minequerybooleanOnly records I am named on Default: false.
sortquerystringA field name; start with - for descending Default: "name".
limitqueryinteger
cursorquerystring

POST /api/v1/scenarios#

Add a scenario

JSON body:

FieldTypeRequiredMeaning
assumptionsstring
conclusionstring
namestring
org_unit_idinteger
restrictedboolean
statusstringdraft, concluded, or retired
summarystringWhat might happen, as a story
tagslist of string
versioninteger

GET /api/v1/scenarios/{ref}#

One scenario, with what it touches and its simulation

ParameterInTypeRequiredMeaning
refpathstringyes

PATCH /api/v1/scenarios/{ref}#

Change a scenario, or conclude it

ParameterInTypeRequiredMeaning
refpathstringyes

JSON body:

FieldTypeRequiredMeaning
assumptionsstring
conclusionstring
namestring
org_unit_idinteger
restrictedboolean
statusstringdraft, concluded, or retired
summarystringWhat might happen, as a story
tagslist of string
versioninteger

GET /api/v1/scenarios/{ref}/history#

Everything that has happened to a scenario

ParameterInTypeRequiredMeaning
refpathstringyes

PUT /api/v1/scenarios/{ref}/owners#

Set a scenario's owners

ParameterInTypeRequiredMeaning
refpathstringyes

JSON body:

FieldTypeRequiredMeaning
ownerslist of objectyesEach with an account_id and a kind

PUT /api/v1/scenarios/{ref}/subjects#

Say which risks and processes it touches

ParameterInTypeRequiredMeaning
refpathstringyes

JSON body:

FieldTypeRequiredMeaning
subjectslist of stringyesReferences of the risks and processes it touches

GET /api/v1/sessions#

Find committee sessions

ParameterInTypeRequiredMeaning
qquerystringWords to look for in the name, reference, or summary
unitqueryintegerA unit's id; includes every unit beneath it
statusquerystringplanned, held, or cancelled
whenquerystringupcoming, or past
aboutquerystringThose with this record on the agenda
ownerqueryinteger
minequerybooleanOnly records I am named on Default: false.
sortquerystringA field name; start with - for descending Default: "-held_on".
limitqueryinteger
cursorquerystring

POST /api/v1/sessions#

Plan a committee session

JSON body:

FieldTypeRequiredMeaning
attendeesstring
committeestringWhich committee
held_onstringThe day it meets
minutesstringIn a simple Markdown
namestring
org_unit_idinteger
restrictedboolean
summarystring
tagslist of string
versioninteger

GET /api/v1/sessions/{ref}#

One session: its agenda, decisions, and minutes

ParameterInTypeRequiredMeaning
refpathstringyes

PATCH /api/v1/sessions/{ref}#

Change a session, its attendees, or its minutes

ParameterInTypeRequiredMeaning
refpathstringyes

JSON body:

FieldTypeRequiredMeaning
attendeesstring
committeestringWhich committee
held_onstringThe day it meets
minutesstringIn a simple Markdown
namestring
org_unit_idinteger
restrictedboolean
summarystring
tagslist of string
versioninteger

POST /api/v1/sessions/{ref}/cancel#

Cancel a session

ParameterInTypeRequiredMeaning
refpathstringyes

JSON body:

FieldTypeRequiredMeaning
notestring

POST /api/v1/sessions/{ref}/held#

Record that a session was held

ParameterInTypeRequiredMeaning
refpathstringyes

GET /api/v1/sessions/{ref}/history#

Everything that has happened to a session

ParameterInTypeRequiredMeaning
refpathstringyes

POST /api/v1/sessions/{ref}/items#

Put an item on the agenda

A record from the register, by its reference, or a topic of its own.

ParameterInTypeRequiredMeaning
refpathstringyes

JSON body:

FieldTypeRequiredMeaning
notestringWhat the committee is asked
recordstringA record's reference
titlestring

DELETE /api/v1/sessions/{ref}/items/{item_id}#

Take an item off the agenda

ParameterInTypeRequiredMeaning
refpathstringyes
item_idpathintegeryes

PATCH /api/v1/sessions/{ref}/items/{item_id}#

Change an item on the agenda

ParameterInTypeRequiredMeaning
refpathstringyes
item_idpathintegeryes

JSON body:

FieldTypeRequiredMeaning
notestringWhat the committee is asked
recordstringA record's reference
titlestring

POST /api/v1/sessions/{ref}/items/{item_id}/decision#

Record what was decided

The decision shows on the record the item was about, and its owners are told.

ParameterInTypeRequiredMeaning
refpathstringyes
item_idpathintegeryes

JSON body:

FieldTypeRequiredMeaning
decisionstringWhat was decided
outcomestringyesnoted, approved, declined, or deferred

POST /api/v1/sessions/{ref}/items/{item_id}/move#

Move an item up or down

ParameterInTypeRequiredMeaning
refpathstringyes
item_idpathintegeryes

JSON body:

FieldTypeRequiredMeaning
upbooleanyesTrue to move it up the agenda, false to move it down

PUT /api/v1/sessions/{ref}/owners#

Set a session's owners

ParameterInTypeRequiredMeaning
refpathstringyes

JSON body:

FieldTypeRequiredMeaning
ownerslist of objectyesEach with an account_id and a kind

Incidents#

GET /api/v1/admin/anonymous-reporting#

Whether reporting without a name is open

PUT /api/v1/admin/anonymous-reporting#

Open or close reporting without a name

JSON body:

FieldTypeRequiredMeaning
openbooleanyes

GET /api/v1/anonymous-reports#

Whether a report can be made without a name (public)

POST /api/v1/anonymous-reports#

Report without a name (public, when open)

Nothing about who sent it is kept. The code in the answer is shown once: it is the only way back to the report.

JSON body:

FieldTypeRequiredMeaning
kindstringincident, near_miss, or concern
locationstringWhere it happened
namestringWhat happened, in a line
occurred_onstringWhen it happened, if known
org_unit_idintegerThe unit it happened in
summarystringWhat happened

POST /api/v1/anonymous-reports/follow-up#

Follow up a report with its code (public)

JSON body:

FieldTypeRequiredMeaning
codestringyesThe follow-up code the reporter was given

POST /api/v1/anonymous-reports/messages#

Add to a report through its code (public)

JSON body:

FieldTypeRequiredMeaning
bodystringyes
codestringyesThe follow-up code the reporter was given

GET /api/v1/incidents#

Find incidents, near misses, and concerns

ParameterInTypeRequiredMeaning
qquerystringWords to look for in the name, reference, or summary
unitqueryintegerA unit's id; includes every unit beneath it
statusquerystringreported, handling, closed, or live
kindquerystringincident, near_miss, or concern
categoryquerystring
severityquerystring
aboutquerystringThose that concern this record
reportedquerybooleanOnly those I reported Default: false.
ownerqueryinteger
minequerybooleanOnly records I am named on Default: false.
sortquerystringA field name; start with - for descending Default: "-updated_at".
limitqueryinteger
cursorquerystring

POST /api/v1/incidents#

Report an incident, a near miss, or a concern

JSON body:

FieldTypeRequiredMeaning
kindstringincident, near_miss, or concern
locationstringWhere it happened
namestringWhat happened, in a line
occurred_onstringWhen it happened, if known
org_unit_idintegerThe unit it happened in
summarystringWhat happened

GET /api/v1/incidents/summary#

The incidents you may see from the last year, counted

GET /api/v1/incidents/{ref}#

One incident, as much of it as you may see

ParameterInTypeRequiredMeaning
refpathstringyes

PATCH /api/v1/incidents/{ref}#

Correct an incident

ParameterInTypeRequiredMeaning
refpathstringyes

JSON body:

FieldTypeRequiredMeaning
kindstring
locationstring
namestring
occurred_onstring
summarystring
tagslist of string
versioninteger

GET /api/v1/incidents/{ref}/breach#

Whether it must be notified, and by when

ParameterInTypeRequiredMeaning
refpathstringyes

POST /api/v1/incidents/{ref}/breach#

Assess whether it must be notified

ParameterInTypeRequiredMeaning
refpathstringyes

JSON body:

FieldTypeRequiredMeaning
conclusionstringundecided, notify, or no_notification
discovered_atstringyesWhen it was discovered: the clock starts then
exceptionstringworkforce, authorized, or could_not_retain
factorsobject
informationlist of stringFrom the protected_information vocabulary
most_in_one_stateintegerThe most of them living in any one state or jurisdiction
peopleintegerAbout how many people it concerns
rationalestring
regimeslist of RegimeBody
securedbooleanUnusable, unreadable, or indecipherable

PUT /api/v1/incidents/{ref}/case#

Restrict an incident to those named on it

ParameterInTypeRequiredMeaning
refpathstringyes

JSON body:

FieldTypeRequiredMeaning
memberslist of integerAccounts named on it, besides its handlers
restrictedbooleanyesTrue: only those named on it know it exists

POST /api/v1/incidents/{ref}/close#

Close an incident, saying how it ended

ParameterInTypeRequiredMeaning
refpathstringyes

JSON body:

FieldTypeRequiredMeaning
notestringHow it ended

GET /api/v1/incidents/{ref}/history#

Everything that has happened to an incident

For those who see the handling: not for a reporter who sees only their report.

ParameterInTypeRequiredMeaning
refpathstringyes

POST /api/v1/incidents/{ref}/issues#

Raise an issue from it

ParameterInTypeRequiredMeaning
refpathstringyes

JSON body:

FieldTypeRequiredMeaning
namestring
owner_idinteger
severitystring
subjectslist of stringControls, scopes, risks
summarystring

PUT /api/v1/incidents/{ref}/learning#

What it realized, what failed, what was learned

ParameterInTypeRequiredMeaning
refpathstringyes

JSON body:

FieldTypeRequiredMeaning
failedlist of stringControls that failed
heldlist of stringControls that held
lessonsstringWhat was learned
realizedlist of stringRisks it realized
root_causestringFrom the root_causes vocabulary

POST /api/v1/incidents/{ref}/losses#

Record what it cost

ParameterInTypeRequiredMeaning
refpathstringyes

JSON body:

FieldTypeRequiredMeaning
amountintegeryesIn whole units of the currency; negative to correct
currencystring
kindstringyesresponse, recovery, lost_revenue, notification, legal, fines, or other
notestring

POST /api/v1/incidents/{ref}/messages#

Write about an incident

ParameterInTypeRequiredMeaning
refpathstringyes

JSON body:

FieldTypeRequiredMeaning
bodystringyes
sharedbooleanShared with the reporter, or a note

POST /api/v1/incidents/{ref}/notifications#

Record a notification

ParameterInTypeRequiredMeaning
refpathstringyes

JSON body:

FieldTypeRequiredMeaning
countinteger
dutystringyesWhom the rule says to notify, such as individuals
methodstring
notestring
recipientstringyes
referencestring
regimestringyesA rule the assessment names, such as hipaa or state:Ohio
sent_onstringyesThe day it was sent

PUT /api/v1/incidents/{ref}/owners#

Set who handles an incident

ParameterInTypeRequiredMeaning
refpathstringyes

JSON body:

FieldTypeRequiredMeaning
ownerslist of objectyesEach with an account_id and a kind

POST /api/v1/incidents/{ref}/reopen#

Reopen a closed incident

ParameterInTypeRequiredMeaning
refpathstringyes

POST /api/v1/incidents/{ref}/triage#

Triage: category, severity, records, handler

ParameterInTypeRequiredMeaning
refpathstringyes

JSON body:

FieldTypeRequiredMeaning
categorystringFrom the incident_categories vocabulary
handler_idintegerWho handles it
org_unit_idintegerIts unit, if it should move
severitystringcritical, high, moderate, or low
subjectslist of stringReferences of its records

GET /api/v1/privacy#

The processes and systems that need a privacy impact assessment

POST /api/v1/privacy/reviews/{item_id}#

Say an answered assessment has been reviewed

ParameterInTypeRequiredMeaning
item_idpathintegeryes

JSON body:

FieldTypeRequiredMeaning
notestring

Assistant#

GET /api/v1/admin/assistant#

How the assistant is set up, and its log

POST /api/v1/admin/assistant/check#

Check that the provider answers

POST /api/v1/assistant/draft-risk#

A risk drafted by the assistant from your words

The assistant searches for a risk that already says the same, and otherwise keeps a draft for you to open in the ordinary form. Nothing is made until a person saves it.

JSON body:

FieldTypeRequiredMeaning
descriptionstringyesWhat could go wrong, in your words
org_unit_idintegerThe unit it belongs to

POST /api/v1/assistant/summary#

A summary of a record, by the assistant

Written from what you may see, through the same tools the tool server offers, and from no data class the configuration keeps back. It is not saved on the record.

JSON body:

FieldTypeRequiredMeaning
refstringyesThe record to summarize

Integration#

GET /api/v1/admin/tokens#

Tokens for other systems

POST /api/v1/admin/tokens#

Make a token; it is shown this once

JSON body:

FieldTypeRequiredMeaning
daysintegeryesHow many days it lasts, up to 366
namestringyesWhat will use it
org_unit_idintegerA unit, for a manager's, an assessor's, or a steward's token (a steward's needs one)
read_onlybooleanWhether it may only read
rolestringyesauditor, manager, assessor, steward, or member

POST /api/v1/admin/tokens/{token_id}/revoke#

Withdraw a token

ParameterInTypeRequiredMeaning
token_idpathintegeryes

GET /api/v1/admin/webhooks#

Webhooks, with their latest deliveries

POST /api/v1/admin/webhooks#

Register a webhook

JSON body:

FieldTypeRequiredMeaning
eventslist of stringyes*, a family such as issue.*, or names such as issue.create
formatstringplain, ticket, or chat
namestringyes
urlstringyesAn https:// address

DELETE /api/v1/admin/webhooks/{hook_id}#

Remove a webhook

ParameterInTypeRequiredMeaning
hook_idpathintegeryes

PATCH /api/v1/admin/webhooks/{hook_id}#

Change, pause, or resume a webhook

ParameterInTypeRequiredMeaning
hook_idpathintegeryes

JSON body:

FieldTypeRequiredMeaning
activeboolean
eventslist of string
formatstring
namestring
urlstring

POST /api/v1/admin/webhooks/{hook_id}/test#

Send a test message to a webhook

ParameterInTypeRequiredMeaning
hook_idpathintegeryes

GET /api/v1/controls/{ref}/reported#

What other systems have said of a control

ParameterInTypeRequiredMeaning
refpathstringyes

POST /api/v1/controls/{ref}/reported#

Report a check or a piece of evidence onto a control, from another system

ParameterInTypeRequiredMeaning
refpathstringyes

JSON body:

FieldTypeRequiredMeaning
detailstring
kindstringyesresult or evidence
observed_atstringWhen, with its time zone; now if left out
outcomestringFor a result: passed, partial, or failed
scopestringA scope that uses the control, by reference
titlestringyesWhat was checked, or what the evidence is
urlstringWhere to see it

GET /api/v1/drafts#

Drafts waiting for a person who may make them

POST /api/v1/drafts#

Propose a risk, an issue, or a control

Kept for a person to open in the ordinary form; nothing is made until they save it. A token that may only read may still propose one.

JSON body:

FieldTypeRequiredMeaning
kindstringyesrisk, issue, or control
valuesobjectyesThe ordinary form's fields by name, and org_unit_id; at least a name
whystringWhat it rests on

GET /api/v1/drafts/{draft_id}#

One draft

ParameterInTypeRequiredMeaning
draft_idpathintegeryes

POST /api/v1/drafts/{draft_id}/set-aside#

Set a draft aside, saying why

ParameterInTypeRequiredMeaning
draft_idpathintegeryes

JSON body:

FieldTypeRequiredMeaning
notestring

POST /api/v1/drafts/{draft_id}/use#

Mark a draft as used, naming what was made

ParameterInTypeRequiredMeaning
draft_idpathintegeryes

JSON body:

FieldTypeRequiredMeaning
refstringyesThe record made from it

GET /api/v1/reported#

What other systems have said, waiting for a person to confirm

POST /api/v1/reported/{report_id}/confirm#

Confirm a report: a failure raises an issue

ParameterInTypeRequiredMeaning
report_idpathintegeryes

JSON body:

FieldTypeRequiredMeaning
notestring
owner_idintegerFor a failure: who puts it right
severitystringFor a failure: the issue's severity
valid_untilstringFor evidence: until when it counts

POST /api/v1/reported/{report_id}/set-aside#

Set a report aside, saying why

ParameterInTypeRequiredMeaning
report_idpathintegeryes

JSON body:

FieldTypeRequiredMeaning
notestring
owner_idintegerFor a failure: who puts it right
severitystringFor a failure: the issue's severity
valid_untilstringFor evidence: until when it counts

GET /api/v1/standing/{kind}/{ref}#

Whether a third party, a scope, or an exception is in good standing

Yes or no, with the reasons by kind and nothing of the record's contents. A record the asker may not see is not found.

ParameterInTypeRequiredMeaning
kindpathstringyes
refpathstringyes

Third parties#

PUT /api/v1/agreements/{ref}/parties#

Say which third parties an agreement is with

ParameterInTypeRequiredMeaning
refpathstringyes

JSON body:

FieldTypeRequiredMeaning
partieslist of stringyesThe references of the third parties it is with

GET /api/v1/assurance-kinds#

The kinds of report, opinions, and judgments a review uses

PATCH /api/v1/contacts/{contact_id}#

Change a contact, or say they have left

ParameterInTypeRequiredMeaning
contact_idpathintegeryes

JSON body:

FieldTypeRequiredMeaning
emailstring
namestring
phonestring
rolestringTheir role there
statusstringactive, or left

GET /api/v1/coverage#

Where shared information needs an agreement and none covers it

GET /api/v1/respond#

What the holder of a link is asked (no account; the link in a header)

PUT /api/v1/respond#

Save the answers to finish later (no account; the link in a header)

JSON body:

FieldTypeRequiredMeaning
answersobjectyesThe answers, by question key

POST /api/v1/respond/files#

Send a report with the answers (no account; the link in a header)

ParameterInTypeRequiredMeaning
namequerystringThe file's name

POST /api/v1/respond/submit#

Send the answers (no account; the link in a header)

JSON body:

FieldTypeRequiredMeaning
answersobjectyesThe answers, by question key

GET /api/v1/reviews#

Find due diligence reviews

ParameterInTypeRequiredMeaning
qquerystringWords to look for in the name, reference, or summary
unitqueryintegerA unit's id; includes every unit beneath it
statusquerystringA status, or open for those not done
third_partyquerystring
latequerybooleanDefault: false.
ownerqueryinteger
minequerybooleanOnly records I am named on Default: false.
sortquerystringA field name; start with - for descending Default: "-updated_at".
limitqueryinteger
cursorquerystring

GET /api/v1/reviews/{ref}#

One review, with its link, answers, and concerns

ParameterInTypeRequiredMeaning
refpathstringyes

PATCH /api/v1/reviews/{ref}#

Change a review not yet sent

ParameterInTypeRequiredMeaning
refpathstringyes

JSON body:

FieldTypeRequiredMeaning
due_onstringWhen the answers are wanted
namestring
questionnairestringThe key of the questionnaire
restrictedboolean
summarystring
tagslist of string
versioninteger

POST /api/v1/reviews/{ref}/cancel#

Cancel a review not yet answered

ParameterInTypeRequiredMeaning
refpathstringyes

JSON body:

FieldTypeRequiredMeaning
notestring

POST /api/v1/reviews/{ref}/conclude#

Record what was concluded from the answers

ParameterInTypeRequiredMeaning
refpathstringyes

JSON body:

FieldTypeRequiredMeaning
conclusionstringyesapproved, conditions, or declined
notestring

POST /api/v1/reviews/{ref}/findings#

Raise a concern from a review as an issue about the third party

ParameterInTypeRequiredMeaning
refpathstringyes

JSON body:

FieldTypeRequiredMeaning
namestringyes
owner_idintegerWho here puts it right
severitystringyescritical, high, moderate, or low
summarystring

GET /api/v1/reviews/{ref}/history#

Everything that has happened to a review

ParameterInTypeRequiredMeaning
refpathstringyes

PUT /api/v1/reviews/{ref}/owners#

Set a review's owners

ParameterInTypeRequiredMeaning
refpathstringyes

JSON body:

FieldTypeRequiredMeaning
ownerslist of objectyesEach with an account_id and a kind

POST /api/v1/reviews/{ref}/send#

Send the questionnaire to a contact through a new link

ParameterInTypeRequiredMeaning
refpathstringyes

JSON body:

FieldTypeRequiredMeaning
contact_idintegeryesThe contact to send it to
daysintegerHow long the link lasts, 1 to 90 days
due_onstringWhen the answers are wanted

POST /api/v1/reviews/{ref}/withdraw#

Withdraw the link, so it no longer opens anything

ParameterInTypeRequiredMeaning
refpathstringyes

GET /api/v1/services#

Find services

ParameterInTypeRequiredMeaning
qquerystringWords to look for in the name, reference, or summary
unitqueryintegerA unit's id; includes every unit beneath it
statusquerystring
kindquerystring
criticalityquerystring
data_classquerystring
third_partyquerystring
ownerqueryinteger
minequerybooleanOnly records I am named on Default: false.
sortquerystringA field name; start with - for descending Default: "-updated_at".
limitqueryinteger
cursorquerystring

POST /api/v1/services#

Add a service a third party provides

JSON body:

FieldTypeRequiredMeaning
criticalitystring
customobjectValues of the organization's own fields, by key
data_classstring
external_refslist of ExternalRefBody
kindstring
namestring
org_unit_idinteger
restrictedboolean
statusstring
summarystring
tagslist of string
third_partystringThe reference of the third party that provides it
versioninteger

GET /api/v1/services/{ref}#

One service, with what it reaches and handles

ParameterInTypeRequiredMeaning
refpathstringyes

PATCH /api/v1/services/{ref}#

Change a service

ParameterInTypeRequiredMeaning
refpathstringyes

JSON body:

FieldTypeRequiredMeaning
criticalitystring
customobjectValues of the organization's own fields, by key
data_classstring
external_refslist of ExternalRefBody
kindstring
namestring
org_unit_idinteger
restrictedboolean
statusstring
summarystring
tagslist of string
third_partystringThe reference of the third party that provides it
versioninteger

GET /api/v1/services/{ref}/history#

Everything that has happened to a service

ParameterInTypeRequiredMeaning
refpathstringyes

POST /api/v1/services/{ref}/links#

Link a service to a record

ParameterInTypeRequiredMeaning
refpathstringyes

JSON body:

FieldTypeRequiredMeaning
notestring
relationstringyesThe key of a kind of link, such as relies_on
tostringyesThe reference of the record it reaches, such as SYS-0003

PUT /api/v1/services/{ref}/owners#

Set a service's owners

ParameterInTypeRequiredMeaning
refpathstringyes

JSON body:

FieldTypeRequiredMeaning
ownerslist of objectyesEach with an account_id and a kind

GET /api/v1/third-parties/{ref}/assurance#

A third party's reports and certificates

ParameterInTypeRequiredMeaning
refpathstringyes

POST /api/v1/third-parties/{ref}/assurance#

Add a report or certificate about a third party

ParameterInTypeRequiredMeaning
refpathstringyes

JSON body:

FieldTypeRequiredMeaning
collected_onstringWhen it was received
covers_fromstringThe period it covers, from
covers_tostring
data_classstring
namestring
summarystring
urlstringWhere it is kept, if not sent as a file
valid_untilstringWhen it stops counting

POST /api/v1/third-parties/{ref}/assurance/{document}/reviews#

Review a report: what it covers, found, and leaves to us

ParameterInTypeRequiredMeaning
refpathstringyes
documentpathstringyes

JSON body:

FieldTypeRequiredMeaning
carve_outsstring
exceptionslist of object
issuerstring
kindstringyessoc2_type2, iso27001, hitrust, pentest, and the like
notestring
opinionstringunqualified, qualified, adverse, none
reliancestringyesrelies, partly, or cannot
responsibilitieslist of objectEach with text, control (a reference), and status
serviceslist of stringThe services it covers

POST /api/v1/third-parties/{ref}/call-review#

Call for a review now: what happened

ParameterInTypeRequiredMeaning
refpathstringyes

JSON body:

FieldTypeRequiredMeaning
eventstringyesincident, breach_notice, service_change, ownership, finding, or other
notestringWhat happened, and when

POST /api/v1/third-parties/{ref}/contacts#

Add a contact at a third party

ParameterInTypeRequiredMeaning
refpathstringyes

JSON body:

FieldTypeRequiredMeaning
emailstring
namestring
phonestring
rolestringTheir role there
statusstringactive, or left

POST /api/v1/third-parties/{ref}/offboarding#

End the relationship: open the checklist

ParameterInTypeRequiredMeaning
refpathstringyes

JSON body:

FieldTypeRequiredMeaning
reasonstringWhy it ends

POST /api/v1/third-parties/{ref}/offboarding/cancel#

Stop offboarding

ParameterInTypeRequiredMeaning
refpathstringyes

JSON body:

FieldTypeRequiredMeaning
notestring

POST /api/v1/third-parties/{ref}/offboarding/steps/{step}#

Record a step of offboarding: what was done

ParameterInTypeRequiredMeaning
refpathstringyes
steppathstringyes

JSON body:

FieldTypeRequiredMeaning
notestring

POST /api/v1/third-parties/{ref}/reviews#

Start a due diligence review

ParameterInTypeRequiredMeaning
refpathstringyes

JSON body:

FieldTypeRequiredMeaning
due_onstringWhen the answers are wanted
namestring
questionnairestringThe key of the questionnaire
restrictedboolean
summarystring
tagslist of string
versioninteger

GET /api/v1/third-parties/{ref}/tiering#

A third party's tiering: the questions, what the inventory suggests, and its tierings

ParameterInTypeRequiredMeaning
refpathstringyes

POST /api/v1/third-parties/{ref}/tiering#

Tier a third party: the answers, and the tier with a reason if it differs

ParameterInTypeRequiredMeaning
refpathstringyes

JSON body:

FieldTypeRequiredMeaning
answersobjectyesThe answers, by question key
rationalestringWhy, where the tier differs from the rules'
tierstringThe tier to record; the one the rules give if left out

GET /api/v1/tiers#

The program's tiers, with what each means and its rules

Internal audit#

GET /api/v1/audit/outside#

Outside access given, and what may be opened

POST /api/v1/audit/outside#

Open one engagement or scope to an outsider

JSON body:

FieldTypeRequiredMeaning
daysintegeryesHow long it stays open, at most 90 days
emailstring
kindstringyesengagement (once reported) or scope
namestringyesThe person it is for
organizationstringyesWhom they are with
purposestring
refstringyesThe engagement's or the scope's reference

POST /api/v1/audit/outside/{access_id}/revoke#

Withdraw outside access

ParameterInTypeRequiredMeaning
access_idpathintegeryes

GET /api/v1/audit/plans#

The audit plans, the latest period first

POST /api/v1/audit/plans#

Draft a plan for a period

JSON body:

FieldTypeRequiredMeaning
ends_onstringyes
namestringyes
starts_onstringyes
summarystring

GET /api/v1/audit/plans/{ref}#

A plan, with each engagement and where it stands

ParameterInTypeRequiredMeaning
refpathstringyes

POST /api/v1/audit/plans/{ref}/approve#

Approve a draft plan

ParameterInTypeRequiredMeaning
refpathstringyes

JSON body:

FieldTypeRequiredMeaning
notestring

POST /api/v1/audit/plans/{ref}/close#

Close a plan whose period is over

ParameterInTypeRequiredMeaning
refpathstringyes

GET /api/v1/audit/plans/{ref}/committee-report#

A plan's engagements, findings by severity, and what is past its date

ParameterInTypeRequiredMeaning
refpathstringyes

POST /api/v1/audit/plans/{ref}/engagements#

Plan an engagement

ParameterInTypeRequiredMeaning
refpathstringyes

JSON body:

FieldTypeRequiredMeaning
keystringyesA unit's id, or the record's reference
kindstringyesunit, process, system, third_party, or scope
namestringyes
planned_endstring
planned_startstring
reasonstringyesWhy it is in the plan

GET /api/v1/audit/requests/{request_id}#

A request, for the person asked or the team

ParameterInTypeRequiredMeaning
request_idpathintegeryes

POST /api/v1/audit/requests/{request_id}/accept#

Accept the answer to a request

ParameterInTypeRequiredMeaning
request_idpathintegeryes

POST /api/v1/audit/requests/{request_id}/answer#

Answer a request, with evidence

ParameterInTypeRequiredMeaning
request_idpathintegeryes

JSON body:

FieldTypeRequiredMeaning
answerstring
evidencelist of stringReferences of evidence

POST /api/v1/audit/requests/{request_id}/return#

Send an answer back, with what is missing

ParameterInTypeRequiredMeaning
request_idpathintegeryes

JSON body:

FieldTypeRequiredMeaning
reasonstringyes

GET /api/v1/audit/universe#

Everything worth auditing, ranked from the register

ParameterInTypeRequiredMeaning
kindquerystringunit, process, system, ...
left_outquerybooleanThose left out of the universe Default: false.

GET /api/v1/audit/universe/{kind}/{key}#

One auditable thing and how it ranks

ParameterInTypeRequiredMeaning
kindpathstringyes
keypathstringyes

PUT /api/v1/audit/universe/{kind}/{key}#

Say what audit knows about a thing

ParameterInTypeRequiredMeaning
kindpathstringyes
keypathstringyes

JSON body:

FieldTypeRequiredMeaning
adjustmentintegerPoints up or down, at most 30
adjustment_reasonstring
last_audit_notestring
last_audited_onstringAn audit before RiskWren
left_outboolean
left_out_reasonstring

GET /api/v1/auditors#

The auditors, who may be on an engagement's team

GET /api/v1/engagements/{ref}#

An engagement; its work only for its team until reported

ParameterInTypeRequiredMeaning
refpathstringyes

POST /api/v1/engagements/{ref}/advance#

Move an engagement to its next stage

ParameterInTypeRequiredMeaning
refpathstringyes

JSON body:

FieldTypeRequiredMeaning
opinionstringeffective, needs_improvement, ...
summarystringFor the report

POST /api/v1/engagements/{ref}/drop#

Drop an engagement not yet reported, saying why

ParameterInTypeRequiredMeaning
refpathstringyes

JSON body:

FieldTypeRequiredMeaning
reasonstringyes

POST /api/v1/engagements/{ref}/findings#

Raise a finding as an issue

ParameterInTypeRequiredMeaning
refpathstringyes

JSON body:

FieldTypeRequiredMeaning
namestringyesThe finding, in a line
owner_idintegeryesThe manager who answers for putting it right
severitystringyescritical, high, moderate, or low
subjectslist of stringControls or risks it is about
summarystringWhat was found

POST /api/v1/engagements/{ref}/requests#

Ask the audited for something

ParameterInTypeRequiredMeaning
refpathstringyes

JSON body:

FieldTypeRequiredMeaning
assigneeintegeryesThe account id of the person asked
due_onstringyes
whatstringyesWhat is needed

POST /api/v1/engagements/{ref}/restore#

Put a dropped engagement back in the plan

ParameterInTypeRequiredMeaning
refpathstringyes

POST /api/v1/engagements/{ref}/start#

Start a planned engagement with its team

ParameterInTypeRequiredMeaning
refpathstringyes

JSON body:

FieldTypeRequiredMeaning
leadintegeryesThe lead auditor's account id
memberslist of integerThe rest of the team
scope_notestringWhat it covers

POST /api/v1/engagements/{ref}/workpapers#

Add a step of the work

ParameterInTypeRequiredMeaning
refpathstringyes

JSON body:

FieldTypeRequiredMeaning
procedurestringWhat is to be done
titlestringyes

GET /api/v1/outside#

What an outsider's link opens (no account; the link in a header)

POST /api/v1/review-notes/{note_id}/answer#

Answer a review note

ParameterInTypeRequiredMeaning
note_idpathintegeryes

JSON body:

FieldTypeRequiredMeaning
answerstringyes

POST /api/v1/review-notes/{note_id}/clear#

Clear an answered review note

ParameterInTypeRequiredMeaning
note_idpathintegeryes

PUT /api/v1/workpapers/{paper_id}#

Record what was done, found, and the evidence

ParameterInTypeRequiredMeaning
paper_idpathintegeryes

JSON body:

FieldTypeRequiredMeaning
donestringyesWhat was done
evidencelist of stringReferences of evidence
foundstringWhat was found

POST /api/v1/workpapers/{paper_id}/notes#

Add a review note

ParameterInTypeRequiredMeaning
paper_idpathintegeryes

JSON body:

FieldTypeRequiredMeaning
notestringyes

POST /api/v1/workpapers/{paper_id}/sign-off#

Sign a workpaper off

ParameterInTypeRequiredMeaning
paper_idpathintegeryes

Resilience#

GET /api/v1/continuity#

Every continuity plan, and the processes none restores

GET /api/v1/continuity/{ref}#

A continuity plan: what it restores, whom to call

ParameterInTypeRequiredMeaning
refpathstringyes

PUT /api/v1/continuity/{ref}/covers#

Say which processes a plan restores

ParameterInTypeRequiredMeaning
refpathstringyes

JSON body:

FieldTypeRequiredMeaning
processeslist of stringReferences of processes

POST /api/v1/continuity/{ref}/exercises#

Record an exercise

ParameterInTypeRequiredMeaning
refpathstringyes

JSON body:

FieldTypeRequiredMeaning
achieved_hoursintegerHow long recovery took
held_onstringyesThe day it was held
kindstringyestabletop, walkthrough, simulation, or full
outcomestringyesWhat happened
participantsstring
resultstringyesmet, partly, or not_met: its recovery objectives
scenariostringyesWhat was tried

POST /api/v1/continuity/{ref}/exercises/{exercise_id}/issues#

Raise a finding of an exercise as an issue

ParameterInTypeRequiredMeaning
refpathstringyes
exercise_idpathintegeryes

JSON body:

FieldTypeRequiredMeaning
namestring
owner_idinteger
severitystring
subjectslist of string
summarystring

GET /api/v1/continuity/{ref}/offline#

The plan in force as one file, for when the systems are down

ParameterInTypeRequiredMeaning
refpathstringyes

GET /api/v1/processes/{ref}/impact#

A process's business impact and its shortfalls

ParameterInTypeRequiredMeaning
refpathstringyes

POST /api/v1/processes/{ref}/impact#

Analyse a process's business impact

ParameterInTypeRequiredMeaning
refpathstringyes

JSON body:

FieldTypeRequiredMeaning
data_loss_hoursintegeryesHow much information it can afford to lose
impactslist of ImpactHow much its loss hurts
minimumstringThe least it needs
notestring
recovery_hoursintegeryesHow soon it must be back

GET /api/v1/resilience#

Processes with their recovery needs and every shortfall

GET /api/v1/services/{ref}/recovery#

What a service can be restored within

ParameterInTypeRequiredMeaning
refpathstringyes

POST /api/v1/services/{ref}/recovery#

Say what a service can deliver

ParameterInTypeRequiredMeaning
refpathstringyes

JSON body:

FieldTypeRequiredMeaning
basisstringyesWhat that rests on
data_loss_hoursintegerHow much information it can lose; none for a site
recovery_hoursintegeryesWhat it can be restored within

GET /api/v1/sites/{ref}/recovery#

How soon work at a site goes on again

ParameterInTypeRequiredMeaning
refpathstringyes

POST /api/v1/sites/{ref}/recovery#

Say what a site can deliver

ParameterInTypeRequiredMeaning
refpathstringyes

JSON body:

FieldTypeRequiredMeaning
basisstringyesWhat that rests on
data_loss_hoursintegerHow much information it can lose; none for a site
recovery_hoursintegeryesWhat it can be restored within

GET /api/v1/systems/{ref}/recovery#

What a system can be restored within

ParameterInTypeRequiredMeaning
refpathstringyes

POST /api/v1/systems/{ref}/recovery#

Say what a system can deliver

ParameterInTypeRequiredMeaning
refpathstringyes

JSON body:

FieldTypeRequiredMeaning
basisstringyesWhat that rests on
data_loss_hoursintegerHow much information it can lose; none for a site
recovery_hoursintegeryesWhat it can be restored within

GET /api/v1/third-parties/{ref}/recovery#

What a third party can be back within

ParameterInTypeRequiredMeaning
refpathstringyes

POST /api/v1/third-parties/{ref}/recovery#

Say what a third party can deliver

ParameterInTypeRequiredMeaning
refpathstringyes

JSON body:

FieldTypeRequiredMeaning
basisstringyesWhat that rests on
data_loss_hoursintegerHow much information it can lose; none for a site
recovery_hoursintegeryesWhat it can be restored within
Describes RiskWren 0.10.1. Apache License 2.0. Screenshots show an invented organization; every person and record in them is fictional.