Get durable approval statistics
Changed onCounts the project's approvals by outcome over a time window, overall, per workflow, and per day. The window defaults to the last 30 days and can cover up to a year. An approval is counted on the day it was requested.
Project access tokens can read statistics, including read-only ones.
Request
- Base URLhttps://api.volcano.dev
- Auth
- HTTP bearer
- or HTTP bearer
Path parameters
Project ID
Query parameters
Only approvals requested by this durable function, given by id or by name. A name also matches approvals from a deleted function of that name.
Start of the window. Defaults to 30 days before to.
End of the window. Defaults to now.
Response
Successful response
Approvals by status. requested is every approval, whatever its status.
approved / (approved + denied), from 0 to 1. Null when nothing in the window was decided.
Median time from request to decision. Null when nothing was decided.
90th percentile time from request to decision. Null when nothing was decided.
The ten workflows that requested the most approvals, most first. The rest are summed in other_functions.
Approvals by status. requested is every approval, whatever its status.
One entry per UTC day in the window that has approvals, oldest first. Days with none are omitted.
Changes
- info
endpoint added
- info