Get Audit Logs
Changed onGet all audit logs with filtering and pagination.
Returns a paginated response of audit logs matching the specified filters.
Note: object_team_id and object_key_hash use Prisma JSON path filtering, which requires PostgreSQL.
Request
- Base URLhttps://api.flock.io (the document declares no server; this is the origin it was published from)
- URLhttps://api.flock.io/audit
- AuthAPI key in header x-litellm-api-key
Query parameters
Filter by user or system that performed the action
Filter by API key hash that performed the action
Filter by action type (create, update, delete)
Filter by table name that was modified
Filter by ID of the object that was modified
Filter logs after this date
Filter logs before this date
Filter by team_id present in before_value or updated_values JSON (PostgreSQL only)
Filter by token (key hash) present in before_value or updated_values JSON (PostgreSQL only)
Match a row whose id, object_id, changed_by, or changed_by_api_key equals this value
Column to sort by (e.g. 'updated_at', 'action', 'table_name')
Sort order ('asc' or 'desc')
Response
Successful Response
Changes
- info
added the new optional
queryrequest parametersearch - info
added the optional property
//to the response with the status - info
added the optional property
//to the response with the status
- info