Most users do not need to handle authentication directly. Sign in at www.openrush.com, connect your AI agent from Setup, and OpenRush handles access for you.Developers can also create API keys for server-side integrations.
API keys use the or_ prefix. The full key is returned only once when it is created. OpenRush stores a hash, fingerprint, and display prefix, not a retrievable raw key.
Use an API key with MCP
Most MCP clients sign in with OAuth. Some agents, such as Muse, can’t complete a sign-in. They can connect to https://api.openrush.com/mcp with an API key instead.Send the key in the Authorization header:
The key keeps its usual limits, such as its website scope and rate limits. Buying credits and changing billing still require a signed-in Dashboard session.
Dashboard sessions
When you use the Dashboard or OAuth-based MCP, OpenRush uses your signed-in account. You do not need to copy tokens manually.For advanced integrations, public API routes can also accept a valid Dashboard session bearer token:
OpenRush maps that session to the same account used by API keys. This keeps credits, usage, and billing shared across Dashboard, API key, and MCP access.
Unauthenticated endpoints
This public endpoint does not require an API key:
Method
Path
Purpose
GET or POST
/v1/capabilities
Discover enabled tools and sources
Create and revoke user credentials
You can create and revoke keys in API access, or use the account API directly.Create a new key for the current account:
curl -X POST "https://api.openrush.com/v1/me/api-credentials/$CREDENTIAL_ID/revoke" \ -H "Authorization: Bearer $OPENRUSH_KEY"
Store the returned key immediately. It is shown once and cannot be retrieved later.
{"docsConfig":{"theme":"aspen","$schema":"https://mintlify.com/docs.json","name":"OpenRush","colors":{"primary":"#7272F1","light":"#7272F1","dark":"#7272F1"},"logo":{"light":"https://mintcdn.com/openrush/3ELmmBEPmuhTvoQn/logo/openrush_icon.png?fit=max\u0026auto=format\u0026n=3ELmmBEPmuhTvoQn\u0026q=85\u0026s=5cb0ab1a84c40d18ea68fa9fa8b7429d","dark":"https://mintcdn.com/openrush/3ELmmBEPmuhTvoQn/logo/openrush_icon_white.png?fit=max\u0026auto=format\u0026n=3ELmmBEPmuhTvoQn\u0026q=85\u0026s=e21ddff6f79fa90a6ed94232d3aa0279","href":"https://www.openrush.com"},"favicon":"https://mintcdn.com/openrush/3ELmmBEPmuhTvoQn/favicon.png?fit=max\u0026auto=format\u0026n=3ELmmBEPmuhTvoQn\u0026q=85\u0026s=c8d30a6195c680c5784c9f4b3a808f93","navbar":{"links":[{"href":"mailto:support@openrush.com","label":"Support"}],"primary":{"type":"button","label":"Open Dashboard","href":"https://www.openrush.com/dashboard"}},"footer":{"socials":{}},"seo":{"metatags":{"canonical":"https://www.openrush.com/docs"},"indexing":"navigable"},"contextual":{"options":["copy","view","chatgpt","claude","perplexity","mcp","cursor","vscode"],"display":"header"},"styling":{"latex":false},"navigation":{"global":{"anchors":[{"anchor":"Website","icon":"globe","href":"https://www.openrush.com"},{"anchor":"Dashboard","icon":"gauge-high","href":"https://www.openrush.com/dashboard"}]},"pages":[]}},"deployment":{"deploymentMetadataValue":{"subdomain":"openrush","hasAudioNarration":false,"actualSubdomain":"openrush","customDomains":["openrush.com"],"gitSource":{"type":"github","owner":"viktoo","repo":"openrush-docs","deployBranch":"main","contentDirectory":"","isPrivate":true,"mountPath":"","label":""},"entitlements":{"AI_CHAT":{"status":"DISABLED"}},"buildId":"6afaa2ed3b9b1d7bae850a4c","clientVersion":"0.0.4270","searchFilterCounts":[{"language":"default","tag":"Guides","count":6},{"language":"default","tag":"Developer reference","count":5},{"language":"default","tag":"Dashboard basics","count":3},{"language":"default","tag":"Get started","count":2}]},"assistantConfig":{"enableAskAiButton":false,"enableStarterQuestions":false,"enableContextualStarterQuestions":false,"enableAskAiSearchBar":true},"basePath":"/docs","hasChatPermissions":false,"hasWebMcpPermissions":false,"toggles":[{"name":"kill-isr","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"custom-rbac-roles","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":"workos-onboarding","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":"site-roles","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automation-resolve-merge-conflict","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"scoped-publishing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"mintql","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"page-level-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-version-history-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"billing-page-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"full-page-search","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workspace-projects","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"assistant-v5","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"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":"workos-sso-scim","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"hobby-abuse-scan","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"dashboard-inbox","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-signup","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"turbopuffer-dual-write","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-enabled","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"approve-review-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-metadata","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"sso-setup-deadline-banner","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"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":"wildcard-email-auth","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false}],"googleFontsInlined":false},"customCss":[{"filePath":"style.css","content":".topbar-logo img,.nav-logo img,a[href=\"/\"] img[alt=\"OpenRush\"]{max-height:19px!important;width:auto!important}.navbar-link>a{min-height:36px;display:inline-flex;align-items:center;border-radius:10px!important;padding-top:0!important;padding-bottom:0!important}#topbar-cta-button>a{min-height:36px;display:inline-flex;align-items:center;padding-top:0!important;padding-bottom:0!important}#topbar-cta-button>a>span.absolute{border-radius:10px!important}.or-hero-line{margin:1.15rem 0 1.35rem;color:#46444f;font-size:1rem;font-weight:400;line-height:1.65}.or-hero-line-small{font-size:1rem;line-height:1.65}.dark .or-hero-line{color:rgb(var(--gray-400) / 1)}.or-pill{display:inline;border-radius:8px;padding:1px 6px;font-size:inherit;font-weight:600;line-height:inherit;white-space:nowrap}.or-pill-cyan{background:rgb(56 189 248 / 20%);color:rgb(14 165 233)}.or-pill-violet{background:rgb(167 139 250 / 20%);color:rgb(124 84 238)}.or-pill-green{background:rgb(52 211 153 / 20%);color:rgb(16 185 129)}.or-pill-red{background:rgb(239 68 68 / 15%);color:rgb(220 38 38)}.or-feature-grid{display:grid;grid-template-columns:repeat(2, minmax(0, 1fr));gap:1rem;margin:1.75rem 0 2rem}.or-feature-grid-compact{grid-template-columns:repeat(3, minmax(0, 1fr))}.or-feature-card{min-height:150px;border:1px solid #e3e3ea;border-radius:18px;background:#ffffff;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:1.1rem;color:#15151b;font-size:1rem;font-weight:700;text-align:center;text-decoration:none!important}.or-feature-card>span:last-child{color:#15151b}.dark .or-feature-card{border-color:#2c2c35;background:#17171f;box-shadow:inset 0 1px 0 rgb(255 255 255 / 4%)}.dark .or-feature-card>span:last-child{color:#f1f1f5}.or-feature-icon{display:inline-flex;min-width:2.5rem;min-height:2.5rem;align-items:center;justify-content:center;font-size:2.1rem;font-weight:700;line-height:1}.or-feature-blue{color:rgb(66 133 244)}.or-feature-violet{color:rgb(124 84 238)}.or-feature-green{color:rgb(16 185 129)}@media (min-width: 768px){.or-feature-grid{grid-template-columns:repeat(3, minmax(0, 1fr))}}@media (max-width: 560px){.or-hero-line{font-size:1rem}.or-feature-grid,.or-feature-grid-compact{grid-template-columns:1fr}}"}]}
{"page":{"pagePath":"fundamentals/authentication","slug":"/fundamentals/authentication","pageMetadata":{"title":"Authentication","description":"Understand sign-in, MCP access, and API keys.","href":"/fundamentals/authentication"},"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: \"Understand sign-in, MCP access, and API keys.\"\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`,p:`p`,pre:`pre`,span:`span`,tbody:`tbody`,td:`td`,th:`th`,thead:`thead`,tr:`tr`,ul:`ul`,..._provideComponents(),...props.components},{CodeBlock,Heading,Table,Warning}=_components;if(!CodeBlock)_missingMdxReference(`CodeBlock`,true);if(!Heading)_missingMdxReference(`Heading`,true);if(!Table)_missingMdxReference(`Table`,true);if(!Warning)_missingMdxReference(`Warning`,true);return _jsxs(_Fragment,{children:[_jsxs(_components.p,{children:[`Most users do not need to handle authentication directly. Sign in at `,_jsx(_components.a,{href:`https://www.openrush.com`,children:`www.openrush.com`}),`, connect your AI agent from `,_jsx(_components.a,{href:`https://www.openrush.com/dashboard/connect`,children:`Setup`}),`, and OpenRush handles access for you.`]}),`\n`,_jsx(_components.p,{children:`Developers can also create API keys for server-side integrations.`}),`\n`,_jsx(Heading,{level:`2`,id:`recommended-path`,children:`Recommended path`}),`\n`,_jsx(_components.p,{children:`Use the Dashboard:`}),`\n`,_jsxs(_components.ul,{children:[`\n`,_jsxs(_components.li,{children:[_jsx(_components.a,{href:`https://www.openrush.com/dashboard/connect`,children:`Setup`}),` to connect an AI agent.`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.a,{href:`https://www.openrush.com/dashboard/api`,children:`API access`}),` to create and revoke API keys.`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.a,{href:`https://www.openrush.com/dashboard/usage`,children:`Activity`}),` to see recent API and MCP usage.`]}),`\n`]}),`\n`,_jsx(Heading,{level:`2`,id:`api-keys-for-developers`,children:`API keys for developers`}),`\n`,_jsxs(_components.p,{children:[`Send your key in the `,_jsx(_components.code,{children:`Authorization`}),` header:`]}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`2`,language:`shellscript`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`shellscript`,children:_jsxs(_components.code,{language:`shellscript`,numberOfLines:`2`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#DCDCAA`},children:`curl`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"https://api.openrush.com/v1/me/credits\"`}),_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:`$OPENRUSH_KEY`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"`})]}),`\n`]})})}),`\n`,_jsx(_components.p,{children:`You can also send:`}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`2`,language:`shellscript`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`shellscript`,children:_jsxs(_components.code,{language:`shellscript`,numberOfLines:`2`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#DCDCAA`},children:`curl`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"https://api.openrush.com/v1/me/credits\"`}),_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:` \"X-API-Key: `}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`$OPENRUSH_KEY`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"`})]}),`\n`]})})}),`\n`,_jsxs(_components.p,{children:[`API keys use the `,_jsx(_components.code,{children:`or_`}),` prefix. The full key is returned only once when it is created. OpenRush stores a hash, fingerprint, and display prefix, not a retrievable raw key.`]}),`\n`,_jsx(Heading,{level:`2`,id:`use-an-api-key-with-mcp`,children:`Use an API key with MCP`}),`\n`,_jsxs(_components.p,{children:[`Most MCP clients sign in with OAuth. Some agents, such as Muse, can’t complete a sign-in. They can connect to `,_jsx(_components.code,{children:`https://api.openrush.com/mcp`}),` with an API key instead.`]}),`\n`,_jsxs(_components.p,{children:[`Send the key in the `,_jsx(_components.code,{children:`Authorization`}),` header:`]}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`4`,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:`4`,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:` \"url\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"https://api.openrush.com/mcp\"`}),_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:` \"headers\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: { `}),_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:`\"Authorization\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"Bearer or_your_api_key\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` }`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`}`})}),`\n`]})})}),`\n`,_jsx(_components.p,{children:`The key keeps its usual limits, such as its website scope and rate limits. Buying credits and changing billing still require a signed-in Dashboard session.`}),`\n`,_jsx(Heading,{level:`2`,id:`dashboard-sessions`,children:`Dashboard sessions`}),`\n`,_jsx(_components.p,{children:`When you use the Dashboard or OAuth-based MCP, OpenRush uses your signed-in account. You do not need to copy tokens manually.`}),`\n`,_jsx(_components.p,{children:`For advanced integrations, public API routes can also accept a valid Dashboard session bearer token:`}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`2`,language:`shellscript`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`shellscript`,children:_jsxs(_components.code,{language:`shellscript`,numberOfLines:`2`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#DCDCAA`},children:`curl`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"https://api.openrush.com/v1/me/credits\"`}),_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:`$SUPABASE_ACCESS_TOKEN`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"`})]}),`\n`]})})}),`\n`,_jsx(_components.p,{children:`OpenRush maps that session to the same account used by API keys. This keeps credits, usage, and billing shared across Dashboard, API key, and MCP access.`}),`\n`,_jsx(Heading,{level:`2`,id:`unauthenticated-endpoints`,children:`Unauthenticated endpoints`}),`\n`,_jsx(_components.p,{children:`This public endpoint does not require an API key:`}),`\n`,_jsxs(Table,{children:[_jsx(_components.thead,{children:_jsxs(_components.tr,{children:[_jsx(_components.th,{children:`Method`}),_jsx(_components.th,{children:`Path`}),_jsx(_components.th,{children:`Purpose`})]})}),_jsx(_components.tbody,{children:_jsxs(_components.tr,{children:[_jsxs(_components.td,{children:[_jsx(_components.code,{children:`GET`}),` or `,_jsx(_components.code,{children:`POST`})]}),_jsx(_components.td,{children:_jsx(_components.code,{children:`/v1/capabilities`})}),_jsx(_components.td,{children:`Discover enabled tools and sources`})]})})]}),`\n`,_jsx(Heading,{level:`2`,id:`create-and-revoke-user-credentials`,children:`Create and revoke user credentials`}),`\n`,_jsxs(_components.p,{children:[`You can create and revoke keys in `,_jsx(_components.a,{href:`https://www.openrush.com/dashboard/api`,children:`API access`}),`, or use the account API directly.`]}),`\n`,_jsx(_components.p,{children:`Create a new key for the current account:`}),`\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:` -X`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` POST`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"https://api.openrush.com/v1/me/api-credentials\"`}),_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:`$OPENRUSH_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:` '{\"name\":\"production agent\"}'`})]}),`\n`]})})}),`\n`,_jsx(_components.p,{children:`Revoke a key owned by the current account:`}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`2`,language:`shellscript`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`shellscript`,children:_jsxs(_components.code,{language:`shellscript`,numberOfLines:`2`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#DCDCAA`},children:`curl`}),_jsx(_components.span,{style:{color:`#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.openrush.com/v1/me/api-credentials/`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`$CREDENTIAL_ID`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`/revoke\"`}),_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:`$OPENRUSH_KEY`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"`})]}),`\n`]})})}),`\n`,_jsx(Warning,{children:_jsxs(_components.p,{children:[`Store the returned `,_jsx(_components.code,{children:`key`}),` immediately. It is shown once and cannot be retrieved later.`]})})]})}function MDXContent(props={}){const{wrapper:MDXLayout}={..._provideComponents(),...props.components};return MDXLayout?_jsx(MDXLayout,{...props,children:_jsx(_createMdxContent,{...props})}):_createMdxContent(props)}return{default:MDXContent};function _missingMdxReference(id,component){throw new Error(`Expected `+(component?`component`:`object`)+\" `\"+id+\"` to be defined: you likely forgot to import, pass, or provide it.\")}","frontmatter":{},"scope":{"config":{},"pageMetadata":{"title":"Authentication","description":"Understand sign-in, MCP access, and API keys.","href":"/fundamentals/authentication"}}},"mdxSourceWithNoJs":null},"mdxExtracts":{"tableOfContents":[{"title":"Recommended path","slug":"recommended-path","depth":2,"children":[]},{"title":"API keys for developers","slug":"api-keys-for-developers","depth":2,"children":[]},{"title":"Use an API key with MCP","slug":"use-an-api-key-with-mcp","depth":2,"children":[]},{"title":"Dashboard sessions","slug":"dashboard-sessions","depth":2,"children":[]},{"title":"Unauthenticated endpoints","slug":"unauthenticated-endpoints","depth":2,"children":[]},{"title":"Create and revoke user credentials","slug":"create-and-revoke-user-credentials","depth":2,"children":[]}],"codeExamples":{}},"jsLinks":["/docs/_mintlify/custom/openrush/e7e735dad681a7f8/custom.js"],"subdomain":"openrush","siteName":"OpenRush","title":"Authentication - OpenRush","navMaps":{"firstHrefInVersion":{},"firstHrefInLanguage":{}},"lastModified":"2026-09-24T19:00:52.775Z","originalFileLocation":"fundamentals/authentication.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=\"Understand sign-in, MCP access, and API keys.\">\u003cmeta data-mint-head name=\"application-name\" content=\"OpenRush\">\u003cmeta data-mint-head name=\"generator\" content=\"Mintlify\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/docs/mintlify-assets/_mintlify/favicons/openrush/Kwt9M_cTfMh6gQcR/_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=\"/docs/mintlify-assets/_mintlify/favicons/openrush/Kwt9M_cTfMh6gQcR/_generated/favicon/apple-touch-icon.png\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/docs/mintlify-assets/_mintlify/favicons/openrush/Kwt9M_cTfMh6gQcR/_generated/favicon/favicon-16x16.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/docs/mintlify-assets/_mintlify/favicons/openrush/Kwt9M_cTfMh6gQcR/_generated/favicon/favicon-32x32.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"/docs/mintlify-assets/_mintlify/favicons/openrush/Kwt9M_cTfMh6gQcR/_generated/favicon/favicon.ico\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/docs/mintlify-assets/_mintlify/favicons/openrush/Kwt9M_cTfMh6gQcR/_generated/favicon-dark/android-chrome-192x192.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/docs/mintlify-assets/_mintlify/favicons/openrush/Kwt9M_cTfMh6gQcR/_generated/favicon-dark/favicon-16x16.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/docs/mintlify-assets/_mintlify/favicons/openrush/Kwt9M_cTfMh6gQcR/_generated/favicon-dark/favicon-32x32.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"/docs/mintlify-assets/_mintlify/favicons/openrush/Kwt9M_cTfMh6gQcR/_generated/favicon-dark/favicon.ico\" media=\"(prefers-color-scheme: dark)\">\u003cmeta data-mint-head property=\"og:title\" content=\"Authentication - OpenRush\">\u003cmeta data-mint-head property=\"og:description\" content=\"Understand sign-in, MCP access, and API keys.\">\u003cmeta data-mint-head property=\"og:site_name\" content=\"OpenRush\">\u003cmeta data-mint-head property=\"og:url\" content=\"https://www.openrush.com/docs/fundamentals/authentication\">\u003cmeta data-mint-head property=\"og:type\" content=\"website\">\u003cmeta data-mint-head property=\"og:image\" content=\"https://openrush.mintlify.site/docs/_mintlify/api/og/v2?division=Developer+reference\u0026amp;title=Authentication\u0026amp;description=Understand+sign-in%2C+MCP+access%2C+and+API+keys.\u0026amp;theme=7489ab15c19c481243cd114f\u0026amp;signature=f9f715ed6473793330bae000224325c1dad84736ef22c5b0b24093902a2d0a76\">\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=\"Authentication - OpenRush\">\u003cmeta data-mint-head name=\"twitter:description\" content=\"Understand sign-in, MCP access, and API keys.\">\u003cmeta data-mint-head name=\"twitter:image\" content=\"https://openrush.mintlify.site/docs/_mintlify/api/og/v2?division=Developer+reference\u0026amp;title=Authentication\u0026amp;description=Understand+sign-in%2C+MCP+access%2C+and+API+keys.\u0026amp;theme=7489ab15c19c481243cd114f\u0026amp;signature=f9f715ed6473793330bae000224325c1dad84736ef22c5b0b24093902a2d0a76\">\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=\"/docs/mintlify-assets/_mintlify/favicons/openrush/Kwt9M_cTfMh6gQcR/_generated/favicon/browserconfig.xml\">\u003cmeta data-mint-head name=\"apple-mobile-web-app-title\" content=\"OpenRush\">\u003cmeta data-mint-head name=\"msapplication-TileColor\" content=\"#7272F1\">\u003clink data-mint-head rel=\"canonical\" href=\"https://www.openrush.com/docs/fundamentals/authentication\">\u003clink data-mint-head rel=\"alternate\" type=\"application/xml\" href=\"/docs/sitemap.xml\">\u003clink data-mint-head rel=\"alternate\" type=\"text/markdown\" href=\"/docs/fundamentals/authentication.md\">\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@graph\":[{\"@type\":\"Organization\",\"@id\":\"https://www.openrush.com/#organization\",\"name\":\"OpenRush\",\"url\":\"https://www.openrush.com\",\"logo\":{\"@type\":\"ImageObject\",\"url\":\"https://mintcdn.com/openrush/3ELmmBEPmuhTvoQn/logo/openrush_icon.png?fit=max\u0026auto=format\u0026n=3ELmmBEPmuhTvoQn\u0026q=85\u0026s=5cb0ab1a84c40d18ea68fa9fa8b7429d\"}},{\"@type\":\"WebSite\",\"@id\":\"https://www.openrush.com/docs#website\",\"name\":\"OpenRush\",\"url\":\"https://www.openrush.com/docs\",\"publisher\":{\"@id\":\"https://www.openrush.com/#organization\"}},{\"@type\":\"WebPage\",\"@id\":\"https://www.openrush.com/docs/fundamentals/authentication#webpage\",\"url\":\"https://www.openrush.com/docs/fundamentals/authentication\",\"name\":\"Authentication\",\"description\":\"Understand sign-in, MCP access, and API keys.\",\"dateModified\":\"2026-09-24T19:00:52.775Z\",\"isPartOf\":{\"@id\":\"https://www.openrush.com/docs#website\"},\"breadcrumb\":{\"@id\":\"https://www.openrush.com/docs/fundamentals/authentication#breadcrumb\"}},{\"@type\":\"BreadcrumbList\",\"@id\":\"https://www.openrush.com/docs/fundamentals/authentication#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"OpenRush\",\"item\":\"https://www.openrush.com/docs\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Authentication\",\"item\":\"https://www.openrush.com/docs/fundamentals/authentication\"}]},{\"@type\":[\"Article\",\"TechArticle\"],\"@id\":\"https://www.openrush.com/docs/fundamentals/authentication#article\",\"headline\":\"Authentication\",\"name\":\"Authentication\",\"description\":\"Understand sign-in, MCP access, and API keys.\",\"url\":\"https://www.openrush.com/docs/fundamentals/authentication\",\"mainEntityOfPage\":{\"@id\":\"https://www.openrush.com/docs/fundamentals/authentication#webpage\"},\"dateModified\":\"2026-09-24T19:00:52.775Z\",\"publisher\":{\"@id\":\"https://www.openrush.com/#organization\"},\"isPartOf\":{\"@id\":\"https://www.openrush.com/docs#website\"}}]}\u003c/script>\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@type\":\"WebSite\",\"name\":\"OpenRush\",\"publisher\":{\"@type\":\"Organization\",\"name\":\"OpenRush\"},\"provider\":{\"@type\":\"Organization\",\"name\":\"Mintlify\",\"url\":\"https://mintlify.com\"}}\u003c/script>","agentPointerHref":"/docs/fundamentals/authentication.md","siteName":"OpenRush","nav":{"global":{"anchors":[{"anchor":"Website","icon":"globe","href":"https://www.openrush.com"},{"anchor":"Dashboard","icon":"gauge-high","href":"https://www.openrush.com/dashboard"}]},"pages":[{"group":"Get started","pages":[{"title":"Welcome","href":"/index"},{"title":"Quickstart: Get answers in 1 min","href":"/quickstart"}]},{"group":"Guides","pages":[{"title":"Use MCP","href":"/guides/mcp"},{"title":"Agent setup","href":"/guides/agent-setup"},{"title":"Use Monitors","href":"/guides/monitoring"},{"title":"Query your Search Console","href":"/guides/search-console"},{"title":"Query your Google Analytics","href":"/guides/website-analytics"},{"title":"Query your Google Ads","href":"/guides/google-ads"}]},{"group":"Dashboard basics","pages":[{"title":"Account","href":"/api-reference/account"},{"title":"Connections","href":"/api-reference/connections"},{"title":"Credits and rate limits","description":"Understand tool credit costs, top-ups, and rate-limit headers.","href":"/fundamentals/credits-and-rate-limits"}]},{"group":"Developer reference","pages":[{"title":"Authentication","href":"/fundamentals/authentication"},{"title":"Endpoint index","description":"Developer index of public OpenRush API endpoints.","href":"/api-reference/endpoint-index"},{"title":"Tool API reference","href":"/api-reference/tools"},{"title":"Response format","href":"/fundamentals/open-fact-envelope"},{"title":"Errors","href":"/fundamentals/errors"}]}]},"basePath":"","title":"Authentication - OpenRush","deploymentId":"dpl_53YqbBPsHdrqSGqXiWPGU7csRVod","buildId":"dpl_53YqbBPsHdrqSGqXiWPGU7csRVod","dynamics":[],"chunks":[]}