> ## 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.

# Stream Job Events

> Stream Server-Sent Events for a single job. Filters the global event broker to only events for this job_id and only after confirming the API key's tenant owns…

> [!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.

Stream Server-Sent Events for a single job.

Filters the global event broker to only events for this job\_id and
only after confirming the API key's tenant owns the job. Closes the
stream after a terminal status (succeeded/failed/cancelled) is seen,
or after the lifetime cap.

### Path parameters

**job\_id** `string (uuid)` *required*

### Response

Returns `text/event-stream` — Server-Sent Events. Parse SSE frames; this is not a JSON response body. Keepalive comments and named timeout/error events are separate from JSON data frames.

### Status codes

| Code | Meaning |
| - | - |
| `200` | Server-Sent Events. Parse SSE frames; this is not a JSON response body. Keepalive comments and named timeout/error events are separate from JSON data frames. |
| `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 --no-buffer --request GET \
  --url 'https://api.computer.stateset.app/api/v1/jobs/{job_id}/events' \
  --header "X-API-Key: $STATESET_COMPUTER_USE_API_KEY"
```

```json 200 theme={null}
"string"
```


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