---
title: "Poll a Pine preview job"
method: GET
path: "/v1/indicators/preview/{jobId}"
---

# Poll a Pine preview job

`GET /v1/indicators/preview/{jobId}`

## Request

- Base URL: `https://app.texttoquant.com/api`
- URL: `https://app.texttoquant.com/api/v1/indicators/preview/{jobId}`
- Auth: one of:
  - API key in header `x-api-key`
  - HTTP bearer

## Path parameters

- `jobId` string, required

## Response `200`

Answers {success, status, elapsedMs, result} at the top level (no data wrapper)

- object
  - `success` true, required
  - `status` string, required: running while the job works, then its final status.
  - `elapsedMs` integer
  - `result` object: Present once the job finished: the compiled run (plots, rows, graphics).
  - `offloaded` boolean: True when the result was too large to inline; read resultUrl.
  - `resultUrl` string: Present only when offloaded.

## Other responses

- `403`: Not your preview job
- `404`: Preview job not found or expired

---

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