Skip to content

Get the history of changes for a risk

GET
/v1/risks/{id}/history
id
required
string

String-formatted RiskId, i.e. RSK-1, RSK-00001

Example
RSK-1
page
integer format: int64
default: 1 >= 1 <= 1000000

1-indexed page number. Defaults to 1; zero is rejected.

page_size
integer format: int64
default: 100 >= 1 <= 500

Rows per page. Defaults to 100, max 500; zero is rejected.

List the risk history

Paginated list envelope: { "results": [...], "pagination": {...} }.

object
pagination
required

Pagination metadata describing the slice.

object
page
required

1-indexed page number of this result slice.

integer format: int64
page_size
required

Number of items requested per page.

integer format: int64
total_items
required

Total number of matching items across all pages.

integer format: int64
total_pages
required

Total number of pages at this page size.

integer format: int64
results
required

The items on this page.

Array<object>

A single entry in the history list, representing a set of simultaneous changes to an item

object
changes
required
Array
One of:

Generic text or enum-display field (status, severity, title, description, …).

object
field
required
string
kind
required
string
Allowed values: text
new
string | null
old
string | null
is_creation
required

True only for the actual first (creation) history row. False for all subsequent rows, including dummy rows inserted by touch_history() when a comment is added.

boolean
timestamp
required
string format: date-time
user
required

A User as returned by the API.

Profile images are not embedded — clients fetch them from GET /api/v1/{icon} when icon is Some.

object
email
required
string
first_name
required
string
icon

Relative path to the user’s avatar endpoint, e.g. "users/{id}/avatar?v={hash}". None when the user has no avatar.

string | null
id
required
string format: uuid
last_name
required
string

AKRs do not support history

Risk not found