Audit
Export task execution information for any users for auditing purposes
In order to get executions for audit purposes, first you need to have an API key of the platform. You can get that here.
Once you have the API token, make a request to this endpoint: /playbooks-engine/audit_log/trigger
Here is a curl to make it simpler:
curl --location 'https://playbooks.drdroid.io/playbooks-engine/audit_log/trigger' \
\--header 'Authorization: Bearer <YOUR-API-TOKEN>' \
\--header 'Content-Type: application/json' \
\--data-raw '{
"recipient_email_ids": [], // Send to emails
"users": [], // Filter by users who have executed tasks
"meta": {
"time_range": {
"time_geq": 1744528831, // From (Unix time in seconds)
"time_lt": 1744888031 // To (Unix time in seconds)
}
}
}'
To get tasks executed by Doctor Droid, pass doctor droid agent
in users.
Here is a website to make it simpler to get To
and From
dates.
Updated 2 days ago