Skip to main content
POST
/
v1
/
audit
/
export
Export Audit
curl --request POST \
  --url https://api.example.com/v1/audit/export \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "format": "csv",
  "days": 183,
  "filters": {}
}
'
{
  "detail": [
    {
      "loc": [
        "<string>"
      ],
      "msg": "<string>",
      "type": "<string>",
      "input": "<unknown>",
      "ctx": {}
    }
  ]
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Body

application/json
format
enum<string>
default:csv
Available options:
csv,
json
days
integer | null
Required range: 1 <= x <= 365
filters
Filters · object

Response

Successful Response