Audit Logs
Export
Get all audit logs for an organization
GET
/
api
/
v1
/
organization
/
audit-logs
Query Parameters
projectId
string
Optionally filter logs by project ID. If not provided, logs from the entire organization will be returned.
actorType
enum<string>
Available options:
platform
, user
, service
, identity
, machine
, scimClient
eventType
string
userAgentType
enum<string>
Choose which consuming application to export audit logs for.
Available options:
web
, cli
, k8-operator
, terraform
, other
, InfisicalPythonSDK
, InfisicalNodeSDK
eventMetadata
string
Filter by event metadata key-value pairs. Formatted as key1=value1,key2=value2
, with comma-separation.
startDate
string
The date to start the export from.
endDate
string
The date to end the export at.
offset
number
default: 0The offset to start from. If you enter 10, it will start from the 10th audit log.
limit
number
default: 20The number of audit logs to return.
actor
string
The actor to filter the audit logs by.
Response
200 - application/json
auditLogs
object[]
required