1. Queue the presentation
Send the normal generation body toPOST /api/v1/ppt/presentation/generate/async:
id before returning control to the caller.
2. Poll task status
The beta status response reports progress in
data. If your integration needs the completed presentation payload pushed to it, set trigger_webhook to true and subscribe to the presentation-generation webhook events.
3. Poll with a deadline
Reliability checklist
- Use one poller per task and persist the latest status.
- Add jitter and cap the delay between requests.
- Enforce a total deadline in addition to per-request timeouts.
- Stop polling on both terminal states.
- Never log Basic-auth credentials, prompts containing secrets, or source documents.
- Avoid blind submission retries that can create duplicate presentations.
Synchronous API tutorial
Review generation fields, document upload, responses, and production practices.