Skip to content

The change log, newest first, filtered by object (either side), actor, change type and time; keyset-paged.

GET
/v1/admin/change-log
curl --request GET \
--url 'https://api.contentsurface.io/v1/admin/change-log?objectId=grp_01j9n4wbr0e008000000000001&objectType=acl&actorUserId=usr_01j9n4w7r0e008000000000001&changeType=updated&from=2026-11-01T00%3A00%3A00Z&to=2026-11-08T00%3A00%3A00Z&limit=50&cursor=eyJrIjpbIkZpbmFuY2UiXSwiaSI6IjAxOTI2YTRlIn0' \
--header 'Authorization: Bearer <token>'

The change log, newest first: every administrative change, one entry per object changed, with who made it, through which client, why, and what changed — and access changes ContentSurface made itself, such as trimming overrides. Entries are never changed or deleted. Filters combine; objectId matches an entry on either side, so a user’s entries include their group memberships. Tenant admins and repository admins.

objectId
string

Only entries naming this object, on either side; any type-prefixed ID.

Example

grp_01j9n4wbr0e008000000000001
objectType
string

With a node ID: acl, virtualFolder or mountFolder.

Example

acl
actorUserId
string

Only changes this admin made (usr_…).

Example

usr_01j9n4w7r0e008000000000001
changeType
string

Only created, updated, deleted, restored, added or removed.

Example

updated
from
string format: date-time

Only entries from this time on.

Example

2026-11-01T00:00:00Z
to
string format: date-time

Only entries before this time.

Example

2026-11-08T00:00:00Z
limit
integer | string format: int32
/^-?(?:0|[1-9]\d*)$/

Page size, 1–200; default 50.

Example

50
cursor
string

The nextCursor of the previous page; omit for the first page.

Example

eyJrIjpbIkZpbmFuY2UiXSwiaSI6IjAxOTI2YTRlIn0

OK

Media typeapplication/json

A page of a keyset-paged list: the items and the cursor to continue from, null on the last page.

object
items
required

The items of this page, in the list’s order.

Array<object>

One change-log entry: one administrative change of one object, with who made it and why.

object
createdAt
required

When the change was made.

string format: date-time
requestId
required

The API request that made it: entries of one request belong together.

string
actorKind
required

user (an admin), system (ContentSurface itself, such as trimming access below a change) or vendorOperator (ContentSurface support, recovering ownership).

string
actorUserId
required

The admin who made it (usr_…); null for the system.

null | string
actorName
required

The admin’s current name (the email while they have none), looked up when the log is read and never stored; null for the system and once the admin is deleted.

null | string
actorClientId
required

The client application they used: portal or cli_….

null | string
changeType
required

created, updated, deleted, restored, added or removed.

string
target
required

The object changed.

object
type
required

Its kind: tenant, user, group, accessLabel, clientApplication, acl, virtualFolder, mountFolder, connection, agent, mountPoint, attribute, documentType, relationDefinition, and the like.

string
id
required

Its ID, type-prefixed; null for the tenant itself.

null | string
name
required

Its name when the change was made. For a user, their current name (the email while they have none), looked up when the log is read and never stored; null once the user is deleted.

null | string
targetVersion
required

The object’s version after the change.

null | integer | string format: int64
/^-?(?:0|[1-9]\d*)$/
related
required
One of:
null
reason
required

The reason given.

null | string
payload
required

What changed, as the change’s own fields; its shape depends on the object and change.

nextCursor
required

Pass as cursor to read the next page; null on the last page.

null | string
hasMore

True when there is a next page (nextCursor is set).

boolean

Example

{
"items": [
{
"createdAt": "2026-11-03T15:12:00+00:00",
"requestId": "0HN7Q2K4M8R1",
"actorKind": "user",
"actorUserId": "usr_01j9n4w7r0e008000000000001",
"actorName": "Ivana Kovač",
"actorClientId": "portal",
"changeType": "added",
"target": {
"type": "group",
"id": "grp_01j9n4wbr0e008000000000001",
"name": "Finance"
},
"targetVersion": null,
"related": {
"type": "user",
"id": "usr_01j9n4w7r0e008000000000002",
"name": "Maria Novak"
},
"reason": "Joins the finance team in November.",
"payload": {}
},
{
"createdAt": "2026-11-03T15:07:00+00:00",
"requestId": "0HN7Q2K4M8Q9",
"actorKind": "user",
"actorUserId": "usr_01j9n4w7r0e008000000000002",
"actorName": "Maria Novak",
"actorClientId": "portal",
"changeType": "updated",
"target": {
"type": "acl",
"id": "nod_01j9n4wqr0e008000000000001",
"name": "Finance"
},
"targetVersion": 3,
"related": null,
"reason": "Finance documents for the finance team.",
"payload": {
"grants": [
{
"labelId": "alb_01j9n4wfr0e008000000000001",
"rights": [
"read"
]
}
]
}
}
],
"nextCursor": "eyJrIjpbIkZpbmFuY2UiXSwiaSI6IjAxOTI2YTRlIn0",
"hasMore": true
}

The request is not valid: a malformed ID, body, filter or parameter.

Media typeapplication/problem+json

RFC 9457 problem details. code is the stable reason; confirmation problems add impact and impactToken.

object
type

urn:contentsurface:problem:{code}.

string
title

A short summary for people; may change.

string
status

The HTTP status code.

integer
detail

What happened in this case, for people; may change.

string
code

The stable, machine-readable reason, such as version-mismatch; branch on this.

string
field

For validation-failed: the request field that is not valid.

string
impactToken

For confirmation-required: repeat the call with ?confirm={impactToken} to go ahead.

string
impact

For confirmation-required: what the change would affect, such as the users or folders losing access.

Example

{
"type": "urn:contentsurface:problem:validation-failed",
"title": "The request is not valid.",
"status": 400,
"detail": "'cursor' is not a cursor this API returned.",
"code": "validation-failed",
"field": "cursor"
}

No valid access token, or it no longer holds for the user (suspended, signed out, relation removed).

Media typeapplication/problem+json

RFC 9457 problem details. code is the stable reason; confirmation problems add impact and impactToken.

object
type

urn:contentsurface:problem:{code}.

string
title

A short summary for people; may change.

string
status

The HTTP status code.

integer
detail

What happened in this case, for people; may change.

string
code

The stable, machine-readable reason, such as version-mismatch; branch on this.

string
field

For validation-failed: the request field that is not valid.

string
impactToken

For confirmation-required: repeat the call with ?confirm={impactToken} to go ahead.

string
impact

For confirmation-required: what the change would affect, such as the users or folders losing access.

Example

{
"type": "urn:contentsurface:problem:unauthorized",
"title": "Not authenticated.",
"status": 401,
"detail": "A valid access token is required.",
"code": "unauthorized"
}

Authenticated but not allowed: a missing scope or role, an impersonated token on an admin endpoint, or an inactive tenant.

Media typeapplication/problem+json

RFC 9457 problem details. code is the stable reason; confirmation problems add impact and impactToken.

object
type

urn:contentsurface:problem:{code}.

string
title

A short summary for people; may change.

string
status

The HTTP status code.

integer
detail

What happened in this case, for people; may change.

string
code

The stable, machine-readable reason, such as version-mismatch; branch on this.

string
field

For validation-failed: the request field that is not valid.

string
impactToken

For confirmation-required: repeat the call with ?confirm={impactToken} to go ahead.

string
impact

For confirmation-required: what the change would affect, such as the users or folders losing access.

Example

{
"type": "urn:contentsurface:problem:role-required",
"title": "Not allowed.",
"status": 403,
"detail": "This endpoint requires one of the roles: tenantAdmin, repositoryAdmin.",
"code": "role-required"
}

Absent: not existing, in another tenant, or not readable by the caller — never distinguished.

Media typeapplication/problem+json

RFC 9457 problem details. code is the stable reason; confirmation problems add impact and impactToken.

object
type

urn:contentsurface:problem:{code}.

string
title

A short summary for people; may change.

string
status

The HTTP status code.

integer
detail

What happened in this case, for people; may change.

string
code

The stable, machine-readable reason, such as version-mismatch; branch on this.

string
field

For validation-failed: the request field that is not valid.

string
impactToken

For confirmation-required: repeat the call with ?confirm={impactToken} to go ahead.

string
impact

For confirmation-required: what the change would affect, such as the users or folders losing access.

Example

{
"type": "urn:contentsurface:problem:not-found",
"title": "Not found.",
"status": 404,
"detail": "The resource does not exist.",
"code": "not-found"
}

Load protection: the tenant is making too many calls, or running too many searches or content streams, at once. Transient and never a quota; retry after Retry-After seconds.

Media typeapplication/problem+json

RFC 9457 problem details. code is the stable reason; confirmation problems add impact and impactToken.

object
type

urn:contentsurface:problem:{code}.

string
title

A short summary for people; may change.

string
status

The HTTP status code.

integer
detail

What happened in this case, for people; may change.

string
code

The stable, machine-readable reason, such as version-mismatch; branch on this.

string
field

For validation-failed: the request field that is not valid.

string
impactToken

For confirmation-required: repeat the call with ?confirm={impactToken} to go ahead.

string
impact

For confirmation-required: what the change would affect, such as the users or folders losing access.

Example

{
"type": "urn:contentsurface:problem:too-many-requests",
"title": "Too many requests.",
"status": 429,
"detail": "The tenant is making more API calls than one replica serves at once; retry shortly.",
"code": "too-many-requests",
"retryAfter": 1
}