Audit Logs
List Audit Logs
List audit logs for an organization.
Requires an API key with the organization:auditlog scope. Only available for organizations with an enterprise_cloud subscription or self-hosted deployments.
The time range cannot exceed 90 days.
get/v1/audit-logs/
Request
- Base URLhttps://logfire-api.pydantic.dev/api
- AuthOAuth 2Authorization codeapi/oauth/authorizeToken URL/api/oauth/tokenScopesorganization:auditlog
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Query parameters
start_timestring date-time required
Start time for audit logs
end_timestring date-time nullable
End time for audit logs
action'INSERT' | 'UPDATE' | 'DELETE' | 'VIEW' | 'LOGIN' | 'FAILED_LOGIN' | 'LOGOUT' | 'CLAIM_INVITATION' | 'REVOKE_INVITATION' | 'VERIFY' | 'SSO_SIGN_IN_ATTEMPT' | 'VIEW_SECRET' nullable
Filter by action type
Response
Successful Response
Changes
No recorded changes to this operation across all 1 revision of this API.