Get CI duration and queue statistics
get_run_statisticsUse this to get job duration, queue time, success rate and cost for a Runzumi workspace and time range. Omit repositoryId for complete totals across all authorized repositories; provide it only to narrow the scope. Do not enumerate repositories to calculate workspace totals. durationSum and queueSum are in seconds. Divide them by durationCount and queueCount to get averages. costUnits: 3000000 units = 1 USD. costCount is the number of attempts with a cost. If costUnits is missing, cost data is not available. Filters use the GitHub status. start, end and job timestamps are in epoch milliseconds. Omit revision to get current data. A null result for a revision means that the data changed.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| end | Yes | End of the time range in Unix epoch milliseconds. It must not be before start. Ranges are limited to 366 days. | |
| start | Yes | Start of the time range in Unix epoch milliseconds. Example: 1790812800000. | |
| status | No | Job status filter. Use all for general performance. Use failure for failed attempts. | all |
| revision | No | Statistics revision from a previous result. Omit it to get current data. | |
| workspaceId | Yes | Runzumi workspace ID from list_workspaces. | |
| repositoryId | No | Omit for all repositories you can access in the workspace; supply an ID to narrow to one repository. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| data | Yes | ||
| demo | No | ||
| appUrl | Yes | ||
| observedAt | Yes | ||
| completeness | Yes | ||
| compatibility | No |