---
title: "listRepoExtensionInstallationTriggerRuns"
---

> 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.

# listRepoExtensionInstallationTriggerRuns

Path: Forge API › extensions

`GET /repos/{repo_id}/extension-installations/{name}/triggers/{trigger}/runs`

List a trigger's runs on main's installation, newest first, each with the advance it ran for, its status and, when it failed, one line of the tool's error.

## Path parameters

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

## Code samples

### cURL

```bash
curl --request GET \
  --url '<base-url>/repos/<repo_id>/extension-installations/<name>/triggers/<trigger>/runs'
```

### TypeScript

```typescript
const url = '<base-url>/repos/<repo_id>/extension-installations/<name>/triggers/<trigger>/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>/extension-installations/<name>/triggers/<trigger>/runs"

response = requests.get(url)

print(response.text)
```

## Responses

### 200

Success

#### Example

```json
[
  {
    "extension_name": "string",
    "trigger": "string",
    "branch": "string",
    "from_commit_id": "string",
    "to_commit_id": "string",
    "kind": "commit",
    "id": "string",
    "status": "running",
    "started_at": "string",
    "finished_at": "string",
    "failure": "string"
  }
]
```

- `extension_name` (`listRepoExtensionInstallationTriggerRuns.response.200.extension_name`; string, required)
  - maxLength: `129` · pattern: `^[a-z0-9]+(?:-[a-z0-9]+)*\.[a-z0-9]+(?:-[a-z0-9]+)*$`
- `trigger` (`listRepoExtensionInstallationTriggerRuns.response.200.trigger`; string, required)
  - minLength: `1`
- `branch` (`listRepoExtensionInstallationTriggerRuns.response.200.branch`; string, required)
  - minLength: `1`
- `from_commit_id` (`listRepoExtensionInstallationTriggerRuns.response.200.from_commit_id`; string, required)
  - pattern: `^commit_[0-7][0-9a-hjkmnp-tv-z]{25}$`
- `to_commit_id` (`listRepoExtensionInstallationTriggerRuns.response.200.to_commit_id`; string, required)
  - pattern: `^commit_[0-7][0-9a-hjkmnp-tv-z]{25}$`
- `kind` (`listRepoExtensionInstallationTriggerRuns.response.200.kind`; string, required)
  - one of `"commit"`, `"merge"`, `"fast_forward"`
- `id` (`listRepoExtensionInstallationTriggerRuns.response.200.id`; string, required)
  - pattern: `^extension_trigger_run_[0-7][0-9a-hjkmnp-tv-z]{25}$`
- `status` (`listRepoExtensionInstallationTriggerRuns.response.200.status`; string, required)
  - one of `"running"`, `"succeeded"`, `"failed"`, `"interrupted"`
- `started_at` (`listRepoExtensionInstallationTriggerRuns.response.200.started_at`; string, required)
- `finished_at` (`listRepoExtensionInstallationTriggerRuns.response.200.finished_at`; any of, required)
  - any of the following: `string`, `null`
- `failure` (`listRepoExtensionInstallationTriggerRuns.response.200.failure`; any of, required)
  - any of the following: `string`, `null`

### 400

InvalidRequest

#### Example

```json
{
  "_tag": "InvalidRequest",
  "part": "path",
  "issues": [
    {
      "path": [
        "string"
      ],
      "message": "string"
    }
  ]
}
```

- `_tag` (`listRepoExtensionInstallationTriggerRuns.response.400._tag`; string, required)
  - one of `"InvalidRequest"`
- `part` (`listRepoExtensionInstallationTriggerRuns.response.400.part`; string, required)
  - one of `"path"`, `"query"`, `"headers"`, `"body"`
- `issues` (`listRepoExtensionInstallationTriggerRuns.response.400.issues`; array of object, required)
  - `path` (`listRepoExtensionInstallationTriggerRuns.response.400.issues.path`; array\<any of\>, required)
    - any of the following: `string`, `integer`
  - `message` (`listRepoExtensionInstallationTriggerRuns.response.400.issues.message`; string, required)

### 401

InvalidCredentials

#### Example

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

- `_tag` (`listRepoExtensionInstallationTriggerRuns.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

ExtensionInstallationNotFound | RepoNotFound

#### Example

```json
{
  "_tag": "ExtensionInstallationNotFound",
  "extension_name": "string",
  "message": "string"
}
```

Any of the following:

- `ExtensionInstallationNotFoundEncoded`
  - `_tag` (`ExtensionInstallationNotFoundEncoded._tag`; string, required)
    - one of `"ExtensionInstallationNotFound"`
  - `extension_name` (`ExtensionInstallationNotFoundEncoded.extension_name`; string, required)
    - minLength: `1`
  - `message` (`ExtensionInstallationNotFoundEncoded.message`; string, required)
- `RepoNotFoundEncoded`
  - `_tag` (`RepoNotFoundEncoded._tag`; string, required)
    - one of `"RepoNotFound"`

### 422

ExtensionTriggerNotDeclared

#### Example

```json
{
  "_tag": "ExtensionTriggerNotDeclared",
  "extension_name": "string",
  "version": "string",
  "trigger": "string"
}
```

- `_tag` (`listRepoExtensionInstallationTriggerRuns.response.422._tag`; string, required)
  - one of `"ExtensionTriggerNotDeclared"`
- `extension_name` (`listRepoExtensionInstallationTriggerRuns.response.422.extension_name`; string, required)
  - minLength: `1`
- `version` (`listRepoExtensionInstallationTriggerRuns.response.422.version`; string, required)
  - minLength: `1`
- `trigger` (`listRepoExtensionInstallationTriggerRuns.response.422.trigger`; string, required)
  - minLength: `1`

### 429

RateLimited

#### Example

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

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

### 500

RepoFailure

#### Example

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

- `_tag` (`listRepoExtensionInstallationTriggerRuns.response.500._tag`; string, required)
  - one of `"RepoFailure"`
- `reason` (`listRepoExtensionInstallationTriggerRuns.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-extension-installation-trigger-runs/index.md
