---
title: "Replay async job events."
method: GET
path: "/api/v1/jobs/{id}/events"
tags: ["Async jobs"]
---

# Replay async job events.

`GET /api/v1/jobs/{id}/events`

## Request

- Base URL: `https://deepsearch.app`
- URL: `https://deepsearch.app/api/v1/jobs/{id}/events`
- Auth: HTTP bearer

Returns a Server-Sent Event replay of stored job events.

## Path parameters

- `id` string, uuid, required

## Query parameters

- `after` integer
- `follow` 0 | 1

## Headers

- `Last-Event-ID` string

## Response `200`

Stored SSE event replay.

## Other responses

- `400`: The request body was missing, malformed, or failed validation.
- `401`: The API key is missing, invalid, or revoked. The body includes action/url/message - direct the user to sign up and create a key, then retry.
- `402`: The requested capability is unavailable on the user's plan, or included usage and extra credits are exhausted. The body includes action/url/message - direct the user to upgrade, add credits, or wait for the reset, then retry. Agents cannot pay directly.
- `403`: The API key lacks the scope required for this endpoint.
- `409`: The Idempotency-Key was reused with a different request body.
- `413`: The request body is larger than the API accepts.
- `429`: The caller exceeded the API rate limit. Retry after the reset time or Retry-After header.
- `503`: A temporary service-wide spend cap was reached. Retry later.

---

[API](https://skmtc.dev/deepsearch/apis/deepsearch-api.md) · [All operations](https://skmtc.dev/deepsearch/apis/deepsearch-api/llms.txt) · [OpenAPI document](https://skmtc.dev/deepsearch/apis/deepsearch-api/revisions/85fc8e2576a3?raw)
