> For the complete documentation index, see [llms.txt](https://docs.testvibe.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.testvibe.com/testvibe-api/api-reference/runs/get_run.md).

# get\_run

One run's status and results digest: per-test statuses, error messages for failures, and the artifact manifest.

## Request

```
GET /api/v1/ops/projects/{project}/runs/{runId}
```

| Parameter | In   | Type    | Required | Description              |
| --------- | ---- | ------- | -------- | ------------------------ |
| `project` | path | string  | yes      | The project's public id. |
| `runId`   | path | integer | yes      | The run id.              |

{% tabs %}
{% tab title="cURL" %}

```bash
curl -H "Authorization: Bearer $TESTVIBE_API_KEY" \
  "$TESTVIBE_SERVER/api/v1/ops/projects/$PROJECT/runs/214"
```

{% endtab %}

{% tab title="CLI" %}

```bash
testvibe runs show 214
```

{% endtab %}

{% tab title="MCP" %}
Tool **`get_run`** — `{ "runId": 214 }`.
{% endtab %}
{% endtabs %}

## Response

```json
{
  "runId": 214,
  "status": "failed",
  "featureId": 12,
  "featureName": "Login Functionality",
  "config": "Default",
  "siteUrl": "https://shop.acme.example",
  "createdUtc": "2026-06-10T16:02:11Z",
  "startedUtc": "2026-06-10T16:02:19Z",
  "finishedUtc": "2026-06-10T16:02:54Z",
  "summary": { "total": 3, "passed": 2, "failed": 1, "other": 0 },
  "tests": [
    { "name": "Valid user signs in", "status": "passed", "durationMs": 4210, "error": null },
    { "name": "Invalid password is rejected", "status": "passed", "durationMs": 3804, "error": null },
    { "name": "Locked-out user sees an error", "status": "failed", "durationMs": 9120, "error": "expect(locator).toBeVisible() failed — locator('[data-test=\"error\"]') not found within 5000ms" }
  ],
  "artifacts": [
    { "kind": "trace", "path": "trace/locked-out-user.zip", "size": 482133 },
    { "kind": "screenshot", "path": "screenshots/locked-out-user.png", "size": 88241 }
  ],
  "log": "…trimmed runner output (only present on non-passed runs)…"
}
```

* `status`: `running` → `passed` | `failed`.
* `summary` / `tests` appear once results exist; per-test `error` is trimmed to 1 500 characters, `log` to 4 000.
* `artifacts` lists what was uploaded — exchange it for download links via [`get_run_artifacts`](/testvibe-api/api-reference/runs/get_run_artifacts.md).

## Errors

| HTTP            | When                         |
| --------------- | ---------------------------- |
| `404 not_found` | No such run in this project. |


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.testvibe.com/testvibe-api/api-reference/runs/get_run.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
