Skip to content

Audit events of a case

GET
/api/v1/cases/{id}/audit
curl --request GET \
--url 'https://example.com/api/v1/cases/2489E9AD-2EE2-8E00-8EC9-32D5F69181C0/audit?limit=50'

Events in order of occurrence; the cursor continues after the last event seen.

id
required
Id
string format: uuid
cursor
Any of:
string
>= 1 characters <= 256 characters
limit
Limit
integer
default: 50 >= 1 <= 100

Successful Response

Media typeapplication/json
AuditListResponse

Audit events of a case.

object
items
required
Items
Array<object>
AuditEvent

One audit record; events are never edited.

object
action
required
Action
string
actor
required
Actor
string
created_at
required
Created At
string format: date-time
id
required
Id

Monotonic integer; also the position of the audit cursor

integer
>= 1
payload
Payload
object
key
additional properties
any
request_id
Any of:
string
next_cursor
Any of:
string

Example generated

{
"items": [
{
"action": "example",
"actor": "example",
"created_at": "2026-04-15T12:00:00Z",
"id": 1,
"payload": {},
"request_id": "example"
}
],
"next_cursor": "example"
}

Not Found

Problem

Application/problem+json body. Extension members (for example job_id) are allowed.

object
detail
Any of:
string
errors
Any of:
Array<object>
FieldError

One validation failure: where, what, and a stable machine code (never the input value).

object
loc
required
Loc
Array
msg
required
Msg
string
type
required
Type
string
instance
Any of:
string
request_id
required
Request Id
string
status
required
Status
integer
title
required
Title
string
type
Type
string
default: about:blank
key
additional properties
any

Example

{
"type": "about:blank"
}

Validation Error

Media typeapplication/json
HTTPValidationError
object
detail
Detail
Array<object>
ValidationError
object
ctx
Context
object
input
Input
loc
required
Location
Array
msg
required
Message
string
type
required
Error Type
string

Example generated

{
"detail": [
{
"ctx": {},
"input": "example",
"loc": [
"example"
],
"msg": "example",
"type": "example"
}
]
}

Map data © OpenStreetMap contributors, under the Open Database Licence. Code under the Apache-2.0 licence. Made by Yogesh.

Changeset Second Opinion is an independent open source tool for OpenStreetMap reviewers. It is not endorsed by, sponsored by or affiliated with the OpenStreetMap Foundation. OpenStreetMap is a trademark of the OpenStreetMap Foundation, used under itstrademark policy.