Skip to content
The API may change between versions while TTX-Zone is 0.x.

Export audit

GET
/api/v1/instance/audit/export
curl --request GET \
--url 'https://example.com/api/v1/instance/audit/export?format=jsonl' \
--cookie ttx_access_token=<ttx_access_token>

The activity log (same filters as the list), oldest first: JSON Lines for a log shipper, or CSV. It names accounts, so it asks for a recent sign-in – and is itself recorded.

format
Format
string
default: jsonl
Allowed values: jsonl csv
action
Any of:
string
<= 48 characters
q
Any of:
string
<= 200 characters

Successful Response

Media typeapplication/json

Example generated

example

Validation Error

Media typeapplication/json
HTTPValidationError
object
detail
Detail
Array<object>
ValidationError
object
ctx
Context
object
input
Input
loc
required
Location
Array
msg
required
Message
string
type
required
Error Type
string

Example generated

{
"detail": [
{
"ctx": {},
"input": "example",
"loc": [
"example"
],
"msg": "example",
"type": "example"
}
]
}