---
title: "listRepoBranchExtensionWorkflowRuns"
---

> Documentation Index
> Fetch the complete documentation index at: https://buildrforge.com/docs/llms.txt
> Use this file to discover all available pages before exploring further.

# listRepoBranchExtensionWorkflowRuns

Path: Forge API › extensions

`GET /repos/{repo_id}/branches/{branch}/extensions/{name}/workflow-runs`

List the workflow runs that the extension's tools and schedules started on a branch, newest first, a page at a time, as listRepoExtensionInstallationWorkflowRuns does. Each runs the version it started on; a deleted branch's runs are still listed. Read a run for its input and output.

## Path parameters

- `repo_id` (`listRepoBranchExtensionWorkflowRuns.path.repo_id`; string, required)
  - pattern: `^repo_[0-7][0-9a-hjkmnp-tv-z]{25}$`
- `branch` (`listRepoBranchExtensionWorkflowRuns.path.branch`; string, required)
  - minLength: `1`
- `name` (`listRepoBranchExtensionWorkflowRuns.path.name`; string, required)
  - maxLength: `64` · pattern: `^[a-z0-9]+(?:-[a-z0-9]+)*$`

## Query parameters

- `cursor` (`listRepoBranchExtensionWorkflowRuns.query.cursor`; string, optional)
  - minLength: `1`
- `limit` (`listRepoBranchExtensionWorkflowRuns.query.limit`; string, optional)
  - pattern: `^[+-]?(?:\d+(?:\.\d+)?|\.\d+)(?:[Ee][+-]?\d+)?$`
- `status` (`listRepoBranchExtensionWorkflowRuns.query.status`; string, optional)
  - one of `"queued"`, `"running"`, `"waiting"`, `"complete"`, `"errored"`, `"terminated"`

## Code samples

### cURL

```bash
curl --request GET \
  --url '<base-url>/repos/<repo_id>/branches/<branch>/extensions/<name>/workflow-runs'
```

### TypeScript

```typescript
const url = '<base-url>/repos/<repo_id>/branches/<branch>/extensions/<name>/workflow-runs';
const options = {method: 'GET'};

fetch(url, options)
  .then(res => res.json())
  .then(json => console.log(json))
  .catch(err => console.error(err));
```

### Python

```python
import requests

url = "<base-url>/repos/<repo_id>/branches/<branch>/extensions/<name>/workflow-runs"

response = requests.get(url)

print(response.text)
```

## Responses

### 200

Success

#### Example

```json
{
  "data": [
    {
      "id": "string",
      "extension_name": "string",
      "version": "string",
      "branch": "string",
      "workflow": "string",
      "key": "string",
      "enqueued_by_id": "string",
      "enqueued_by_extension": "string",
      "status": "queued",
      "waiting_for_signal": "string",
      "signal_sequence": -9007199254740991,
      "failure": "string",
      "queued_at": "string",
      "started_at": "string",
      "finished_at": "string",
      "input_bytes": -9007199254740991,
      "output_bytes": -9007199254740991
    }
  ],
  "next_cursor": "string"
}
```

- `data` (`listRepoBranchExtensionWorkflowRuns.response.200.data`; array of object, required)
  - `id` (`listRepoBranchExtensionWorkflowRuns.response.200.data.id`; string, required)
    - pattern: `^extension_workflow_run_[0-7][0-9a-hjkmnp-tv-z]{25}$`
  - `extension_name` (`listRepoBranchExtensionWorkflowRuns.response.200.data.extension_name`; string, required)
    - maxLength: `129` · pattern: `^[a-z0-9]+(?:-[a-z0-9]+)*\.[a-z0-9]+(?:-[a-z0-9]+)*$`
  - `version` (`listRepoBranchExtensionWorkflowRuns.response.200.data.version`; any of, required)
    - any of the following: `string`, `string`
  - `branch` (`listRepoBranchExtensionWorkflowRuns.response.200.data.branch`; string, required)
    - minLength: `1`
  - `workflow` (`listRepoBranchExtensionWorkflowRuns.response.200.data.workflow`; string, required)
    - minLength: `1`
  - `key` (`listRepoBranchExtensionWorkflowRuns.response.200.data.key`; string, required)
    - minLength: `1`
  - `enqueued_by_id` (`listRepoBranchExtensionWorkflowRuns.response.200.data.enqueued_by_id`; string, required)
    - pattern: `^(?:user|extension)_[0-7][0-9a-hjkmnp-tv-z]{25}$`
  - `enqueued_by_extension` (`listRepoBranchExtensionWorkflowRuns.response.200.data.enqueued_by_extension`; any of, required)
    - any of the following: `string`, `null`
  - `status` (`listRepoBranchExtensionWorkflowRuns.response.200.data.status`; string, required)
    - one of `"queued"`, `"running"`, `"waiting"`, `"complete"`, `"errored"`, `"terminated"`
  - `waiting_for_signal` (`listRepoBranchExtensionWorkflowRuns.response.200.data.waiting_for_signal`; any of, required)
    - any of the following: `string`, `null`
  - `signal_sequence` (`listRepoBranchExtensionWorkflowRuns.response.200.data.signal_sequence`; integer, required)
    - maximum: `9007199254740991` · minimum: `-9007199254740991`
  - `failure` (`listRepoBranchExtensionWorkflowRuns.response.200.data.failure`; any of, required)
    - any of the following: `string`, `null`
  - `queued_at` (`listRepoBranchExtensionWorkflowRuns.response.200.data.queued_at`; string, required)
  - `started_at` (`listRepoBranchExtensionWorkflowRuns.response.200.data.started_at`; any of, required)
    - any of the following: `string`, `null`
  - `finished_at` (`listRepoBranchExtensionWorkflowRuns.response.200.data.finished_at`; any of, required)
    - any of the following: `string`, `null`
  - `input_bytes` (`listRepoBranchExtensionWorkflowRuns.response.200.data.input_bytes`; integer, required)
    - maximum: `9007199254740991` · minimum: `-9007199254740991`
  - `output_bytes` (`listRepoBranchExtensionWorkflowRuns.response.200.data.output_bytes`; any of, required)
    - any of the following: `integer`, `null`
- `next_cursor` (`listRepoBranchExtensionWorkflowRuns.response.200.next_cursor`; any of, required)
  - any of the following: `PageCursor`, `null`

### 400

InvalidCursor | InvalidRequest

#### Example

```json
{
  "_tag": "InvalidCursor",
  "reason": "string"
}
```

Any of the following:

- `InvalidCursorEncoded`
  - `_tag` (`InvalidCursorEncoded._tag`; string, required)
    - one of `"InvalidCursor"`
  - `reason` (`InvalidCursorEncoded.reason`; string, required)
    - minLength: `1`
- `InvalidRequestEncoded`
  - `_tag` (`InvalidRequestEncoded._tag`; string, required)
    - one of `"InvalidRequest"`
  - `part` (`InvalidRequestEncoded.part`; string, required)
    - one of `"path"`, `"query"`, `"headers"`, `"body"`
  - `issues` (`InvalidRequestEncoded.issues`; array of object, required)
    - `path` (`InvalidRequestEncoded.issues.path`; array\<any of\>, required)
      - any of the following: `string`, `integer`
    - `message` (`InvalidRequestEncoded.issues.message`; string, required)

### 401

InvalidCredentials

#### Example

```json
{
  "_tag": "InvalidCredentials"
}
```

- `_tag` (`listRepoBranchExtensionWorkflowRuns.response.401._tag`; string, required)
  - one of `"InvalidCredentials"`

### 403

Forbidden | ForbiddenOrigin | RequiresPersonalSession | RunBranchRequired

#### Example

```json
{
  "_tag": "Forbidden",
  "message": "string"
}
```

Any of the following:

- `ForbiddenEncoded`
  - `_tag` (`ForbiddenEncoded._tag`; string, required)
    - one of `"Forbidden"`
  - `message` (`ForbiddenEncoded.message`; string, required)
- `ForbiddenOriginEncoded`
  - `_tag` (`ForbiddenOriginEncoded._tag`; string, required)
    - one of `"ForbiddenOrigin"`
- `RequiresPersonalSessionEncoded`
  - `_tag` (`RequiresPersonalSessionEncoded._tag`; string, required)
    - one of `"RequiresPersonalSession"`
- `RunBranchRequiredEncoded`
  - `_tag` (`RunBranchRequiredEncoded._tag`; string, required)
    - one of `"RunBranchRequired"`
  - `branch` (`RunBranchRequiredEncoded.branch`; string, required)
    - minLength: `1`
  - `message` (`RunBranchRequiredEncoded.message`; string, required)

### 404

ExtensionNotFound | RepoNotFound

#### Example

```json
{
  "_tag": "ExtensionNotFound",
  "extension_name": "string"
}
```

Any of the following:

- `ExtensionNotFoundEncoded`
  - `_tag` (`ExtensionNotFoundEncoded._tag`; string, required)
    - one of `"ExtensionNotFound"`
  - `extension_name` (`ExtensionNotFoundEncoded.extension_name`; string, required)
    - minLength: `1`
- `RepoNotFoundEncoded`
  - `_tag` (`RepoNotFoundEncoded._tag`; string, required)
    - one of `"RepoNotFound"`

### 429

RateLimited

#### Example

```json
{
  "_tag": "RateLimited"
}
```

- `_tag` (`listRepoBranchExtensionWorkflowRuns.response.429._tag`; string, required)
  - one of `"RateLimited"`

### 500

RepoFailure

#### Example

```json
{
  "_tag": "RepoFailure",
  "reason": "string"
}
```

- `_tag` (`listRepoBranchExtensionWorkflowRuns.response.500._tag`; string, required)
  - one of `"RepoFailure"`
- `reason` (`listRepoBranchExtensionWorkflowRuns.response.500.reason`; string, required)

### 503

SessionUnavailable | RateLimitUnavailable

#### Example

```json
{
  "_tag": "SessionUnavailable"
}
```

Any of the following:

- `SessionUnavailableEncoded`
  - `_tag` (`SessionUnavailableEncoded._tag`; string, required)
    - one of `"SessionUnavailable"`
- `RateLimitUnavailableEncoded`
  - `_tag` (`RateLimitUnavailableEncoded._tag`; string, required)
    - one of `"RateLimitUnavailable"`


Source: https://buildrforge.com/docs/api/list-repo-branch-extension-workflow-runs/index.md
