> ## Documentation Index
> Fetch the complete documentation index at: https://docs.stateset.com/llms.txt
> Use this file to discover all available pages before exploring further.

# List Jobs V1

> List jobs for the authenticated tenant. Mirrors the dashboard's /api/jobs/ filters + cursor pagination so v1 callers can enumerate their own runs without…

> [!WARNING]
>
> **Confirm your deployment before running this request.** This page describes an API contract;
> a published reference does not establish hosted availability. Check the dated
> [host report](https://docs.stateset.com/api-reference/hosts.md) and obtain your deployment URL and credentials.
> Replace the example host if your provisioned service uses a different URL.

List jobs for the authenticated tenant.

Mirrors the dashboard's `/api/jobs/` filters + cursor pagination so v1
callers can enumerate their own runs without remembering every job id.

### Query parameters

**status** `string,null`

Filter to a single status: queued, running, succeeded, failed, cancelled, awaiting\_approval

**template** `string,null`

Filter to a specific agent\_type / template name

**search** `string,null`

Substring match against job id or summary

**tag** `string[],null`

Filter to jobs that carry every supplied tag (AND-match). Repeat the parameter to require multiple tags: `?tag=env:prod&tag=owner:billing-team`.

**sort** `string`

field:dir — field is one of created\_at|updated\_at|status|template|cost\_usd; dir is asc|desc

**limit** `integer`

**offset** `integer`

**cursor** `string,null`

Opaque cursor from a previous response's X-Next-Cursor header. When set, supersedes `offset` and pages strictly past the seed row using a seek predicate. Only valid for sort=created\_at.

### Response

`JobStatusResponse[]` — each element:

**id** `string` *required*

Job UUID.

**status** `string` *required*

Current status: queued, running, succeeded, failed, cancelled, awaiting\_approval.

**template** `string` *required*

Agent type / template that was used.

**summary** `string,null`

Pipe-separated final assistant text. Populated when the job reaches a terminal state. Truncated to ≈5 segments × 280 chars.

**error** `string,null`

Human-readable error message when status is 'failed' or 'cancelled'.

**input\_tokens** `integer,null`

Cumulative input tokens consumed.

**output\_tokens** `integer,null`

Cumulative output tokens generated.

**cost\_usd** `number,null`

Cumulative billable cost. Priced at the job's selected model rate (not the deployment default).

**created\_at** `string` *required*

ISO 8601 UTC timestamp.

**updated\_at** `string` *required*

ISO 8601 UTC timestamp; refreshed on every iteration.

### Status codes

| Code | Meaning |
| - | - |
| `200` | Successful Response |
| `422` | Validation Error |

### Using this contract

Read the [source OpenAPI document](https://docs.stateset.com/spec/computer-use.json) for declared schemas and alternatives.
This page also includes documented corrections from the [spec overlays](https://github.com/stateset/docs/tree/main/spec/overlays).
Example IDs and values are illustrative; replace them with records from your workspace.

```bash cURL theme={null}
curl --silent --show-error --fail-with-body --request GET \
  --url 'https://api.computer.stateset.app/api/v1/jobs' \
  --header "X-API-Key: $STATESET_COMPUTER_USE_API_KEY"
```

```json 200 theme={null}
[
  {
    "id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
    "status": "pending",
    "template": "string",
    "summary": "Two-person tent, green — replacement for damaged pole set.",
    "error": "string",
    "input_tokens": 1,
    "output_tokens": 1,
    "cost_usd": 1.5,
    "created_at": "2026-08-31T14:22:05Z",
    "updated_at": "2026-08-31T14:22:05Z"
  }
]
```


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.