Settings
View as Markdown

Read the audit log

Needs a full-access key (*). About scopes

GET
/api/v1/audit-log

Authorization

Authorization
Required
Bearer <token>

An API key: gpy_test_… or gpy_live_… (or an agent key, agk_…).

In: header

Query Parameters

limitstring

Default 20, max 100.

cursorstring

next_cursor from the previous page.

actorstring

Filter by acting user id.

Format: "uuid"

fromstring

Format: "date-time"

tostring

Format: "date-time"
curl -X GET "https://globalymint.com/api/v1/audit-log?limit=string&cursor=string&actor=3fa85f64-5717-4562-b3fc-2c963f66afa6&from=2019-08-24T14%3A15%3A22Z&to=2019-08-24T14%3A15%3A22Z" \
  -H "Authorization: Bearer <token>"

A page of audit entries.

{
  "data": {
    "items": [
      {
        "id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
        "actorId": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
        "actorType": "user",
        "method": "string",
        "path": "string",
        "resourceType": "string",
        "resourceId": "string",
        "statusCode": 0,
        "payloadDelta": {
          "property1": null,
          "property2": null
        },
        "requestId": "string",
        "occurredAt": "2019-08-24T14:15:22Z"
      }
    ],
    "next_cursor": "string"
  },
  "_agent": {
    "summary": "string",
    "status": "ok",
    "next_actions": [
      "string"
    ],
    "warnings": [
      "string"
    ]
  },
  "api_version": "2026-07-01"
}