# Get a check run

> Get a check run by id: cr_… for one reported through the API, or a g1t Actions job's id (job_…), whose workflow run is its suite and whose workflow says its name, run and event in workflow.

<div class="g1t-endpoint"><span class="g1t-method" data-method="get">GET</span><code>/repos/{owner}/{name}/check-runs/{id}</code></div>

- **Authentication:** Optional. Public data can be read without a token; send one to see what is private.
- **MCP tool:** [`workflow`](/reference/mcp/#workflow) with `action` `get_check_run`, and the same inputs
- **Scope:** An access token needs [`checks:read`](/guides/authentication/#scopes).

## Path parameters

| Name | Type | Required | Description |
| --- | --- | --- | --- |
| `owner` | string | Yes | The workspace that owns the repository. |
| `name` | string | Yes | The repository's name. |
| `id` | string | Yes | The check run's id: cr_…, or a g1t Actions job's job_… |

## Example request

```sh
curl https://api.g1t.sh/repos/flagon-io/hello/check-runs/job_01kq4b6a7b8c9d0e1f2g3h4j5k \
  -H "Authorization: Bearer $G1T_TOKEN"
```

## Example response

A successful request answers `200` with:

```json
{
  "id": "job_01kq4b6a7b8c9d0e1f2g3h4j5k",
  "name": "Test",
  "head_sha": "9f3c2a1b7e6d5c4b3a2918f7e6d5c4b3a2918f7e",
  "status": "completed",
  "conclusion": "success",
  "started_at": "2026-10-07T14:01:02.000Z",
  "completed_at": "2026-10-07T14:01:27.000Z",
  "details_url": "https://g1t.sh/flagon-io/hello/actions/runs/run_01kq4b6a7b8c9d0e1f2g3h4j5m?job=job_01kq4b6a7b8c9d0e1f2g3h4j5k",
  "external_id": null,
  "html_url": "https://g1t.sh/flagon-io/hello/actions/runs/run_01kq4b6a7b8c9d0e1f2g3h4j5m?job=job_01kq4b6a7b8c9d0e1f2g3h4j5k",
  "output": {
    "title": null,
    "summary": null,
    "text": null,
    "annotations_count": 0
  },
  "actions": [],
  "check_suite": {
    "id": "run_01kq4b6a7b8c9d0e1f2g3h4j5m"
  },
  "app": {
    "slug": "actions",
    "name": "g1t Actions"
  },
  "workflow": {
    "run_id": "run_01kq4b6a7b8c9d0e1f2g3h4j5m",
    "name": "CI",
    "event": "push"
  },
  "created_at": "2026-10-07T14:01:00.512Z"
}
```

## Errors

A failed request answers with one of these statuses and a body like `{"error": {"code": "not_found", "message": "Repository not found."}}`. See [errors](/reference/api/#errors).

| Status | Code | When |
| --- | --- | --- |
| 401 | `unauthenticated` | A token is required, or the one sent is not valid. |
| 403 | `forbidden` | The token is valid but not allowed to do this, such as a member-only change or an agent token outside its repository. |
| 404 | `not_found` | It does not exist, or you cannot see it. |
| 422 | `invalid` | The input is not valid. `message` says which field and why. |
