Skip to main content
POST
/
api
/
audit-trail
/
import
Import Audit Records
curl --request POST \
  --url https://api.example.com/api/audit-trail/import \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: multipart/form-data' \
  --form file='@example-file'
{
  "filename": "<string>",
  "record_count": 0,
  "imported_count": 0,
  "columns": [
    "<string>"
  ]
}

Authorizations

Authorization
string
header
required

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

Headers

X-API-Key
string | null

Cookies

antidote_session
string | null

Body

multipart/form-data
file
file
required

Response

Successful Response

filename
string | null
record_count
integer
default:0
imported_count
integer
default:0
columns
string[]