The endpoints in this version are deprecated. They continue to work for now but return Deprecation and Sunset response headers and will be removed in a future release. New integrations should use the current v2 · Latest API.
This section documents the older Sunbird AI endpoints for reference while you migrate. Switch to v2 · Latest using the version dropdown at the top of the sidebar.
{"docsConfig":{"theme":"mint","$schema":"https://mintlify.com/docs.json","name":"Sunbird AI API","colors":{"primary":"#DC7828","light":"#DC7828","dark":"#DC7828"},"logo":{"light":"https://mintcdn.com/analyticssunbirdai/p5dqIvZVDHCsf_tB/logo/logo_light.png?fit=max\u0026auto=format\u0026n=p5dqIvZVDHCsf_tB\u0026q=85\u0026s=9e35440a8c31879452f811688f2db71e","dark":"https://mintcdn.com/analyticssunbirdai/o2R3vhcekRoJdUva/logo/logo_dark.png?fit=max\u0026auto=format\u0026n=o2R3vhcekRoJdUva\u0026q=85\u0026s=fb5b0b475c6531819f7499e09688219c"},"favicon":"https://mintcdn.com/analyticssunbirdai/lsnNQ_5VSHOkM4yt/sunbird-favicon.jpg?fit=max\u0026auto=format\u0026n=lsnNQ_5VSHOkM4yt\u0026q=85\u0026s=d09e99396a7680a793c8da05d92eb604","navbar":{"primary":{"type":"button","label":"Sunflower","href":"https://sunflower.sunbird.ai"}},"footer":{"socials":{"github":"https://github.com/SunbirdAI","x":"https://x.com/SunbirdAI","website":"https://sunbird.ai","linkedin":"https://www.linkedin.com/company/sunbird-ai"}},"fonts":{"family":"Open Sans"},"styling":{"latex":false},"navigation":{"pages":[]}},"deployment":{"deploymentMetadataValue":{"subdomain":"analyticssunbirdai","hasAudioNarration":false,"actualSubdomain":"analyticssunbirdai","customDomains":["docs.sunbird.ai"],"gitSource":{"type":"github","owner":"sunbirdai","repo":"official-docs","deployBranch":"main","contentDirectory":"","isPrivate":true,"mountPath":"","label":""},"chroma":{"liveDeploymentHistoryId":"6ab4d4e96db8efdbd0b21b7a","collectionId":"9f1fc6af-58ff-4855-a1da-67d91a963e4c","schemaVersion":"v3","latestBuiltDeploymentHistoryId":"6ab4d4e96db8efdbd0b21b7a"},"entitlements":{},"buildId":"6ab4d4e96db8efdbd0b21b7a","clientVersion":"0.0.4054","searchFilterCounts":[{"language":"default","tag":"API Reference","count":23},{"language":"default","tag":"API Reference (Legacy)","count":19},{"language":"default","tag":"General","count":13},{"language":"default","tag":"Authentication","count":11},{"language":"default","tag":"Legacy Text to Speech","count":11},{"language":"default","tag":"Guides","count":7},{"language":"default","tag":"Resources","count":6},{"language":"default","tag":"Models","count":5},{"language":"default","tag":"Sunflower LLM","count":5},{"language":"default","tag":"Legacy Speech to Text","count":4}]},"assistantConfig":{"enableAskAiButton":false,"enableStarterQuestions":false,"enableAskAiSearchBar":true},"basePath":"","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":"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":"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":"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":"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":"billing-page-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"full-page-search","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":"billing-updated-9-15","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-sso-scim","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},{"name":"workos-signup","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"turbopuffer-dual-write","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-enabled","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"approve-review-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"sso-setup-deadline-banner","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"rbac-expansion","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false}],"googleFontsInlined":true},"customCss":[],"page":{"pagePath":"api-reference/legacy/introduction","slug":"/api-reference/legacy/introduction","pageMetadata":{"title":"Legacy API (Deprecated)","description":"Reference for deprecated Sunbird AI endpoints","href":"/api-reference/legacy/introduction"},"description":{"compiledSource":"\"use strict\";\nconst {jsx: _jsx} = arguments[0];\nconst {useMDXComponents: _provideComponents} = arguments[0];\nfunction _createMdxContent(props) {\n const _components = {\n p: \"p\",\n ..._provideComponents(),\n ...props.components\n };\n return _jsx(_components.p, {\n children: \"Reference for deprecated Sunbird AI endpoints\"\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={a:`a`,code:`code`,p:`p`,strong:`strong`,tbody:`tbody`,td:`td`,th:`th`,thead:`thead`,tr:`tr`,..._provideComponents(),...props.components},{Heading,Table,Warning}=_components;if(!Heading)_missingMdxReference(`Heading`,true);if(!Table)_missingMdxReference(`Table`,true);if(!Warning)_missingMdxReference(`Warning`,true);return _jsxs(_Fragment,{children:[_jsx(Warning,{children:_jsxs(_components.p,{children:[`The endpoints in this version are `,_jsx(_components.strong,{children:`deprecated`}),`. They continue to work for now but return `,_jsx(_components.code,{children:`Deprecation`}),` and `,_jsx(_components.code,{children:`Sunset`}),` response headers and will be removed in a future release. New integrations should use the current `,_jsx(_components.strong,{children:`v2 · Latest`}),` API.`]})}),`\n`,_jsxs(_components.p,{children:[`This section documents the older Sunbird AI endpoints for reference while you migrate. Switch to `,_jsx(_components.strong,{children:`v2 · Latest`}),` using the version dropdown at the top of the sidebar.`]}),`\n`,_jsx(Heading,{level:`2`,id:`where-to-go-instead`,children:`Where to go instead`}),`\n`,_jsxs(Table,{children:[_jsx(_components.thead,{children:_jsxs(_components.tr,{children:[_jsx(_components.th,{style:{textAlign:`left`},children:`Deprecated area`}),_jsx(_components.th,{style:{textAlign:`left`},children:`Current replacement`})]})}),_jsxs(_components.tbody,{children:[_jsxs(_components.tr,{children:[_jsxs(_components.td,{style:{textAlign:`left`},children:[`Speech to Text (`,_jsx(_components.code,{children:`/tasks/stt`}),`, `,_jsx(_components.code,{children:`/tasks/modal/stt`}),`, …)`]}),_jsx(_components.td,{style:{textAlign:`left`},children:_jsx(_components.a,{href:`/api-reference/speech/speech-to-text`,children:_jsx(_components.code,{children:`POST /tasks/audio/transcriptions`})})})]}),_jsxs(_components.tr,{children:[_jsxs(_components.td,{style:{textAlign:`left`},children:[`Text to Speech (`,_jsx(_components.code,{children:`/tasks/tts`}),`, `,_jsx(_components.code,{children:`/tasks/modal/tts`}),`, `,_jsx(_components.code,{children:`/tasks/modal/orpheus/*`}),`, `,_jsx(_components.code,{children:`/tasks/runpod/tts`}),`)`]}),_jsx(_components.td,{style:{textAlign:`left`},children:_jsx(_components.a,{href:`/api-reference/speech/text-to-speech`,children:_jsx(_components.code,{children:`POST /tasks/audio/speech`})})})]}),_jsxs(_components.tr,{children:[_jsxs(_components.td,{style:{textAlign:`left`},children:[`Conversational AI (`,_jsx(_components.code,{children:`/tasks/sunflower_inference`}),`, `,_jsx(_components.code,{children:`/tasks/sunflower_simple`}),`)`]}),_jsx(_components.td,{style:{textAlign:`left`},children:_jsx(_components.a,{href:`/api-reference/ai/chat-completions`,children:_jsx(_components.code,{children:`POST /tasks/chat/completions`})})})]}),_jsxs(_components.tr,{children:[_jsxs(_components.td,{style:{textAlign:`left`},children:[`Summarization (`,_jsx(_components.code,{children:`/tasks/summarise`}),`)`]}),_jsxs(_components.td,{style:{textAlign:`left`},children:[_jsx(_components.a,{href:`/api-reference/ai/chat-completions`,children:_jsx(_components.code,{children:`POST /tasks/chat/completions`})}),` with a summarization prompt`]})]})]})]}),`\n`,_jsxs(_components.p,{children:[`For the full list of changes, see the `,_jsx(_components.a,{href:`/api-reference/changelog`,children:`Changelog`}),`.`]})]})}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":"Legacy API (Deprecated)","description":"Reference for deprecated Sunbird AI endpoints","href":"/api-reference/legacy/introduction"}}},"mdxSourceWithNoJs":null},"mdxExtracts":{"tableOfContents":[{"title":"Where to go instead","slug":"where-to-go-instead","depth":2,"children":[]}],"codeExamples":{}},"jsLinks":[],"subdomain":"analyticssunbirdai","siteName":"Sunbird AI API","title":"Legacy API (Deprecated) - Sunbird AI API","navMaps":{"firstHrefInVersion":{"v2.1":{"href":"/api-reference/introduction","matchLevel":2},"v1":{"href":"/api-reference/legacy/introduction","matchLevel":0}},"firstHrefInLanguage":{}},"lastModified":"2026-06-18T16:56:26.161Z","originalFileLocation":"api-reference/legacy/introduction.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=\"Reference for deprecated Sunbird AI endpoints\">\u003cmeta data-mint-head name=\"application-name\" content=\"Sunbird AI API\">\u003cmeta data-mint-head name=\"generator\" content=\"Mintlify\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/analyticssunbirdai/X6F_A1IF4FmJppsS/_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/analyticssunbirdai/X6F_A1IF4FmJppsS/_generated/favicon/apple-touch-icon.png\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/analyticssunbirdai/X6F_A1IF4FmJppsS/_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/analyticssunbirdai/X6F_A1IF4FmJppsS/_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/analyticssunbirdai/X6F_A1IF4FmJppsS/_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/analyticssunbirdai/X6F_A1IF4FmJppsS/_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/analyticssunbirdai/X6F_A1IF4FmJppsS/_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/analyticssunbirdai/X6F_A1IF4FmJppsS/_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/analyticssunbirdai/X6F_A1IF4FmJppsS/_generated/favicon-dark/favicon.ico\" media=\"(prefers-color-scheme: dark)\">\u003cmeta data-mint-head property=\"og:title\" content=\"Legacy API (Deprecated) - Sunbird AI API\">\u003cmeta data-mint-head property=\"og:description\" content=\"Reference for deprecated Sunbird AI endpoints\">\u003cmeta data-mint-head property=\"og:site_name\" content=\"Sunbird AI API\">\u003cmeta data-mint-head property=\"og:url\" content=\"https://docs.sunbird.ai/api-reference/legacy/introduction\">\u003cmeta data-mint-head property=\"og:type\" content=\"website\">\u003cmeta data-mint-head property=\"og:image\" content=\"https://analyticssunbirdai.mintlify.app/_mintlify/api/og/v2?division=Overview\u0026amp;title=Legacy+API+%28Deprecated%29\u0026amp;description=Reference+for+deprecated+Sunbird+AI+endpoints\u0026amp;theme=98c2a0250bceba930b99aceb\u0026amp;signature=390a07888b29360051dc95944caaeb63ffc0b55bbe3e731aae65edf81b87e2b3\">\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=\"Legacy API (Deprecated) - Sunbird AI API\">\u003cmeta data-mint-head name=\"twitter:description\" content=\"Reference for deprecated Sunbird AI endpoints\">\u003cmeta data-mint-head name=\"twitter:image\" content=\"https://analyticssunbirdai.mintlify.app/_mintlify/api/og/v2?division=Overview\u0026amp;title=Legacy+API+%28Deprecated%29\u0026amp;description=Reference+for+deprecated+Sunbird+AI+endpoints\u0026amp;theme=98c2a0250bceba930b99aceb\u0026amp;signature=390a07888b29360051dc95944caaeb63ffc0b55bbe3e731aae65edf81b87e2b3\">\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/analyticssunbirdai/X6F_A1IF4FmJppsS/_generated/favicon/browserconfig.xml\">\u003cmeta data-mint-head name=\"apple-mobile-web-app-title\" content=\"Sunbird AI API\">\u003cmeta data-mint-head name=\"msapplication-TileColor\" content=\"#DC7828\">\u003clink data-mint-head rel=\"canonical\" href=\"https://docs.sunbird.ai/api-reference/legacy/introduction\">\u003clink data-mint-head rel=\"alternate\" type=\"application/xml\" href=\"/sitemap.xml\">\u003clink data-mint-head rel=\"alternate\" type=\"text/markdown\" href=\"/api-reference/legacy/introduction.md\">\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@graph\":[{\"@type\":\"Organization\",\"@id\":\"https://docs.sunbird.ai/#organization\",\"name\":\"Sunbird AI API\",\"url\":\"https://docs.sunbird.ai\",\"logo\":{\"@type\":\"ImageObject\",\"url\":\"https://mintcdn.com/analyticssunbirdai/p5dqIvZVDHCsf_tB/logo/logo_light.png?fit=max\u0026auto=format\u0026n=p5dqIvZVDHCsf_tB\u0026q=85\u0026s=9e35440a8c31879452f811688f2db71e\"}},{\"@type\":\"WebSite\",\"@id\":\"https://docs.sunbird.ai#website\",\"name\":\"Sunbird AI API\",\"url\":\"https://docs.sunbird.ai\",\"publisher\":{\"@id\":\"https://docs.sunbird.ai/#organization\"}},{\"@type\":\"WebPage\",\"@id\":\"https://docs.sunbird.ai/api-reference/legacy/introduction#webpage\",\"url\":\"https://docs.sunbird.ai/api-reference/legacy/introduction\",\"name\":\"Legacy API (Deprecated)\",\"description\":\"Reference for deprecated Sunbird AI endpoints\",\"dateModified\":\"2026-06-18T16:56:26.161Z\",\"isPartOf\":{\"@id\":\"https://docs.sunbird.ai#website\"},\"breadcrumb\":{\"@id\":\"https://docs.sunbird.ai/api-reference/legacy/introduction#breadcrumb\"}},{\"@type\":\"BreadcrumbList\",\"@id\":\"https://docs.sunbird.ai/api-reference/legacy/introduction#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Sunbird AI API\",\"item\":\"https://docs.sunbird.ai\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Legacy API (Deprecated)\",\"item\":\"https://docs.sunbird.ai/api-reference/legacy/introduction\"}]},{\"@type\":[\"Article\",\"TechArticle\"],\"@id\":\"https://docs.sunbird.ai/api-reference/legacy/introduction#article\",\"headline\":\"Legacy API (Deprecated)\",\"name\":\"Legacy API (Deprecated)\",\"description\":\"Reference for deprecated Sunbird AI endpoints\",\"url\":\"https://docs.sunbird.ai/api-reference/legacy/introduction\",\"mainEntityOfPage\":{\"@id\":\"https://docs.sunbird.ai/api-reference/legacy/introduction#webpage\"},\"dateModified\":\"2026-06-18T16:56:26.161Z\",\"publisher\":{\"@id\":\"https://docs.sunbird.ai/#organization\"},\"isPartOf\":{\"@id\":\"https://docs.sunbird.ai#website\"}}]}\u003c/script>\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@type\":\"WebSite\",\"name\":\"Sunbird AI API\",\"creator\":{\"@type\":\"Organization\",\"name\":\"Mintlify\",\"url\":\"https://mintlify.com\"}}\u003c/script>","siteName":"Sunbird AI API","nav":{"global":null,"versions":[{"version":"v2.1","tag":"Latest","pages":[{"title":"v2.1","href":"/api-reference/introduction"}]},{"version":"v1","tag":"Deprecated","anchors":[{"anchor":"General","icon":"book-open","pages":[{"title":"General","href":"/introduction"}]},{"anchor":"Models","icon":"layer-group","pages":[{"title":"Models","href":"/sunflower/overview"}]},{"anchor":"API Reference (Legacy)","icon":"triangle-exclamation","groups":[{"group":"Overview","pages":[{"title":"Legacy API (Deprecated)","href":"/api-reference/legacy/introduction"}]},{"group":"Legacy Speech to Text","pages":[{"title":"Speech to Text","openapi":"api-reference/openapi-legacy.json POST /tasks/stt","deprecated":true,"description":"Upload an audio file and get the transcription text.\n\nUpload an audio file for transcription. Supports various audio formats\nincluding MP3, WAV, OGG, M4A, and AAC.\n\nLimitations:\n\n - Maximum audio duration: Files longer than 10 minutes will be trimmed\n - Supported formats: MP3, WAV, OGG, M4A, AAC\n - Large files are supported but only first 10 minutes will be transcribed\n\nNote:\n\n For files larger than 100MB, please use chunked upload or consider\n splitting the audio file.\n\nArgs:\n\n request: The FastAPI request object.\n audio: The uploaded audio file.\n language: Target language for transcription. Defaults to Luganda.\n adapter: Language adapter to use. Defaults to Luganda.\n recognise_speakers: Enable speaker diarization. Defaults to False.\n whisper: Use Whisper model for transcription. Defaults to False.\n db: Database session.\n current_user: The authenticated user.\n service: The STT service instance.\n\nReturns:\n\n STTTranscript containing the transcription results.\n\nRaises:\n\n ValidationError: If audio file validation fails.\n BadRequestError: If audio processing fails.\n ExternalServiceError: If transcription service fails.","href":"/api-reference/legacy/speech/stt"},{"title":"Transcribe Audio (Modal Whisper)","openapi":"api-reference/openapi-legacy.json POST /tasks/modal/stt","deprecated":true,"href":"/api-reference/legacy/speech/modal-stt"},{"title":"Speech to Text from GCS","openapi":"api-reference/openapi-legacy.json POST /tasks/stt_from_gcs","deprecated":true,"href":"/api-reference/legacy/speech/stt-from-gcs"},{"title":"Speech to Text (Org)","openapi":"api-reference/openapi-legacy.json POST /tasks/org/stt","deprecated":true,"href":"/api-reference/legacy/speech/org-stt"}]},{"group":"Legacy Text to Speech","pages":[{"title":"Text to Speech","openapi":"api-reference/openapi-legacy.json POST /tasks/tts","deprecated":true,"href":"/api-reference/legacy/tts/tts"},{"title":"Generate TTS Audio (Modal)","openapi":"api-reference/openapi-legacy.json POST /tasks/modal/tts","deprecated":true,"href":"/api-reference/legacy/tts/modal-tts"},{"title":"Stream TTS Audio","openapi":"api-reference/openapi-legacy.json POST /tasks/modal/tts/stream","deprecated":true,"href":"/api-reference/legacy/tts/modal-tts-stream"},{"title":"Stream TTS Audio with Final URL","openapi":"api-reference/openapi-legacy.json POST /tasks/modal/tts/stream-with-url","deprecated":true,"href":"/api-reference/legacy/tts/modal-tts-stream-url"},{"title":"Refresh Signed URL","openapi":"api-reference/openapi-legacy.json GET /tasks/modal/tts/refresh-url","deprecated":true,"href":"/api-reference/legacy/tts/modal-tts-refresh-url"},{"title":"List Available Speakers","openapi":"api-reference/openapi-legacy.json GET /tasks/modal/tts/speakers","deprecated":true,"href":"/api-reference/legacy/tts/modal-tts-speakers"},{"title":"List Orpheus Speakers","openapi":"api-reference/openapi-legacy.json GET /tasks/modal/orpheus/speakers","deprecated":true,"href":"/api-reference/legacy/tts/orpheus-speakers"},{"title":"List Orpheus Speakers for a Language","openapi":"api-reference/openapi-legacy.json GET /tasks/modal/orpheus/speakers/{language}","deprecated":true,"href":"/api-reference/legacy/tts/orpheus-speakers-language"},{"title":"Synthesize Speech (Orpheus-3B)","openapi":"api-reference/openapi-legacy.json POST /tasks/modal/orpheus/tts","deprecated":true,"href":"/api-reference/legacy/tts/orpheus-tts"},{"title":"Batch Synthesize Speech (Orpheus-3B)","openapi":"api-reference/openapi-legacy.json POST /tasks/modal/orpheus/tts/batch","deprecated":true,"href":"/api-reference/legacy/tts/orpheus-tts-batch"},{"title":"Text to Speech (RunPod)","openapi":"api-reference/openapi-legacy.json POST /tasks/runpod/tts","deprecated":true,"href":"/api-reference/legacy/tts/runpod-tts"}]},{"group":"Legacy AI","pages":[{"title":"Sunflower Inference","openapi":"api-reference/openapi-legacy.json POST /tasks/sunflower_inference","deprecated":true,"href":"/api-reference/legacy/ai/sunflower-inference"},{"title":"Sunflower Simple Inference","openapi":"api-reference/openapi-legacy.json POST /tasks/sunflower_simple","deprecated":true,"href":"/api-reference/legacy/ai/sunflower-simple"},{"title":"Summarise","openapi":"api-reference/openapi-legacy.json POST /tasks/summarise","deprecated":true,"href":"/api-reference/legacy/ai/summarise"}]}]}]}]},"basePath":"","title":"Legacy API (Deprecated) - Sunbird AI API","buildId":"dpl_345ReqzYaAjzS9QpeJemsKdb7KDj","deploymentId":"dpl_345ReqzYaAjzS9QpeJemsKdb7KDj","dynamics":[],"chunks":[]}