> 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/generation/get_generation_status.md).

# get\_generation\_status

The feature's generation state: its lifecycle status plus the live per-section progress of the latest generation.

## Request

```
GET /api/v1/ops/projects/{project}/features/{feature}/generation
```

| Parameter | In   | Type   | Required | Description              |
| --------- | ---- | ------ | -------- | ------------------------ |
| `project` | path | string | yes      | The project's public id. |
| `feature` | path | string | yes      | Feature id or name.      |

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

```bash
curl -H "Authorization: Bearer $TESTVIBE_API_KEY" \
  "$TESTVIBE_SERVER/api/v1/ops/projects/$PROJECT/features/12/generation"
```

{% endtab %}

{% tab title="CLI" %}

```bash
testvibe generate "Login Functionality" --watch
```

{% endtab %}

{% tab title="MCP" %}
Tool **`get_generation_status`** — `{ "feature": "12" }`.
{% endtab %}
{% endtabs %}

## Response

```json
{
  "featureId": 12,
  "featureName": "Login Functionality",
  "featureStatus": "generating",
  "requestId": "a1b2c3d4-…",
  "runnerStarted": true,
  "overallStatus": "in_progress",
  "overallConclusion": null,
  "updatedUtc": "2026-06-10T14:30:12Z",
  "sections": [
    { "section": "login-functionality", "status": "in_progress", "conclusion": null, "updatedUtc": "2026-06-10T14:30:12Z" }
  ]
}
```

* `featureStatus` is the lifecycle answer: still `generating`, or done (`generated` / `failed` / `cancelled`).
* `runnerStarted` distinguishes "queued, sandbox warming up" (`false`) from "actively working" (`true`).
* `sections` mirror the live progress drawer in the app, one entry per generated section.

If the feature has never been generated, the response carries just the feature fields — no `requestId` or `sections`.

## Errors

| HTTP            | When                             |
| --------------- | -------------------------------- |
| `404 not_found` | No such feature 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/generation/get_generation_status.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.
