Access overrides lost by scans, with the items they may have moved to.
const url = 'https://api.contentsurface.io/v1/admin/lost-overrides?mountFolderId=nod_01j9n4wqr0e008000000000002&reviewed=false&limit=50&cursor=eyJrIjpbIkZpbmFuY2UiXSwiaSI6IjAxOTI2YTRlIn0';const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request GET \ --url 'https://api.contentsurface.io/v1/admin/lost-overrides?mountFolderId=nod_01j9n4wqr0e008000000000002&reviewed=false&limit=50&cursor=eyJrIjpbIkZpbmFuY2UiXSwiaSI6IjAxOTI2YTRlIn0' \ --header 'Authorization: Bearer <token>'Access overrides scans lost, newest first. A scan loses an override when it finds the item gone from the source and no move key carried it to a new item: a move to another mount folder, a copy then delete, a migration. The item that took its place inherits its parent’s access, which may be wider. Each lost override names up to three live items of the same connection, created since, with the same name or content: open one in the access editor and set the override again where it belongs. An override whose old item was restored is left out. Repository admins.
Authorizations
Section titled “Authorizations”Parameters
Section titled “Parameters”Query Parameters
Section titled “Query Parameters”Only those below this mount folder (nod_…).
Example
nod_01j9n4wqr0e008000000000002false for those waiting for review, true for reviewed ones; both when left out.
Example
falseLost overrides per page, 1–100; default 50.
Example
50The nextCursor of the previous page.
Example
eyJrIjpbIkZpbmFuY2UiXSwiaSI6IjAxOTI2YTRlIn0Responses
Section titled “Responses”OK
A page of a keyset-paged list: the items and the cursor to continue from, null on the last page.
object
The items of this page, in the list’s order.
An access override lost because a scan found its item gone and no move key carried it to a new one.
object
The lost override (lov_…).
The old item (nod_…); deleted, and removed for good after the retention period.
The mount folder it was below (nod_…).
The old item’s name.
Its path in ContentSurface when it was lost.
The reason the override was set with.
What the override granted.
One grant of a lost override.
object
The access label (alb_…).
Its name when the override was lost.
The rights it granted: read.
When the scan lost it.
When an admin acknowledged the mount folder’s notice; null while waiting for review.
Who did (usr_…).
Up to three live items of the same connection, created since, with the same name or content.
A live item that may be where the lost override’s item went.
object
The item (nod_…): open it in the access editor to apply the override again.
Its path in ContentSurface.
True when its content is the same as the old item’s; otherwise only its name is.
Pass as cursor to read the next page; null on the last page.
True when there is a next page (nextCursor is set).
Example
{ "items": [ { "id": "lov_01j9n4xvr0e008000000000001", "nodeId": "nod_01j9n4wqr0e008000000000004", "mountFolderId": "nod_01j9n4wqr0e008000000000002", "name": "Salaries 2026.xlsx", "oldPath": "/Finance/Finance share/HR/Salaries 2026.xlsx", "reason": "Salaries for the finance team only.", "grants": [ { "labelId": "alb_01j9n4wfr0e008000000000001", "label": "Finance", "rights": [ "read" ] } ], "lostAt": "2026-11-03T15:12:00+00:00", "reviewedAt": null, "reviewedBy": null, "candidates": [ { "nodeId": "nod_01j9n4wqr0e008000000000003", "path": "/Finance/Finance share/Archive/Salaries 2026.xlsx", "sameContent": true } ] } ], "nextCursor": null, "hasMore": false}The request is not valid: a malformed ID, body, filter or parameter.
RFC 9457 problem details. code is the stable reason; confirmation problems add impact and impactToken.
object
urn:contentsurface:problem:{code}.
A short summary for people; may change.
The HTTP status code.
What happened in this case, for people; may change.
The stable, machine-readable reason, such as version-mismatch; branch on this.
For validation-failed: the request field that is not valid.
For confirmation-required: repeat the call with ?confirm={impactToken} to go ahead.
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).
RFC 9457 problem details. code is the stable reason; confirmation problems add impact and impactToken.
object
urn:contentsurface:problem:{code}.
A short summary for people; may change.
The HTTP status code.
What happened in this case, for people; may change.
The stable, machine-readable reason, such as version-mismatch; branch on this.
For validation-failed: the request field that is not valid.
For confirmation-required: repeat the call with ?confirm={impactToken} to go ahead.
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.
RFC 9457 problem details. code is the stable reason; confirmation problems add impact and impactToken.
object
urn:contentsurface:problem:{code}.
A short summary for people; may change.
The HTTP status code.
What happened in this case, for people; may change.
The stable, machine-readable reason, such as version-mismatch; branch on this.
For validation-failed: the request field that is not valid.
For confirmation-required: repeat the call with ?confirm={impactToken} to go ahead.
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: repositoryAdmin.", "code": "role-required"}Absent: not existing, in another tenant, or not readable by the caller — never distinguished.
RFC 9457 problem details. code is the stable reason; confirmation problems add impact and impactToken.
object
urn:contentsurface:problem:{code}.
A short summary for people; may change.
The HTTP status code.
What happened in this case, for people; may change.
The stable, machine-readable reason, such as version-mismatch; branch on this.
For validation-failed: the request field that is not valid.
For confirmation-required: repeat the call with ?confirm={impactToken} to go ahead.
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.
RFC 9457 problem details. code is the stable reason; confirmation problems add impact and impactToken.
object
urn:contentsurface:problem:{code}.
A short summary for people; may change.
The HTTP status code.
What happened in this case, for people; may change.
The stable, machine-readable reason, such as version-mismatch; branch on this.
For validation-failed: the request field that is not valid.
For confirmation-required: repeat the call with ?confirm={impactToken} to go ahead.
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}