---
title: "Agent Status"
method: GET
path: "/agents/{agent_id}"
tags: ["agents"]
---

# Agent Status

`GET /agents/{agent_id}`

## Path parameters

- `agent_id` string, required

## Headers

- `x-notte-request-origin` string, nullable
- `x-notte-sdk-version` string, nullable

## Response `200`

Successful Response

- LegacyAgentStatusResponse
  - `agent_id` string, required — The ID of the agent
  - `created_at` string, date-time, required — The creation time of the agent
  - `session_id` string, required — The ID of the session
  - `status` 'active' | 'closed', required
  - `closed_at` string, date-time, nullable — The closing time of the agent
  - `saved` boolean — Whether the agent is saved as a workflow
  - `task` string, required — The task that the agent is currently running
  - `url` string, nullable — The URL that the agent started on
  - `success` boolean, nullable — Whether the agent task was successful. None if the agent is still running
  - `answer` string, nullable — The answer to the agent task. None if the agent is still running
  - `steps` object[]

## Other responses

- `422` — Validation Error

---

[API](https://skmtc.net/notte/apis/notte-api.md) · [All operations](https://skmtc.net/notte/apis/notte-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/notte/notte-api/versions/8dda4e3d49cc/schema)
