Generate run statistics
Generates statistics about runs over a specified time period.
get/stats/runs
Request
- Base URLhttps://api.tower.dev/v1
- Auth
- HTTP bearer
- or API key in header X-API-Key
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Query parameters
statusstring[]
Filter runs by status(es). Define multiple with a comma-separated list. Supplying none will return all statuses.
start_atstring date-time required
Start date and time for statistics (inclusive)
end_atstring date-time required
End date and time for statistics (inclusive)
timezonestring
Timezone for the statistics (e.g., 'Europe/Berlin'). Defaults to UTC.
environmentstring
Filter runs by environment. If not provided, all environments will be included.
Response
OK
Example response
{
"$schema": "https://api.tower.dev/v1/schemas/GenerateRunStatisticsResponse.json"
}Changes
No recorded changes to this operation across all 12 revisions of this API.