Authenticate and send inference against a deployment from Python, cURL, or an OpenAI-compatible client
After you launch a model, every client uses the same base URL and key. This page is the integration entry point; copy full request bodies from Examples and wire frameworks from Integrations.
Try the request in the Playground first, then paste it into your app.
model in request bodies is your deployment id from Models.
Chat example
response = client.chat.completions.create( model="your-model-id", messages=[{"role": "user", "content": "Hello, how are you?"}],)print(response.choices[0].message.content)
stream = client.chat.completions.create( model="your-model-id", messages=[{"role": "user", "content": "Hello, how are you?"}], stream=True,)for chunk in stream: if chunk.choices[0].delta.content: print(chunk.choices[0].delta.content, end="", flush=True)
Pick the route from Supported tasks (embeddings, images, audio, classification, …). Custom images use https://api.synapsai.cloud/{model_id}/{path} — Call a custom image.
{"docsConfig":{"theme":"luma","$schema":"https://mintlify.com/docs.json","name":"SynapsAI Cloud Docs","description":"Deploy private AI models, agents, and knowledge bases on SynapsAI Cloud—hosted, BYOC, or on-prem Sovereign GPUs. OpenAI-compatible API and Python SDK.","colors":{"primary":"#4A8A7F","light":"#FAFAF9","dark":"#5A9494"},"logo":{"light":"https://mintcdn.com/synapsaicloud-8673a6fa/XW3QoWbRA0fruB_z/logo/full-logo-light.svg?fit=max\u0026auto=format\u0026n=XW3QoWbRA0fruB_z\u0026q=85\u0026s=05bc60c5022a1f97e795c168375e00d0","dark":"https://mintcdn.com/synapsaicloud-8673a6fa/XW3QoWbRA0fruB_z/logo/full-logo-dark.svg?fit=max\u0026auto=format\u0026n=XW3QoWbRA0fruB_z\u0026q=85\u0026s=a8b679bfa61778559b0e490b0121fc0e"},"favicon":{"light":"https://mintcdn.com/synapsaicloud-8673a6fa/XW3QoWbRA0fruB_z/logo/mark-light.svg?fit=max\u0026auto=format\u0026n=XW3QoWbRA0fruB_z\u0026q=85\u0026s=64a52f5b0acfbd5e1d66545ed701d95a","dark":"https://mintcdn.com/synapsaicloud-8673a6fa/XW3QoWbRA0fruB_z/logo/mark-dark.svg?fit=max\u0026auto=format\u0026n=XW3QoWbRA0fruB_z\u0026q=85\u0026s=d0658868111c595fe1012d01c9b0c087"},"api":{"playground":{"display":"simple"},"examples":{"languages":["curl","python"]}},"appearance":{"default":"system"},"background":{"decoration":"gradient","color":{"light":"#F6F1E8","dark":"#0A0A09"}},"navbar":{"links":[{"href":"https://platform.synapsai.cloud/playground","label":"Playground"}],"primary":{"type":"button","label":"Dashboard","href":"https://platform.synapsai.cloud/"}},"footer":{"links":[{"items":[{"label":"Product","href":"https://synapsai.cloud"},{"label":"Status","href":"https://status.synapsai.cloud"},{"label":"SDK","href":"https://github.com/synapsai-cloud/synapsai-python"},{"label":"Privacy","href":"/legal/privacy-policy"}]}]},"fonts":{"family":"Inter"},"icons":{"library":"lucide"},"styling":{"eyebrows":"section","codeblocks":{"theme":{"light":"github-light","dark":"github-dark"}},"latex":false},"errors":{"404":{"redirect":false,"title":"Page not found","description":"This page may have been moved or deleted. Check the URL or return to the [documentation home](/)."}},"contextual":{"options":["copy","chatgpt","claude","perplexity","mcp"],"display":"header"},"markdown":{"instructions":["SynapsAI Cloud (synapsai.cloud) is a self-hostable AI inference, agents, and knowledge-base platform from SynapsAI Technologies Inc.","Prefer linking to deployment modes (hosted vs BYOC vs on-prem), security policy, and the Python SDK when answering residency or self-hosting questions.","The product is unrelated to other companies that use similar SynapsAI brand names on other domains."]},"navigation":{"pages":[]}},"deployment":{"deploymentMetadataValue":{"subdomain":"synapsaicloud-8673a6fa","hasAudioNarration":false,"actualSubdomain":"synapsaicloud-8673a6fa","customDomains":["docs.synapsai.cloud"],"gitSource":{"type":"github","owner":"synapsai-cloud","repo":"docs","deployBranch":"main","contentDirectory":"","isPrivate":true,"mountPath":"","label":""},"entitlements":{},"buildId":"6b0e196c804f85da630c4f72","clientVersion":"0.0.4377","searchFilterCounts":[{"language":"default","tag":"API Reference","count":130},{"language":"default","tag":"Guides","count":71},{"language":"default","tag":"Examples","count":13},{"language":"default","tag":"Models","count":12},{"language":"default","tag":"Vector stores","count":12},{"language":"default","tag":"Legal","count":9},{"language":"default","tag":"Français","count":9},{"language":"default","tag":"Account","count":8},{"language":"default","tag":"Classifications","count":8},{"language":"default","tag":"Images","count":8}]},"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":"rbac-expansion","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":"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":"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":"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":"turbopuffer-dual-write","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":"editor-metadata","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"turbopuffer-serve","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"live-agents","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"starter-pricing","enabled":true,"variant":{"name":"treatment","enabled":true,"payload":{"type":"string","value":"treatment"},"feature_enabled":true},"impressionData":false},{"name":"llms-txt-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false}],"starterQuestions":[],"googleFontsInlined":false},"customCss":[{"filePath":"style.css","content":"html.dark #sidebar-content li[data-active],html.dark #sidebar-content li[data-active] a,html.dark .nav-tabs-item[data-active],html.dark mobile-nav-tabs-item[data-active],html.dark nav-dropdown-item[data-active],html.dark toc-item[data-active],html.dark toc-item[data-active-deepest],html.dark toc-item[data-active] a,html.dark toc-item[data-active-deepest] a{color:#fafaf9!important}html.dark toc-item[data-active],html.dark toc-item[data-active-deepest]{background:rgba(250, 250, 249, 0.08);border-radius:0.375rem}"}]}
{"page":{"pagePath":"guides/inference-quickstart","slug":"/guides/inference-quickstart","pageMetadata":{"title":"Call the API","description":"Authenticate and send inference against a deployment from Python, cURL, or an OpenAI-compatible client","href":"/guides/inference-quickstart"},"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: \"Authenticate and send inference against a deployment from Python, cURL, or an OpenAI-compatible client\"\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`,strong:`strong`,..._provideComponents(),...props.components},{Card,CodeBlock,Heading,Tip}=_components;if(!Card)_missingMdxReference(`Card`,true);if(!CodeBlock)_missingMdxReference(`CodeBlock`,true);if(!Heading)_missingMdxReference(`Heading`,true);if(!Tip)_missingMdxReference(`Tip`,true);return _jsxs(_Fragment,{children:[_jsxs(_components.p,{children:[`After you `,_jsx(_components.a,{href:`/guides/deploy-model`,children:`launch a model`}),`, every client uses the same base URL and key. This page is the integration entry point; copy full request bodies from `,_jsx(_components.a,{href:`/examples/introduction`,children:`Examples`}),` and wire frameworks from `,_jsx(_components.a,{href:`/guides/integrations`,children:`Integrations`}),`.`]}),`\n`,_jsx(Tip,{children:_jsxs(_components.p,{children:[`Try the request in the `,_jsx(_components.a,{href:`https://platform.synapsai.cloud/playground`,children:`Playground`}),` first, then paste it into your app.`]})}),`\n`,_jsx(Heading,{level:`2`,id:`install-and-authenticate`,children:`Install and authenticate`}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`2`,language:`shellscript`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light github-dark`,style:{backgroundColor:`#fff`,\"--shiki-dark-bg\":`#24292e`,color:`#24292e`,\"--shiki-dark\":`#e1e4e8`},language:`shellscript`,children:_jsxs(_components.code,{language:`shellscript`,numberOfLines:`2`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#6F42C1`,\"--shiki-dark\":`#B392F0`},children:`pip`}),_jsx(_components.span,{style:{color:`#032F62`,\"--shiki-dark\":`#9ECBFF`},children:` install`}),_jsx(_components.span,{style:{color:`#005CC5`,\"--shiki-dark\":`#79B8FF`},children:` --upgrade`}),_jsx(_components.span,{style:{color:`#032F62`,\"--shiki-dark\":`#9ECBFF`},children:` synapsai-python`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#D73A49`,\"--shiki-dark\":`#F97583`},children:`export`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#E1E4E8`},children:` SYNAPSAI_API_KEY`}),_jsx(_components.span,{style:{color:`#D73A49`,\"--shiki-dark\":`#F97583`},children:`=`}),_jsx(_components.span,{style:{color:`#032F62`,\"--shiki-dark\":`#9ECBFF`},children:`\"your-api-key\"`})]}),`\n`]})})}),`\n`,_jsx(Card,{href:`https://platform.synapsai.cloud/apikeys`,title:`Create API keys`,icon:`key`}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`3`,language:`python`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light github-dark`,style:{backgroundColor:`#fff`,\"--shiki-dark-bg\":`#24292e`,color:`#24292e`,\"--shiki-dark\":`#e1e4e8`},language:`python`,children:_jsxs(_components.code,{language:`python`,numberOfLines:`3`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#D73A49`,\"--shiki-dark\":`#F97583`},children:`from`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#E1E4E8`},children:` synapsai `}),_jsx(_components.span,{style:{color:`#D73A49`,\"--shiki-dark\":`#F97583`},children:`import`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#E1E4E8`},children:` SynapsAI`})]}),`\n`,_jsx(_components.span,{className:`line`}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#E1E4E8`},children:`client `}),_jsx(_components.span,{style:{color:`#D73A49`,\"--shiki-dark\":`#F97583`},children:`=`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#E1E4E8`},children:` SynapsAI() `}),_jsx(_components.span,{style:{color:`#6A737D`,\"--shiki-dark\":`#6A737D`},children:`# reads SYNAPSAI_API_KEY`})]}),`\n`]})})}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`2`,language:`shellscript`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light github-dark`,style:{backgroundColor:`#fff`,\"--shiki-dark-bg\":`#24292e`,color:`#24292e`,\"--shiki-dark\":`#e1e4e8`},language:`shellscript`,children:_jsxs(_components.code,{language:`shellscript`,numberOfLines:`2`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#6F42C1`,\"--shiki-dark\":`#B392F0`},children:`curl`}),_jsx(_components.span,{style:{color:`#032F62`,\"--shiki-dark\":`#9ECBFF`},children:` https://api.synapsai.cloud/v1/models`}),_jsx(_components.span,{style:{color:`#005CC5`,\"--shiki-dark\":`#79B8FF`},children:` \\\\`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#005CC5`,\"--shiki-dark\":`#79B8FF`},children:` -H`}),_jsx(_components.span,{style:{color:`#032F62`,\"--shiki-dark\":`#9ECBFF`},children:` \"Authorization: Bearer `}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#E1E4E8`},children:`$SYNAPSAI_API_KEY`}),_jsx(_components.span,{style:{color:`#032F62`,\"--shiki-dark\":`#9ECBFF`},children:`\"`})]}),`\n`]})})}),`\n`,_jsxs(_components.p,{children:[_jsx(_components.code,{children:`model`}),` in request bodies is your `,_jsx(_components.strong,{children:`deployment id`}),` from `,_jsx(_components.a,{href:`https://platform.synapsai.cloud/models`,children:`Models`}),`.`]}),`\n`,_jsx(Heading,{level:`2`,id:`chat-example`,children:`Chat example`}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`5`,language:`python`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light github-dark`,style:{backgroundColor:`#fff`,\"--shiki-dark-bg\":`#24292e`,color:`#24292e`,\"--shiki-dark\":`#e1e4e8`},language:`python`,children:_jsxs(_components.code,{language:`python`,numberOfLines:`5`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#E1E4E8`},children:`response `}),_jsx(_components.span,{style:{color:`#D73A49`,\"--shiki-dark\":`#F97583`},children:`=`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#E1E4E8`},children:` client.chat.completions.create(`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#E36209`,\"--shiki-dark\":`#FFAB70`},children:` model`}),_jsx(_components.span,{style:{color:`#D73A49`,\"--shiki-dark\":`#F97583`},children:`=`}),_jsx(_components.span,{style:{color:`#032F62`,\"--shiki-dark\":`#9ECBFF`},children:`\"your-model-id\"`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#E1E4E8`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#E36209`,\"--shiki-dark\":`#FFAB70`},children:` messages`}),_jsx(_components.span,{style:{color:`#D73A49`,\"--shiki-dark\":`#F97583`},children:`=`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#E1E4E8`},children:`[{`}),_jsx(_components.span,{style:{color:`#032F62`,\"--shiki-dark\":`#9ECBFF`},children:`\"role\"`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#E1E4E8`},children:`: `}),_jsx(_components.span,{style:{color:`#032F62`,\"--shiki-dark\":`#9ECBFF`},children:`\"user\"`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#E1E4E8`},children:`, `}),_jsx(_components.span,{style:{color:`#032F62`,\"--shiki-dark\":`#9ECBFF`},children:`\"content\"`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#E1E4E8`},children:`: `}),_jsx(_components.span,{style:{color:`#032F62`,\"--shiki-dark\":`#9ECBFF`},children:`\"Hello, how are you?\"`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#E1E4E8`},children:`}],`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#E1E4E8`},children:`)`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#005CC5`,\"--shiki-dark\":`#79B8FF`},children:`print`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#E1E4E8`},children:`(response.choices[`}),_jsx(_components.span,{style:{color:`#005CC5`,\"--shiki-dark\":`#79B8FF`},children:`0`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#E1E4E8`},children:`].message.content)`})]}),`\n`]})})}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`8`,language:`python`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light github-dark`,style:{backgroundColor:`#fff`,\"--shiki-dark-bg\":`#24292e`,color:`#24292e`,\"--shiki-dark\":`#e1e4e8`},language:`python`,children:_jsxs(_components.code,{language:`python`,numberOfLines:`8`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#E1E4E8`},children:`stream `}),_jsx(_components.span,{style:{color:`#D73A49`,\"--shiki-dark\":`#F97583`},children:`=`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#E1E4E8`},children:` client.chat.completions.create(`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#E36209`,\"--shiki-dark\":`#FFAB70`},children:` model`}),_jsx(_components.span,{style:{color:`#D73A49`,\"--shiki-dark\":`#F97583`},children:`=`}),_jsx(_components.span,{style:{color:`#032F62`,\"--shiki-dark\":`#9ECBFF`},children:`\"your-model-id\"`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#E1E4E8`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#E36209`,\"--shiki-dark\":`#FFAB70`},children:` messages`}),_jsx(_components.span,{style:{color:`#D73A49`,\"--shiki-dark\":`#F97583`},children:`=`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#E1E4E8`},children:`[{`}),_jsx(_components.span,{style:{color:`#032F62`,\"--shiki-dark\":`#9ECBFF`},children:`\"role\"`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#E1E4E8`},children:`: `}),_jsx(_components.span,{style:{color:`#032F62`,\"--shiki-dark\":`#9ECBFF`},children:`\"user\"`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#E1E4E8`},children:`, `}),_jsx(_components.span,{style:{color:`#032F62`,\"--shiki-dark\":`#9ECBFF`},children:`\"content\"`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#E1E4E8`},children:`: `}),_jsx(_components.span,{style:{color:`#032F62`,\"--shiki-dark\":`#9ECBFF`},children:`\"Hello, how are you?\"`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#E1E4E8`},children:`}],`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#E36209`,\"--shiki-dark\":`#FFAB70`},children:` stream`}),_jsx(_components.span,{style:{color:`#D73A49`,\"--shiki-dark\":`#F97583`},children:`=`}),_jsx(_components.span,{style:{color:`#005CC5`,\"--shiki-dark\":`#79B8FF`},children:`True`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#E1E4E8`},children:`,`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#E1E4E8`},children:`)`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#D73A49`,\"--shiki-dark\":`#F97583`},children:`for`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#E1E4E8`},children:` chunk `}),_jsx(_components.span,{style:{color:`#D73A49`,\"--shiki-dark\":`#F97583`},children:`in`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#E1E4E8`},children:` stream:`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#D73A49`,\"--shiki-dark\":`#F97583`},children:` if`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#E1E4E8`},children:` chunk.choices[`}),_jsx(_components.span,{style:{color:`#005CC5`,\"--shiki-dark\":`#79B8FF`},children:`0`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#E1E4E8`},children:`].delta.content:`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#005CC5`,\"--shiki-dark\":`#79B8FF`},children:` print`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#E1E4E8`},children:`(chunk.choices[`}),_jsx(_components.span,{style:{color:`#005CC5`,\"--shiki-dark\":`#79B8FF`},children:`0`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#E1E4E8`},children:`].delta.content, `}),_jsx(_components.span,{style:{color:`#E36209`,\"--shiki-dark\":`#FFAB70`},children:`end`}),_jsx(_components.span,{style:{color:`#D73A49`,\"--shiki-dark\":`#F97583`},children:`=`}),_jsx(_components.span,{style:{color:`#032F62`,\"--shiki-dark\":`#9ECBFF`},children:`\"\"`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#E1E4E8`},children:`, `}),_jsx(_components.span,{style:{color:`#E36209`,\"--shiki-dark\":`#FFAB70`},children:`flush`}),_jsx(_components.span,{style:{color:`#D73A49`,\"--shiki-dark\":`#F97583`},children:`=`}),_jsx(_components.span,{style:{color:`#005CC5`,\"--shiki-dark\":`#79B8FF`},children:`True`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#E1E4E8`},children:`)`})]}),`\n`]})})}),`\n`,_jsxs(_components.p,{children:[`Pick the route from `,_jsx(_components.a,{href:`/resources/tasks`,children:`Supported tasks`}),` (embeddings, images, audio, classification, …). Custom images use `,_jsx(_components.code,{children:`https://api.synapsai.cloud/{model_id}/{path}`}),` — `,_jsx(_components.a,{href:`/api-reference/custom-image`,children:`Call a custom image`}),`.`]}),`\n`,_jsx(Heading,{level:`2`,id:`openai-compatible-clients`,children:`OpenAI-compatible clients`}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`2`,language:`shellscript`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light github-dark`,style:{backgroundColor:`#fff`,\"--shiki-dark-bg\":`#24292e`,color:`#24292e`,\"--shiki-dark\":`#e1e4e8`},language:`shellscript`,children:_jsxs(_components.code,{language:`shellscript`,numberOfLines:`2`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#D73A49`,\"--shiki-dark\":`#F97583`},children:`export`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#E1E4E8`},children:` OPENAI_API_KEY`}),_jsx(_components.span,{style:{color:`#D73A49`,\"--shiki-dark\":`#F97583`},children:`=`}),_jsx(_components.span,{style:{color:`#032F62`,\"--shiki-dark\":`#9ECBFF`},children:`\"`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#E1E4E8`},children:`$SYNAPSAI_API_KEY`}),_jsx(_components.span,{style:{color:`#032F62`,\"--shiki-dark\":`#9ECBFF`},children:`\"`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#D73A49`,\"--shiki-dark\":`#F97583`},children:`export`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#E1E4E8`},children:` OPENAI_API_BASE`}),_jsx(_components.span,{style:{color:`#D73A49`,\"--shiki-dark\":`#F97583`},children:`=`}),_jsx(_components.span,{style:{color:`#032F62`,\"--shiki-dark\":`#9ECBFF`},children:`\"https://api.synapsai.cloud/v1\"`})]}),`\n`]})})}),`\n`,_jsxs(_components.p,{children:[`Walkthrough: `,_jsx(_components.a,{href:`/guides/migrate-from-openai`,children:`Migrate from OpenAI`}),`. Frameworks: `,_jsx(_components.a,{href:`/guides/integrations`,children:`Integrations`}),`.`]}),`\n`,_jsx(Heading,{level:`2`,id:`next-steps`,children:`Next steps`}),`\n`,_jsxs(_components.p,{children:[_jsx(_components.a,{href:`/guides/streaming`,children:`Streaming`}),` · `,_jsx(_components.a,{href:`/examples/introduction`,children:`Examples`}),` · `,_jsx(_components.a,{href:`/api-reference/introduction`,children:`API overview`})]})]})}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":{"codeStyling":{"theme":{"light":"github-light","dark":"github-dark"}},"config":{},"pageMetadata":{"title":"Call the API","description":"Authenticate and send inference against a deployment from Python, cURL, or an OpenAI-compatible client","href":"/guides/inference-quickstart"}}},"mdxSourceWithNoJs":null},"mdxExtracts":{"tableOfContents":[{"title":"Install and authenticate","slug":"install-and-authenticate","depth":2,"children":[]},{"title":"Chat example","slug":"chat-example","depth":2,"children":[]},{"title":"OpenAI-compatible clients","slug":"openai-compatible-clients","depth":2,"children":[]},{"title":"Next steps","slug":"next-steps","depth":2,"children":[]}],"codeExamples":{}},"jsLinks":[],"subdomain":"synapsaicloud-8673a6fa","siteName":"SynapsAI Cloud Docs","title":"Call the API - SynapsAI Cloud Docs","contextualStarterQuestions":[],"navMaps":{"firstHrefInVersion":{},"firstHrefInLanguage":{}},"lastModified":"2026-10-22T02:31:28.298Z","originalFileLocation":"guides/inference-quickstart.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=\"Authenticate and send inference against a deployment from Python, cURL, or an OpenAI-compatible client\">\u003cmeta data-mint-head name=\"application-name\" content=\"SynapsAI Cloud 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/synapsaicloud-8673a6fa/E2LWs1QwTva6DMxF/_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/synapsaicloud-8673a6fa/E2LWs1QwTva6DMxF/_generated/favicon/apple-touch-icon.png\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/synapsaicloud-8673a6fa/E2LWs1QwTva6DMxF/_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/synapsaicloud-8673a6fa/E2LWs1QwTva6DMxF/_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/synapsaicloud-8673a6fa/E2LWs1QwTva6DMxF/_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/synapsaicloud-8673a6fa/E2LWs1QwTva6DMxF/_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/synapsaicloud-8673a6fa/E2LWs1QwTva6DMxF/_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/synapsaicloud-8673a6fa/E2LWs1QwTva6DMxF/_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/synapsaicloud-8673a6fa/E2LWs1QwTva6DMxF/_generated/favicon-dark/favicon.ico\" media=\"(prefers-color-scheme: dark)\">\u003cmeta data-mint-head property=\"og:title\" content=\"Call the API - SynapsAI Cloud Docs\">\u003cmeta data-mint-head property=\"og:description\" content=\"Authenticate and send inference against a deployment from Python, cURL, or an OpenAI-compatible client\">\u003cmeta data-mint-head property=\"og:site_name\" content=\"SynapsAI Cloud Docs\">\u003cmeta data-mint-head property=\"og:url\" content=\"https://docs.synapsai.cloud/guides/inference-quickstart\">\u003cmeta data-mint-head property=\"og:type\" content=\"website\">\u003cmeta data-mint-head property=\"og:image\" content=\"https://synapsaicloud-8673a6fa.mintlify.site/_mintlify/api/og/v2?division=Use+the+API\u0026amp;title=Call+the+API\u0026amp;description=Authenticate+and+send+inference+against+a+deployment+from+Python%2C+cURL%2C+or+an+OpenAI-compatible+client\u0026amp;theme=d67e3e4ea0e0c3ea9b7edb45\u0026amp;signature=08c9d491bfb2c62afc2b1b2874733e582db768b6e8977419fce57ab556e60ebd\">\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=\"Call the API - SynapsAI Cloud Docs\">\u003cmeta data-mint-head name=\"twitter:description\" content=\"Authenticate and send inference against a deployment from Python, cURL, or an OpenAI-compatible client\">\u003cmeta data-mint-head name=\"twitter:image\" content=\"https://synapsaicloud-8673a6fa.mintlify.site/_mintlify/api/og/v2?division=Use+the+API\u0026amp;title=Call+the+API\u0026amp;description=Authenticate+and+send+inference+against+a+deployment+from+Python%2C+cURL%2C+or+an+OpenAI-compatible+client\u0026amp;theme=d67e3e4ea0e0c3ea9b7edb45\u0026amp;signature=08c9d491bfb2c62afc2b1b2874733e582db768b6e8977419fce57ab556e60ebd\">\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/synapsaicloud-8673a6fa/E2LWs1QwTva6DMxF/_generated/favicon/browserconfig.xml\">\u003cmeta data-mint-head name=\"apple-mobile-web-app-title\" content=\"SynapsAI Cloud Docs\">\u003cmeta data-mint-head name=\"msapplication-TileColor\" content=\"#4A8A7F\">\u003clink data-mint-head rel=\"canonical\" href=\"https://docs.synapsai.cloud/guides/inference-quickstart\">\u003clink data-mint-head rel=\"alternate\" type=\"application/xml\" href=\"/sitemap.xml\">\u003clink data-mint-head rel=\"alternate\" type=\"text/markdown\" href=\"/guides/inference-quickstart.md\">\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@graph\":[{\"@type\":\"Organization\",\"@id\":\"https://docs.synapsai.cloud/#organization\",\"name\":\"SynapsAI Cloud Docs\",\"url\":\"https://docs.synapsai.cloud\",\"logo\":{\"@type\":\"ImageObject\",\"url\":\"https://mintcdn.com/synapsaicloud-8673a6fa/XW3QoWbRA0fruB_z/logo/full-logo-light.svg?fit=max\u0026auto=format\u0026n=XW3QoWbRA0fruB_z\u0026q=85\u0026s=05bc60c5022a1f97e795c168375e00d0\"}},{\"@type\":\"WebSite\",\"@id\":\"https://docs.synapsai.cloud#website\",\"name\":\"SynapsAI Cloud Docs\",\"url\":\"https://docs.synapsai.cloud\",\"publisher\":{\"@id\":\"https://docs.synapsai.cloud/#organization\"}},{\"@type\":\"WebPage\",\"@id\":\"https://docs.synapsai.cloud/guides/inference-quickstart#webpage\",\"url\":\"https://docs.synapsai.cloud/guides/inference-quickstart\",\"name\":\"Call the API\",\"description\":\"Authenticate and send inference against a deployment from Python, cURL, or an OpenAI-compatible client\",\"dateModified\":\"2026-10-22T02:31:28.298Z\",\"isPartOf\":{\"@id\":\"https://docs.synapsai.cloud#website\"},\"breadcrumb\":{\"@id\":\"https://docs.synapsai.cloud/guides/inference-quickstart#breadcrumb\"}},{\"@type\":\"BreadcrumbList\",\"@id\":\"https://docs.synapsai.cloud/guides/inference-quickstart#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"SynapsAI Cloud Docs\",\"item\":\"https://docs.synapsai.cloud\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Call the API\",\"item\":\"https://docs.synapsai.cloud/guides/inference-quickstart\"}]},{\"@type\":[\"Article\",\"TechArticle\"],\"@id\":\"https://docs.synapsai.cloud/guides/inference-quickstart#article\",\"headline\":\"Call the API\",\"name\":\"Call the API\",\"description\":\"Authenticate and send inference against a deployment from Python, cURL, or an OpenAI-compatible client\",\"url\":\"https://docs.synapsai.cloud/guides/inference-quickstart\",\"mainEntityOfPage\":{\"@id\":\"https://docs.synapsai.cloud/guides/inference-quickstart#webpage\"},\"dateModified\":\"2026-10-22T02:31:28.298Z\",\"publisher\":{\"@id\":\"https://docs.synapsai.cloud/#organization\"},\"isPartOf\":{\"@id\":\"https://docs.synapsai.cloud#website\"}}]}\u003c/script>\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@type\":\"WebSite\",\"name\":\"SynapsAI Cloud Docs\",\"publisher\":{\"@type\":\"Organization\",\"name\":\"SynapsAI Cloud Docs\"},\"provider\":{\"@type\":\"Organization\",\"name\":\"Mintlify\",\"url\":\"https://mintlify.com\"}}\u003c/script>","agentPointerHref":"/guides/inference-quickstart.md","siteName":"SynapsAI Cloud Docs","nav":{"global":null,"tabs":[{"tab":"Guides","groups":[{"group":"Getting started","icon":"rocket","pages":[{"title":"Introduction","href":""},{"title":"Quickstart","href":"/quickstart"},{"title":"Core concepts","href":"/core-concepts"},{"title":"Deployment modes","href":"/guides/deployment-modes"}]},{"group":"Models","icon":"box","pages":[{"title":"Launch a model","href":"/guides/deploy-model"},{"title":"Custom image","href":"/guides/custom-image"},{"title":"Model artifacts","href":"/guides/model-artifacts"},{"title":"Hugging Face setup","href":"/guides/hf-model-setup"},{"title":"Serverless catalog","href":"/guides/serverless-catalog"},{"title":"Convert models to Safetensors","href":"/guides/convert-safetensors"},{"title":"LoRA adapters","href":"/guides/lora"},{"title":"Playground","href":"/guides/playground"},{"title":"Manage models","href":"/manage/model"},{"title":"Autoscaling","href":"/manage/autoscaling"}]},{"group":"Agents","icon":"bot","pages":[{"title":"Agents","href":"/guides/agents"}]},{"group":"Knowledge","icon":"book-open","pages":[{"title":"Knowledge bases","description":"Upload or sync documents, test retrieval, and search them as OpenAI-compatible vector stores","href":"/guides/knowledge-bases"}]},{"group":"Use the API","icon":"code","pages":[{"title":"Call the API","href":"/guides/inference-quickstart"},{"title":"Streaming","description":"Stream chat and completion responses with Server-Sent Events (SSE)","href":"/guides/streaming"},{"title":"Migrate from OpenAI","href":"/guides/migrate-from-openai"}]},{"group":"Examples","icon":"file-code","pages":[{"title":"Examples","href":"/examples/introduction"},{"title":"Text generation","href":"/examples/text-generation"},{"title":"Responses API","href":"/examples/responses"},{"title":"Tool calling","href":"/examples/tool-calling"},{"title":"Images","href":"/examples/images"},{"title":"Embeddings","href":"/examples/embeddings"},{"title":"Audio","href":"/examples/audio"},{"title":"Classification","href":"/examples/classification"},{"title":"Question answering","href":"/examples/question-answering"},{"title":"Videos","href":"/examples/videos"},{"title":"Fill Mask","href":"/examples/fill_mask"},{"title":"Rerank","href":"/examples/rerank"},{"title":"Feature Extraction","href":"/examples/feature_extraction"}]},{"group":"Integrations","icon":"blocks","expanded":true,"pages":[{"title":"Integrations","href":"/guides/integrations"},{"title":"LangChain integration","href":"/guides/integrations-langchain"},{"title":"LlamaIndex integration","href":"/guides/integrations-llamaindex"},{"title":"Embeddings + FAISS Integration","href":"/guides/integrations-embeddings-faiss"},{"title":"Gradio / FastAPI integration","href":"/guides/integrations-gradio-fastapi"}]},{"group":"Account","icon":"user-cog","pages":[{"title":"API keys","href":"/manage/api-keys"},{"title":"Billing","href":"/manage/billing"},{"title":"Usage","href":"/manage/usage"},{"title":"Quotas","href":"/manage/quotas"},{"title":"Teams","href":"/guides/team"},{"title":"Account","href":"/manage/account"},{"title":"Optimizing costs","href":"/guides/optimizing-costs"},{"title":"Security best practices","href":"/guides/security-best-practices"}]},{"group":"Resources","icon":"library","pages":[{"title":"Supported tasks","href":"/resources/tasks"},{"title":"Regions","href":"/resources/regions"},{"title":"Data","href":"/resources/data"},{"title":"Rate limits","href":"/resources/rate-limits"}]},{"group":"Support","icon":"life-buoy","pages":[{"title":"Troubleshooting","href":"/support/troubleshooting"},{"title":"Status and uptime","href":"/support/status-and-uptime"},{"title":"Contacting support","href":"/support/contacting-support"},{"title":"Feedback and feature requests","href":"/support/feedback-and-feature-request"}]},{"group":"Legal","icon":"scale","pages":[{"title":"Terms of Use","href":"/legal/terms-of-use"},{"title":"Privacy Policy","href":"/legal/privacy-policy"},{"title":"Cookie Policy","href":"/legal/cookie-policy"},{"title":"Data Policy","href":"/legal/data-policy"},{"title":"Acceptable Use Policy","href":"/legal/acceptable-use-policy"},{"title":"Workload use rules","href":"/legal/upstream-policies"},{"title":"Security Policy","href":"/legal/security-policy"},{"title":"Data Processing Agreement (DPA)","href":"/legal/data-processing-agreement"},{"title":"Subprocessors","href":"/legal/subprocessors"}]},{"group":"Français","icon":"scale","hidden":true,"searchable":true,"pages":[{"title":"Conditions d'utilisation","href":"/legal/fr/conditions-utilisation"},{"title":"Politique de confidentialité","href":"/legal/fr/politique-confidentialite"},{"title":"Politique relative aux témoins","href":"/legal/fr/politique-temoins"},{"title":"Politique relative aux données","href":"/legal/fr/politique-donnees"},{"title":"Politique d'utilisation acceptable","href":"/legal/fr/politique-utilisation-acceptable"},{"title":"Règles d'usage selon la charge","href":"/legal/fr/politiques-amont"},{"title":"Politique de sécurité","href":"/legal/fr/politique-securite"},{"title":"Accord de traitement des données","href":"/legal/fr/accord-traitement"},{"title":"Sous-traitants","href":"/legal/fr/sous-traitants"}]}]},{"tab":"API Reference","pages":[{"title":"API Reference","href":"/api-reference/introduction"}]}]},"basePath":"","title":"Call the API - SynapsAI Cloud Docs","deploymentId":"dpl_Ab6nteg7kvyK8iL73naC2n7fmsWK","buildId":"dpl_Ab6nteg7kvyK8iL73naC2n7fmsWK","dynamics":[],"chunks":[]}