Audit
/audit/organizations/{organizationId}API Key access
In: header
Path Parameters
Organization ID
Query Parameters
Page number of the results
1 <= value1Number of results per page
1 <= value <= 200100Deprecated alias for createdAt[gte]. From date (ISO 8601 format).
date-timeDeprecated alias for createdAt[lte]. To date (ISO 8601 format).
date-timeToken for cursor-based pagination. When provided, takes precedence over page parameter.
Filter by audit log ID.
Filter by actor user ID.
Filter by actor email.
Filter by actor API key prefix.
Filter by actor API key suffix.
Filter by action.
Filter by target type.
Filter by target ID.
Filter by HTTP status code.
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"}/audit/scenariosReturns 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" ] } ]}