---
title: "Changes to Get the factory's most expensive PRs"
method: GET
path: "/factory/{uid}/costs/per-pr/top"
---

# Changes to Get the factory's most expensive PRs

`GET /factory/{uid}/costs/per-pr/top`

> Every recorded change to this operation, newest first.

## Timeline

Changed in 3 of 9 revisions.

- **2026-10-21** `7ee3ba55debc`: 2 info
- **2026-10-19** `2c45dcc0a13e`: 5 breaking, 5 info
- **2026-10-15** `f4630aae17ba`: 1 info

## Changes

- **2026-10-21** `7ee3ba55debc`: 2 info
  - api tag `factory-metrics` added
  - api tag `factory` removed
- **2026-10-19** `2c45dcc0a13e`: 5 breaking, 5 info
  - added `#/components/schemas/FactoryPullRequestCycleTime, subschema #2` to the `allOf[subschema #2]/data/items/cycle_time` response property `oneOf` list for the response status `200`
  - added `#/components/schemas/FactoryPullRequestHumanInteractions, subschema #2` to the `allOf[subschema #2]/data/items/human_interactions` response property `oneOf` list for the response status `200`
  - added `#/components/schemas/FactoryPullRequestState, subschema #2` to the `allOf[subschema #2]/data/items/state` response property `oneOf` list for the response status `200`
  - added `#/components/schemas/FactoryRepositoryCodeForge, subschema #2` to the `allOf[subschema #2]/data/items/provider` response property `oneOf` list for the response status `200`
  - added `#/components/schemas/RunCreatorInfo, subschema #2` to the `allOf[subschema #2]/data/items/creator` response property `oneOf` list for the response status `200`
  - removed `#/components/schemas/FactoryPullRequestCycleTime` from the `allOf[subschema #2]/data/items/cycle_time` response property `allOf` list for the response status `200`
  - removed `#/components/schemas/FactoryPullRequestHumanInteractions` from the `allOf[subschema #2]/data/items/human_interactions` response property `allOf` list for the response status `200`
  - removed `#/components/schemas/FactoryPullRequestState` from the `allOf[subschema #2]/data/items/state` response property `allOf` list for the response status `200`
  - removed `#/components/schemas/FactoryRepositoryCodeForge` from the `allOf[subschema #2]/data/items/provider` response property `allOf` list for the response status `200`
  - removed `#/components/schemas/RunCreatorInfo` from the `allOf[subschema #2]/data/items/creator` response property `allOf` list for the response status `200`
- **2026-10-15** `f4630aae17ba`: 1 info
  - endpoint added

---

[Operation](https://skmtc.dev/warp/apis/oz-agent-api/docs/factory/:uid/costs/per-pr/top/get.md) - [API](https://skmtc.dev/warp/apis/oz-agent-api.md) - [Page](https://skmtc.dev/warp/apis/oz-agent-api/changes/factory/:uid/costs/per-pr/top/get)
