Get factory metrics
Changed onAggregate productivity metrics for a factory over a UTC date range: run count, distinct PR count (from PR artifacts, deduped by URL at first appearance), autonomy, impact, and PR latency. Cost metrics live under /factory/{uid}/costs. Pass group_by_period to additionally receive per-period series aligned to period_list.
Request
- Base URLhttps://app.warp.dev/api/v1
- AuthHTTP bearer
Path parameters
The public UID of the factory.
Query parameters
Inclusive RFC3339 range start (UTC). Defaults to end_date minus 30 days.
Exclusive RFC3339 range end (UTC). Defaults to now.
Binning granularity for factory metrics series. Weeks start on Sunday (UTC), consistent with existing Warp analytics.
Optional binning granularity; when omitted, the response contains aggregates only. Binned requests are capped at 365 periods.
Response
Factory metrics for the requested range
Changes
- info
api tag
factory-metricsadded - info
api tag
factoryremoved
- info
- info
endpoint added
- info