curl -X POST https://api.atlasflux.my/v1/responses \ -H "Authorization: Bearer $ATLASFLUX_API_KEY" \ -H "Content-Type: application/json" \ -d '{"input": "Hello, what can you do?"}'
const res = await fetch("https://api.atlasflux.my/v1/responses", { method: "POST", headers: { "Content-Type": "application/json", Authorization: `Bearer ${process.env.ATLASFLUX_API_KEY}`, }, body: JSON.stringify({ input: "Hello, what can you do?" }),});const data = await res.json();console.log(data.output_text);
import requests, osr = requests.post( "https://api.atlasflux.my/v1/responses", headers={"Authorization": f"Bearer {os.environ['ATLASFLUX_API_KEY']}"}, json={"input": "Hello, what can you do?"},)print(r.json()["output_text"])
Step 4: Check the response
{ "output_text": "I'm AtlasFlux Nenas Flash, an AI assistant...", "usage": { "input_tokens": 8, "output_tokens": 24, "cost_myr": "0.000640" }}
Step 5: Monitor usage
Go to Dashboard → Overview to see your request count, token usage, and wallet balance. Per-request costs in Logs use six decimal places, so small non-zero charges remain visible. Use Refresh to fetch the latest server data.
{"docsConfig":{"theme":"mint","$schema":"https://mintlify.com/schema.json","name":"AtlasFlux API","description":"Unified AI model routing API. One endpoint, intelligent routing, web search, and prepaid MYR billing.","colors":{"primary":"#FF3333","light":"#e3a3a3","dark":"#FFB000"},"logo":{"light":"https://mintcdn.com/rainspeed/9hLKCKE2V9i9N5q9/images/atlas.png?fit=max\u0026auto=format\u0026n=9hLKCKE2V9i9N5q9\u0026q=85\u0026s=8a986fb44007cd3d88b509e406696354","dark":"https://mintcdn.com/rainspeed/9hLKCKE2V9i9N5q9/images/atlas.png?fit=max\u0026auto=format\u0026n=9hLKCKE2V9i9N5q9\u0026q=85\u0026s=8a986fb44007cd3d88b509e406696354"},"favicon":{"light":"https://mintcdn.com/rainspeed/UIjg82xMZiEIgHFH/favicon.svg?fit=max\u0026auto=format\u0026n=UIjg82xMZiEIgHFH\u0026q=85\u0026s=21ace199a401d361e8807147f84c903e","dark":"https://mintcdn.com/rainspeed/9hLKCKE2V9i9N5q9/images/atlas.png?fit=max\u0026auto=format\u0026n=9hLKCKE2V9i9N5q9\u0026q=85\u0026s=8a986fb44007cd3d88b509e406696354"},"navbar":{"links":[]},"search":{"prompt":"Search AtlasFlux API docs..."},"icons":{"library":"fontawesome"},"styling":{"latex":false},"contextual":{"options":["copy","view","chatgpt","claude"],"display":"header"},"navigation":{"pages":[]}},"deployment":{"deploymentMetadataValue":{"subdomain":"rainspeed","hasAudioNarration":false,"actualSubdomain":"rainspeed","customDomains":["api-docs.atlasflux.my"],"gitSource":{"type":"github","owner":"muhdnabil66","repo":"atlasflux-api-docs","deployBranch":"main","contentDirectory":"","isPrivate":false,"mountPath":"","label":""},"feedback":{"thumbs":true,"issues":true},"entitlements":{"AI_CHAT":{"status":"DISABLED"}},"buildId":"6aea21c0ffb1edb4e0543749:success","clientVersion":"0.0.4416","searchFilterCounts":[{"language":"default","tag":"API Reference","count":18},{"language":"default","tag":"Core Concepts","count":7},{"language":"default","tag":"Guides","count":5},{"language":"default","tag":"Resources","count":3},{"language":"default","tag":"Dashboard — API Keys","count":3},{"language":"default","tag":"Dashboard — Billing","count":3},{"language":"default","tag":"Models","count":2},{"language":"default","tag":"Chat Completions","count":1},{"language":"default","tag":"Dashboard — Logs","count":1},{"language":"default","tag":"Dashboard — Overview","count":1}]},"assistantConfig":{"enableAskAiButton":false,"enableStarterQuestions":false,"enableContextualStarterQuestions":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":"control","enabled":true,"payload":{"type":"string","value":"control"},"feature_enabled":true},"impressionData":false},{"name":"llms-txt-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"auth-vite-origin","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false}],"starterQuestions":[],"googleFontsInlined":false},"customCss":[]}
{"page":{"pagePath":"guides/first-request","slug":"/guides/first-request","pageMetadata":{"title":"Send your first AtlasFlux API request","description":"Step-by-step walkthrough for creating a test API key, exporting it as an environment variable, and sending your first AtlasFlux request with curl.","href":"/guides/first-request"},"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: \"Step-by-step walkthrough for creating a test API key, exporting it as an environment variable, and sending your first AtlasFlux request with 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`,li:`li`,ol:`ol`,p:`p`,pre:`pre`,span:`span`,strong:`strong`,..._provideComponents(),...props.components},{CodeBlock,CodeGroup,Heading}=_components;if(!CodeBlock)_missingMdxReference(`CodeBlock`,true);if(!CodeGroup)_missingMdxReference(`CodeGroup`,true);if(!Heading)_missingMdxReference(`Heading`,true);return _jsxs(_Fragment,{children:[_jsx(Heading,{level:`2`,id:`step-1-get-your-api-key`,children:`Step 1: Get your API key`}),`\n`,_jsxs(_components.ol,{children:[`\n`,_jsxs(_components.li,{children:[`Go to `,_jsx(_components.a,{href:`https://platform.atlasflux.my`,children:`platform.atlasflux.my`})]}),`\n`,_jsx(_components.li,{children:`Sign in with your developer account`}),`\n`,_jsxs(_components.li,{children:[`Navigate to `,_jsx(_components.strong,{children:`API Keys`})]}),`\n`,_jsxs(_components.li,{children:[`Click `,_jsx(_components.strong,{children:`Create API key`})]}),`\n`,_jsxs(_components.li,{children:[`Choose `,_jsx(_components.strong,{children:`Development`}),` environment`]}),`\n`,_jsx(_components.li,{children:`Copy the key and save it securely`}),`\n`]}),`\n`,_jsx(Heading,{level:`2`,id:`step-2-set-up-your-environment`,children:`Step 2: Set up your environment`}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`1`,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:`1`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:`export`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:` ATLASFLUX_API_KEY`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`=`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"af_test_YOUR_KEY_HERE\"`})]}),`\n`]})})}),`\n`,_jsx(Heading,{level:`2`,id:`step-3-send-a-request`,children:`Step 3: Send a request`}),`\n`,_jsxs(CodeGroup,{children:[_jsx(CodeBlock,{filename:`cURL`,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:` -X`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` POST`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` https://api.atlasflux.my/v1/responses`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D7BA7D`},children:` \\\\`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` -H`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"Authorization: Bearer `}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`$ATLASFLUX_API_KEY`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D7BA7D`},children:` \\\\`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` -H`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"Content-Type: application/json\"`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D7BA7D`},children:` \\\\`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` -d`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` '{\"input\": \"Hello, what can you do?\"}'`})]}),`\n`]})})}),_jsx(CodeBlock,{filename:`JavaScript`,numberOfLines:`10`,language:`javascript`,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:`javascript`,children:_jsxs(_components.code,{language:`javascript`,numberOfLines:`10`,children:[_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:` res`}),_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:`#8250DF`,\"--shiki-dark\":`#DCDCAA`},children:` fetch`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`(`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"https://api.atlasflux.my/v1/responses\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`, {`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:` method:`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"POST\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:` headers:`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` {`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"Content-Type\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`:`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"application/json\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:` Authorization:`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:\" `Bearer \"}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#569CD6`},children:\"${\"}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`process`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#D4D4D4`},children:`.`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`env`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#D4D4D4`},children:`.`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#4FC1FF`},children:`ATLASFLUX_API_KEY`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#569CD6`},children:`}`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:\"`\"}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` },`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:` body:`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#4FC1FF`},children:` JSON`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`.`}),_jsx(_components.span,{style:{color:`#8250DF`,\"--shiki-dark\":`#DCDCAA`},children:`stringify`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`({ `}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`input:`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"Hello, what can you do?\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` }),`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`});`})}),`\n`,_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:` data`}),_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:` res`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`.`}),_jsx(_components.span,{style:{color:`#8250DF`,\"--shiki-dark\":`#DCDCAA`},children:`json`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`();`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#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:`data`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`.`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`output_text`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`);`})]}),`\n`]})})}),_jsx(CodeBlock,{filename:`Python`,numberOfLines:`7`,language:`python`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`python`,children:_jsxs(_components.code,{language:`python`,numberOfLines:`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:` requests, os`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`r `}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`=`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` requests.post(`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"https://api.atlasflux.my/v1/responses\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#9CDCFE`},children:` headers`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`=`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`{`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"Authorization\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:`f`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"Bearer `}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:`{`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`os.environ[`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`'ATLASFLUX_API_KEY'`}),_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:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`},`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#9CDCFE`},children:` json`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`=`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`{`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"input\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"Hello, what can you do?\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`},`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`)`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#DCDCAA`},children:`print`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`(r.json()[`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"output_text\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`])`})]}),`\n`]})})})]}),`\n`,_jsx(Heading,{level:`2`,id:`step-4-check-the-response`,children:`Step 4: Check the response`}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`8`,language:`json`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`json`,children:_jsxs(_components.code,{language:`json`,numberOfLines:`8`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`{`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"output_text\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"I'm AtlasFlux Nenas Flash, an AI assistant...\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"usage\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: {`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"input_tokens\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`8`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"output_tokens\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`24`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"cost_myr\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"0.000640\"`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` }`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`}`})}),`\n`]})})}),`\n`,_jsx(Heading,{level:`2`,id:`step-5-monitor-usage`,children:`Step 5: Monitor usage`}),`\n`,_jsxs(_components.p,{children:[`Go to `,_jsx(_components.a,{href:`https://platform.atlasflux.my/dashboard/overview`,children:`Dashboard → Overview`}),` to see your request count, token usage, and wallet balance. Per-request costs in Logs use six decimal places, so small non-zero charges remain visible. Use `,_jsx(_components.strong,{children:`Refresh`}),` to fetch the latest server data.`]})]})}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":"Send your first AtlasFlux API request","description":"Step-by-step walkthrough for creating a test API key, exporting it as an environment variable, and sending your first AtlasFlux request with curl.","href":"/guides/first-request"}}},"mdxSourceWithNoJs":null},"mdxExtracts":{"tableOfContents":[{"title":"Step 1: Get your API key","slug":"step-1-get-your-api-key","depth":2,"children":[]},{"title":"Step 2: Set up your environment","slug":"step-2-set-up-your-environment","depth":2,"children":[]},{"title":"Step 3: Send a request","slug":"step-3-send-a-request","depth":2,"children":[]},{"title":"Step 4: Check the response","slug":"step-4-check-the-response","depth":2,"children":[]},{"title":"Step 5: Monitor usage","slug":"step-5-monitor-usage","depth":2,"children":[]}],"codeExamples":{}},"jsLinks":["/_mintlify/custom/rainspeed/7e047e161b1749ff/docs/snippets/javascript/generate-response.js"],"subdomain":"rainspeed","siteName":"AtlasFlux API","title":"Send your first AtlasFlux API request - AtlasFlux API","contextualStarterQuestions":[],"navMaps":{"firstHrefInVersion":{},"firstHrefInLanguage":{}},"lastModified":"2026-08-09T11:57:52.052Z","originalFileLocation":"guides/first-request.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=\"Step-by-step walkthrough for creating a test API key, exporting it as an environment variable, and sending your first AtlasFlux request with curl.\">\u003cmeta data-mint-head name=\"application-name\" content=\"AtlasFlux 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/rainspeed/MLSVTBJS0YQ6L4Wm/_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/rainspeed/MLSVTBJS0YQ6L4Wm/_generated/favicon/apple-touch-icon.png\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/rainspeed/MLSVTBJS0YQ6L4Wm/_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/rainspeed/MLSVTBJS0YQ6L4Wm/_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/rainspeed/MLSVTBJS0YQ6L4Wm/_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/rainspeed/MLSVTBJS0YQ6L4Wm/_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/rainspeed/MLSVTBJS0YQ6L4Wm/_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/rainspeed/MLSVTBJS0YQ6L4Wm/_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/rainspeed/MLSVTBJS0YQ6L4Wm/_generated/favicon-dark/favicon.ico\" media=\"(prefers-color-scheme: dark)\">\u003cmeta data-mint-head property=\"og:title\" content=\"Send your first AtlasFlux API request - AtlasFlux API\">\u003cmeta data-mint-head property=\"og:description\" content=\"Step-by-step walkthrough for creating a test API key, exporting it as an environment variable, and sending your first AtlasFlux request with curl.\">\u003cmeta data-mint-head property=\"og:site_name\" content=\"AtlasFlux API\">\u003cmeta data-mint-head property=\"og:url\" content=\"https://api-docs.atlasflux.my/guides/first-request\">\u003cmeta data-mint-head property=\"og:type\" content=\"website\">\u003cmeta data-mint-head property=\"og:image\" content=\"https://rainspeed.mintlify.site/_mintlify/api/og/v2?division=Guides\u0026amp;title=Send+your+first+AtlasFlux+API+request\u0026amp;description=Step-by-step+walkthrough+for+creating+a+test+API+key%2C+exporting+it+as+an+environment+variable%2C+and+sending+your+first+AtlasFlux+request+with+curl.\u0026amp;theme=8afb46a83c4f0ce93f8c9576\u0026amp;signature=9109f4c371fd779e6f126862f80af325255dc7ec59e115919286267f9fc0c555\">\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=\"Send your first AtlasFlux API request - AtlasFlux API\">\u003cmeta data-mint-head name=\"twitter:description\" content=\"Step-by-step walkthrough for creating a test API key, exporting it as an environment variable, and sending your first AtlasFlux request with curl.\">\u003cmeta data-mint-head name=\"twitter:image\" content=\"https://rainspeed.mintlify.site/_mintlify/api/og/v2?division=Guides\u0026amp;title=Send+your+first+AtlasFlux+API+request\u0026amp;description=Step-by-step+walkthrough+for+creating+a+test+API+key%2C+exporting+it+as+an+environment+variable%2C+and+sending+your+first+AtlasFlux+request+with+curl.\u0026amp;theme=8afb46a83c4f0ce93f8c9576\u0026amp;signature=9109f4c371fd779e6f126862f80af325255dc7ec59e115919286267f9fc0c555\">\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/rainspeed/MLSVTBJS0YQ6L4Wm/_generated/favicon/browserconfig.xml\">\u003cmeta data-mint-head name=\"apple-mobile-web-app-title\" content=\"AtlasFlux API\">\u003cmeta data-mint-head name=\"msapplication-TileColor\" content=\"#FF3333\">\u003clink data-mint-head rel=\"canonical\" href=\"https://api-docs.atlasflux.my/guides/first-request\">\u003clink data-mint-head rel=\"alternate\" type=\"application/xml\" href=\"/sitemap.xml\">\u003clink data-mint-head rel=\"alternate\" type=\"text/markdown\" href=\"/guides/first-request.md\">\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@graph\":[{\"@type\":\"Organization\",\"@id\":\"https://api-docs.atlasflux.my/#organization\",\"name\":\"AtlasFlux API\",\"url\":\"https://api-docs.atlasflux.my\",\"logo\":{\"@type\":\"ImageObject\",\"url\":\"https://mintcdn.com/rainspeed/9hLKCKE2V9i9N5q9/images/atlas.png?fit=max\u0026auto=format\u0026n=9hLKCKE2V9i9N5q9\u0026q=85\u0026s=8a986fb44007cd3d88b509e406696354\"}},{\"@type\":\"WebSite\",\"@id\":\"https://api-docs.atlasflux.my#website\",\"name\":\"AtlasFlux API\",\"url\":\"https://api-docs.atlasflux.my\",\"publisher\":{\"@id\":\"https://api-docs.atlasflux.my/#organization\"}},{\"@type\":\"WebPage\",\"@id\":\"https://api-docs.atlasflux.my/guides/first-request#webpage\",\"url\":\"https://api-docs.atlasflux.my/guides/first-request\",\"name\":\"Send your first AtlasFlux API request\",\"description\":\"Step-by-step walkthrough for creating a test API key, exporting it as an environment variable, and sending your first AtlasFlux request with curl.\",\"dateModified\":\"2026-08-09T11:57:52.052Z\",\"isPartOf\":{\"@id\":\"https://api-docs.atlasflux.my#website\"},\"breadcrumb\":{\"@id\":\"https://api-docs.atlasflux.my/guides/first-request#breadcrumb\"}},{\"@type\":\"BreadcrumbList\",\"@id\":\"https://api-docs.atlasflux.my/guides/first-request#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"AtlasFlux API\",\"item\":\"https://api-docs.atlasflux.my\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Send your first AtlasFlux API request\",\"item\":\"https://api-docs.atlasflux.my/guides/first-request\"}]},{\"@type\":[\"Article\",\"TechArticle\"],\"@id\":\"https://api-docs.atlasflux.my/guides/first-request#article\",\"headline\":\"Send your first AtlasFlux API request\",\"name\":\"Send your first AtlasFlux API request\",\"description\":\"Step-by-step walkthrough for creating a test API key, exporting it as an environment variable, and sending your first AtlasFlux request with curl.\",\"url\":\"https://api-docs.atlasflux.my/guides/first-request\",\"mainEntityOfPage\":{\"@id\":\"https://api-docs.atlasflux.my/guides/first-request#webpage\"},\"dateModified\":\"2026-08-09T11:57:52.052Z\",\"publisher\":{\"@id\":\"https://api-docs.atlasflux.my/#organization\"},\"isPartOf\":{\"@id\":\"https://api-docs.atlasflux.my#website\"}}]}\u003c/script>\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@type\":\"WebSite\",\"name\":\"AtlasFlux API\",\"publisher\":{\"@type\":\"Organization\",\"name\":\"AtlasFlux API\"},\"provider\":{\"@type\":\"Organization\",\"name\":\"Mintlify\",\"url\":\"https://mintlify.com\"}}\u003c/script>","agentPointerHref":"/guides/first-request.md","siteName":"AtlasFlux API","nav":{"global":null,"pages":[{"title":"AtlasFlux API: unified AI model routing service","href":"/introduction"},{"title":"AtlasFlux quickstart: your first API call","href":"/quickstart"},{"title":"AtlasFlux JavaScript and TypeScript SDK","href":"/sdks"},{"group":"Core Concepts","pages":[{"title":"How the AtlasFlux API gateway works","href":"/concepts/overview"},{"title":"Create and manage AtlasFlux API keys","href":"/concepts/api-keys"},{"title":"AtlasFlux models, capabilities, and routing","href":"/concepts/models"},{"title":"AtlasFlux request and response formats","href":"/concepts/requests-and-responses"},{"title":"Server-Sent Events streaming for AtlasFlux responses","href":"/concepts/streaming"},{"title":"AtlasFlux prepaid MYR wallet, billing, and usage","href":"/concepts/usage-and-billing"},{"title":"AtlasFlux API rate limits and 429 responses","href":"/concepts/rate-limits"}]},{"title":"Authenticate requests to the AtlasFlux API","description":"Authenticate /v1 requests with af_live_ and af_test_ bearer tokens, create API keys in the dashboard, and keep credentials safe in production.","href":"/authentication"},{"group":"Guides","pages":[{"title":"Send your first AtlasFlux API request","href":"/guides/first-request"},{"title":"Generate text with the AtlasFlux API","description":"Send prompts to /v1/responses to generate text with AtlasFlux, control output with max_output_tokens and temperature, and enable reasoning effort levels.","href":"/guides/text-generation"},{"title":"Stream AtlasFlux responses with SSE","href":"/guides/streaming-responses"},{"title":"Handle AtlasFlux API errors and retries","href":"/guides/handling-errors"},{"title":"AtlasFlux production readiness checklist","href":"/guides/production-checklist"}]},{"group":"API Reference","pages":[{"title":"AtlasFlux API endpoints and base URL reference","href":"/api-reference/overview"},{"title":"Authentication reference for AtlasFlux endpoints","href":"/api-reference/authentication"},{"title":"AtlasFlux API error codes and retry behavior","href":"/api-reference/errors"},{"title":"AtlasFlux API changelog and release notes","href":"/api-reference/changelog"},{"group":"Responses","pages":[{"title":"Create a response","deprecated":null,"version":null,"openapi":"/openapi.json post /v1/responses","href":"/api-reference/responses/create-a-response"}]},{"group":"Chat Completions","pages":[{"title":"Create a chat completion","deprecated":null,"version":null,"openapi":"/openapi.json post /v1/chat/completions","href":"/api-reference/chat-completions/create-a-chat-completion"}]},{"group":"Models","pages":[{"title":"List available models","deprecated":null,"version":null,"openapi":"/openapi.json get /v1/models","href":"/api-reference/models/list-available-models"},{"title":"Retrieve a model","deprecated":null,"version":null,"openapi":"/openapi.json get /v1/models/{model}","href":"/api-reference/models/retrieve-a-model"}]},{"group":"Dashboard — API Keys","pages":[{"title":"List API keys","deprecated":null,"version":null,"openapi":"/openapi.json get /dashboard/api-keys","href":"/api-reference/dashboard-—-api-keys/list-api-keys"},{"title":"Create an API key","deprecated":null,"version":null,"openapi":"/openapi.json post /dashboard/api-keys","href":"/api-reference/dashboard-—-api-keys/create-an-api-key"},{"title":"Delete an API key","deprecated":null,"version":null,"openapi":"/openapi.json delete /dashboard/api-keys/{id}","href":"/api-reference/dashboard-—-api-keys/delete-an-api-key"}]},{"group":"Dashboard — Overview","pages":[{"title":"Get dashboard overview","deprecated":null,"version":null,"openapi":"/openapi.json get /dashboard/overview","href":"/api-reference/dashboard-—-overview/get-dashboard-overview"}]},{"group":"Dashboard — Usage","pages":[{"title":"Get usage data","deprecated":null,"version":null,"openapi":"/openapi.json get /dashboard/usage","href":"/api-reference/dashboard-—-usage/get-usage-data"}]},{"group":"Dashboard — Billing","pages":[{"title":"Get billing balance","deprecated":null,"version":null,"openapi":"/openapi.json get /dashboard/billing/balance","href":"/api-reference/dashboard-—-billing/get-billing-balance"},{"title":"Get transaction history","deprecated":null,"version":null,"openapi":"/openapi.json get /dashboard/billing/transactions","href":"/api-reference/dashboard-—-billing/get-transaction-history"},{"title":"Create a Stripe checkout session","deprecated":null,"version":null,"openapi":"/openapi.json post /dashboard/billing/checkout","href":"/api-reference/dashboard-—-billing/create-a-stripe-checkout-session"}]},{"group":"Dashboard — Logs","pages":[{"title":"Get request logs","deprecated":null,"version":null,"openapi":"/openapi.json get /dashboard/logs","href":"/api-reference/dashboard-—-logs/get-request-logs"}]},{"group":"Webhooks","pages":[{"title":"Stripe webhook receiver","deprecated":null,"version":null,"openapi":"/openapi.json post /billing/stripe/webhook","href":"/api-reference/webhooks/stripe-webhook-receiver"}]}]},{"group":"Resources","pages":[{"title":"AtlasFlux error code lookup and resolution","href":"/resources/errors"},{"title":"Secure your AtlasFlux integration","href":"/resources/security"},{"title":"Get support for the AtlasFlux API","href":"/resources/support"}]}]},"basePath":"","title":"Send your first AtlasFlux API request - AtlasFlux API","deploymentId":"dpl_Bzhd2vEuuXmvNaTmqBBYbeBj3epG","buildId":"dpl_Bzhd2vEuuXmvNaTmqBBYbeBj3epG","dynamics":[],"chunks":[]}