List hook runs
Changed onList recent hook runs with optional filters and pagination.
The logs are sorted by the start timestamp in descending order.
The retention policy for the logs is set to 7 days.
Request
- Base URLhttps://example.rossum.app
- AuthHTTP bearer
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Query parameters
Match the specified request_id.
Match the given hook run UUID (or multiple UUIDs, comma-separated).
Match given the hook id (or multiple ids).
Filter for log entries before given timestamp.
Filter for log entries after given timestamp.
Filter for log entries before given start timestamp.
Filter for log entries after given start timestamp.
Match the log entry status (or multiple statuses).
Match the response status_code (or multiple).
Queue ID(s) filter
Annotation ID(s) filter
Match the given email id (or multiple ids).
Full text filter across all the log entry fields.
Maximum number of results per page (between 1 and 100, defaults to 100).
Response
OK
Example response
{
"results": [
{
"timestamp": "2023-09-23T12:00:00.000000Z",
"request_id": "6166deb3-2f89-4fc2-9359-56cc8e3838e4",
"event": "annotation_content",
"action": "updated",
"annotation_id": 1,
"queue_id": 1,
"email_id": 1,
"hook_id": 1,
"hook_type": "webhook",
"organization_id": 1,
"log_level": "INFO",
"message": "message",
"request": "{}",
"response": "{}",
"output": "Function execution scheduled",
"start": "2023-09-23T12:00:00.000000Z",
"end": "2023-09-23T12:00:00.000000Z",
"settings": {},
"status": "completed",
"status_code": 200,
"uuid": "6166deb3-2f89-4fc2-9359-56cc8e3838e4"
}
]
}Changes
- breaking
the response property
//became nullable for the status - breaking
the response property
//became nullable for the status - breaking
the response property
//became nullable for the status - breaking
the response property
//became nullable for the status - breaking
the
//response's property type changed fromstringtoobjectnullfor status - info
added the optional property
//to the response with the status - info
added the optional property
//to the response with the status - info
added the optional property
//to the response with the status
- breaking
- info
added the optional property
//to the response with the status
- info