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
}
]
}
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
}
]
}
Use the 'Authorization' header with the format 'Key <api-key>'
Successful Response
The response is of type object
.