---
title: "Poll an agent run's status and result"
method: GET
path: "/public/agent/jobs/{jobId}"
tags: ["Agent"]
---

# Poll an agent run's status and result

`GET /public/agent/jobs/{jobId}`

## Request

- Base URL: `https://api.johnsessentials.com/api/v1`
- URL: `https://api.johnsessentials.com/api/v1/public/agent/jobs/{jobId}`
- Auth: HTTP bearer

Returns the run's current `status` (queued/running/paused_approval/
complete/error/cancelled), a `done` boolean, its `result` payload once
finished, and any `error`. Use this to recover the outcome if the SSE
stream (`/jobs/{jobId}/stream`) was dropped. Scoped to the job's owner.

## Path parameters

- `jobId` string, uuid, required

## Response `200`

Current job status.

- object
  - `done` boolean
  - `error` string
  - `finished_at` string, date-time
  - `job_id` string, uuid
  - `paused_at_step` integer
  - `result` object: Accumulated step results (present when finished).
  - `status` string

## Other responses

- `404`: Resource not found.

---

[API](https://skmtc.dev/johnsessentials/apis/john-s-essentials-api.md) · [All operations](https://skmtc.dev/johnsessentials/apis/john-s-essentials-api/llms.txt) · [OpenAPI document](https://skmtc.dev/johnsessentials/apis/john-s-essentials-api/revisions/56586ff78e6d?raw)
