Durable Functions

Get durable approval statistics

Changed on

Counts 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.

get/projects/{id}/durable-approvals/stats

Request

  • Base URL: https://api.volcano.dev
  • URL: https://api.volcano.dev/projects/{id}/durable-approvals/stats
  • Auth: one of:
    • HTTP bearer
    • HTTP bearer

Path parameters

idstring uuid required

Project ID

Query parameters

functionstring

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.

fromstring date-time

Start of the window. Defaults to 30 days before to.

tostring date-time

End of the window. Defaults to now.

Response

Successful response

fromstring date-time required
tostring date-time required
approval_ratenumber double nullable required

approved / (approved + denied), from 0 to 1. Null when nothing in the window was decided.

median_seconds_to_decisionnumber double nullable required

Median time from request to decision. Null when nothing was decided.

p90_seconds_to_decisionnumber double nullable required

90th percentile time from request to decision. Null when nothing was decided.

Changes