POST
https://api.examplary.ai/audit-logsAdd an entry to the workspace's audit log on behalf of an OAuth application, e.g. to record actions taken in an integrated system. Only available with an OAuth access token.
Request body
actionstring· max length: 100· pattern: ^[a-z-_]+(\.[a-z-_]+)+$required
Action in 'resource.action' form, e.g. 'report.exported'
objectstring· min length: 1· max length: 200required
ID of the object acted on
sessionstring· max length: 200
reasonstring· max length: 2000
beforeany
State before the action
afterany
State after the action
Responses
201 — The created audit log entry.
403 — Not authenticated with an OAuth access token.
429 — Rate limit exceeded
Requirements
Rate limit
300 requests per minute per user.
OAuth scopes
This endpoint requires the audit-logs:write scope to be present.