Organizations
AuditLogs

ExportAuditLogEventsHandlerV1

Exports audit log events for an organization in a downloadable format. Audit logs provide an immutable record of all user activity within the organization, including stack operations, member changes, and policy modifications. Results can be filtered by time range, event type, and user. Supported export formats are CSV and CEF (Common Event Format for SIEM integration). Pagination is supported via the continuationToken parameter.

Important: This endpoint differs from other API endpoints:

  • The response is always gzip compressed. Use --compressed with curl or handle gzip decompression in your client.
  • The Content-Type: application/json response header is omitted.

Note: In V1, startTime specifies the upper bound of the query range. Use the V2 endpoint for more intuitive time range semantics.

get/api/orgs/{orgName}/auditlogs/export

Request

  • Base URL: https://api.pulumi.com (the document declares no server; this is the origin it was published from)
  • URL: https://api.pulumi.com/api/orgs/{orgName}/auditlogs/export
  • Auth: none declared

Path parameters

orgNamestring required

The organization name

Query parameters

continuationTokenstring

Token for paginated result retrieval

endTimeinteger

Upper bound of the query range (unix timestamp)

eventFilterstring

Filter audit logs by event type

formatstring

Response format: 'cef' or 'csv' (defaults to csv)

startTimeinteger

Returns entries older than this timestamp (unix timestamp)

userFilterstring

Filter audit logs by username

Response

OK

Changes

No recorded changes to this operation across all 1 revision of this API.