Export results keyed by format ('link', 'pdf', 'ppt'). Only present when completed.
Show child attributes
Was this page helpful?
{"docsConfig":{"theme":"mint","$schema":"https://mintlify.com/docs.json","name":"Alai Docs","colors":{"primary":"#0A1E2D","light":"#B8B8B8","dark":"#9586E8"},"logo":{"light":"https://mintcdn.com/alai/xn84WwHB7IuxElVC/logo/alai_dark.svg?fit=max\u0026auto=format\u0026n=xn84WwHB7IuxElVC\u0026q=85\u0026s=5d6b020c697e644acef297e312db456e","dark":"https://mintcdn.com/alai/xn84WwHB7IuxElVC/logo/alai_white.svg?fit=max\u0026auto=format\u0026n=xn84WwHB7IuxElVC\u0026q=85\u0026s=6b7d4712c577d26c853d5fed40384903","href":"https://getalai.com/"},"favicon":"https://mintcdn.com/alai/kUfmVSAedx3k7AVI/favicon.png?fit=max\u0026auto=format\u0026n=kUfmVSAedx3k7AVI\u0026q=85\u0026s=43ee0124d72ad46fbafe9696e0a86d24","api":{"openapi":["openapi.json"],"playground":{"display":"interactive"}},"navbar":{"links":[{"href":"mailto:founders@getalai.com","label":"Support"}],"primary":{"type":"button","label":"Try Now","href":"https://getalai.com"}},"footer":{"socials":{}},"contextual":{"options":["copy","view","chatgpt","claude","perplexity","mcp","cursor","vscode"],"display":"header"},"styling":{"latex":false},"navigation":{"pages":[]}},"deployment":{"deploymentMetadataValue":{"subdomain":"alai","hasAudioNarration":false,"actualSubdomain":"alai","customDomains":["docs.getalai.com"],"gitSource":{"type":"github","owner":"getalai","repo":"docs","deployBranch":"main","contentDirectory":"","isPrivate":false,"mountPath":"","label":""},"chroma":{"liveDeploymentHistoryId":"6a99c7b0be1eead4d3da8863","collectionId":"d817b2ad-e042-4d44-9022-278b71594b58","schemaVersion":"v3","latestBuiltDeploymentHistoryId":"6a99c7b0be1eead4d3da8863"},"feedback":{"thumbs":true},"entitlements":{},"buildId":"6a99c7b0be1eead4d3da8863","clientVersion":"0.0.3964","searchFilterCounts":[{"language":"default","tag":"Classic \u0026 Creative Slides API (Beta)","count":15},{"language":"default","tag":"Modern Slides API (Beta)","count":14},{"language":"default","tag":"Presentations","count":13},{"language":"default","tag":"AI Operations","count":5},{"language":"default","tag":"Start Here","count":3},{"language":"default","tag":"Slides","count":2}]},"assistantConfig":{},"hasChatPermissions":false,"hasWebMcpPermissions":false,"toggles":[{"name":"kill-isr","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-mintlify-slack","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-v7-file-tree","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-integrations-settings","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-pr-grouping","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"custom-prefix","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"analytics-v7","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"user-flows-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"no-publish-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-onboarding","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"llms-txt-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"pause-universal-search-reconcile","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving-live","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"stripTemperatureMiddleware","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"per-site-search-delta","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"support-platform-pylon-zendesk","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"instant-rollback","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications-server","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-private-page-search","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-fable","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fixed-ai-action-pricing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automation-resolve-merge-conflict","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"scoped-publishing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"mintql","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"page-level-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-version-history-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-nav-generations","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"billing-page-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workspace-projects","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"assistant-v5","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"byok-sep-25","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fork-pr-previews","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"revalidation-jwt","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"vite-origin","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-agent-model-picker","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"billing-updated-9-15","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"hobby-abuse-scan","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"dashboard-inbox","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false}],"isAtlas":false,"googleFontsInlined":false},"customCss":[],"page":{"pagePath":"api/generation-status","slug":"/api/generation-status","pageMetadata":{"title":"Check Generation Status","openapi":"GET /api/v1/generations/{generation_id}","description":"Poll this endpoint to check the status of any async operation (presentation generation, slide creation, export, or transcript generation).\n\n**Status values:**\n- `pending` - Queued, not yet started\n- `in_progress` - Currently processing\n- `completed` - Finished successfully; results available in response\n- `failed` - Error occurred; check `error` field for details\n\n**Recommended polling:** Every 2-5 seconds. Most generations complete within 30-120 seconds.","href":"/api/generation-status"},"description":{"compiledSource":"\"use strict\";\nconst {Fragment: _Fragment, jsx: _jsx, jsxs: _jsxs} = arguments[0];\nconst {useMDXComponents: _provideComponents} = arguments[0];\nfunction _createMdxContent(props) {\n const _components = {\n code: \"code\",\n li: \"li\",\n p: \"p\",\n strong: \"strong\",\n ul: \"ul\",\n ..._provideComponents(),\n ...props.components\n };\n return _jsxs(_Fragment, {\n children: [_jsx(_components.p, {\n children: \"Poll this endpoint to check the status of any async operation (presentation generation, slide creation, export, or transcript generation).\"\n }), \"\\n\", _jsx(_components.p, {\n children: _jsx(_components.strong, {\n children: \"Status values:\"\n })\n }), \"\\n\", _jsxs(_components.ul, {\n children: [\"\\n\", _jsxs(_components.li, {\n children: [_jsx(_components.code, {\n children: \"pending\"\n }), \" - Queued, not yet started\"]\n }), \"\\n\", _jsxs(_components.li, {\n children: [_jsx(_components.code, {\n children: \"in_progress\"\n }), \" - Currently processing\"]\n }), \"\\n\", _jsxs(_components.li, {\n children: [_jsx(_components.code, {\n children: \"completed\"\n }), \" - Finished successfully; results available in response\"]\n }), \"\\n\", _jsxs(_components.li, {\n children: [_jsx(_components.code, {\n children: \"failed\"\n }), \" - Error occurred; check \", _jsx(_components.code, {\n children: \"error\"\n }), \" field for details\"]\n }), \"\\n\"]\n }), \"\\n\", _jsxs(_components.p, {\n children: [_jsx(_components.strong, {\n children: \"Recommended polling:\"\n }), \" Every 2-5 seconds. Most generations complete within 30-120 seconds.\"]\n })]\n });\n}\nfunction MDXContent(props = {}) {\n const {wrapper: MDXLayout} = {\n ..._provideComponents(),\n ...props.components\n };\n return MDXLayout ? _jsx(MDXLayout, {\n ...props,\n children: _jsx(_createMdxContent, {\n ...props\n })\n }) : _createMdxContent(props);\n}\nreturn {\n default: MDXContent\n};\n","frontmatter":{},"scope":{}},"pageType":"default","mdx":{"mdxSource":{"compiledSource":"\"use strict\";const{Fragment:_Fragment,jsx:_jsx,jsxs:_jsxs}=arguments[0];const{useMDXComponents:_provideComponents}=arguments[0];function _createMdxContent(props){const _components={code:`code`,hr:`hr`,li:`li`,p:`p`,pre:`pre`,span:`span`,strong:`strong`,tbody:`tbody`,td:`td`,th:`th`,thead:`thead`,tr:`tr`,ul:`ul`,..._provideComponents(),...props.components},{CodeBlock,Heading,Table,Tip}=_components;if(!CodeBlock)_missingMdxReference(`CodeBlock`,true);if(!Heading)_missingMdxReference(`Heading`,true);if(!Table)_missingMdxReference(`Table`,true);if(!Tip)_missingMdxReference(`Tip`,true);return _jsxs(_Fragment,{children:[_jsx(_components.p,{children:`Poll this endpoint to check the status of any async operation (presentation generation, slide creation, export, or transcript generation).`}),`\n`,_jsx(Heading,{level:`2`,id:`status-values`,children:`Status Values`}),`\n`,_jsxs(Table,{children:[_jsx(_components.thead,{children:_jsxs(_components.tr,{children:[_jsx(_components.th,{children:`Status`}),_jsx(_components.th,{children:`Description`})]})}),_jsxs(_components.tbody,{children:[_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`pending`})}),_jsx(_components.td,{children:`Queued, not yet started`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`in_progress`})}),_jsx(_components.td,{children:`Currently processing`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`completed`})}),_jsx(_components.td,{children:`Finished successfully; results available`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`failed`})}),_jsxs(_components.td,{children:[`Error occurred; check `,_jsx(_components.code,{children:`error`}),` field`]})]})]})]}),`\n`,_jsxs(_components.p,{children:[_jsx(_components.strong,{children:`Recommended polling:`}),` Every 5 seconds. Most operations complete within 1-3 minutes depending on slide count.`]}),`\n`,_jsx(_components.hr,{}),`\n`,_jsx(Heading,{level:`2`,id:`response-fields`,children:`Response Fields`}),`\n`,_jsxs(Table,{children:[_jsx(_components.thead,{children:_jsxs(_components.tr,{children:[_jsx(_components.th,{children:`Field`}),_jsx(_components.th,{children:`Type`}),_jsx(_components.th,{children:`Description`})]})}),_jsxs(_components.tbody,{children:[_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`generation_id`})}),_jsx(_components.td,{children:`string`}),_jsx(_components.td,{children:`The generation ID you’re polling`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`status`})}),_jsx(_components.td,{children:`string`}),_jsx(_components.td,{children:`Current status`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`error`})}),_jsx(_components.td,{children:`string`}),_jsxs(_components.td,{children:[`Error message (when `,_jsx(_components.code,{children:`failed`}),`)`]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`created_at`})}),_jsx(_components.td,{children:`string`}),_jsx(_components.td,{children:`ISO 8601 timestamp`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`completed_at`})}),_jsx(_components.td,{children:`string`}),_jsx(_components.td,{children:`When generation finished`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`presentation_id`})}),_jsx(_components.td,{children:`string`}),_jsx(_components.td,{children:`ID of the presentation`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`formats`})}),_jsx(_components.td,{children:`object`}),_jsxs(_components.td,{children:[`Export results (when `,_jsx(_components.code,{children:`completed`}),`)`]})]})]})]}),`\n`,_jsx(_components.hr,{}),`\n`,_jsx(Heading,{level:`2`,id:`format-results`,children:`Format Results`}),`\n`,_jsxs(_components.p,{children:[`When status is `,_jsx(_components.code,{children:`completed`}),`, the `,_jsx(_components.code,{children:`formats`}),` object contains results for each requested format:`]}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`19`,language:`json`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`json`,children:_jsxs(_components.code,{language:`json`,numberOfLines:`19`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`{`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"generation_id\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"abc123-...\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"status\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"completed\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"presentation_id\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"xyz789-...\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"formats\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: {`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"link\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: {`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"status\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"completed\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"url\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"https://app.getalai.com/view/...\"`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` },`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"pdf\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: {`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"status\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"completed\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"url\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"https://storage.../presentation.pdf\"`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` },`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"ppt\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: {`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"status\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"completed\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"url\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"https://storage.../presentation.pptx\"`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` }`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` }`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`}`})}),`\n`]})})}),`\n`,_jsx(_components.p,{children:`Each format has:`}),`\n`,_jsxs(_components.ul,{children:[`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`status`}),`: `,_jsx(_components.code,{children:`completed`}),`, `,_jsx(_components.code,{children:`failed`}),`, or `,_jsx(_components.code,{children:`skipped`})]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`url`}),`: Signed download URL (valid for 24 hours)`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`error`}),`: Error message if failed`]}),`\n`]}),`\n`,_jsx(_components.hr,{}),`\n`,_jsx(Heading,{level:`2`,id:`example`,children:`Example`}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`2`,language:`shellscript`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`shellscript`,children:_jsxs(_components.code,{language:`shellscript`,numberOfLines:`2`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#DCDCAA`},children:`curl`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"https://slides-api.getalai.com/api/v1/generations/abc123-def456-...\"`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D7BA7D`},children:` \\\\`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` -H`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"Authorization: Bearer YOUR_API_KEY\"`})]}),`\n`]})})}),`\n`,_jsx(_components.hr,{}),`\n`,_jsx(Heading,{level:`2`,id:`polling-example-python`,children:`Polling Example (Python)`}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`24`,language:`python`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`python`,children:_jsxs(_components.code,{language:`python`,numberOfLines:`24`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#C586C0`},children:`import`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` time`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#C586C0`},children:`import`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` requests`})]}),`\n`,_jsx(_components.span,{className:`line`}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:`def`}),_jsx(_components.span,{style:{color:`#8250DF`,\"--shiki-dark\":`#DCDCAA`},children:` wait_for_generation`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`(`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`generation_id`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`, `}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`api_key`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`, `}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`max_wait`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`=`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`300`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`):`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` url `}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`=`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:` f`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"https://slides-api.getalai.com/api/v1/generations/`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:`{`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`generation_id`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:`}`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` headers `}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`=`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` {`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"Authorization\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:`f`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"Bearer `}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:`{`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`api_key`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:`}`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`}`})]}),`\n`,_jsx(_components.span,{className:`line`}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` start `}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`=`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` time.time()`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#C586C0`},children:` while`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` time.time() `}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`-`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` start `}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`\u003c`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` max_wait:`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` response `}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`=`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` requests.get(url, `}),_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#9CDCFE`},children:`headers`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`=`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`headers)`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` data `}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`=`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` response.json()`})]}),`\n`,_jsx(_components.span,{className:`line`}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#C586C0`},children:` if`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` data[`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"status\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`] `}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`==`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"completed\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`:`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#C586C0`},children:` return`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` data`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#C586C0`},children:` elif`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` data[`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"status\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`] `}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`==`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"failed\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`:`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#C586C0`},children:` raise`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#4EC9B0`},children:` Exception`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`(data.get(`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"error\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`, `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"Generation failed\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`))`})]}),`\n`,_jsx(_components.span,{className:`line`}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` time.sleep(`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`3`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`) `}),_jsx(_components.span,{style:{color:`#6E7781`,\"--shiki-dark\":`#6A9955`},children:`# Poll every 3 seconds`})]}),`\n`,_jsx(_components.span,{className:`line`}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#C586C0`},children:` raise`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#4EC9B0`},children:` TimeoutError`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`(`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"Generation timed out\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`)`})]}),`\n`,_jsx(_components.span,{className:`line`}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#6E7781`,\"--shiki-dark\":`#6A9955`},children:`# Usage`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`result `}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`=`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` wait_for_generation(`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"abc123-...\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`, `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"YOUR_API_KEY\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`)`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#DCDCAA`},children:`print`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`(result[`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"formats\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`][`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"link\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`][`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"url\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`])`})]}),`\n`]})})}),`\n`,_jsx(Tip,{children:_jsxs(_components.p,{children:[`Download URLs in the `,_jsx(_components.code,{children:`formats`}),` object are signed and valid for 24 hours.\nStore the `,_jsx(_components.code,{children:`presentation_id`}),` if you need to export again later.`]})})]})}function MDXContent(props={}){const{wrapper:MDXLayout}={..._provideComponents(),...props.components};return MDXLayout?_jsx(MDXLayout,{...props,children:_jsx(_createMdxContent,{...props})}):_createMdxContent(props)}return{default:MDXContent};function _missingMdxReference(id,component){throw new Error(`Expected `+(component?`component`:`object`)+\" `\"+id+\"` to be defined: you likely forgot to import, pass, or provide it.\")}","frontmatter":{},"scope":{"config":{},"pageMetadata":{"title":"Check Generation Status","openapi":"GET /api/v1/generations/{generation_id}","description":"Poll this endpoint to check the status of any async operation (presentation generation, slide creation, export, or transcript generation).\n\n**Status values:**\n- `pending` - Queued, not yet started\n- `in_progress` - Currently processing\n- `completed` - Finished successfully; results available in response\n- `failed` - Error occurred; check `error` field for details\n\n**Recommended polling:** Every 2-5 seconds. Most generations complete within 30-120 seconds.","href":"/api/generation-status"}}},"mdxSourceWithNoJs":null},"mdxExtracts":{"tableOfContents":[{"title":"Status Values","slug":"status-values","depth":2,"children":[]},{"title":"Response Fields","slug":"response-fields","depth":2,"children":[]},{"title":"Format Results","slug":"format-results","depth":2,"children":[]},{"title":"Example","slug":"example","depth":2,"children":[]},{"title":"Polling Example (Python)","slug":"polling-example-python","depth":2,"children":[]}],"codeExamples":{}},"jsLinks":[],"openApiReferenceData":{"operation":{"tags":["External API"],"summary":"Check generation status","description":"Poll this endpoint to check the status of any async operation (presentation generation, slide creation, export, or transcript generation).\n\n**Status values:**\n- `pending` - Queued, not yet started\n- `in_progress` - Currently processing\n- `completed` - Finished successfully; results available in response\n- `failed` - Error occurred; check `error` field for details\n\n**Recommended polling:** Every 2-5 seconds. Most generations complete within 30-120 seconds.","operationId":"get_generation_status_api_v1_generations__generation_id__get","parameters":["d786843c-6530-4b37-a5aa-fbbc78b03bd1"],"responses":{"200":"e32b77f2-f9e5-4190-87a3-2c25c3e601fc","422":"f506f521-63e3-4545-990b-84c6a89fee30"},"method":"get","type":"path","servers":["05b837e4-3b64-439f-b286-c998dbfccd24"],"security":["96e73dfc-5cc7-4e86-b4d3-f55139d15ac0"],"path":"/api/v1/generations/{generation_id}","baseUrlOptions":["https://slides-api.getalai.com"],"title":"Check generation status","codeSamples":[],"requiredOnlyExamples":false,"requestExampleType":"generated","responseExampleType":"generated"},"dependencies":{"parameters":{"d786843c-6530-4b37-a5aa-fbbc78b03bd1":{"name":"generation_id","in":"path","required":true,"schema":{"type":"string","title":"Generation Id","isRequired":true,"uniqueKey":"","typeLabel":"string"}}},"responses":{"e32b77f2-f9e5-4190-87a3-2c25c3e601fc":{"description":"Successful Response","content":{"application/json":{"schema":{"oneOf":[{"type":"object","title":"PresentationGenerationStatus","required":["generation_id","status","created_at"],"properties":{"generation_id":{"type":"string","title":"Generation Id","isRequired":true,"uniqueKey":"oneOf.0.generation_id","typeLabel":"string"},"status":{"type":"string","enum":["pending","in_progress","completed","failed"],"title":"ApiGenerationStatus","description":"Current state: pending → in_progress → completed/failed","isRequired":true,"uniqueKey":"oneOf.0.status","typeLabel":"enum\u003cstring>"},"created_at":{"type":"string","title":"Created At","isRequired":true,"uniqueKey":"oneOf.0.created_at","typeLabel":"string"},"error":{"oneOf":[{"type":"string","title":"Error","description":"Human-readable error message when status is 'failed'","uniqueKey":"oneOf.0.error.oneOf.0","typeLabel":"string"},{"type":"null","title":"Error","description":"Human-readable error message when status is 'failed'","uniqueKey":"oneOf.0.error.oneOf.1","typeLabel":"null"}],"uniqueKey":"oneOf.0.error","typeLabel":"string | null"},"completed_at":{"oneOf":[{"type":"string","title":"Completed At","description":"ISO 8601 timestamp when generation finished","uniqueKey":"oneOf.0.completed_at.oneOf.0","typeLabel":"string"},{"type":"null","title":"Completed At","description":"ISO 8601 timestamp when generation finished","uniqueKey":"oneOf.0.completed_at.oneOf.1","typeLabel":"null"}],"uniqueKey":"oneOf.0.completed_at","typeLabel":"string | null"},"generation_type":{"type":"string","const":"presentation_generation","title":"Generation Type","default":"presentation_generation","uniqueKey":"oneOf.0.generation_type","typeLabel":"string"},"presentation_id":{"oneOf":[{"type":"string","title":"Presentation Id","description":"Available once generation starts. Use this ID for subsequent operations.","uniqueKey":"oneOf.0.presentation_id.oneOf.0","typeLabel":"string"},{"type":"null","title":"Presentation Id","description":"Available once generation starts. Use this ID for subsequent operations.","uniqueKey":"oneOf.0.presentation_id.oneOf.1","typeLabel":"null"}],"uniqueKey":"oneOf.0.presentation_id","typeLabel":"string | null"},"formats":{"oneOf":[{"type":"object","title":"Formats","description":"Export results keyed by format ('link', 'pdf', 'ppt'). Only present when completed.","additionalProperties":{"properties":{"status":{"type":"string","title":"Status","description":"Export status: 'completed', 'failed', or 'skipped'","isRequired":true,"uniqueKey":"oneOf.0.formats.oneOf.0.additionalProperties.status","typeLabel":"string"},"url":{"oneOf":[{"type":"string","title":"Url","description":"Signed URL to download the exported file. Valid for 24 hours.","uniqueKey":"oneOf.0.formats.oneOf.0.additionalProperties.url.oneOf.0","typeLabel":"string"},{"type":"null","title":"Url","description":"Signed URL to download the exported file. Valid for 24 hours.","uniqueKey":"oneOf.0.formats.oneOf.0.additionalProperties.url.oneOf.1","typeLabel":"null"}],"uniqueKey":"oneOf.0.formats.oneOf.0.additionalProperties.url","typeLabel":"string | null"},"error":{"oneOf":[{"type":"string","title":"Error","description":"Error message if export failed for this format","uniqueKey":"oneOf.0.formats.oneOf.0.additionalProperties.error.oneOf.0","typeLabel":"string"},{"type":"null","title":"Error","description":"Error message if export failed for this format","uniqueKey":"oneOf.0.formats.oneOf.0.additionalProperties.error.oneOf.1","typeLabel":"null"}],"uniqueKey":"oneOf.0.formats.oneOf.0.additionalProperties.error","typeLabel":"string | null"}},"type":"object","required":["status"],"title":"FormatResult","uniqueKey":"oneOf.0.formats.oneOf.0.additionalProperties","typeLabel":"FormatResult · object"},"uniqueKey":"oneOf.0.formats.oneOf.0","typeLabel":"Formats · object"},{"type":"null","title":"Formats","description":"Export results keyed by format ('link', 'pdf', 'ppt'). Only present when completed.","uniqueKey":"oneOf.0.formats.oneOf.1","typeLabel":"null"}],"uniqueKey":"oneOf.0.formats","typeLabel":"Formats · object | null"}},"uniqueKey":"oneOf.0","typeLabel":"PresentationGenerationStatus · object"},{"type":"object","title":"SlideCreationStatus","required":["generation_id","status","created_at"],"properties":{"generation_id":{"type":"string","title":"Generation Id","isRequired":true,"uniqueKey":"oneOf.1.generation_id","typeLabel":"string"},"status":{"type":"string","enum":["pending","in_progress","completed","failed"],"title":"ApiGenerationStatus","description":"Current state: pending → in_progress → completed/failed","isRequired":true,"uniqueKey":"oneOf.1.status","typeLabel":"enum\u003cstring>"},"created_at":{"type":"string","title":"Created At","isRequired":true,"uniqueKey":"oneOf.1.created_at","typeLabel":"string"},"error":{"oneOf":[{"type":"string","title":"Error","description":"Human-readable error message when status is 'failed'","uniqueKey":"oneOf.1.error.oneOf.0","typeLabel":"string"},{"type":"null","title":"Error","description":"Human-readable error message when status is 'failed'","uniqueKey":"oneOf.1.error.oneOf.1","typeLabel":"null"}],"uniqueKey":"oneOf.1.error","typeLabel":"string | null"},"completed_at":{"oneOf":[{"type":"string","title":"Completed At","description":"ISO 8601 timestamp when generation finished","uniqueKey":"oneOf.1.completed_at.oneOf.0","typeLabel":"string"},{"type":"null","title":"Completed At","description":"ISO 8601 timestamp when generation finished","uniqueKey":"oneOf.1.completed_at.oneOf.1","typeLabel":"null"}],"uniqueKey":"oneOf.1.completed_at","typeLabel":"string | null"},"generation_type":{"type":"string","const":"slide_creation","title":"Generation Type","default":"slide_creation","uniqueKey":"oneOf.1.generation_type","typeLabel":"string"},"presentation_id":{"oneOf":[{"type":"string","title":"Presentation Id","uniqueKey":"oneOf.1.presentation_id.oneOf.0","typeLabel":"string"},{"type":"null","title":"Presentation Id","uniqueKey":"oneOf.1.presentation_id.oneOf.1","typeLabel":"null"}],"uniqueKey":"oneOf.1.presentation_id","typeLabel":"string | null"},"slide_id":{"oneOf":[{"type":"string","title":"Slide Id","description":"ID of the newly created slide. Available when completed.","uniqueKey":"oneOf.1.slide_id.oneOf.0","typeLabel":"string"},{"type":"null","title":"Slide Id","description":"ID of the newly created slide. Available when completed.","uniqueKey":"oneOf.1.slide_id.oneOf.1","typeLabel":"null"}],"uniqueKey":"oneOf.1.slide_id","typeLabel":"string | null"},"formats":{"oneOf":[{"type":"object","title":"Formats","description":"Export results if export_formats were requested","additionalProperties":{"properties":{"status":{"type":"string","title":"Status","description":"Export status: 'completed', 'failed', or 'skipped'","isRequired":true,"uniqueKey":"oneOf.1.formats.oneOf.0.additionalProperties.status","typeLabel":"string"},"url":{"oneOf":[{"type":"string","title":"Url","description":"Signed URL to download the exported file. Valid for 24 hours.","uniqueKey":"oneOf.1.formats.oneOf.0.additionalProperties.url.oneOf.0","typeLabel":"string"},{"type":"null","title":"Url","description":"Signed URL to download the exported file. Valid for 24 hours.","uniqueKey":"oneOf.1.formats.oneOf.0.additionalProperties.url.oneOf.1","typeLabel":"null"}],"uniqueKey":"oneOf.1.formats.oneOf.0.additionalProperties.url","typeLabel":"string | null"},"error":{"oneOf":[{"type":"string","title":"Error","description":"Error message if export failed for this format","uniqueKey":"oneOf.1.formats.oneOf.0.additionalProperties.error.oneOf.0","typeLabel":"string"},{"type":"null","title":"Error","description":"Error message if export failed for this format","uniqueKey":"oneOf.1.formats.oneOf.0.additionalProperties.error.oneOf.1","typeLabel":"null"}],"uniqueKey":"oneOf.1.formats.oneOf.0.additionalProperties.error","typeLabel":"string | null"}},"type":"object","required":["status"],"title":"FormatResult","uniqueKey":"oneOf.1.formats.oneOf.0.additionalProperties","typeLabel":"FormatResult · object"},"uniqueKey":"oneOf.1.formats.oneOf.0","typeLabel":"Formats · object"},{"type":"null","title":"Formats","description":"Export results if export_formats were requested","uniqueKey":"oneOf.1.formats.oneOf.1","typeLabel":"null"}],"uniqueKey":"oneOf.1.formats","typeLabel":"Formats · object | null"}},"uniqueKey":"oneOf.1","typeLabel":"SlideCreationStatus · object"},{"type":"object","title":"ExportStatus","required":["generation_id","status","created_at"],"properties":{"generation_id":{"type":"string","title":"Generation Id","isRequired":true,"uniqueKey":"oneOf.2.generation_id","typeLabel":"string"},"status":{"type":"string","enum":["pending","in_progress","completed","failed"],"title":"ApiGenerationStatus","description":"Current state: pending → in_progress → completed/failed","isRequired":true,"uniqueKey":"oneOf.2.status","typeLabel":"enum\u003cstring>"},"created_at":{"type":"string","title":"Created At","isRequired":true,"uniqueKey":"oneOf.2.created_at","typeLabel":"string"},"error":{"oneOf":[{"type":"string","title":"Error","description":"Human-readable error message when status is 'failed'","uniqueKey":"oneOf.2.error.oneOf.0","typeLabel":"string"},{"type":"null","title":"Error","description":"Human-readable error message when status is 'failed'","uniqueKey":"oneOf.2.error.oneOf.1","typeLabel":"null"}],"uniqueKey":"oneOf.2.error","typeLabel":"string | null"},"completed_at":{"oneOf":[{"type":"string","title":"Completed At","description":"ISO 8601 timestamp when generation finished","uniqueKey":"oneOf.2.completed_at.oneOf.0","typeLabel":"string"},{"type":"null","title":"Completed At","description":"ISO 8601 timestamp when generation finished","uniqueKey":"oneOf.2.completed_at.oneOf.1","typeLabel":"null"}],"uniqueKey":"oneOf.2.completed_at","typeLabel":"string | null"},"generation_type":{"type":"string","const":"presentation_export","title":"Generation Type","default":"presentation_export","uniqueKey":"oneOf.2.generation_type","typeLabel":"string"},"presentation_id":{"oneOf":[{"type":"string","title":"Presentation Id","uniqueKey":"oneOf.2.presentation_id.oneOf.0","typeLabel":"string"},{"type":"null","title":"Presentation Id","uniqueKey":"oneOf.2.presentation_id.oneOf.1","typeLabel":"null"}],"uniqueKey":"oneOf.2.presentation_id","typeLabel":"string | null"},"formats":{"oneOf":[{"type":"object","title":"Formats","description":"Export results keyed by format ('link', 'pdf', 'ppt')","additionalProperties":{"properties":{"status":{"type":"string","title":"Status","description":"Export status: 'completed', 'failed', or 'skipped'","isRequired":true,"uniqueKey":"oneOf.2.formats.oneOf.0.additionalProperties.status","typeLabel":"string"},"url":{"oneOf":[{"type":"string","title":"Url","description":"Signed URL to download the exported file. Valid for 24 hours.","uniqueKey":"oneOf.2.formats.oneOf.0.additionalProperties.url.oneOf.0","typeLabel":"string"},{"type":"null","title":"Url","description":"Signed URL to download the exported file. Valid for 24 hours.","uniqueKey":"oneOf.2.formats.oneOf.0.additionalProperties.url.oneOf.1","typeLabel":"null"}],"uniqueKey":"oneOf.2.formats.oneOf.0.additionalProperties.url","typeLabel":"string | null"},"error":{"oneOf":[{"type":"string","title":"Error","description":"Error message if export failed for this format","uniqueKey":"oneOf.2.formats.oneOf.0.additionalProperties.error.oneOf.0","typeLabel":"string"},{"type":"null","title":"Error","description":"Error message if export failed for this format","uniqueKey":"oneOf.2.formats.oneOf.0.additionalProperties.error.oneOf.1","typeLabel":"null"}],"uniqueKey":"oneOf.2.formats.oneOf.0.additionalProperties.error","typeLabel":"string | null"}},"type":"object","required":["status"],"title":"FormatResult","uniqueKey":"oneOf.2.formats.oneOf.0.additionalProperties","typeLabel":"FormatResult · object"},"uniqueKey":"oneOf.2.formats.oneOf.0","typeLabel":"Formats · object"},{"type":"null","title":"Formats","description":"Export results keyed by format ('link', 'pdf', 'ppt')","uniqueKey":"oneOf.2.formats.oneOf.1","typeLabel":"null"}],"uniqueKey":"oneOf.2.formats","typeLabel":"Formats · object | null"}},"uniqueKey":"oneOf.2","typeLabel":"ExportStatus · object"},{"type":"object","title":"TranscriptStatus","required":["generation_id","status","created_at"],"properties":{"generation_id":{"type":"string","title":"Generation Id","isRequired":true,"uniqueKey":"oneOf.3.generation_id","typeLabel":"string"},"status":{"type":"string","enum":["pending","in_progress","completed","failed"],"title":"ApiGenerationStatus","description":"Current state: pending → in_progress → completed/failed","isRequired":true,"uniqueKey":"oneOf.3.status","typeLabel":"enum\u003cstring>"},"created_at":{"type":"string","title":"Created At","isRequired":true,"uniqueKey":"oneOf.3.created_at","typeLabel":"string"},"error":{"oneOf":[{"type":"string","title":"Error","description":"Human-readable error message when status is 'failed'","uniqueKey":"oneOf.3.error.oneOf.0","typeLabel":"string"},{"type":"null","title":"Error","description":"Human-readable error message when status is 'failed'","uniqueKey":"oneOf.3.error.oneOf.1","typeLabel":"null"}],"uniqueKey":"oneOf.3.error","typeLabel":"string | null"},"completed_at":{"oneOf":[{"type":"string","title":"Completed At","description":"ISO 8601 timestamp when generation finished","uniqueKey":"oneOf.3.completed_at.oneOf.0","typeLabel":"string"},{"type":"null","title":"Completed At","description":"ISO 8601 timestamp when generation finished","uniqueKey":"oneOf.3.completed_at.oneOf.1","typeLabel":"null"}],"uniqueKey":"oneOf.3.completed_at","typeLabel":"string | null"},"generation_type":{"type":"string","const":"transcript_generation","title":"Generation Type","default":"transcript_generation","uniqueKey":"oneOf.3.generation_type","typeLabel":"string"},"presentation_id":{"oneOf":[{"type":"string","title":"Presentation Id","uniqueKey":"oneOf.3.presentation_id.oneOf.0","typeLabel":"string"},{"type":"null","title":"Presentation Id","uniqueKey":"oneOf.3.presentation_id.oneOf.1","typeLabel":"null"}],"uniqueKey":"oneOf.3.presentation_id","typeLabel":"string | null"},"transcripts":{"oneOf":[{"type":"array","items":{"properties":{"slide_id":{"type":"string","title":"Slide Id","isRequired":true,"uniqueKey":"oneOf.3.transcripts.oneOf.0.items.[INDEX].slide_id","typeLabel":"string"},"slide_order":{"type":"integer","title":"Slide Order","description":"Position in the presentation (0-indexed)","isRequired":true,"uniqueKey":"oneOf.3.transcripts.oneOf.0.items.[INDEX].slide_order","typeLabel":"integer"},"content":{"type":"string","title":"Content","description":"Generated speaker notes for this slide","isRequired":true,"uniqueKey":"oneOf.3.transcripts.oneOf.0.items.[INDEX].content","typeLabel":"string"},"layout":{"type":"string","title":"Layout","description":"Layout type used for this slide","isRequired":true,"uniqueKey":"oneOf.3.transcripts.oneOf.0.items.[INDEX].layout","typeLabel":"string"},"title":{"oneOf":[{"type":"string","title":"Title","description":"Slide heading, if present","uniqueKey":"oneOf.3.transcripts.oneOf.0.items.[INDEX].title.oneOf.0","typeLabel":"string"},{"type":"null","title":"Title","description":"Slide heading, if present","uniqueKey":"oneOf.3.transcripts.oneOf.0.items.[INDEX].title.oneOf.1","typeLabel":"null"}],"uniqueKey":"oneOf.3.transcripts.oneOf.0.items.[INDEX].title","typeLabel":"string | null"}},"type":"object","required":["slide_id","slide_order","content","layout"],"title":"SlideTranscript","uniqueKey":"oneOf.3.transcripts.oneOf.0.items.[INDEX]","typeLabel":"SlideTranscript · object"},"title":"Transcripts","description":"Speaker notes for each slide, ordered by slide_order","uniqueKey":"oneOf.3.transcripts.oneOf.0","typeLabel":"SlideTranscript · object[]"},{"type":"null","title":"Transcripts","description":"Speaker notes for each slide, ordered by slide_order","uniqueKey":"oneOf.3.transcripts.oneOf.1","typeLabel":"null"}],"uniqueKey":"oneOf.3.transcripts","typeLabel":"SlideTranscript · object[] | null"}},"uniqueKey":"oneOf.3","typeLabel":"TranscriptStatus · object"}],"uniqueKey":"","typeLabel":"PresentationGenerationStatus · object | SlideCreationStatus · object | ExportStatus · object | TranscriptStatus · object"},"examples":{"Example":{"title":"Example","value":{"generation_id":"\u003cstring>","status":"pending","created_at":"\u003cstring>","error":"\u003cstring>","completed_at":"\u003cstring>","generation_type":"presentation_generation","presentation_id":"\u003cstring>","formats":{}}}},"exampleType":"generated"}},"exampleType":"generated"},"f506f521-63e3-4545-990b-84c6a89fee30":{"description":"Validation Error","content":{"application/json":{"schema":{"properties":{"detail":{"items":{"properties":{"loc":{"items":{"oneOf":[{"type":"string","uniqueKey":"detail.items.[INDEX].loc.items.[INDEX].oneOf.0","typeLabel":"string"},{"type":"integer","uniqueKey":"detail.items.[INDEX].loc.items.[INDEX].oneOf.1","typeLabel":"integer"}],"uniqueKey":"detail.items.[INDEX].loc.items.[INDEX]","typeLabel":"string | integer"},"type":"array","title":"Location","isRequired":true,"uniqueKey":"detail.items.[INDEX].loc","typeLabel":"(string | integer)[]"},"msg":{"type":"string","title":"Message","isRequired":true,"uniqueKey":"detail.items.[INDEX].msg","typeLabel":"string"},"type":{"type":"string","title":"Error Type","isRequired":true,"uniqueKey":"detail.items.[INDEX].type","typeLabel":"string"}},"type":"object","required":["loc","msg","type"],"title":"ValidationError","uniqueKey":"detail.items.[INDEX]","typeLabel":"ValidationError · object"},"type":"array","title":"Detail","uniqueKey":"detail","typeLabel":"ValidationError · object[]"}},"type":"object","title":"HTTPValidationError","uniqueKey":"","typeLabel":"HTTPValidationError · object"},"examples":{"Example":{"title":"Example","value":{"detail":[{"loc":["\u003cstring>"],"msg":"\u003cstring>","type":"\u003cstring>"}]}}},"exampleType":"generated"}},"exampleType":"generated"}},"security":{"96e73dfc-5cc7-4e86-b4d3-f55139d15ac0":{"BearerAuth":{"type":"http","scheme":"bearer","description":"Your Alai API key. Get one from your account settings at app.getalai.com","scopes":[]}}},"servers":{"05b837e4-3b64-439f-b286-c998dbfccd24":{"url":"https://slides-api.getalai.com"}},"processedSecurityOptions":[{"schemes":[{"scheme":{"type":"http","scheme":"bearer","description":"Your Alai API key. Get one from your account settings at app.getalai.com","scopes":[]},"schema":{"title":"Bearer Auth","type":"string","isRequired":true,"description":"Your Alai API key. Get one from your account settings at app.getalai.com","format":"bearer","typeLabel":"string\u003cbearer>","deprecated":false},"schemeName":"BearerAuth","name":"Authorization"}],"title":"BearerAuth"}]},"originalFileLocation":"openapi.json"},"subdomain":"alai","siteName":"Alai Docs","title":"Check Generation Status - Alai Docs","navMaps":{"firstHrefInVersion":{},"firstHrefInLanguage":{}},"lastModified":"2026-03-27T06:57:31.208Z","originalFileLocation":"api/generation-status.mdx"},"headHtml":"\u003cscript data-mint-head>(function(){var d=document.documentElement,p=null;if(!p){try{p=localStorage.getItem(\"isDarkMode\")}catch(e){}if(p==='true')p='dark';else if(p==='false')p='light';if(p!=='light'\u0026\u0026p!=='dark'\u0026\u0026p!=='system')p=\"system\"}var r=p==='system'?(matchMedia(\"(prefers-color-scheme: dark)\").matches?'dark':'light'):p;d.classList.remove(r==='dark'?'light':'dark');d.classList.add(r);d.setAttribute(\"data-theme-preference\",p)})();\u003c/script>\u003cmeta data-mint-head name=\"description\" content=\"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 started - in_progress - Currently processing - completed - Finished successfully; results available in response - failed - Error occurred; check error field for details Recommended polling: Every 2-5 seconds. Most generations complete within 30-120 seconds.\">\u003cmeta data-mint-head name=\"application-name\" content=\"Alai Docs\">\u003cmeta data-mint-head name=\"generator\" content=\"Mintlify\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/alai/duOYO6Ajm9VQzTDX/_generated/favicon/android-chrome-192x192.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"apple-touch-icon\" type=\"image/png\" sizes=\"180x180\" href=\"/mintlify-assets/_mintlify/favicons/alai/duOYO6Ajm9VQzTDX/_generated/favicon/apple-touch-icon.png\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/alai/duOYO6Ajm9VQzTDX/_generated/favicon/favicon-16x16.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/mintlify-assets/_mintlify/favicons/alai/duOYO6Ajm9VQzTDX/_generated/favicon/favicon-32x32.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"/mintlify-assets/_mintlify/favicons/alai/duOYO6Ajm9VQzTDX/_generated/favicon/favicon.ico\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/alai/duOYO6Ajm9VQzTDX/_generated/favicon-dark/android-chrome-192x192.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/alai/duOYO6Ajm9VQzTDX/_generated/favicon-dark/favicon-16x16.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/mintlify-assets/_mintlify/favicons/alai/duOYO6Ajm9VQzTDX/_generated/favicon-dark/favicon-32x32.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"/mintlify-assets/_mintlify/favicons/alai/duOYO6Ajm9VQzTDX/_generated/favicon-dark/favicon.ico\" media=\"(prefers-color-scheme: dark)\">\u003cmeta data-mint-head property=\"og:title\" content=\"Check Generation Status - Alai Docs\">\u003cmeta data-mint-head property=\"og:description\" content=\"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 started - in_progress - Currently processing - completed - Finished successfully; results available in response - failed - Error occurred; check error field for details Recommended polling: Every 2-5 seconds. Most generations complete within 30-120 seconds.\">\u003cmeta data-mint-head property=\"og:site_name\" content=\"Alai Docs\">\u003cmeta data-mint-head property=\"og:url\" content=\"https://docs.getalai.com/api/generation-status\">\u003cmeta data-mint-head property=\"og:type\" content=\"website\">\u003cmeta data-mint-head property=\"og:image\" content=\"https://alai.mintlify.app/_mintlify/api/og/v2?division=Presentations\u0026amp;title=Check+Generation+Status\u0026amp;description=Poll+this+endpoint+to+check+the+status+of+any+async+operation+%28presentation+generation%2C+slide+creation%2C+export%2C+or+transcript+generation%29.%0A%0A**Status+values%3A**%0A-\u0026amp;theme=c55528165354c52a65aaec78\u0026amp;signature=303897c94f4dd3089ccd61f3bd2d0a7f2e2ae6d8d9a3ea6e84ec8d7edafdf5c5\">\u003cmeta data-mint-head property=\"og:image:width\" content=\"1200\">\u003cmeta data-mint-head property=\"og:image:height\" content=\"630\">\u003cmeta data-mint-head name=\"twitter:card\" content=\"summary_large_image\">\u003cmeta data-mint-head name=\"twitter:title\" content=\"Check Generation Status - Alai Docs\">\u003cmeta data-mint-head name=\"twitter:description\" content=\"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 started - in_progress - Currently processing - completed - Finished successfully; results available in response - failed - Error occurred; check error field for details Recommended polling: Every 2-5 seconds. Most generations complete within 30-120 seconds.\">\u003cmeta data-mint-head name=\"twitter:image\" content=\"https://alai.mintlify.app/_mintlify/api/og/v2?division=Presentations\u0026amp;title=Check+Generation+Status\u0026amp;description=Poll+this+endpoint+to+check+the+status+of+any+async+operation+%28presentation+generation%2C+slide+creation%2C+export%2C+or+transcript+generation%29.%0A%0A**Status+values%3A**%0A-\u0026amp;theme=c55528165354c52a65aaec78\u0026amp;signature=303897c94f4dd3089ccd61f3bd2d0a7f2e2ae6d8d9a3ea6e84ec8d7edafdf5c5\">\u003cmeta data-mint-head name=\"twitter:image:width\" content=\"1200\">\u003cmeta data-mint-head name=\"twitter:image:height\" content=\"630\">\u003cmeta data-mint-head name=\"msapplication-config\" content=\"/mintlify-assets/_mintlify/favicons/alai/duOYO6Ajm9VQzTDX/_generated/favicon/browserconfig.xml\">\u003cmeta data-mint-head name=\"apple-mobile-web-app-title\" content=\"Alai Docs\">\u003cmeta data-mint-head name=\"msapplication-TileColor\" content=\"#0A1E2D\">\u003clink data-mint-head rel=\"canonical\" href=\"https://docs.getalai.com/api/generation-status\">\u003clink data-mint-head rel=\"alternate\" type=\"application/xml\" href=\"/sitemap.xml\">\u003clink data-mint-head rel=\"alternate\" type=\"text/markdown\" href=\"/api/generation-status.md\">\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@graph\":[{\"@type\":\"Organization\",\"@id\":\"https://docs.getalai.com/#organization\",\"name\":\"Alai Docs\",\"url\":\"https://docs.getalai.com\",\"logo\":{\"@type\":\"ImageObject\",\"url\":\"https://mintcdn.com/alai/xn84WwHB7IuxElVC/logo/alai_dark.svg?fit=max\u0026auto=format\u0026n=xn84WwHB7IuxElVC\u0026q=85\u0026s=5d6b020c697e644acef297e312db456e\"}},{\"@type\":\"WebSite\",\"@id\":\"https://docs.getalai.com#website\",\"name\":\"Alai Docs\",\"url\":\"https://docs.getalai.com\",\"publisher\":{\"@id\":\"https://docs.getalai.com/#organization\"}},{\"@type\":\"WebPage\",\"@id\":\"https://docs.getalai.com/api/generation-status#webpage\",\"url\":\"https://docs.getalai.com/api/generation-status\",\"name\":\"Check Generation Status\",\"description\":\"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 started - in_progress - Currently processing - completed - Finished successfully; results available in response - failed - Error occurred; check error field for details Recommended polling: Every 2-5 seconds. Most generations complete within 30-120 seconds.\",\"dateModified\":\"2026-03-27T06:57:31.208Z\",\"isPartOf\":{\"@id\":\"https://docs.getalai.com#website\"},\"breadcrumb\":{\"@id\":\"https://docs.getalai.com/api/generation-status#breadcrumb\"}},{\"@type\":\"BreadcrumbList\",\"@id\":\"https://docs.getalai.com/api/generation-status#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Classic \u0026 Creative Slides API (Beta)\",\"item\":\"https://docs.getalai.com/api/introduction\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Presentations\",\"item\":\"https://docs.getalai.com/api/get-presentations\"},{\"@type\":\"ListItem\",\"position\":3,\"name\":\"Check Generation Status\",\"item\":\"https://docs.getalai.com/api/generation-status\"}]},{\"@type\":[\"TechArticle\",\"APIReference\"],\"@id\":\"https://docs.getalai.com/api/generation-status#apireference\",\"headline\":\"Check Generation Status\",\"name\":\"Check Generation Status\",\"description\":\"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 started - in_progress - Currently processing - completed - Finished successfully; results available in response - failed - Error occurred; check error field for details Recommended polling: Every 2-5 seconds. Most generations complete within 30-120 seconds.\",\"url\":\"https://docs.getalai.com/api/generation-status\",\"mainEntityOfPage\":{\"@id\":\"https://docs.getalai.com/api/generation-status#webpage\"},\"dateModified\":\"2026-03-27T06:57:31.208Z\",\"publisher\":{\"@id\":\"https://docs.getalai.com/#organization\"},\"isPartOf\":{\"@id\":\"https://docs.getalai.com#website\"}}]}\u003c/script>\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@type\":\"WebSite\",\"name\":\"Alai Docs\",\"creator\":{\"@type\":\"Organization\",\"name\":\"Mintlify\",\"url\":\"https://mintlify.com\"}}\u003c/script>","siteName":"Alai Docs","nav":{"global":null,"groups":[{"group":"Classic \u0026 Creative Slides API (Beta)","pages":[{"title":"Getting Started","sidebarTitle":"Introduction","href":"/api/introduction"},{"title":"MCP Integration","sidebarTitle":"MCP (AI Agents)","href":"/api/mcp"},{"title":"A2A Agent","sidebarTitle":"A2A (Agent Protocol)","href":"/api/a2a"},{"title":"Examples \u0026 Use Cases","sidebarTitle":"Examples","href":"/api/examples"},{"group":"Presentations","pages":[{"title":"Get Presentations","openapi":"GET /api/v1/presentations","href":"/api/get-presentations"},{"title":"Get Themes","openapi":"GET /api/v1/themes","href":"/api/get-themes"},{"title":"Get Vibes","openapi":"GET /api/v1/vibes","href":"/api/get-vibes"},{"title":"Generate Presentation","openapi":"POST /api/v1/generations","description":"Create a new presentation from text content. This is an async operation.\n\n**Workflow:**\n1. Submit your content and options\n2. Receive a `generation_id` immediately\n3. Poll `GET /generations/{generation_id}` until status is `completed` or `failed`\n4. Access your presentation via the URLs in the response\n\n**Rate limit:** Max 5 concurrent generations per user.","href":"/api/generations"},{"title":"Check Generation Status","openapi":"GET /api/v1/generations/{generation_id}","href":"/api/generation-status"},{"title":"Export Presentation","openapi":"POST /api/v1/presentations/{presentation_id}/exports","description":"Export an existing presentation to one or more formats (PDF, PPTX). This is an async operation.\n\nPoll `GET /generations/{generation_id}` until status is `completed`, then access download URLs in the `formats` field.","href":"/api/export-presentation"},{"title":"Extract Transcripts","openapi":"POST /api/v1/presentations/{presentation_id}/transcripts","href":"/api/generate-transcripts"},{"title":"Delete Presentation","openapi":"DELETE /api/v1/presentations/{presentation_id}","href":"/api/delete-presentation"}]},{"group":"Slides","pages":[{"title":"Create Slide","openapi":"POST /api/v1/presentations/{presentation_id}/slides","href":"/api/create-slide"},{"title":"Delete Slide","openapi":"DELETE /api/v1/presentations/{presentation_id}/slides/{slide_id}","href":"/api/delete-slide"}]},{"title":"Upload Images","openapi":"POST /api/v1/upload-images","href":"/api/upload-images"}]},{"group":"Modern Slides API (Beta)","pages":[{"title":"Modern Slides API","sidebarTitle":"Introduction","href":"/modern/introduction"},{"group":"Start Here","pages":[{"title":"Verify Authentication","openapi":"GET /api/modern/v1/ping","href":"/modern/ping"},{"title":"List Models","openapi":"GET /api/modern/v1/models","href":"/modern/models"},{"title":"List Design Systems","openapi":"GET /api/modern/v1/design-systems","href":"/modern/design-systems"}]},{"group":"Presentations","pages":[{"title":"Create Presentation","openapi":"POST /api/modern/v1/presentations","href":"/modern/create-presentation"},{"title":"List Presentations","openapi":"GET /api/modern/v1/presentations","href":"/modern/list-presentations"},{"title":"Get Presentation","openapi":"GET /api/modern/v1/presentations/{presentation_id}","href":"/modern/get-presentation"},{"title":"Delete Presentation","openapi":"DELETE /api/modern/v1/presentations/{presentation_id}","href":"/modern/delete-presentation"},{"title":"Upload Assets","openapi":"POST /api/modern/v1/presentations/{presentation_id}/assets","href":"/modern/upload-assets"}]},{"group":"AI Operations","pages":[{"title":"Generate Presentation","openapi":"POST /api/modern/v1/presentations/{presentation_id}/generate","href":"/modern/generate-presentation"},{"title":"Edit Presentation","openapi":"POST /api/modern/v1/presentations/{presentation_id}/edits","href":"/modern/edit-presentation"},{"title":"Export Presentation","openapi":"POST /api/modern/v1/presentations/{presentation_id}/exports","href":"/modern/export-presentation"},{"title":"Get Operation","openapi":"GET /api/modern/v1/operations/{operation_id}","href":"/modern/get-operation"},{"title":"Cancel Operation","openapi":"POST /api/modern/v1/operations/{operation_id}/cancel","href":"/modern/cancel-operation"}]}]}]},"title":"Check Generation Status - Alai Docs","buildId":"dpl_HcHmUS6i3UwswnTHJUEdcTtwfdTQ","deploymentId":"dpl_HcHmUS6i3UwswnTHJUEdcTtwfdTQ","dynamics":["c2aa737661","2b790eda92","b0f84f53ff","a9bb46feb3"],"chunks":["OpenApiReferenceProvider-BRm_l__d.js","utils-f1l1Oc-G.js","cloneDeep-izs3Hzxb.js","_Uint8Array-BVIqJ90l.js","isObjectLike-C8vmzPEN.js","isArray-Dcu1dQ5t.js","utils-BlhqDhJO.js","toString-BX-iyh8G.js","isSymbol-CSH9U2Gm.js","addUniqueKeysToSchema-DHCB7rsC.js","snippetPresets-CYXLx6Hv.js","style-to-object-BY3JEAdk.js","v4-DIgz8zy6.js","ApiExamples-B78P2dEq.js","isEqual-BfaiBbcl.js","usePlaygroundInputsStore-C4YLPVAh.js","shallow-vlLnTDkQ.js","getApiPlaygroundDisplay-D_98hhvf.js","CodeSnippet-DtnZHGqq.js","CodeSnippets-CLFb8KJt.js","Page-kQh739Uz.js","getPastedJson-Cq-zlbnU.js","icon-sN3t983t.js","MethodPill-P_YQ2s09.js","DuplicateIcon-BVzyNsGJ.js","createIcon-B3jqgqC6.js","DynamicMarkdown-Crwq6WG_.js","SectionHeading-C7pGS2Bb.js","axios-vUo_bRtp.js","Markdown-BuPH8yuW.js","clsx-CCOYKgaU.js","lib--scc4DXi.js","lib-B8HbPgcC.js","html-void-elements-mCSPHezU.js","dist-BnkC_6oA.js","katex-YMM-FMeD.js","marked.esm-CZWythHk.js","AssistantPageLink-BM4S31-f.js"]}