List recent API request log entries
Returns recent API requests recorded for the workspace — method, path, status, principal, idempotency key, duration, and error label — so key usage can be audited. Requires the `api_keys:read` permission. Pass `limit` to cap how many entries come back; a non-integer `limit` is a validation error.
Authorization
apiKey Workspace API key created in Workspace settings → API keys. Scopes on the key bound what it can read and write.
In: header
Path Parameters
Query Parameters
Response Body
application/json
application/json
application/json
curl -X GET "https://example.com/v1/workspaces/string/api-keys/request-logs"{ "data": [ { "id": "string", "workspaceId": "string", "apiKeyId": "string", "principalType": "string", "principalId": "string", "method": "string", "path": "string", "status": 0, "idempotencyKey": "string", "error": "string", "durationMs": 0, "createdAt": "string" } ]}{ "_tag": "ApiNotFound", "error": "not_found", "message": "That item does not exist, or this key cannot see it.", "status": 404}{ "_tag": "ApiNotFound", "error": "not_found", "message": "That item does not exist, or this key cannot see it.", "status": 404}Revoke a workspace API key
Marks the key revoked so it can no longer authenticate, and records the revocation on the workspace event log. Requires the `api_keys:write` permission; a key id that does not belong to this workspace is not found. Send an `Idempotency-Key` header to make retries safe; a replay within the window returns the original response.
List the items that link to an item
Returns the inbound links to a workspace item — the pages, records, and surfaces whose content references it. Requires an authenticated actor with read access to the item; an unreadable or missing item is reported as not found. Pass `limit` to cap the number of backlinks returned; a non-integer `limit` is rejected as a query validation error.