Skip to main content
GET
/
api
/
v1
/
audit_logs
Get Audit Logs
curl --request GET \  --url https://app.datafold.com/api/v1/audit_logs \  --header 'Authorization: <api-key>' \  --header 'Content-Type: application/json' \  --data '{  "end_date": "2023-11-07T05:31:56Z",  "start_date": "2023-11-07T05:31:56Z" }'
{  "logs": [  {  "action": "<string>",  "client_ip": "<string>",  "event_uuid": "<string>",  "is_support_user": true,  "log_entry": "<string>",  "object_id": 123,  "object_type": "<string>",  "payload": {},  "referer": "<string>",  "request_type": "<string>",  "source": "<string>",  "status": "<string>",  "timestamp": "<string>",  "url": "<string>",  "user_agent": "<string>",  "user_email": "<string>",  "user_id": 123  }  ] }

Authorizations

Authorization
string
header
required

Use the 'Authorization' header with the format 'Key <api-key>'

Body

application/json
end_date
string<date-time> | null
start_date
string<date-time> | null

Response

Successful Response

logs
AuditLogs · object[]
required
⌘I