---
title: "Get agent run status"
method: GET
path: "/agents/runs/{agentRunId}/status"
tags: ["agents"]
---

# Get agent run status

`GET /agents/runs/{agentRunId}/status`

Retrieves the current status and chat identifiers for a background agent run in a workspace.

## Path parameters

- `agentRunId` string, required

## Query parameters

- `workspaceId` integer

## Response `200`

OK

- AgentRunStatusResponse
  - `agentRunId` string
  - `sessionId` string, nullable
  - `status` string
  - `threadId` string, nullable

## Other responses

- `400` — Bad request
- `403` — Operation not allowed
- `404` — Not found

---

[API](https://skmtc.dev/seqeralabs/apis/seqera-api.md) · [All operations](https://skmtc.dev/seqeralabs/apis/seqera-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/seqeralabs/seqera-api/revisions/97f7655d105a/schema)
