Skip to content

List audit events

GET
/api/v1/workspaces/{workspaceId}/audit
curl --request GET \
--url 'https://app.monitorly.cloud/api/v1/workspaces/WORKSPACE_ID/audit?projectId=PROJECT_ID&limit=50' \
--cookie __Host-monitorly_session=<__Host-monitorly_session>

Who changed what and how (ui, api, cli, mcp), newest first: the whole workspace for the owner and admins, one project’s with projectId for its admin.

workspaceId
required
string format: uuid

The workspace’s id.

Example

WORKSPACE_ID
projectId
string format: uuid

Only this project’s events (project admin is enough); without it, the whole workspace (admin+).

Example

PROJECT_ID
cursor
string

The nextCursor of the previous page. Leave it out for the first page.

limit
integer format: int32
default: 50 >= 1 <= 200

Items per page, 1–200; 50 by default. A larger value counts as 200.

A page of events.

Media typeapplication/json
object
items
required
Array<object>
object
action
required

<resource>.<verb>, for example check.create, status_page.delete, config.apply.

string
actor
required
object
name

The user’s current display name: a deleted account keeps it for 30 days, then it is Deleted user (names says deleted); null only for an account removed before 2026-11-16.

string | null
tokenId

The API token the change was made with.

string | null format: uuid
tokenName
string | null
userId
required
string format: uuid
after

The resource after the change; null for deletions.

at
required
string
before

The resource before the change (the api’s view, without secrets); null for creations.

id
required
string format: uuid
names
required

What the ids in this event stand for (resourceId, projectId, actor.userId and every id inside before and after), keyed by id: only the ones the api can name for the reader. Ids missing here are unknown, or in a project a project admin does not see.

object
key
additional properties

An id in the log by name.

object
name

Null when the log never had its name (a resource deleted without one in its snapshots).

string | null
state
required

Whether what an id in the log stands for still exists.

string
Allowed values: active deleted revoked
type
required

workspace, project, check, status_page, maintenance_window, page_incident, alert_channel, node, api_token or user.

string
projectId
string | null format: uuid
resourceId
string | null format: uuid
resourceType
required
string
targetName

The display name of the resource (resourceId), as names has it; null when unknown.

string | null
via
required

Where a change came from.

string
Allowed values: ui api mcp cli admin
workspaceId
required
string format: uuid
nextCursor
string | null

Example

{
"items": [
{
"actor": {
"tokenId": "TOKEN_ID",
"userId": "USER_ID"
},
"id": "ID",
"names": {
"additionalProperty": {
"state": "active"
}
},
"projectId": "PROJECT_ID",
"resourceId": "RESOURCE_ID",
"via": "ui",
"workspaceId": "WORKSPACE_ID"
}
]
}

Bad Request.

  • request.malformed: the body or a parameter is not of the expected shape
  • request.invalid_cursor: the cursor is not one this list gave
  • auth.credentials_conflict: the request carries both a session cookie and a token
Media typeapplication/problem+json
object
detail
string | null
errors
required

Field errors, empty for errors of the whole request.

Array<object>
object
code
required
string
params
required
object
key
additional properties
pointer
required

JSON pointer into the request body.

string
status
required
integer format: int32
title
required
string
type
required

Stable code, for example check.timeout_exceeds_interval.

string

Example generated

{
"detail": "example",
"errors": [
{
"code": "example",
"params": {
"additionalProperty": "example"
},
"pointer": "example"
}
],
"status": 1,
"title": "example",
"type": "example"
}

Unauthorized.

  • auth.unauthenticated, auth.session_expired: no session, or it ended
  • token.invalid: the token is malformed, unknown, revoked or expired, or its creator left the workspace
Media typeapplication/problem+json
object
detail
string | null
errors
required

Field errors, empty for errors of the whole request.

Array<object>
object
code
required
string
params
required
object
key
additional properties
pointer
required

JSON pointer into the request body.

string
status
required
integer format: int32
title
required
string
type
required

Stable code, for example check.timeout_exceeds_interval.

string

Example generated

{
"detail": "example",
"errors": [
{
"code": "example",
"params": {
"additionalProperty": "example"
},
"pointer": "example"
}
],
"status": 1,
"title": "example",
"type": "example"
}

Forbidden.

  • auth.forbidden: your role is too low for this
  • token.not_allowed: this operation needs a signed-in session; tokens cannot call it
Media typeapplication/problem+json
object
detail
string | null
errors
required

Field errors, empty for errors of the whole request.

Array<object>
object
code
required
string
params
required
object
key
additional properties
pointer
required

JSON pointer into the request body.

string
status
required
integer format: int32
title
required
string
type
required

Stable code, for example check.timeout_exceeds_interval.

string

Example generated

{
"detail": "example",
"errors": [
{
"code": "example",
"params": {
"additionalProperty": "example"
},
"pointer": "example"
}
],
"status": 1,
"title": "example",
"type": "example"
}

Not Found.

  • request.not_found: it does not exist, or you cannot see it
Media typeapplication/problem+json
object
detail
string | null
errors
required

Field errors, empty for errors of the whole request.

Array<object>
object
code
required
string
params
required
object
key
additional properties
pointer
required

JSON pointer into the request body.

string
status
required
integer format: int32
title
required
string
type
required

Stable code, for example check.timeout_exceeds_interval.

string

Example generated

{
"detail": "example",
"errors": [
{
"code": "example",
"params": {
"additionalProperty": "example"
},
"pointer": "example"
}
],
"status": 1,
"title": "example",
"type": "example"
}

Unprocessable Entity.

  • field.invalid, field.required: a parameter breaks a rule; errors points at it
Media typeapplication/problem+json
object
detail
string | null
errors
required

Field errors, empty for errors of the whole request.

Array<object>
object
code
required
string
params
required
object
key
additional properties
pointer
required

JSON pointer into the request body.

string
status
required
integer format: int32
title
required
string
type
required

Stable code, for example check.timeout_exceeds_interval.

string

Example generated

{
"detail": "example",
"errors": [
{
"code": "example",
"params": {
"additionalProperty": "example"
},
"pointer": "example"
}
],
"status": 1,
"title": "example",
"type": "example"
}