---
title: "Poll Job Events"
method: GET
path: "/api/v1/creative-agent/jobs/{job_id}/events"
tags: ["Creative Agent"]
---

# Poll Job Events

`GET /api/v1/creative-agent/jobs/{job_id}/events`

## Request

- Base URL: `https://api.muapi.ai`
- URL: `https://api.muapi.ai/api/v1/creative-agent/jobs/{job_id}/events`
- Auth: one of:
  - API key in header `x-api-key`
  - OAuth 2 (client credentials, token URL `https://api.muapi.ai/oauth/token`)

Cursor-paginated event feed for a single agent turn.

Returns:
  { status: pending|processing|completed|failed,
    cursor: <last id seen, pass back as `since`>,
    events: [{id, type, payload, created_at}, ...],
    error: <only set on failed>,
    done: <true once the worker has finalised the job> }

Frontend should poll every 1-2s while `done` is false.

## Path parameters

- `job_id` string, required

## Query parameters

- `since` integer
- `limit` integer
- `team_id` integer, nullable

## Headers

- `x-api-key` string
- `x-embed-code` string, nullable
- `x-agent-embed-code` string, nullable
- `x-whitelabel-studio` string, nullable
- `authorization` string, nullable

## Response `200`

Successful Response

- unknown

## Other responses

- `422`: Validation Error

---

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