Admin-only, cross-workspace access-audit trail (paginated, newest first)

Authenticate every request with Authorization: Bearer <token> — a JWT or API token.

Download OpenAPI JSON
Overview
GET/system/access-auditsystem

Admin-only, cross-workspace access-audit trail (paginated, newest first)

List access-audit.

Auth: bearerAuth — calls run as the authenticated user.

Parameters
  • pagequery · optionalstring
  • pageSizequery · optionalstring
Responses
200

Audit page

  • itemsAccessAuditEntry[]
  • pageinteger
  • pageSizeinteger

    Clamped 1..200

  • totalinteger

    Saturates at a 10,000-row count cap

Example
{
  "items": [
    {
      "id": "string",
      "ownerKind": "string",
      "ownerId": "string",
      "actorKind": "string",
      "actorId": "string",
      "actorEmail": "string",
      "action": "string",
      "subjectKind": "string",
      "subjectId": "string",
      "targetFeature": "string",
      "targetItemId": "string",
      "roleId": "string",
      "before": {},
      "after": {},
      "at": "string"
    }
  ],
  "page": 0,
  "pageSize": 0,
  "total": 0
}
401

Error

  • erroroptionalobject
Example
{
  "error": {
    "message": "string",
    "code": "string"
  }
}
403

Error

  • erroroptionalobject
Example
{
  "error": {
    "message": "string",
    "code": "string"
  }
}
Code examples
cURL
curl -X GET "https://api.agenticdeveloperhub.com/system/access-audit" \
  -H "Authorization: Bearer YOUR_TOKEN"
JavaScript
const res = await fetch("https://api.agenticdeveloperhub.com/system/access-audit", {
  method: "GET",
  headers: {
    "Authorization": "Bearer YOUR_TOKEN"
  },
});
const data = await res.json();