Skip to Content
SeyloDocs
API referenceActivity log

Export the audit log

GET
/api/v1/audit.export

Returns matching entries (newest first, at most 10,000) as a CSV or JSON Lines file for download. truncated is true when more matched.

Needs audit.view, which owners and admins hold. Not available to MCP clients or the assistant.

Authorization

cookieseylo_session<token>

Query Parameters

actorId?string

Panel-issued id.

Match^[a-z0-9]{16}$
actorType?string|string|string|string|string|string|string
opId?string

Exact op id ("services.deploy") or a module with a dot ("services.").

Lengthlength <= 80
targetType?string
Lengthlength <= 40
targetId?string
Lengthlength <= 40
projectId?string

Panel-issued id.

Match^[a-z0-9]{16}$
outcome?string|string
from?string
Formatdate-time
to?string
Formatdate-time
q?string

Matches the actor label, op id or target label.

Lengthlength <= 100
format*|
Default"csv"

Response Body

Success.

application/json
  1. response
filename*string
contentType*string
content*string
rows*integer
Range0 <= value
truncated*boolean
Example Request
curl -X GET 'https://example.com/api/v1/audit.export?format=csv'
Example Response
{  "filename": "string",  "contentType": "string",  "content": "string",  "rows": 0,  "truncated": true}