Read voices, languages, models, limits, status and readiness without an API key, with the SDK static helpers (fetchVoices, fetchConfig, fetchHealth) or curl
The discovery endpoints are public: no API key is needed. The JavaScript SDK wraps them as static methods on VoiceAgentClient, which call https://api.lokutor.com and throw LokutorError on failure.
{"docsConfig":{"theme":"mint","$schema":"https://mintlify.com/docs.json","name":"Lokutor","colors":{"primary":"#9E4851","light":"#9E4851","dark":"#9E4851"},"logo":{"light":"https://mintcdn.com/lokutor/9LHAWqNUDt15gpMG/public/logo/logo_black.svg?fit=max\u0026auto=format\u0026n=9LHAWqNUDt15gpMG\u0026q=85\u0026s=8f3d6ad2e4197705b0fb10eaa7c91d18","dark":"https://mintcdn.com/lokutor/9LHAWqNUDt15gpMG/public/logo/logo_white.svg?fit=max\u0026auto=format\u0026n=9LHAWqNUDt15gpMG\u0026q=85\u0026s=e479e54e0c051376c225035c058331d5"},"favicon":"https://mintcdn.com/lokutor/n2gzJzONaLWZJ3Iq/public/logo/icon.png?fit=max\u0026auto=format\u0026n=n2gzJzONaLWZJ3Iq\u0026q=85\u0026s=35b5571d9f08e247b77c6eb3f491d5ab","api":{"openapi":"api-reference/openapi.json"},"appearance":{"default":"system"},"background":{"color":{"light":"#FAFAFA","dark":"#0F0F0F"}},"navbar":{"links":[{"href":"https://lokutor.com","label":"Website"}],"primary":{"type":"button","label":"Sign in","href":"https://app.lokutor.com"}},"footer":{"socials":{"x":"https://x.com/lokutorai","linkedin":"https://es.linkedin.com/company/lokutor","website":"https://lokutor.com"}},"contextual":{"options":["copy","view","claude","chatgpt","perplexity","mcp","cursor","vscode"],"display":"header"},"styling":{"latex":true},"navigation":{"pages":[]}},"deployment":{"deploymentMetadataValue":{"subdomain":"lokutor","hasAudioNarration":false,"actualSubdomain":"lokutor","customDomains":["docs.lokutor.com"],"gitSource":{"type":"github","owner":"lokutor-ai","repo":"lokutor_docs","deployBranch":"main","contentDirectory":"","isPrivate":true,"mountPath":"","label":""},"chroma":{"liveDeploymentHistoryId":"6ad9e8992cd1c8b6f014dc24","collectionId":"32da235b-bd22-4f73-a4e3-feaaa5f41244","schemaVersion":"v3","latestBuiltDeploymentHistoryId":"6ad9e8992cd1c8b6f014dc24"},"entitlements":{},"buildId":"6ad9e8992cd1c8b6f014dc24","clientVersion":"0.0.3964","searchFilterCounts":[{"language":"default","tag":"SDK","count":23},{"language":"default","tag":"Voice Agent","count":8},{"language":"default","tag":"API Reference","count":7},{"language":"default","tag":"Resources","count":7},{"language":"default","tag":"Get Started","count":5},{"language":"default","tag":"Platform","count":5},{"language":"default","tag":"Text-to-Speech","count":2},{"language":"default","tag":"SDK Reference","count":2},{"language":"default","tag":"Python","count":2},{"language":"default","tag":"Speech-to-Text","count":1}]},"assistantConfig":{"enableAskAiButton":false,"enableStarterQuestions":false,"enableAskAiSearchBar":true},"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":"sdk/discovery","slug":"/sdk/discovery","pageMetadata":{"title":"Discovery","description":"Read voices, languages, models, limits, status and readiness without an API key, with the SDK static helpers (fetchVoices, fetchConfig, fetchHealth) or curl","href":"/sdk/discovery"},"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: \"Read voices, languages, models, limits, status and readiness without an API key, with the SDK static helpers (fetchVoices, fetchConfig, fetchHealth) or curl\"\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`,pre:`pre`,span:`span`,tbody:`tbody`,td:`td`,th:`th`,thead:`thead`,tr:`tr`,..._provideComponents(),...props.components},{CodeBlock,Heading,Table}=_components;if(!CodeBlock)_missingMdxReference(`CodeBlock`,true);if(!Heading)_missingMdxReference(`Heading`,true);if(!Table)_missingMdxReference(`Table`,true);return _jsxs(_Fragment,{children:[_jsxs(_components.p,{children:[`The discovery endpoints are public: no API key is needed. The JavaScript SDK wraps them as static methods on `,_jsx(_components.code,{children:`VoiceAgentClient`}),`, which call `,_jsx(_components.code,{children:`https://api.lokutor.com`}),` and throw `,_jsx(_components.code,{children:`LokutorError`}),` on failure.`]}),`\n`,_jsx(Heading,{level:`2`,id:`methods`,children:`Methods`}),`\n`,_jsxs(Table,{children:[_jsx(_components.thead,{children:_jsxs(_components.tr,{children:[_jsx(_components.th,{style:{textAlign:`left`},children:`Method`}),_jsx(_components.th,{style:{textAlign:`left`},children:`Endpoint`}),_jsx(_components.th,{style:{textAlign:`left`},children:`Returns`})]})}),_jsxs(_components.tbody,{children:[_jsxs(_components.tr,{children:[_jsx(_components.td,{style:{textAlign:`left`},children:_jsx(_components.code,{children:`fetchVoices()`})}),_jsx(_components.td,{style:{textAlign:`left`},children:_jsx(_components.code,{children:`GET /voices`})}),_jsxs(_components.td,{style:{textAlign:`left`},children:[_jsx(_components.code,{children:`VoiceInfo[]`}),`: the voice slots`]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{style:{textAlign:`left`},children:_jsx(_components.code,{children:`fetchLanguages()`})}),_jsx(_components.td,{style:{textAlign:`left`},children:_jsx(_components.code,{children:`GET /languages`})}),_jsx(_components.td,{style:{textAlign:`left`},children:_jsx(_components.code,{children:`LanguageInfo[]`})})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{style:{textAlign:`left`},children:_jsx(_components.code,{children:`fetchModels()`})}),_jsx(_components.td,{style:{textAlign:`left`},children:_jsx(_components.code,{children:`GET /models`})}),_jsx(_components.td,{style:{textAlign:`left`},children:_jsx(_components.code,{children:`ModelInfo[]`})})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{style:{textAlign:`left`},children:_jsx(_components.code,{children:`fetchConfig()`})}),_jsx(_components.td,{style:{textAlign:`left`},children:_jsx(_components.code,{children:`GET /config`})}),_jsxs(_components.td,{style:{textAlign:`left`},children:[_jsx(_components.code,{children:`ServerConfig`}),`: request limits`]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{style:{textAlign:`left`},children:_jsx(_components.code,{children:`fetchStatus()`})}),_jsx(_components.td,{style:{textAlign:`left`},children:_jsx(_components.code,{children:`GET /status`})}),_jsx(_components.td,{style:{textAlign:`left`},children:_jsx(_components.code,{children:`ServerStatus`})})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{style:{textAlign:`left`},children:_jsx(_components.code,{children:`fetchHealth()`})}),_jsx(_components.td,{style:{textAlign:`left`},children:_jsx(_components.code,{children:`GET /ready`})}),_jsxs(_components.td,{style:{textAlign:`left`},children:[`Readiness: `,_jsx(_components.code,{children:`{ ready, status }`})]})]})]})]}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`7`,language:`typescript`,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:`typescript`,children:_jsxs(_components.code,{language:`typescript`,numberOfLines:`7`,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:` { `}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`VoiceAgentClient`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` } `}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#C586C0`},children:`from`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` '@lokutor/sdk'`}),_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:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:`const`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#4FC1FF`},children:` voices`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:` =`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#C586C0`},children:` await`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:` VoiceAgentClient`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`.`}),_jsx(_components.span,{style:{color:`#8250DF`,\"--shiki-dark\":`#DCDCAA`},children:`fetchVoices`}),_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\":`#569CD6`},children:`const`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#4FC1FF`},children:` config`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:` =`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#C586C0`},children:` await`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:` VoiceAgentClient`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`.`}),_jsx(_components.span,{style:{color:`#8250DF`,\"--shiki-dark\":`#DCDCAA`},children:`fetchConfig`}),_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\":`#9CDCFE`},children:`console`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`.`}),_jsx(_components.span,{style:{color:`#8250DF`,\"--shiki-dark\":`#DCDCAA`},children:`log`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`(`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`voices`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`.`}),_jsx(_components.span,{style:{color:`#8250DF`,\"--shiki-dark\":`#DCDCAA`},children:`map`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`((`}),_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#9CDCFE`},children:`v`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`) `}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:`=>`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:` v`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`.`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`id`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`)); `}),_jsx(_components.span,{style:{color:`#6E7781`,\"--shiki-dark\":`#6A9955`},children:`// ['F1', 'F2', …, 'M5']`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`console`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`.`}),_jsx(_components.span,{style:{color:`#8250DF`,\"--shiki-dark\":`#DCDCAA`},children:`log`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`(`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`'Max text length:'`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`, `}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`config`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`.`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`max_text_length`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`); `}),_jsx(_components.span,{style:{color:`#6E7781`,\"--shiki-dark\":`#6A9955`},children:`// 5000`})]}),`\n`]})})}),`\n`,_jsxs(_components.p,{children:[`Each method takes an optional base URL, for a local server: `,_jsx(_components.code,{children:`VoiceAgentClient.fetchVoices('http://localhost:8080')`}),`.`]}),`\n`,_jsx(Heading,{level:`2`,id:`curl-equivalents`,children:`cURL equivalents`}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`4`,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:`4`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#DCDCAA`},children:`curl`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` -s`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` https://api.lokutor.com/voices`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#DCDCAA`},children:`curl`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` -s`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` https://api.lokutor.com/languages`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#DCDCAA`},children:`curl`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` -s`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` https://api.lokutor.com/config`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#DCDCAA`},children:`curl`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` -s`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` https://api.lokutor.com/ready`})]}),`\n`]})})}),`\n`,_jsxs(_components.p,{children:[`The response fields are described in the `,_jsx(_components.a,{href:`/api-reference/rest#discovery`,children:`REST API reference`}),`.`]})]})}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":"Discovery","description":"Read voices, languages, models, limits, status and readiness without an API key, with the SDK static helpers (fetchVoices, fetchConfig, fetchHealth) or curl","href":"/sdk/discovery"}}},"mdxSourceWithNoJs":null},"mdxExtracts":{"tableOfContents":[{"title":"Methods","slug":"methods","depth":2,"children":[]},{"title":"cURL equivalents","slug":"curl-equivalents","depth":2,"children":[]}],"codeExamples":{}},"jsLinks":[],"subdomain":"lokutor","siteName":"Lokutor","title":"Discovery - Lokutor","navMaps":{"firstHrefInVersion":{},"firstHrefInLanguage":{}},"lastModified":"2026-10-19T07:34:07.593Z","originalFileLocation":"sdk/discovery.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=\"Read voices, languages, models, limits, status and readiness without an API key, with the SDK static helpers (fetchVoices, fetchConfig, fetchHealth) or curl\">\u003cmeta data-mint-head name=\"application-name\" content=\"Lokutor\">\u003cmeta data-mint-head name=\"generator\" content=\"Mintlify\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/lokutor/S_h7Fefdj9lLsDMS/_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/lokutor/S_h7Fefdj9lLsDMS/_generated/favicon/apple-touch-icon.png\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/lokutor/S_h7Fefdj9lLsDMS/_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/lokutor/S_h7Fefdj9lLsDMS/_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/lokutor/S_h7Fefdj9lLsDMS/_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/lokutor/S_h7Fefdj9lLsDMS/_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/lokutor/S_h7Fefdj9lLsDMS/_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/lokutor/S_h7Fefdj9lLsDMS/_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/lokutor/S_h7Fefdj9lLsDMS/_generated/favicon-dark/favicon.ico\" media=\"(prefers-color-scheme: dark)\">\u003cmeta data-mint-head property=\"og:title\" content=\"Discovery - Lokutor\">\u003cmeta data-mint-head property=\"og:description\" content=\"Read voices, languages, models, limits, status and readiness without an API key, with the SDK static helpers (fetchVoices, fetchConfig, fetchHealth) or curl\">\u003cmeta data-mint-head property=\"og:site_name\" content=\"Lokutor\">\u003cmeta data-mint-head property=\"og:url\" content=\"https://docs.lokutor.com/sdk/discovery\">\u003cmeta data-mint-head property=\"og:type\" content=\"website\">\u003cmeta data-mint-head property=\"og:image\" content=\"https://lokutor.mintlify.app/_mintlify/api/og/v2?division=SDK\u0026amp;title=Discovery\u0026amp;description=Read+voices%2C+languages%2C+models%2C+limits%2C+status+and+readiness+without+an+API+key%2C+with+the+SDK+static+helpers+%28fetchVoices%2C+fetchConfig%2C+fetchHealth%29+or+curl\u0026amp;theme=b8b3d3896991a8b9f0c7411b\u0026amp;signature=7a8f9b55b7548defb87cab429415df565742af2859e5d05b1e35750595d515ec\">\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=\"Discovery - Lokutor\">\u003cmeta data-mint-head name=\"twitter:description\" content=\"Read voices, languages, models, limits, status and readiness without an API key, with the SDK static helpers (fetchVoices, fetchConfig, fetchHealth) or curl\">\u003cmeta data-mint-head name=\"twitter:image\" content=\"https://lokutor.mintlify.app/_mintlify/api/og/v2?division=SDK\u0026amp;title=Discovery\u0026amp;description=Read+voices%2C+languages%2C+models%2C+limits%2C+status+and+readiness+without+an+API+key%2C+with+the+SDK+static+helpers+%28fetchVoices%2C+fetchConfig%2C+fetchHealth%29+or+curl\u0026amp;theme=b8b3d3896991a8b9f0c7411b\u0026amp;signature=7a8f9b55b7548defb87cab429415df565742af2859e5d05b1e35750595d515ec\">\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/lokutor/S_h7Fefdj9lLsDMS/_generated/favicon/browserconfig.xml\">\u003cmeta data-mint-head name=\"apple-mobile-web-app-title\" content=\"Lokutor\">\u003cmeta data-mint-head name=\"msapplication-TileColor\" content=\"#9E4851\">\u003clink data-mint-head rel=\"canonical\" href=\"https://docs.lokutor.com/sdk/discovery\">\u003clink data-mint-head rel=\"alternate\" type=\"application/xml\" href=\"/sitemap.xml\">\u003clink data-mint-head rel=\"alternate\" type=\"text/markdown\" href=\"/sdk/discovery.md\">\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@graph\":[{\"@type\":\"Organization\",\"@id\":\"https://docs.lokutor.com/#organization\",\"name\":\"Lokutor\",\"url\":\"https://docs.lokutor.com\",\"logo\":{\"@type\":\"ImageObject\",\"url\":\"https://mintcdn.com/lokutor/9LHAWqNUDt15gpMG/public/logo/logo_black.svg?fit=max\u0026auto=format\u0026n=9LHAWqNUDt15gpMG\u0026q=85\u0026s=8f3d6ad2e4197705b0fb10eaa7c91d18\"}},{\"@type\":\"WebSite\",\"@id\":\"https://docs.lokutor.com#website\",\"name\":\"Lokutor\",\"url\":\"https://docs.lokutor.com\",\"publisher\":{\"@id\":\"https://docs.lokutor.com/#organization\"}},{\"@type\":\"WebPage\",\"@id\":\"https://docs.lokutor.com/sdk/discovery#webpage\",\"url\":\"https://docs.lokutor.com/sdk/discovery\",\"name\":\"Discovery\",\"description\":\"Read voices, languages, models, limits, status and readiness without an API key, with the SDK static helpers (fetchVoices, fetchConfig, fetchHealth) or curl\",\"dateModified\":\"2026-10-19T07:34:07.593Z\",\"isPartOf\":{\"@id\":\"https://docs.lokutor.com#website\"},\"breadcrumb\":{\"@id\":\"https://docs.lokutor.com/sdk/discovery#breadcrumb\"}},{\"@type\":\"BreadcrumbList\",\"@id\":\"https://docs.lokutor.com/sdk/discovery#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"SDK\",\"item\":\"https://docs.lokutor.com/sdk/introduction\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Discovery\",\"item\":\"https://docs.lokutor.com/sdk/discovery\"}]},{\"@type\":[\"Article\",\"TechArticle\"],\"@id\":\"https://docs.lokutor.com/sdk/discovery#article\",\"headline\":\"Discovery\",\"name\":\"Discovery\",\"description\":\"Read voices, languages, models, limits, status and readiness without an API key, with the SDK static helpers (fetchVoices, fetchConfig, fetchHealth) or curl\",\"url\":\"https://docs.lokutor.com/sdk/discovery\",\"mainEntityOfPage\":{\"@id\":\"https://docs.lokutor.com/sdk/discovery#webpage\"},\"dateModified\":\"2026-10-19T07:34:07.593Z\",\"publisher\":{\"@id\":\"https://docs.lokutor.com/#organization\"},\"isPartOf\":{\"@id\":\"https://docs.lokutor.com#website\"}}]}\u003c/script>\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@type\":\"WebSite\",\"name\":\"Lokutor\",\"creator\":{\"@type\":\"Organization\",\"name\":\"Mintlify\",\"url\":\"https://mintlify.com\"}}\u003c/script>","siteName":"Lokutor","nav":{"global":null,"groups":[{"group":"Get Started","icon":"house","pages":[{"title":"Lokutor","href":"/introduction"},{"title":"Getting Started","href":"/getting-started"},{"title":"Authentication","href":"/authentication"},{"title":"Pricing and billing","href":"/pricing"},{"title":"Voices, Languages \u0026 Models","href":"/voices-languages-models"}]},{"group":"SDK","icon":"code","pages":[{"title":"SDK Overview","href":"/sdk/introduction"},{"group":"Text-to-Speech","pages":[{"title":"Text-to-Speech","href":"/sdk/tts"},{"title":"Visemes (not available)","href":"/sdk/visemes"}]},{"group":"Speech-to-Text","pages":[{"title":"Speech-to-Text","href":"/sdk/stt"}]},{"group":"Voice Agent","pages":[{"title":"My First Agent","href":"/guides/my-first-agent"},{"title":"Voice Agent","href":"/sdk/agent"},{"title":"Tool Calling","href":"/sdk/tool-calling"},{"title":"Handling Interruptions (Barge-in)","href":"/guides/handling-barge-in"},{"title":"Phone Agent Quickstart","href":"/guides/phone-agent-quickstart"},{"title":"Transfer calls to a person","href":"/guides/call-transfer"},{"title":"Custom vocabulary","href":"/guides/custom-vocabulary"},{"title":"Trace calls with OpenTelemetry","href":"/guides/opentelemetry"}]},{"group":"Platform","pages":[{"title":"Browser Setup","href":"/guides/browser-setup"},{"title":"Secure Browser Setup","href":"/guides/secure-browser-setup"},{"title":"Node.js Setup","href":"/guides/node-js-setup"},{"title":"Game Engines (Unity, Godot)","href":"/guides/game-engines"},{"title":"WebSocket Protocol","href":"/guides/websocket-protocol"}]},{"group":"Python","pages":[{"title":"Python SDK","href":"/sdks/python/introduction"},{"title":"Python Quickstart","description":"Python quickstart: install lokutor, synthesize speech to a WAV file or the speakers, run a voice agent through the microphone, register callbacks, and handle tool calls.","href":"/sdks/python/quickstart"}]},{"title":"Discovery","href":"/sdk/discovery"},{"title":"Error Handling","description":"A recipe for handling Lokutor errors: show a top-up prompt on 402 billing.* codes, back off on 429 and 503 (honouring Retry-After), and let the retryable flag decide everything else.","href":"/guides/error-handling"},{"title":"Latency","href":"/guides/latency-optimization"},{"title":"Best Practices","href":"/guides/best-practices"}]},{"group":"API Reference","icon":"rectangle-terminal","pages":[{"title":"REST API","href":"/api-reference/rest"},{"title":"Real-time Streaming","href":"/api-reference/streaming"},{"title":"Voice Chat (Conversational AI)","href":"/api-reference/voice-chat"},{"title":"Call Center API","href":"/api-reference/call-center"},{"title":"Rate Card","href":"/api-reference/rate-card"},{"title":"Error Catalog","href":"/api-reference/errors"},{"title":"OpenAPI Spec","href":"/api-reference/openapi-spec"}]},{"group":"Resources","icon":"circle-info","pages":[{"title":"Pipecat Integration","href":"/guides/pipecat-integration"},{"title":"MCP Servers","href":"/guides/mcp-server"},{"title":"Agent Skill","href":"/guides/agent-skill"},{"group":"SDK Reference","pages":[{"title":"JavaScript API Reference","href":"/sdks/javascript/reference"},{"title":"Python API Reference","href":"/sdks/python/reference"}]},{"title":"Troubleshooting","href":"/sdks/troubleshooting"},{"title":"Version History","href":"/version-history"}]}]},"title":"Discovery - Lokutor","buildId":"dpl_HcHmUS6i3UwswnTHJUEdcTtwfdTQ","deploymentId":"dpl_HcHmUS6i3UwswnTHJUEdcTtwfdTQ","dynamics":[],"chunks":[]}