Check Generation Status
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; checkerrorfield for details
Recommended polling: Every 2-5 seconds. Most generations complete within 30-120 seconds.
Status Values
Response Fields
Format Results
When status iscompleted, the formats object contains results for each requested format:
status:completed,failed, orskippedurl: Signed download URL (valid for 24 hours)error: Error message if failed
Example
Polling Example (Python)
Authorizations
Your Alai API key. Get one from your account settings at app.getalai.com
Path Parameters
Response
Successful Response
- PresentationGenerationStatus
- SlideCreationStatus
- ExportStatus
- TranscriptStatus
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"Available once generation starts. Use this ID for subsequent operations.
Export results keyed by format ('link', 'pdf', 'ppt'). Only present when completed.