Factories

List the factory's pull requests

Changed on

One record per pull request produced by the factory's runs, newest opened first. A PR someone opened in one of the factory's repositories without a factory run (by hand, for example) is not listed. Each record carries the PR's identity, state and times, size, human interactions, the runs that produced it, and its cycle time. Pages are keyset-paginated: pass page_info.next_cursor back as cursor to continue. Pass updated_after to sync incrementally.

get/factory/{uid}/pull-requests

Request

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

Path parameters

uidstring required

The public UID of the factory.

Query parameters

limitinteger

Records per page. Defaults to 50; at most 500.

cursorstring

Opaque cursor from a previous page's page_info.next_cursor.

repostring

Only PRs in this repository, as owner/repo (case-insensitive).

stateFactoryPullRequestState[]

Only PRs in these states. Can be specified multiple times to match any of the given states.

opened_afterstring date-time

Only PRs opened after this RFC3339 time (exclusive).

opened_beforestring date-time

Only PRs opened before this RFC3339 time (exclusive).

merged_afterstring date-time

Only PRs merged after this RFC3339 time (exclusive).

merged_beforestring date-time

Only PRs merged before this RFC3339 time (exclusive).

updated_afterstring date-time

Only PRs whose updated_at is after this RFC3339 time (exclusive). updated_at tracks the PR on the code host; fields derived from the factory's runs (runs, kickoff_at, human_interactions.follow_up_message, and the kickoff-based cycle_time stages) can change without moving it.

Response

One page of the factory's pull requests

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