List rules execution logs
Changed onList rules execution logs with optional filters and pagination.
Returns paginated rule execution records (controlled by page_size), including trigger conditions, evaluation results, and executed actions.
Request
- Base URLhttps://example.rossum.app
- AuthHTTP bearer
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Query parameters
Created after filter.
Created before filter.
Filter by rule ID (or multiple IDs, comma-separated).
Annotation ID(s) filter
Queue ID(s) filter
Filter by exact request ID.
Filter by execution result (or multiple values, comma-separated).
Filter by trigger event (or multiple events, comma-separated).
Filter by trigger result. true means the trigger condition evaluated to true for at least one line.
Full text search across log entry fields.
Maximum number of results per page (between 1 and 100, defaults to 100).
Response
OK
Example response
{
"results": [
{
"rule_id": 123,
"rule_name": "Auto-confirm invoices over $1000",
"queue_id": 456,
"annotation_id": 789,
"request_id": "6166deb3-2f89-4fc2-9359-56cc8e3838e4",
"created_at": "2024-01-15T10:30:00.000000Z",
"trigger_event": "annotation_imported",
"trigger_condition": "field.amount_total > 1000",
"trigger_condition_results": [
true
],
"trigger_condition_values": [
{
"amount_total": "1500.00"
}
],
"trigger_match": true,
"execution_result": "success",
"actions": [
[
{
"action_id": "a1",
"action_type": "send_email",
"execution_result": "success",
"execution_error": null,
"payload": {
"to": [
"accountant@example.com"
],
"cc": [
"manager@example.com"
],
"subject": "Invoice processed",
"body": "Invoice has been processed successfully.",
"attach_document": true
}
},
{
"action_id": "a2",
"action_type": "add_label",
"execution_result": "success",
"execution_error": null,
"payload": {
"labels": [
"https://example.rossum.app/api/v1/labels/123"
]
}
},
{
"action_id": "a3",
"action_type": "change_status",
"execution_result": "success",
"execution_error": null,
"payload": {
"method": "postpone"
}
}
]
]
}
]
}Changes
- info
added the new optional
queryrequest parametertrigger_match - info
the response property
//became required for the status - info
the response property
//became required for the status - info
the response property
//became required for the status - info
the response property
//became required for the status - info
added the required property
//to the response with the status
- info