Sign Up

Audit

GET/audit/organizations/{organizationId}
AuthorizationBearer <token>

API Key access

In: header

Path Parameters

organizationId*string

Organization ID

Query Parameters

page?number

Page number of the results

Range1 <= value
Default1
limit?number

Number of results per page

Range1 <= value <= 200
Default100
from?string
Deprecated

Deprecated alias for createdAt[gte]. From date (ISO 8601 format).

Formatdate-time
to?string
Deprecated

Deprecated alias for createdAt[lte]. To date (ISO 8601 format).

Formatdate-time
nextToken?string

Token for cursor-based pagination. When provided, takes precedence over page parameter.

id?

Filter by audit log ID.

actorId?

Filter by actor user ID.

actorEmail?

Filter by actor email.

actorApiKeyPrefix?

Filter by actor API key prefix.

actorApiKeySuffix?

Filter by actor API key suffix.

action?

Filter by action.

targetType?

Filter by target type.

targetId?

Filter by target ID.

statusCode?

Filter by HTTP status code.

createdAt?

Filter by creation timestamp.

Response Body

application/json

curl -X GET "https://example.com/audit/organizations/string"
{  "items": [    {      "id": "string",      "actorId": "string",      "actorEmail": "string",      "actorApiKeyPrefix": "string",      "actorApiKeySuffix": "string",      "organizationId": "string",      "action": "string",      "targetType": "string",      "targetId": "string",      "statusCode": 0,      "errorMessage": "string",      "ipAddress": "string",      "userAgent": "string",      "source": "string",      "metadata": {},      "createdAt": "2019-08-24T14:15:22Z"    }  ],  "total": 0,  "page": 0,  "totalPages": 0,  "nextToken": "string"}
GET/audit/scenarios

Returns the supported audit log actions grouped by target type. The list is derived at runtime from the audited routes and system events, so it always reflects what can actually appear in the audit log.

Response Body

application/json

curl -X GET "https://example.com/audit/scenarios"
{  "targets": [    {      "targetType": "api_key",      "actions": [        "create"      ]    }  ]}