AppWrenv0.10.1
GitHub

API reference

Every route of the JSON API, written from AppWren'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
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
abovebooleanAdd it as the new top unit, with the current top unit beneath it
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
score_rampstring
show_powered_byboolean
sign_in_messagestring
termsobject

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/applications#

Find applications

ParameterInTypeRequiredMeaning
qquerystringWords in the name or reference
unitqueryintegerA unit, with those beneath it
ownerqueryintegerAn account named on it
minequerybooleanOnly those I am named on Default: false.
sortquerystringOne of updated_at, name, ref, status, lifecycle, tier, sourcing, users, annual_cost; - descends Default: "-updated_at".
limitqueryinteger
cursorquerystring
statusquerystring
lifecyclequerystring
sourcingquerystring
purposequerystring
pacequerystring
domainquerystring
tierquerystring
hostingquerystring
sign_inquerystring
fundingquerystring
vendor_idqueryintegerA vendor's id
sensitivityqueryintegerThe highest sensitivity of its data: 0 public to 3 restricted
data_classquerystringA class of data, by its key
capabilityquerystringA capability's reference: the applications that serve it
technologyquerystringA technology's reference: what is built on it (for an application, any of its components)
releasequerystringWith technology, one of its releases by its cycle, such as 6.0; none for those that name no release
versionquerystringWith technology, the exact version as recorded, or its start, such as 6.0.2
maturityquerystring
audiencequerystringA kind of people who use it wherever they work, by its key; everyone for those everyone in the organization uses
used_inqueryintegerA unit's id: what everyone in it uses, from the whole organization's, its own, and those of the units it is part of

POST /api/v1/applications#

Add an application

JSON body:

FieldTypeRequiredMeaning
accountable_idintegerOn adding: the accountable owner, if not yourself
aliaseslist of string
annual_costinteger
backupstring
data_classeslist of string
docs_urlstring
domainstring
editionstring
external_refslist of ExternalRefBody
external_usersboolean
fieldsobjectThe organization's own fields, by key
fundingstring
go_livestring
grant_endstring
grant_refstring
home_urlstring
hostingstring
last_restore_teststring
lifecyclestring
lifecycle_sincestring
maintainersinteger
monitoringstring
namestring
org_unit_idintegerThe unit that answers for it
pacestring
productstring
purposestring
records_retentionboolean
regulated_recordboolean
research_continuityboolean
restrictedboolean
retire_plannedstring
sign_instring
sourcingstring
statusstringactive or retired
successor_idstring
summarystring
support_unit_idinteger
tagslist of string
tierstring1 (mission critical) to 5 (minimal)
usersinteger
vendor_idstring
versioninteger

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

One application, with what it is linked to

ParameterInTypeRequiredMeaning
refpathstringyes

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

Change an application

ParameterInTypeRequiredMeaning
refpathstringyes

JSON body:

FieldTypeRequiredMeaning
accountable_idintegerOn adding: the accountable owner, if not yourself
aliaseslist of string
annual_costinteger
backupstring
data_classeslist of string
docs_urlstring
domainstring
editionstring
external_refslist of ExternalRefBody
external_usersboolean
fieldsobjectThe organization's own fields, by key
fundingstring
go_livestring
grant_endstring
grant_refstring
home_urlstring
hostingstring
last_restore_teststring
lifecyclestring
lifecycle_sincestring
maintainersinteger
monitoringstring
namestring
org_unit_idintegerThe unit that answers for it
pacestring
productstring
purposestring
records_retentionboolean
regulated_recordboolean
research_continuityboolean
restrictedboolean
retire_plannedstring
sign_instring
sourcingstring
statusstringactive or retired
successor_idstring
summarystring
support_unit_idinteger
tagslist of string
tierstring1 (mission critical) to 5 (minimal)
usersinteger
vendor_idstring
versioninteger

PUT /api/v1/applications/{ref}/capabilities#

Say which capabilities it serves

ParameterInTypeRequiredMeaning
refpathstringyes

JSON body:

FieldTypeRequiredMeaning
capabilitieslist of CapabilityLinkyes

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

What has happened to an application

ParameterInTypeRequiredMeaning
refpathstringyes

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

Link an application to a record

ParameterInTypeRequiredMeaning
refpathstringyes

JSON body:

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

PUT /api/v1/applications/{ref}/people#

Name the people in each role

ParameterInTypeRequiredMeaning
refpathstringyes

JSON body:

FieldTypeRequiredMeaning
ownerslist of objectyesEach with an account_id and a kind from application_roles; exactly one accountable

PUT /api/v1/applications/{ref}/units#

Say which units use it

ParameterInTypeRequiredMeaning
refpathstringyes

JSON body:

FieldTypeRequiredMeaning
unitslist of integeryesThe ids of the units that use it

PUT /api/v1/applications/{ref}/use#

Say who uses it

ParameterInTypeRequiredMeaning
refpathstringyes

JSON body:

FieldTypeRequiredMeaning
audienceslist of stringThe kinds of people who use it wherever they work, as keys of the audiences list; left out when everyone in the organization does
external_usersbooleanPeople outside the organization use it too
org_widebooleanEveryone in the organization uses it
unitslist of integerThe ids of the units that use it, everyone in them; left out when everyone in the organization does
usersintegerAbout how many people use it
versionintegerThe version of the application the change was made against

GET /api/v1/capabilities#

Find capabilities

ParameterInTypeRequiredMeaning
qquerystringWords in the name or reference
sortquerystringOne of updated_at, name, ref, status, position; - descends Default: "-updated_at".
limitqueryinteger
cursorquerystring
statusquerystring
domainquerystring
parent_idqueryintegerA broader capability's id

POST /api/v1/capabilities#

Add a capability

JSON body:

FieldTypeRequiredMeaning
domainstring
external_refslist of ExternalRefBody
namestring
parent_idstringThe broader capability's reference
statusstringactive or retired
summarystring
tagslist of string
versioninteger

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

One capability, with what it is linked to

ParameterInTypeRequiredMeaning
refpathstringyes

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

Change a capability

ParameterInTypeRequiredMeaning
refpathstringyes

JSON body:

FieldTypeRequiredMeaning
domainstring
external_refslist of ExternalRefBody
namestring
parent_idstringThe broader capability's reference
statusstringactive or retired
summarystring
tagslist of string
versioninteger

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

What has happened to a capability

ParameterInTypeRequiredMeaning
refpathstringyes

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

Link a capability to a record

ParameterInTypeRequiredMeaning
refpathstringyes

JSON body:

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

GET /api/v1/capability-map#

Every capability as a tree, with what serves it

GET /api/v1/catalog#

What the program says about applications

The organization's own fields, what each lifecycle stage requires, the sensitive fields, the definition of an application, and the fields of every record type.

GET /api/v1/components#

Find components

ParameterInTypeRequiredMeaning
qquerystringWords in the name or reference
unitqueryintegerA unit, with those beneath it
sortquerystringOne of updated_at, name, ref, status, kind; - descends Default: "-updated_at".
limitqueryinteger
cursorquerystring
statusquerystring
kindquerystring
application_idqueryintegerAn application's id
applicationquerystringAn application's reference: at either end
technologyquerystringA technology's reference: what is built on it (for an application, any of its components)
releasequerystringWith technology, one of its releases by its cycle, such as 6.0; none for those that name no release
versionquerystringWith technology, the exact version as recorded, or its start, such as 6.0.2

POST /api/v1/components#

Add a component

JSON body:

FieldTypeRequiredMeaning
application_idstringIts application's reference
external_refslist of ExternalRefBody
hostingstring
kindstring
namestring
repo_urlstring
statusstringactive or retired
summarystring
tagslist of string
versioninteger

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

One component, with what it is linked to

ParameterInTypeRequiredMeaning
refpathstringyes

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

Change a component

ParameterInTypeRequiredMeaning
refpathstringyes

JSON body:

FieldTypeRequiredMeaning
application_idstringIts application's reference
external_refslist of ExternalRefBody
hostingstring
kindstring
namestring
repo_urlstring
statusstringactive or retired
summarystring
tagslist of string
versioninteger

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

What has happened to a component

ParameterInTypeRequiredMeaning
refpathstringyes

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

Link a component to a record

ParameterInTypeRequiredMeaning
refpathstringyes

JSON body:

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

PUT /api/v1/components/{ref}/technologies#

Say what a component is built on

ParameterInTypeRequiredMeaning
refpathstringyes

JSON body:

FieldTypeRequiredMeaning
technologieslist of TechnologyUseyes

GET /api/v1/contracts#

Find contracts

ParameterInTypeRequiredMeaning
qquerystringWords in the name or reference
sortquerystringOne of updated_at, name, ref, status, ends_on, annual_value; - descends Default: "-updated_at".
limitqueryinteger
cursorquerystring
statusquerystring
vendor_idqueryintegerA vendor's id
auto_renewsquerybooleantrue or false
data_agreementquerystring
applicationquerystringAn application's reference: at either end
ending_withinqueryintegerContracts whose term ends within this many days

POST /api/v1/contracts#

Add a contract

JSON body:

FieldTypeRequiredMeaning
annual_valueinteger
auto_renewsboolean
data_agreementstringin_place, not_needed, missing
ends_onstring
external_refslist of ExternalRefBody
licensesintegerLicenses bought
namestring
notice_daysinteger
numberstring
owner_idinteger
starts_onstring
statusstringactive or retired
summarystring
tagslist of string
vendor_idstringThe vendor's reference
versioninteger

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

One contract, with what it is linked to

ParameterInTypeRequiredMeaning
refpathstringyes

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

Change a contract

ParameterInTypeRequiredMeaning
refpathstringyes

JSON body:

FieldTypeRequiredMeaning
annual_valueinteger
auto_renewsboolean
data_agreementstringin_place, not_needed, missing
ends_onstring
external_refslist of ExternalRefBody
licensesintegerLicenses bought
namestring
notice_daysinteger
numberstring
owner_idinteger
starts_onstring
statusstringactive or retired
summarystring
tagslist of string
vendor_idstringThe vendor's reference
versioninteger

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

What has happened to a contract

ParameterInTypeRequiredMeaning
refpathstringyes

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

Link a contract to a record

ParameterInTypeRequiredMeaning
refpathstringyes

JSON body:

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

GET /api/v1/deployments#

Find deployments

ParameterInTypeRequiredMeaning
qquerystringWords in the name or reference
sortquerystringOne of updated_at, name, ref, status, environment; - descends Default: "-updated_at".
limitqueryinteger
cursorquerystring
statusquerystring
environmentquerystring
platform_idqueryintegerA hosting platform's id
application_idqueryintegerAn application's id
component_idqueryintegerA component's id
applicationquerystringAn application's reference: at either end

POST /api/v1/deployments#

Add a deployment

JSON body:

FieldTypeRequiredMeaning
application_idstringIts application's reference
component_idstringOne of its components, if not all
environmentstring
external_refslist of ExternalRefBody
namestring
platform_idstringA hosting platform's reference
statusstringactive or retired
summarystring
tagslist of string
urlstring
versioninteger

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

One deployment, with what it is linked to

ParameterInTypeRequiredMeaning
refpathstringyes

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

Change a deployment

ParameterInTypeRequiredMeaning
refpathstringyes

JSON body:

FieldTypeRequiredMeaning
application_idstringIts application's reference
component_idstringOne of its components, if not all
environmentstring
external_refslist of ExternalRefBody
namestring
platform_idstringA hosting platform's reference
statusstringactive or retired
summarystring
tagslist of string
urlstring
versioninteger

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

What has happened to a deployment

ParameterInTypeRequiredMeaning
refpathstringyes

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

Link a deployment to a record

ParameterInTypeRequiredMeaning
refpathstringyes

JSON body:

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

GET /api/v1/funding-sources#

Find funding sources

ParameterInTypeRequiredMeaning
qquerystringWords in the name or reference
sortquerystringOne of updated_at, name, ref, status, kind, ends_on; - descends Default: "-updated_at".
limitqueryinteger
cursorquerystring
statusquerystring
kindquerystring

POST /api/v1/funding-sources#

Add a funding source

JSON body:

FieldTypeRequiredMeaning
codestring
ends_onstring
external_refslist of ExternalRefBody
kindstringFrom the funding vocabulary
namestring
statusstringactive or retired
summarystring
tagslist of string
versioninteger

GET /api/v1/funding-sources/{ref}#

One funding source, with what it is linked to

ParameterInTypeRequiredMeaning
refpathstringyes

PATCH /api/v1/funding-sources/{ref}#

Change a funding source

ParameterInTypeRequiredMeaning
refpathstringyes

JSON body:

FieldTypeRequiredMeaning
codestring
ends_onstring
external_refslist of ExternalRefBody
kindstringFrom the funding vocabulary
namestring
statusstringactive or retired
summarystring
tagslist of string
versioninteger

GET /api/v1/funding-sources/{ref}/history#

What has happened to a funding source

ParameterInTypeRequiredMeaning
refpathstringyes

POST /api/v1/funding-sources/{ref}/links#

Link a funding source to a record

ParameterInTypeRequiredMeaning
refpathstringyes

JSON body:

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

GET /api/v1/hosting-platforms#

Find hosting platforms

ParameterInTypeRequiredMeaning
qquerystringWords in the name or reference
sortquerystringOne of updated_at, name, ref, status, kind; - descends Default: "-updated_at".
limitqueryinteger
cursorquerystring
statusquerystring
kindquerystring
vendor_idqueryintegerA vendor's id

POST /api/v1/hosting-platforms#

Add a hosting platform

JSON body:

FieldTypeRequiredMeaning
external_refslist of ExternalRefBody
kindstringFrom the platform_kinds vocabulary
locationstring
namestring
statusstringactive or retired
summarystring
tagslist of string
vendor_idstringThe provider, by reference
versioninteger

GET /api/v1/hosting-platforms/{ref}#

One hosting platform, with what it is linked to

ParameterInTypeRequiredMeaning
refpathstringyes

PATCH /api/v1/hosting-platforms/{ref}#

Change a hosting platform

ParameterInTypeRequiredMeaning
refpathstringyes

JSON body:

FieldTypeRequiredMeaning
external_refslist of ExternalRefBody
kindstringFrom the platform_kinds vocabulary
locationstring
namestring
statusstringactive or retired
summarystring
tagslist of string
vendor_idstringThe provider, by reference
versioninteger

GET /api/v1/hosting-platforms/{ref}/history#

What has happened to a hosting platform

ParameterInTypeRequiredMeaning
refpathstringyes

POST /api/v1/hosting-platforms/{ref}/links#

Link a hosting platform to a record

ParameterInTypeRequiredMeaning
refpathstringyes

JSON body:

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

GET /api/v1/initiatives#

Find initiatives

ParameterInTypeRequiredMeaning
qquerystringWords in the name or reference
unitqueryintegerA unit, with those beneath it
sortquerystringOne of updated_at, name, ref, status, starts_on, ends_on, stage; - descends Default: "-updated_at".
limitqueryinteger
cursorquerystring
statusquerystring
kindquerystring
stagequerystring
owner_idqueryinteger
applicationquerystringAn application's reference: at either end

POST /api/v1/initiatives#

Add an initiative

JSON body:

FieldTypeRequiredMeaning
budgetinteger
ends_onstring
external_refslist of ExternalRefBody
kindstringFrom initiative_kinds
namestring
org_unit_idintegerThe unit that answers for it
owner_idinteger
stagestringFrom initiative_stages
starts_onstring
statusstringactive or retired
summarystring
tagslist of string
versioninteger

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

One initiative, with what it is linked to

ParameterInTypeRequiredMeaning
refpathstringyes

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

Change an initiative

ParameterInTypeRequiredMeaning
refpathstringyes

JSON body:

FieldTypeRequiredMeaning
budgetinteger
ends_onstring
external_refslist of ExternalRefBody
kindstringFrom initiative_kinds
namestring
org_unit_idintegerThe unit that answers for it
owner_idinteger
stagestringFrom initiative_stages
starts_onstring
statusstringactive or retired
summarystring
tagslist of string
versioninteger

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

What has happened to an initiative

ParameterInTypeRequiredMeaning
refpathstringyes

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

Link an initiative to a record

ParameterInTypeRequiredMeaning
refpathstringyes

JSON body:

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

GET /api/v1/interfaces#

Find interfaces

ParameterInTypeRequiredMeaning
qquerystringWords in the name or reference
sortquerystringOne of updated_at, name, ref, status, method, frequency; - descends Default: "-updated_at".
limitqueryinteger
cursorquerystring
statusquerystring
methodquerystring
frequencyquerystring
source_idqueryintegerThe id of the application data comes from
target_idqueryintegerThe id of the application data goes to
applicationquerystringAn application's reference: at either end
data_classquerystringA class of data, by its key

POST /api/v1/interfaces#

Add an interface

JSON body:

FieldTypeRequiredMeaning
data_classeslist of string
external_refslist of ExternalRefBody
frequencystring
methodstringFrom the interface_methods vocabulary
namestring
owner_idintegerAn account's id
source_idstringThe application data comes from
statusstringactive or retired
summarystring
tagslist of string
target_idstringThe application it goes to
versioninteger

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

One interface, with what it is linked to

ParameterInTypeRequiredMeaning
refpathstringyes

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

Change an interface

ParameterInTypeRequiredMeaning
refpathstringyes

JSON body:

FieldTypeRequiredMeaning
data_classeslist of string
external_refslist of ExternalRefBody
frequencystring
methodstringFrom the interface_methods vocabulary
namestring
owner_idintegerAn account's id
source_idstringThe application data comes from
statusstringactive or retired
summarystring
tagslist of string
target_idstringThe application it goes to
versioninteger

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

What has happened to an interface

ParameterInTypeRequiredMeaning
refpathstringyes

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

Link an interface to a record

ParameterInTypeRequiredMeaning
refpathstringyes

JSON body:

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

GET /api/v1/requests#

Find requests

ParameterInTypeRequiredMeaning
qquerystringWords in the name or reference
unitqueryintegerA unit, with those beneath it
sortquerystringOne of updated_at, name, ref, status, needed_by; - descends Default: "-updated_at".
limitqueryinteger
cursorquerystring
statusquerystring
statequerystringplanned, open, or closed
capability_idqueryinteger

POST /api/v1/requests#

Add a request

JSON body:

FieldTypeRequiredMeaning
capability_idstringA capability's reference
external_refslist of ExternalRefBody
namestring
needed_bystring
org_unit_idintegerThe unit that asks
requested_by_idinteger
statusstringactive or retired
summarystring
tagslist of string
users_expectedinteger
versioninteger

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

One request, with what it is linked to

ParameterInTypeRequiredMeaning
refpathstringyes

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

Change a request

ParameterInTypeRequiredMeaning
refpathstringyes

JSON body:

FieldTypeRequiredMeaning
capability_idstringA capability's reference
external_refslist of ExternalRefBody
namestring
needed_bystring
org_unit_idintegerThe unit that asks
requested_by_idinteger
statusstringactive or retired
summarystring
tagslist of string
users_expectedinteger
versioninteger

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

What has happened to a request

ParameterInTypeRequiredMeaning
refpathstringyes

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

Link a request to a record

ParameterInTypeRequiredMeaning
refpathstringyes

JSON body:

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

GET /api/v1/reviews#

Find reviews

ParameterInTypeRequiredMeaning
qquerystringWords in the name or reference
unitqueryintegerA unit, with those beneath it
sortquerystringOne of updated_at, name, ref, status, held_on; - descends Default: "-updated_at".
limitqueryinteger
cursorquerystring
statusquerystring
statequerystringplanned, open, or closed

POST /api/v1/reviews#

Add a review

JSON body:

FieldTypeRequiredMeaning
chair_idinteger
external_refslist of ExternalRefBody
held_onstring
namestring
org_unit_idintegerThe unit it reviews
statusstringactive or retired
summarystring
tagslist of string
tierslist of stringOnly these tiers; empty for all
versioninteger

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

One review, with what it is linked to

ParameterInTypeRequiredMeaning
refpathstringyes

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

Change a review

ParameterInTypeRequiredMeaning
refpathstringyes

JSON body:

FieldTypeRequiredMeaning
chair_idinteger
external_refslist of ExternalRefBody
held_onstring
namestring
org_unit_idintegerThe unit it reviews
statusstringactive or retired
summarystring
tagslist of string
tierslist of stringOnly these tiers; empty for all
versioninteger

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

What has happened to a review

ParameterInTypeRequiredMeaning
refpathstringyes

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

Link a review to a record

ParameterInTypeRequiredMeaning
refpathstringyes

JSON body:

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

GET /api/v1/scenarios#

Find scenarios

ParameterInTypeRequiredMeaning
qquerystringWords in the name or reference
sortquerystringOne of updated_at, name, ref, status; - descends Default: "-updated_at".
limitqueryinteger
cursorquerystring
statusquerystring

POST /api/v1/scenarios#

Add a scenario

JSON body:

FieldTypeRequiredMeaning
external_refslist of ExternalRefBody
namestring
statusstringactive or retired
summarystring
tagslist of string
versioninteger

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

One scenario, with what it is linked to

ParameterInTypeRequiredMeaning
refpathstringyes

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

Change a scenario

ParameterInTypeRequiredMeaning
refpathstringyes

JSON body:

FieldTypeRequiredMeaning
external_refslist of ExternalRefBody
namestring
statusstringactive or retired
summarystring
tagslist of string
versioninteger

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

What has happened to a scenario

ParameterInTypeRequiredMeaning
refpathstringyes

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

Link a scenario to a record

ParameterInTypeRequiredMeaning
refpathstringyes

JSON body:

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

GET /api/v1/technologies#

Find technologies

ParameterInTypeRequiredMeaning
qquerystringWords in the name or reference
sortquerystringOne of updated_at, name, ref, status, kind, radar; - descends Default: "-updated_at".
limitqueryinteger
cursorquerystring
statusquerystring
kindquerystring
radarquerystring
vendor_idqueryintegerA vendor's id

POST /api/v1/technologies#

Add a technology

JSON body:

FieldTypeRequiredMeaning
eol_keystring
external_refslist of ExternalRefBody
homepagestring
kindstring
namestring
radarstring
statusstringactive or retired
summarystring
tagslist of string
vendor_idstring
versioninteger

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

One technology, with what it is linked to

ParameterInTypeRequiredMeaning
refpathstringyes

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

Change a technology

ParameterInTypeRequiredMeaning
refpathstringyes

JSON body:

FieldTypeRequiredMeaning
eol_keystring
external_refslist of ExternalRefBody
homepagestring
kindstring
namestring
radarstring
statusstringactive or retired
summarystring
tagslist of string
vendor_idstring
versioninteger

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

What has happened to a technology

ParameterInTypeRequiredMeaning
refpathstringyes

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

Link a technology to a record

ParameterInTypeRequiredMeaning
refpathstringyes

JSON body:

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

PUT /api/v1/technologies/{ref}/releases#

A technology's releases and their support

ParameterInTypeRequiredMeaning
refpathstringyes

JSON body:

FieldTypeRequiredMeaning
releaseslist of Releaseyes

GET /api/v1/vendors#

Find vendors

ParameterInTypeRequiredMeaning
qquerystringWords in the name or reference
sortquerystringOne of updated_at, name, ref, status, kind; - descends Default: "-updated_at".
limitqueryinteger
cursorquerystring
statusquerystring
kindquerystring

POST /api/v1/vendors#

Add a vendor

JSON body:

FieldTypeRequiredMeaning
external_refslist of ExternalRefBody
kindstring
namestring
statusstringactive or retired
summarystring
tagslist of string
versioninteger
websitestring

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

One vendor, with what it is linked to

ParameterInTypeRequiredMeaning
refpathstringyes

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

Change a vendor

ParameterInTypeRequiredMeaning
refpathstringyes

JSON body:

FieldTypeRequiredMeaning
external_refslist of ExternalRefBody
kindstring
namestring
statusstringactive or retired
summarystring
tagslist of string
versioninteger
websitestring

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

What has happened to a vendor

ParameterInTypeRequiredMeaning
refpathstringyes

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

Link a vendor to a record

ParameterInTypeRequiredMeaning
refpathstringyes

JSON body:

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

GET /api/v1/vocabularies#

The lists of values records choose from

Assessment and scores#

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

An application's assessments

ParameterInTypeRequiredMeaning
refpathstringyes

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

Answer the assessment

ParameterInTypeRequiredMeaning
refpathstringyes

JSON body:

FieldTypeRequiredMeaning
answersobjectyesEach question's key: a level from 1 to 5, null for don't know, or {level, note}
notestring

GET /api/v1/applications/{ref}/confirmations#

Who has confirmed the record, and when

ParameterInTypeRequiredMeaning
refpathstringyes

POST /api/v1/applications/{ref}/confirmations#

Confirm that the record is right

Anyone named on the application, its unit's stewards, and managers confirm that its record and its parts are right as of today (CUR-03).

ParameterInTypeRequiredMeaning
refpathstringyes

JSON body:

FieldTypeRequiredMeaning
notestring

POST /api/v1/applications/{ref}/score-preview#

What the scores would be

The scores these answers would give, from the same engine as the record. Nothing is saved.

ParameterInTypeRequiredMeaning
refpathstringyes

JSON body:

FieldTypeRequiredMeaning
answersobjectyesEach question's key: a level from 1 to 5, null for don't know, or {level, note}
notestring

GET /api/v1/applications/{ref}/scores#

An application's scores, with the working

Business value, technical health, cost and burden, and risk exposure; data confidence; the recommendation with the rule that produced it; the flags; and what would raise confidence. Anything a sensitive field would reveal is withheld from those who may not see it.

ParameterInTypeRequiredMeaning
refpathstringyes

GET /api/v1/questionnaire#

The current question bank

GET /api/v1/scoring-model#

The current scoring model

Decisions and the portfolio#

GET /api/v1/applications/{ref}/decisions#

An application's decisions

ParameterInTypeRequiredMeaning
refpathstringyes

POST /api/v1/applications/{ref}/decisions#

Record what to do with it

A manager, or a leader of its unit, records a disposition with a rationale; never the application's own accountable owner. The scores as they are now are kept with it.

ParameterInTypeRequiredMeaning
refpathstringyes

JSON body:

FieldTypeRequiredMeaning
dispositionstringyesFrom the dispositions vocabulary
rationalestringyes
review_onstringWhen to look again; a year by default
successorstringThe application its users move to; needed to consolidate
target_onstringWhen it should be done

GET /api/v1/portfolio-snapshots#

The portfolio snapshots taken

POST /api/v1/portfolio-snapshots#

Keep the portfolio's scores

JSON body:

FieldTypeRequiredMeaning
namestringyesSuch as 2026 Q4 review

GET /api/v1/portfolio-snapshots/{ref}#

One portfolio snapshot

ParameterInTypeRequiredMeaning
refpathstringyes

GET /api/v1/score-snapshots/{snapshot_id}#

A score as it was kept

ParameterInTypeRequiredMeaning
snapshot_idpathintegeryes

The landscape, and cost#

PUT /api/v1/applications/{ref}/cost-lines#

Set an application's cost lines

Replaces the lines. Once an application has any, its annual cost is their sum. A line that names a contract makes the contract cover the application.

ParameterInTypeRequiredMeaning
refpathstringyes

JSON body:

FieldTypeRequiredMeaning
lineslist of CostLineBodyyes

GET /api/v1/applications/{ref}/costs#

What an application costs, line by line

Its cost lines, what they add up to by category, cost per user, and the contracts that cover it. withheld is true, and nothing else is given, for a reader who may not see its cost.

ParameterInTypeRequiredMeaning
refpathstringyes

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

What breaks if an application goes

What depends on it, directly and beyond; the interfaces that would stop; the capabilities left with no provider, or without their primary; and the people affected.

ParameterInTypeRequiredMeaning
refpathstringyes

GET /api/v1/capability-heat#

The capability map, measured

The capability tree, each capability with how many applications in service serve it, their average scores and confidence, and the technical health of the weakest.

PUT /api/v1/contracts/{ref}/applications#

Set the applications a contract covers

ParameterInTypeRequiredMeaning
refpathstringyes

JSON body:

FieldTypeRequiredMeaning
applicationslist of CoveredBodyyes

GET /api/v1/data-flows#

Where a class of data travels

How many interfaces carry each class of data; and, for the class chosen, every interface that carries it and every application that holds it. undeclared on an interface lists the classes it carries that the receiving application does not record.

ParameterInTypeRequiredMeaning
data_classquerystringA class of data, by its key

GET /api/v1/data-handling#

The applications that handle a class of data

How many applications in service handle each class of data; and, for the class chosen, each of them with its owner, sourcing, hosting, sign-in, technologies and their support, the interfaces that carry the class, and the standing of its data agreement. The same rows are exported by /exports/data-handling.

ParameterInTypeRequiredMeaning
data_classquerystringA class of data, by its key

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

A record and what it is connected to, in groups

The neighbors of any record, grouped by what joins them: dependencies, interfaces, capabilities, components, technologies, and vendors. hidden counts those the reader may not see.

ParameterInTypeRequiredMeaning
refpathstringyes

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, records, or other
sincequerystringFrom this date, year-month-day
untilquerystringUp to and including this date
beforequeryintegerThe next of the page before

POST /api/v1/imports/end-of-life#

Bring support dates in from a file

The body is one object: each product's key, with its list of release cycles (cycle, releaseDate, eol, extendedSupport, latest). A product is matched to the technology whose end-of-life key it is. Releases are added and dates updated; nothing is removed.

ParameterInTypeRequiredMeaning
dry_runquerybooleanSay what would change, and change nothing Default: true.

GET /api/v1/lifecycle#

Technology releases to their end of support

The releases in use, soonest end of support first, each with how many components and applications are on it; and the applications with a planned retirement.

ParameterInTypeRequiredMeaning
everyquerybooleanReleases nothing runs on as well Default: false.

GET /api/v1/overlap#

Capabilities served more than once

Every capability with more than one application in service, its applications side by side with their scores, recommendation, decision, users, and cost where the reader may see it. filters on each gives the same applications from /portfolio.

ParameterInTypeRequiredMeaning
unitqueryintegerA unit, with those beneath it
domainquerystring

GET /api/v1/radar#

The technologies in use, by ring

Keeping current#

POST /api/v1/accounts/{account_id}/hand-over#

Pass everything a person holds on

Each role on each record, each contract and interface owned, each open task, and each pending campaign item goes to one person, in one step.

ParameterInTypeRequiredMeaning
account_idpathintegeryes

JSON body:

FieldTypeRequiredMeaning
tointegeryesThe account to pass everything to

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

Everything a person holds

The records they are named on, the contracts and interfaces they own, their open tasks, and what open campaigns still ask of them.

ParameterInTypeRequiredMeaning
account_idpathintegeryes

GET /api/v1/applications/{ref}/contests#

Contests of an application's scores

ParameterInTypeRequiredMeaning
refpathstringyes

POST /api/v1/applications/{ref}/contests#

Say one factor is wrong, and why

ParameterInTypeRequiredMeaning
refpathstringyes

JSON body:

FieldTypeRequiredMeaning
evidence_urlstring
factorstringThe factor's key
level_claimedintegerWhat it should be, 1 to 5
notestring

GET /api/v1/campaigns#

Campaigns, newest first, with their progress

POST /api/v1/campaigns#

Start a campaign

Makes an item for each application in service in the unit and beneath it, of the tiers and stages named, and tells each person asked once, with a count.

JSON body:

FieldTypeRequiredMeaning
due_onstringThe date it is due by
kindstringconfirm or assess
messagestring
namestring
org_unit_idintegerOmit for the whole organization
stageslist of stringOnly these stages; all if empty
tierslist of stringOnly these tiers; all if empty

POST /api/v1/campaigns/preview#

What a campaign would ask, and of whom

How many applications it would cover and how many people it would ask, and which applications have nobody to ask. Nothing is saved.

JSON body:

FieldTypeRequiredMeaning
due_onstringThe date it is due by
kindstringconfirm or assess
messagestring
namestring
org_unit_idintegerOmit for the whole organization
stageslist of stringOnly these stages; all if empty
tierslist of stringOnly these tiers; all if empty

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

A campaign, its coverage by unit, and its items

ParameterInTypeRequiredMeaning
refpathstringyes
unitquerystringOnly this unit's items
statusquerystringpending, done, or excused
minequerybooleanOnly what was asked of you Default: false.

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

Cancel a campaign

ParameterInTypeRequiredMeaning
refpathstringyes

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

Close a campaign, keeping what it found

ParameterInTypeRequiredMeaning
refpathstringyes

POST /api/v1/campaigns/{ref}/items/{item_id}/excuse#

Excuse one application, with a reason

ParameterInTypeRequiredMeaning
refpathstringyes
item_idpathintegeryes

JSON body:

FieldTypeRequiredMeaning
reasonstring

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

Remind whoever still owes something

ParameterInTypeRequiredMeaning
refpathstringyes

GET /api/v1/contests#

Contests waiting for your answer

POST /api/v1/contests/{contest_id}/answer#

Accept a contest, or answer it

ParameterInTypeRequiredMeaning
contest_idpathintegeryes

JSON body:

FieldTypeRequiredMeaning
acceptbooleanyes
answerstring

GET /api/v1/search#

One search across every kind of record

Grouped by kind, the best answer first. It finds only what the searcher may open, because it asks each kind's own list.

ParameterInTypeRequiredMeaning
qquerystringA name, a reference, or a few words Default: "".
typequerystringOnly this kind of record
limitqueryintegerHow many of each kind Default: 6.

GET /api/v1/similar-applications#

Applications a new one may be already

Those already on record whose name or alias is close to this name or its aliases, or that are the same product from the same vendor (INV-15).

ParameterInTypeRequiredMeaning
namequerystringDefault: "".
aliasesquerystringOther names it goes by, separated by commas Default: "".
vendorquerystringA vendor's reference
productquerystring
exceptquerystringThis one's reference

GET /api/v1/tasks#

Tasks: open ones by default

Each person sees their own tasks; stewards, leaders, and managers those about the applications in their units; those who read everything, all of them.

ParameterInTypeRequiredMeaning
statusquerystringopen, done, dismissed, or all
kindquerystring
minequerybooleanOnly yours Default: false.
unassignedquerybooleanOnly those with nobody to do them Default: false.

GET /api/v1/tasks/{task_id}#

One task

ParameterInTypeRequiredMeaning
task_idpathintegeryes

POST /api/v1/tasks/{task_id}/close#

Mark a task done, or dismiss it

ParameterInTypeRequiredMeaning
task_idpathintegeryes

JSON body:

FieldTypeRequiredMeaning
howstringdone, or dismissed
notestring

GET /api/v1/views#

Your saved views, and the shared ones

ParameterInTypeRequiredMeaning
pathquerystring

POST /api/v1/views#

Save a list's filters under a name

JSON body:

FieldTypeRequiredMeaning
namestring
pathstringThe list: /applications
querystringIts filters
sharedboolean

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

Delete a saved view

ParameterInTypeRequiredMeaning
view_idpathintegeryes

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

Rename, change, or share a saved view

ParameterInTypeRequiredMeaning
view_idpathintegeryes

JSON body:

FieldTypeRequiredMeaning
namestring
pathstringThe list: /applications
querystringIts filters
sharedboolean

Reports, imports, and exports#

GET /api/v1/dashboard#

Where the portfolio stands

Each figure carries the filters of the list that produces it, so it can only open exactly what it counted (RPT-03).

ParameterInTypeRequiredMeaning
unitqueryintegerA unit, with those beneath it
domainquerystring

GET /api/v1/data-quality#

How much of the portfolio can be trusted

ParameterInTypeRequiredMeaning
unitqueryintegerA unit, with those beneath it

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

A list, as filtered, as CSV or JSON

kind is applications, components, vendors, technologies, capabilities, or portfolio. Every other parameter is a filter 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".

GET /api/v1/home#

What the signed-in person owes

POST /api/v1/imports/applications#

Bring applications in from a CSV file

Rows with a reference that is on record update that application; others are added. A dry run reports every problem by row; nothing is loaded unless every row can be.

ParameterInTypeRequiredMeaning
dry_runquerybooleanCheck everything and keep nothing Default: true.
mappingquerystringJSON: which column holds each field, where headings differ

GET /api/v1/imports/applications/fields#

What a file of applications may hold

GET /api/v1/portfolio#

Every application with its scores and decision

The applications the person may see, each with its scores, recommendation, decision, flags, and what its record lacks; cost is withheld from those who may not see it. Filters: unit, lifecycle, sourcing, domain, tier; and, worked out from the scores, recommendation, decision (none for undecided), flag, confidence_min, confidence_max, eol (past or ending), quality, unit_only, mismatch, decided, review_due, and in_service.

Scheduled work, email, and notices#

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/notices#

What is nearly due for you, or has been asked of 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

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

Facts from other systems#

GET /api/v1/connectors#

The kinds of source, and the connectors set up

POST /api/v1/connectors#

Add a connector, switched off

JSON body:

FieldTypeRequiredMeaning
credential_envstringThe environment variable that holds the credential; never the credential
enabledboolean
every_hoursinteger
keystringA short key, for a new one
kindstringThe kind, for a new one
namestring
settingsobject

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

A connector, and its recent runs

ParameterInTypeRequiredMeaning
keypathstringyes

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

Change a connector, or switch it on or off

ParameterInTypeRequiredMeaning
keypathstringyes

JSON body:

FieldTypeRequiredMeaning
credential_envstringThe environment variable that holds the credential; never the credential
enabledboolean
every_hoursinteger
keystringA short key, for a new one
kindstringThe kind, for a new one
namestring
settingsobject

POST /api/v1/connectors/{key}/check#

Whether the source answers

ParameterInTypeRequiredMeaning
keypathstringyes

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

Run a connector now

Reads the source and writes what it read, or, if anything fails, writes nothing. The run is recorded either way.

ParameterInTypeRequiredMeaning
keypathstringyes

GET /api/v1/discovered#

Applications a source knows that are not on record

Those listed and waiting (show=new, the default), dismissed, added, or all.

ParameterInTypeRequiredMeaning
showquerystringDefault: "new".

POST /api/v1/discovered/{item_id}/add#

Add it as an application

ParameterInTypeRequiredMeaning
item_idpathintegeryes

JSON body:

FieldTypeRequiredMeaning
namestringIts name, if not the source's
org_unit_idintegerThe unit that answers for it

POST /api/v1/discovered/{item_id}/dismiss#

It is not kept on record, and why

ParameterInTypeRequiredMeaning
item_idpathintegeryes

JSON body:

FieldTypeRequiredMeaning
reasonstring

POST /api/v1/discovered/{item_id}/restore#

List a dismissed one again

ParameterInTypeRequiredMeaning
item_idpathintegeryes

POST /api/v1/facts#

Post facts, with a push key

For a script holding a push key, sent as Authorization: Bearer <key>. Each fact is kept with the key's name as its source. The batch is checked whole first: one bad fact and nothing is written, with each problem named by its place in the list.

JSON body:

FieldTypeRequiredMeaning
factslist of valuesEach with record (a reference), field, value, and optionally observed_at (a date and time with its zone) and release (for a technology's release)

GET /api/v1/maturity#

Engineering maturity by unit

How many applications are at each level under each unit below unit (the whole organization by default). Each count includes the units below, as the list does.

ParameterInTypeRequiredMeaning
unitqueryinteger

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

An application's or a component's engineering maturity

ParameterInTypeRequiredMeaning
refpathstringyes

GET /api/v1/push-keys#

Push keys, issued and revoked

POST /api/v1/push-keys#

Issue a push key, shown this once

JSON body:

FieldTypeRequiredMeaning
namestringThe tool that will post with it

DELETE /api/v1/push-keys/{key_id}#

Revoke a push key

ParameterInTypeRequiredMeaning
key_idpathintegeryes

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

What sources supply for a record

Each value with its source and when it was read, and any override with its reason. For a technology, its releases' values too.

ParameterInTypeRequiredMeaning
refpathstringyes

DELETE /api/v1/sourced/{ref}/{field}/override#

Use the source's value again

ParameterInTypeRequiredMeaning
refpathstringyes
fieldpathstringyes
releasequerystring

POST /api/v1/sourced/{ref}/{field}/override#

Override a sourced value, with why

ParameterInTypeRequiredMeaning
refpathstringyes
fieldpathstringyes

JSON body:

FieldTypeRequiredMeaning
reasonstring
releasestringFor a technology: the release the field is of
value

Catalog files#

GET /api/v1/applications/{ref}/catalog#

An application and its components, as a catalog file

ParameterInTypeRequiredMeaning
refpathstringyes

POST /api/v1/applications/{ref}/catalog#

Bring a catalog file into an application and its components

Send the file as the request body. Only what it says is changed; nothing is removed.

ParameterInTypeRequiredMeaning
refpathstringyes
dry_runquerybooleanSay what would change, and keep nothing Default: true.

Planning change#

DELETE /api/v1/applications/{ref}/retirement#

Cancel its retirement plan

ParameterInTypeRequiredMeaning
refpathstringyes

GET /api/v1/applications/{ref}/retirement#

An application's retirement plan

ParameterInTypeRequiredMeaning
refpathstringyes

POST /api/v1/applications/{ref}/retirement#

Start its retirement plan

ParameterInTypeRequiredMeaning
refpathstringyes

JSON body:

FieldTypeRequiredMeaning
notestring
planned_onstringTo be retired by: YYYY-MM-DD

POST /api/v1/applications/{ref}/retirement/complete#

Retire it, every step done

Retires the application and keeps its annual cost then as the savings.

ParameterInTypeRequiredMeaning
refpathstringyes

PUT /api/v1/applications/{ref}/retirement/steps/{step}#

Mark a step done, or not

ParameterInTypeRequiredMeaning
refpathstringyes
steppathstringyes

JSON body:

FieldTypeRequiredMeaning
doneboolean
notestring

PUT /api/v1/initiatives/{ref}/applications#

Say which applications it changes

Replaces the applications it names, each with what it does to it. One the person may not see is left as it was.

ParameterInTypeRequiredMeaning
refpathstringyes

JSON body:

FieldTypeRequiredMeaning
applicationslist of InitiativeApplicationBodyyes

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

Approve it: add a proposed application

ParameterInTypeRequiredMeaning
refpathstringyes

JSON body:

FieldTypeRequiredMeaning
applicationstringTo say it is met: by which
namestringTo approve: its name
reasonstring

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

Decline it, with why

ParameterInTypeRequiredMeaning
refpathstringyes

JSON body:

FieldTypeRequiredMeaning
applicationstringTo say it is met: by which
namestringTo approve: its name
reasonstring

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

Say an application on record meets it

ParameterInTypeRequiredMeaning
refpathstringyes

JSON body:

FieldTypeRequiredMeaning
applicationstringTo say it is met: by which
namestringTo approve: its name
reasonstring

PUT /api/v1/requests/{ref}/options#

The ways to meet a request

ParameterInTypeRequiredMeaning
refpathstringyes

JSON body:

FieldTypeRequiredMeaning
optionslist of OptionBodyyes

GET /api/v1/retirements#

Retirements under way and done, with the savings

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

Close the review, keeping what was decided

ParameterInTypeRequiredMeaning
refpathstringyes

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

Draw the agenda from the review's scope

Adds the applications in scope whose decision differs from today's recommendation, whose decision is due for review by the review's date, or that have no decision. What is already on the agenda stays.

ParameterInTypeRequiredMeaning
refpathstringyes

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

Put an application on the agenda

ParameterInTypeRequiredMeaning
refpathstringyes

JSON body:

FieldTypeRequiredMeaning
applicationstringyesThe application's reference
notestringWhat to decide

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

Take an application off the agenda

ParameterInTypeRequiredMeaning
refpathstringyes
item_idpathintegeryes

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

Open the review

From now until it is closed, a decision recorded for an application on the agenda is shown on its item.

ParameterInTypeRequiredMeaning
refpathstringyes

GET /api/v1/roadmap#

Initiatives on a timeline

ParameterInTypeRequiredMeaning
unitqueryintegerA unit, with those beneath it
kindquerystringFrom initiative_kinds
stagequerystringFrom initiative_stages
closedquerybooleanInclude those done or cancelled Default: false.

Insight#

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

An application as it stood on a day

Each of its values at the end of that day beside its value now, its decision then, and its scores in the nearest portfolio snapshot taken on or before it.

ParameterInTypeRequiredMeaning
refpathstringyes
onquerystringyesThe day, YYYY-MM-DD, today or earlier

GET /api/v1/applications/{ref}/score-history#

An application's scores over time

ParameterInTypeRequiredMeaning
refpathstringyes

GET /api/v1/as-of#

The portfolio as it stood on a day

The applications in service at the end of that day, each with its stage, unit, tier, and decision then, beside its stage and decision now. Read from the history.

ParameterInTypeRequiredMeaning
onquerystringyesThe day, YYYY-MM-DD, today or earlier

GET /api/v1/reports#

Leadership reports, the latest period first

POST /api/v1/reports#

Make a leadership report for a period

Works the report out from the records as they are now, and keeps it whole. Reopening it reads what was kept.

JSON body:

FieldTypeRequiredMeaning
period_fromstringyesThe first day of the period, YYYY-MM-DD
period_tostringyesIts last day, today or earlier
titlestringyesWhat the report is called

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

A leadership report, as it was made

The report as stored, with its digest and whether it still matches.

ParameterInTypeRequiredMeaning
refpathstringyes

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

Say what a scenario would change

Replaces the applications it names, each retired, consolidated into another, or replaced by another. Its effect is worked out again. No application changes.

ParameterInTypeRequiredMeaning
refpathstringyes

JSON body:

FieldTypeRequiredMeaning
changeslist of ScenarioChangeBodyyes

POST /api/v1/scenarios/{ref}/initiative#

Make an initiative of a scenario

A proposed initiative naming the same applications. The scenario changes no more.

ParameterInTypeRequiredMeaning
refpathstringyes

JSON body:

FieldTypeRequiredMeaning
namestringThe scenario's, if none
org_unit_idintegerThe first application's, if none

GET /api/v1/shares#

Shares of the portfolio: the costliest tenth, and others

Which applications are at one end of the portfolio. A share never feeds a score.

GET /api/v1/trends#

How the portfolio moved between two snapshots

The figures each held, the applications whose recommendation changed, whose scores moved by half a point or more, and whose flags came or went, and the decisions recorded between them.

ParameterInTypeRequiredMeaning
beforequerystringyesThe earlier portfolio snapshot's reference
afterquerystringThe later one; today if none

Integration#

GET /api/v1/admin/tokens#

The API tokens, and when each was last used

POST /api/v1/admin/tokens#

Issue an API token

The token itself is in the answer, and never again: only its hash is kept.

JSON body:

FieldTypeRequiredMeaning
expires_onstringYYYY-MM-DD; 90 days if none
namestringyesWhat it is for, such as the system using it
org_unit_idintegerThe unit it is for, if any
read_onlybooleanWhether it may only read
rolestringyesmanager, architect, auditor, leader, steward, or member

DELETE /api/v1/admin/tokens/{token_id}#

Revoke an API token

ParameterInTypeRequiredMeaning
token_idpathintegeryes

GET /api/v1/admin/webhooks#

The webhooks, and how their deliveries are going

POST /api/v1/admin/webhooks#

Add a webhook

Its signing secret is in the answer, and never again.

JSON body:

FieldTypeRequiredMeaning
activeboolean
namestring
topicslist of stringWhat it is told of
urlstringAn https:// address

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

Remove a webhook

ParameterInTypeRequiredMeaning
webhook_idpathintegeryes

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

Change a webhook, or switch it off or on

ParameterInTypeRequiredMeaning
webhook_idpathintegeryes

JSON body:

FieldTypeRequiredMeaning
activeboolean
namestring
topicslist of stringWhat it is told of
urlstringAn https:// address

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

Send a test delivery now

ParameterInTypeRequiredMeaning
webhook_idpathintegeryes

GET /api/v1/applications/{ref}/suggestions#

Changes proposed to an application

ParameterInTypeRequiredMeaning
refpathstringyes

POST /api/v1/applications/{ref}/suggestions#

Propose a change

Nothing on the record changes: someone who keeps it accepts or dismisses it.

ParameterInTypeRequiredMeaning
refpathstringyes

JSON body:

FieldTypeRequiredMeaning
fieldstringyesThe field, such as summary or users
notestringWhy
valueyesThe value proposed for it

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

Is this application approved, and for this data?

Whether the application is approved for new use: in service and open to it, with a decision that keeps it, and nothing past its end of support; with data_class, allowed says whether its record also says it handles that class. Every reason is given. A restricted application the asker may not see is answered 404.

ParameterInTypeRequiredMeaning
refpathstringyes
data_classquerystringA data class's key, if asking

POST /api/v1/suggestions/{suggestion_id}/accept#

Accept a proposed change

The change is made as yours, checked by the same rules as any edit.

ParameterInTypeRequiredMeaning
suggestion_idpathintegeryes

POST /api/v1/suggestions/{suggestion_id}/dismiss#

Dismiss a proposed change

ParameterInTypeRequiredMeaning
suggestion_idpathintegeryes

GET /api/v1/tokens#

Your own API tokens

POST /api/v1/tokens#

Make a token of your own

It acts as you: it reads what you may, and proposes changes for you to accept. The token is in the answer, and never again.

JSON body:

FieldTypeRequiredMeaning
expires_onstringYYYY-MM-DD; 90 days if none
namestringyesWhat it is for, such as an assistant

DELETE /api/v1/tokens/{token_id}#

Revoke a token of your own

ParameterInTypeRequiredMeaning
token_idpathintegeryes

Assistant#

POST /api/v1/assistant/ask#

Ask a question about the portfolio

An answer from the applications the person may see, with links to the records it cites. 404 if there is no assistant.

JSON body:

FieldTypeRequiredMeaning
questionstringyesA question about the portfolio

POST /api/v1/assistant/draft#

Draft an application from a document

Values for the form to add an application, from the document's text. Nothing is saved: the person reads, corrects, and adds it themselves. 404 if there is no assistant.

JSON body:

FieldTypeRequiredMeaning
textstringyesA document describing the application

GET /api/v1/assistant/exchanges#

What has been asked of the assistant

Program#

GET /api/v1/program#

The program as it stands, and what may be changed

PUT /api/v1/program/decision-rules#

Who may decide, and whether stages are gated

JSON body:

FieldTypeRequiredMeaning
owners_may_decidebooleanWhether an application's accountable owner may record its decision, if they are also a manager or a leader over it
stage_gatesbooleanWhether an application may move to a later stage only with what that stage requires

PUT /api/v1/program/fields#

The organization's own fields, and which are sensitive

JSON body:

FieldTypeRequiredMeaning
fieldslist of objectyes
sensitive_fieldslist of string

PUT /api/v1/program/questionnaire#

Publish new wording of the questions

JSON body:

FieldTypeRequiredMeaning
definitionobjectyes

PUT /api/v1/program/scoring#

Publish a new version of the scoring model

JSON body:

FieldTypeRequiredMeaning
definitionobjectyes

POST /api/v1/program/scoring/preview#

What a changed scoring model would change

Every application in service whose scores, confidence, recommendation, or flags would differ. Nothing is saved.

JSON body:

FieldTypeRequiredMeaning
definitionobjectyes

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

Rename, reorder, add to, or retire a list

ParameterInTypeRequiredMeaning
namepathstringyes

JSON body:

FieldTypeRequiredMeaning
itemslist of objectyesEvery value in order: its key, label, and any description; new values may leave the key empty; retired values say so
Describes AppWren 0.10.1. Apache License 2.0. Screenshots show an invented organization; every person and record in them is fictional.