WorkOS audit-logs API
Create and query audit log events.
WorkOS audit-logs API is one of 41 APIs that WorkOS publishes on the APIs.io network, described by a machine-readable OpenAPI specification.
Tagged areas include audit-logs. The published artifact set on APIs.io includes an OpenAPI specification, API documentation, an API reference, a GitHub repository, a changelog, and pricing.
This API exposes 8 operations across 6 paths, and defines 16 schemas. It is described by OpenAPI 3.1.1, at version 1.0.
Requests are made against 2 base URLs: https://api.workos.com, https://api.workos-test.com.
Metadata
The identity and technical contract details declared by the specification.
Authentication & Security 2
WorkOS audit-logs API declares
2 security schemes
for authenticating requests.
It accepts HTTP bearer tokens (JWT) (bearer).
It accepts HTTP bearer tokens (JWT) (access_token).
By default, every request must be authenticated.
bearer— Your WorkOS API key prefixed with sk. Pass it as a Bearer token: Authorization: Bearer skexample123456789.access_token— An SSO access token returned from the Get a Profile and Token endpoint.
Paths & Operations 8
Across 6 paths, the API surfaces 8 operations — 4 GET, 3 POST, 1 PUT. Each is listed below with its method, path, parameters, and response codes.
Create and query audit log events.
Schemas 16
The contract defines 16 schemas that model the data the API accepts and returns. The most detailed are AuditLogExportCreationDto (8 properties), AuditLogEventDto (7 properties), AuditLogExportJson (6 properties), AuditLogSchemaJson (6 properties). Each schema is shown below with its type and property counts.
Specification
The full machine-readable OpenAPI contract behind this narrative.
Source
More from WorkOS 12
Other APIs WorkOS publishes across the network.