FactoriesMetrics

Get the factory's most expensive PRs

Changed on

The costliest PRs first seen in the range, most expensive first, with per-component cost breakdowns, attribution from each PR's earliest live root run, and PR detail collected from code-forge webhooks. PRs that predate webhook PR-fact collection still appear, with null detail fields.

get/factory/{uid}/costs/per-pr/top

Request

  • Base URL
    https://app.warp.dev/api/v1
  • Auth
    HTTP bearer

Path parameters

uidstring required

The public UID of the factory.

Query parameters

start_datestring date-time

Inclusive RFC3339 range start (UTC). Defaults to end_date minus 30 days.

end_datestring date-time

Exclusive RFC3339 range end (UTC). Defaults to now.

limitinteger

Maximum PRs to return. Defaults to 20; at most 50.

Response

The factory's most expensive PRs for the requested range

as_ofstring date-time required

The time the data is current as of. Data can lag live activity by a few minutes.

team_uidstring required

Public UID of the team that owns the factory.

factory_uidstring required

Public UID of the factory the response is scoped to.

Changes

    • info

      api tag factory-metrics added

    • info

      api tag factory removed

    • breaking

      added subschema #2 to the /// response property oneOf list for the response status

    • breaking

      added subschema #2 to the /// response property oneOf list for the response status

    • breaking

      added subschema #2 to the /// response property oneOf list for the response status

    • breaking

      added subschema #2 to the /// response property oneOf list for the response status

    • breaking

      added subschema #2 to the /// response property oneOf list for the response status

    • info

      removed from the /// response property allOf list for the response status

    • info

      removed from the /// response property allOf list for the response status

    • info

      removed from the /// response property allOf list for the response status

    • info

      removed from the /// response property allOf list for the response status

    • info

      removed from the /// response property allOf list for the response status