Skip to main content
GET
Poll generation status

Authorizations

session
string
cookie
required

Session cookie obtained from POST /api/auth/login.

Path Parameters

deckId
string<uuid>
required

UUID of the deck

Response

Current job status

A deck generation job. The single-job endpoint (GET /api/decks/{deckId}/generate/status) adds the row counts and timestamps; the deck list and the per-organization poll carry only the fields common to both.

jobId
string<uuid>
required
status
enum<string>
required
Available options:
pending,
processing,
completed,
failed
currentSlide
integer | null
required

The slide that most recently STARTED processing; completed work is currentSlide − 1

totalSlides
integer | null
required

0 until the job flips to processing

progress
integer
required

0-100, derived from completed slides / totalSlides; 100 once settled

error
string | null
slidesCreated
integer

Slide rows that exist for the deck right now. This is the signal to refresh on: currentSlide marks a slide's start, and the row lands a full slide's work later. Single-job endpoint only.

faqsCreated
integer

FAQ rows that exist right now. The job tracks no FAQ state; they are written in one batch after the last slide. Single-job endpoint only.

createdAt
string<date-time>

Single-job endpoint only

completedAt
string<date-time> | null

Single-job endpoint only