Poll this endpoint to check the status of any async operation (presentation generation, slide creation, export, or transcript generation).
Status values:
pending - Queued, not yet startedin_progress - Currently processingcompleted - Finished successfully; results available in responsefailed - Error occurred; check error field for detailsRecommended polling: Every 5 seconds. Most generations complete within 1-3 minutes depending on slide count.
| Status | Description |
|---|---|
pending | Queued, not yet started |
in_progress | Currently processing |
completed | Finished successfully; results available |
failed | Error occurred; check error field |
| Field | Type | Description |
|---|---|---|
generation_id | string | The generation ID you’re polling |
status | string | Current status |
error | string | Error message (when failed) |
created_at | string | ISO 8601 timestamp |
completed_at | string | When generation finished |
presentation_id | string | ID of the presentation |
formats | object | Export results (when completed) |
completed, the formats object contains results for each requested format:
status: completed, failed, or skippedurl: Signed download URL (valid for 24 hours)error: Error message if failedYour Alai API key. Get one from your account settings at app.getalai.com
Successful Response
Current state: pending → in_progress → completed/failed
pending, in_progress, completed, failed Human-readable error message when status is 'failed'
ISO 8601 timestamp when generation finished
presentation_generation "presentation_generation"Available once generation starts. Use this ID for subsequent operations.
Export results keyed by format ('link', 'pdf', 'ppt'). Only present when completed.