---
title: "Get Workflow Status"
method: GET
path: "/agent/status/{trace_id}"
tags: ["Clinical Agent"]
---

# Get Workflow Status

`GET /agent/status/{trace_id}`

## Request

- Base URL: `https://api.alpha-grid.ai` (the document declares no server; this is the origin it was published from)
- URL: `https://api.alpha-grid.ai/agent/status/{trace_id}`
- Auth: HTTP bearer

Get the status of a clinical agent workflow.

Returns current stage, completed stages, and any errors.
Uses a single optimized query to get progress from all node records.

## Path parameters

- `trace_id` string, required

## Response `200`

Successful Response

- AgentStatusResponse: Response with workflow status.
  - `trace_id` string, required
  - `patient_id` integer, required
  - `status` string, required
  - `current_stage` string, nullable
  - `completed_stages` string[]
  - `errors` object[]
  - `started_at` string, nullable
  - `completed_at` string, nullable

## Other responses

- `422`: Validation Error

---

[API](https://skmtc.dev/alpha-grid/apis/alphagrid-backend-dev.md) - [All operations](https://skmtc.dev/alpha-grid/apis/alphagrid-backend-dev/llms.txt) - [OpenAPI document](https://skmtc.dev/alpha-grid/apis/alphagrid-backend-dev/revisions/13bab0bdd466?raw)
