Read or replace the live router configuration. GET returns the current YAML v0.3 config as JSON. PUT replaces the whole config with a validated object. Only admins can write.The configuration is organized into top-level blocks: listeners, providers, entrypoints, recipes, and global.
Endpoint
GET /v1/router/config
PUT /v1/router/config
Authentication
Authenticate with a session cookie or pass Authorization: Bearer <api-key>. The PUT method requires an admin role.
GET Response
object
The current router configuration.
Show properties
array
Bind addresses and ports the router listens on.
Show items
string
Bind address.
integer
Bind port.
array
Provider definitions with default models and backend references.
Show items
string
Provider identifier.
string
Fallback model when none is specified.
array
Backend references for each model.
Show items
string
Model name.
string
Backend endpoint or identifier.
array
Virtual model mappings to router and recipe combinations.
Show items
string
Virtual model name exposed to clients.
string
Decisioner kind. Values: semantic, agent, afm-d. Must match the recipe’s router.
string
Recipe identifier.
array
Routing recipes, classified as semantic, agent, or afm-d.
Show items
string
Recipe identifier.
string
Recipe class. semantic (routing.*), agent (agent.*), or afm-d (afm-d.* System One endpoint / timeout / fallback via aria-engine at AFM_ENGINE_URL).
object
Global settings such as auth paths, keys paths, and users paths.
Show properties
string
Authentication configuration path.
string
API keys configuration path.
string
Users configuration path.
PUT Request Body
array
Bind addresses and ports.
array
required
Provider definitions.
array
required
Virtual model mappings.
array
required
Routing recipes.
object
required
Global settings.
PUT Response
boolean
Whether the new configuration was accepted and applied.
{"docsConfig":{"theme":"mint","$schema":"https://mintlify.com/docs.json","name":"Aria Compute","description":"Aria Compute builds device-native foundation models: advanced intelligence for processors outside of data centers, built for the latency, privacy, and hardware constraints of the physical world.","colors":{"primary":"#000000","light":"#FFFFFF","dark":"#000000"},"logo":{"light":"https://mintcdn.com/aria-compute/-w-NBR2v0CcqoPHV/images/banner-international.svg?fit=max\u0026auto=format\u0026n=-w-NBR2v0CcqoPHV\u0026q=85\u0026s=499bf3ea5acf886ef6db7ec92010a457","dark":"https://mintcdn.com/aria-compute/-w-NBR2v0CcqoPHV/images/banner-international-dark.svg?fit=max\u0026auto=format\u0026n=-w-NBR2v0CcqoPHV\u0026q=85\u0026s=da580e01e23dcc43b51a13d9141ff580"},"favicon":{"light":"https://mintcdn.com/aria-compute/f1-7a2QscLtIHU5r/images/favicon.svg?fit=max\u0026auto=format\u0026n=f1-7a2QscLtIHU5r\u0026q=85\u0026s=9696e231abd64ca5daf78dc8cd0b675a","dark":"https://mintcdn.com/aria-compute/f1-7a2QscLtIHU5r/images/favicon-dark.svg?fit=max\u0026auto=format\u0026n=f1-7a2QscLtIHU5r\u0026q=85\u0026s=611570f32e99265bb4d520c9968f170b"},"navbar":{"links":[{"href":"mailto:[email protected]","label":"Support"}],"primary":{"type":"button","label":"Home","href":"https://ariacompute.com"}},"footer":{"socials":{"x":"https://x.com/ariacompute","github":"https://github.com/ariacompute","linkedin":"https://www.linkedin.com/in/ariacompute","discord":"https://discord.gg/UMFE55XPT","youtube":"https://youtube.com/@ariacompute"}},"contextual":{"options":["copy","view","chatgpt","claude","perplexity","mcp","cursor","vscode"],"display":"header"},"styling":{"latex":false},"navigation":{"pages":[]}},"deployment":{"deploymentMetadataValue":{"subdomain":"aria-compute","hasAudioNarration":false,"actualSubdomain":"aria-compute","customDomains":["docs.ariacompute.com"],"gitSource":{"type":"github","owner":"ariacompute","repo":"docs-intl","deployBranch":"main","contentDirectory":"","isPrivate":true,"mountPath":"","label":""},"feedback":{"thumbs":true,"agentFeedback":true,"edits":false,"issues":false},"entitlements":{"AI_CHAT":{"status":"DISABLED"},"WEB_MCP":{"status":"DISABLED"},"NARRATION":{"status":"DISABLED"}},"buildId":"6b011d7c00014365c3736c67","clientVersion":"0.0.4270","searchFilterCounts":[{"language":"default","tag":"API Reference","count":187},{"language":"default","tag":"MEMO API","count":66},{"language":"default","tag":"PIN API","count":56},{"language":"default","tag":"AGENT API","count":33},{"language":"default","tag":"ROUTER API","count":32},{"language":"default","tag":"Documentation","count":23},{"language":"default","tag":"Auth \u0026 Users","count":15},{"language":"default","tag":"GPU Nodes \u0026 Agents","count":11},{"language":"default","tag":"Jobs","count":11},{"language":"default","tag":"Memory Cubes","count":10}],"searchSettings":{"showContentSnippets":true,"isFiltersEnabled":true}},"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":"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":"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},{"name":"wildcard-email-auth","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false}],"privacy":{"consentBanner":{"enabled":false}},"googleFontsInlined":false},"customCss":[{"filePath":"style.css","content":"img.nav-logo{height:3rem!important;width:auto!important;max-width:none!important}@media (min-width: 1024px){img.nav-logo{height:3.5rem!important}}"}]}
{"page":{"pagePath":"api-reference/router/management/config","slug":"/api-reference/router/management/config","pageMetadata":{"title":"Router Configuration Get and Update API","sidebarTitle":"Config","description":"Retrieve the current router YAML configuration as JSON, or update it with a validated config object. Admin access required for writes.","href":"/api-reference/router/management/config"},"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: \"Retrieve the current router YAML configuration as JSON, or update it with a validated config object. Admin access required for writes.\"\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={code:`code`,p:`p`,pre:`pre`,span:`span`,..._provideComponents(),...props.components},{CodeBlock,Expandable,Heading,ParamField,ResponseField}=_components;if(!CodeBlock)_missingMdxReference(`CodeBlock`,true);if(!Expandable)_missingMdxReference(`Expandable`,true);if(!Heading)_missingMdxReference(`Heading`,true);if(!ParamField)_missingMdxReference(`ParamField`,true);if(!ResponseField)_missingMdxReference(`ResponseField`,true);return _jsxs(_Fragment,{children:[_jsx(_components.p,{children:`Read or replace the live router configuration. GET returns the current YAML v0.3 config as JSON. PUT replaces the whole config with a validated object. Only admins can write.`}),`\n`,_jsxs(_components.p,{children:[`The configuration is organized into top-level blocks: `,_jsx(_components.code,{children:`listeners`}),`, `,_jsx(_components.code,{children:`providers`}),`, `,_jsx(_components.code,{children:`entrypoints`}),`, `,_jsx(_components.code,{children:`recipes`}),`, and `,_jsx(_components.code,{children:`global`}),`.`]}),`\n`,_jsx(Heading,{level:`2`,id:`endpoint`,children:`Endpoint`}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`1`,language:`http`,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:`http`,children:_jsxs(_components.code,{language:`http`,numberOfLines:`1`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#C586C0`},children:`GET`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` /v1/router/config`})]}),`\n`]})})}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`1`,language:`http`,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:`http`,children:_jsxs(_components.code,{language:`http`,numberOfLines:`1`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#C586C0`},children:`PUT`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` /v1/router/config`})]}),`\n`]})})}),`\n`,_jsx(Heading,{level:`2`,id:`authentication`,children:`Authentication`}),`\n`,_jsxs(_components.p,{children:[`Authenticate with a session cookie or pass `,_jsx(_components.code,{children:`Authorization: Bearer \u003capi-key>`}),`. The PUT method requires an admin role.`]}),`\n`,_jsx(Heading,{level:`2`,id:`get-response`,children:`GET Response`}),`\n`,_jsxs(ResponseField,{name:`config`,type:`object`,id:`param-config`,children:[_jsx(_components.p,{children:`The current router configuration.`}),_jsxs(Expandable,{title:`properties`,children:[_jsxs(ResponseField,{name:`listeners`,type:`array`,id:`param-listeners`,children:[_jsx(_components.p,{children:`Bind addresses and ports the router listens on.`}),_jsxs(Expandable,{title:`items`,children:[_jsx(ResponseField,{name:`address`,type:`string`,id:`param-address`,children:_jsx(_components.p,{children:`Bind address.`})}),_jsx(ResponseField,{name:`port`,type:`integer`,id:`param-port`,children:_jsx(_components.p,{children:`Bind port.`})})]})]}),_jsxs(ResponseField,{name:`providers`,type:`array`,id:`param-providers`,children:[_jsx(_components.p,{children:`Provider definitions with default models and backend references.`}),_jsxs(Expandable,{title:`items`,children:[_jsx(ResponseField,{name:`name`,type:`string`,id:`param-name`,children:_jsx(_components.p,{children:`Provider identifier.`})}),_jsx(ResponseField,{name:`default_model`,type:`string`,id:`param-default-model`,children:_jsx(_components.p,{children:`Fallback model when none is specified.`})}),_jsxs(ResponseField,{name:`models`,type:`array`,id:`param-models`,children:[_jsx(_components.p,{children:`Backend references for each model.`}),_jsxs(Expandable,{title:`items`,children:[_jsx(ResponseField,{name:`name`,type:`string`,id:`param-name-1`,children:_jsx(_components.p,{children:`Model name.`})}),_jsx(ResponseField,{name:`backend_ref`,type:`string`,id:`param-backend-ref`,children:_jsx(_components.p,{children:`Backend endpoint or identifier.`})})]})]})]})]}),_jsxs(ResponseField,{name:`entrypoints`,type:`array`,id:`param-entrypoints`,children:[_jsx(_components.p,{children:`Virtual model mappings to router and recipe combinations.`}),_jsxs(Expandable,{title:`items`,children:[_jsx(ResponseField,{name:`model`,type:`string`,id:`param-model`,children:_jsx(_components.p,{children:`Virtual model name exposed to clients.`})}),_jsx(ResponseField,{name:`router`,type:`string`,id:`param-router`,children:_jsxs(_components.p,{children:[`Decisioner kind. Values: `,_jsx(_components.code,{children:`semantic`}),`, `,_jsx(_components.code,{children:`agent`}),`, `,_jsx(_components.code,{children:`afm-d`}),`. Must match the recipe’s `,_jsx(_components.code,{children:`router`}),`.`]})}),_jsx(ResponseField,{name:`recipe`,type:`string`,id:`param-recipe`,children:_jsx(_components.p,{children:`Recipe identifier.`})})]})]}),_jsxs(ResponseField,{name:`recipes`,type:`array`,id:`param-recipes`,children:[_jsx(_components.p,{children:`Routing recipes, classified as semantic, agent, or afm-d.`}),_jsxs(Expandable,{title:`items`,children:[_jsx(ResponseField,{name:`name`,type:`string`,id:`param-name-2`,children:_jsx(_components.p,{children:`Recipe identifier.`})}),_jsx(ResponseField,{name:`type`,type:`string`,id:`param-type`,children:_jsxs(_components.p,{children:[`Recipe class. `,_jsx(_components.code,{children:`semantic`}),` (`,_jsx(_components.code,{children:`routing.*`}),`), `,_jsx(_components.code,{children:`agent`}),` (`,_jsx(_components.code,{children:`agent.*`}),`), or `,_jsx(_components.code,{children:`afm-d`}),` (`,_jsx(_components.code,{children:`afm-d.*`}),` System One endpoint / timeout / fallback via aria-engine at `,_jsx(_components.code,{children:`AFM_ENGINE_URL`}),`).`]})})]})]}),_jsxs(ResponseField,{name:`global`,type:`object`,id:`param-global`,children:[_jsx(_components.p,{children:`Global settings such as auth paths, keys paths, and users paths.`}),_jsxs(Expandable,{title:`properties`,children:[_jsx(ResponseField,{name:`auth`,type:`string`,id:`param-auth`,children:_jsx(_components.p,{children:`Authentication configuration path.`})}),_jsx(ResponseField,{name:`keys`,type:`string`,id:`param-keys`,children:_jsx(_components.p,{children:`API keys configuration path.`})}),_jsx(ResponseField,{name:`users`,type:`string`,id:`param-users`,children:_jsx(_components.p,{children:`Users configuration path.`})})]})]})]})]}),`\n`,_jsx(Heading,{level:`2`,id:`put-request-body`,children:`PUT Request Body`}),`\n`,_jsx(ParamField,{body:`listeners`,type:`array`,id:`param-listeners-1`,children:_jsx(_components.p,{children:`Bind addresses and ports.`})}),`\n`,_jsx(ParamField,{body:`providers`,type:`array`,required:true,id:`param-providers-1`,children:_jsx(_components.p,{children:`Provider definitions.`})}),`\n`,_jsx(ParamField,{body:`entrypoints`,type:`array`,required:true,id:`param-entrypoints-1`,children:_jsx(_components.p,{children:`Virtual model mappings.`})}),`\n`,_jsx(ParamField,{body:`recipes`,type:`array`,required:true,id:`param-recipes-1`,children:_jsx(_components.p,{children:`Routing recipes.`})}),`\n`,_jsx(ParamField,{body:`global`,type:`object`,required:true,id:`param-global-1`,children:_jsx(_components.p,{children:`Global settings.`})}),`\n`,_jsx(Heading,{level:`2`,id:`put-response`,children:`PUT Response`}),`\n`,_jsx(ResponseField,{name:`applied`,type:`boolean`,id:`param-applied`,children:_jsx(_components.p,{children:`Whether the new configuration was accepted and applied.`})})]})}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":"Router Configuration Get and Update API","sidebarTitle":"Config","description":"Retrieve the current router YAML configuration as JSON, or update it with a validated config object. Admin access required for writes.","href":"/api-reference/router/management/config"}}},"mdxSourceWithNoJs":{"compiledSource":"\"use strict\";const{Fragment:_Fragment,jsx:_jsx,jsxs:_jsxs}=arguments[0];const{useMDXComponents:_provideComponents}=arguments[0];function _createMdxContent(props){const _components={code:`code`,p:`p`,pre:`pre`,span:`span`,..._provideComponents(),...props.components},{CodeBlock,Expandable,Heading,ParamField,RequestExample,ResponseExample,ResponseField}=_components;if(!CodeBlock)_missingMdxReference(`CodeBlock`,true);if(!Expandable)_missingMdxReference(`Expandable`,true);if(!Heading)_missingMdxReference(`Heading`,true);if(!ParamField)_missingMdxReference(`ParamField`,true);if(!RequestExample)_missingMdxReference(`RequestExample`,true);if(!ResponseExample)_missingMdxReference(`ResponseExample`,true);if(!ResponseField)_missingMdxReference(`ResponseField`,true);return _jsxs(_Fragment,{children:[_jsx(_components.p,{children:`Read or replace the live router configuration. GET returns the current YAML v0.3 config as JSON. PUT replaces the whole config with a validated object. Only admins can write.`}),`\n`,_jsxs(_components.p,{children:[`The configuration is organized into top-level blocks: `,_jsx(_components.code,{children:`listeners`}),`, `,_jsx(_components.code,{children:`providers`}),`, `,_jsx(_components.code,{children:`entrypoints`}),`, `,_jsx(_components.code,{children:`recipes`}),`, and `,_jsx(_components.code,{children:`global`}),`.`]}),`\n`,_jsx(Heading,{level:`2`,id:`endpoint`,children:`Endpoint`}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`1`,language:`http`,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:`http`,children:_jsxs(_components.code,{language:`http`,numberOfLines:`1`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#C586C0`},children:`GET`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` /v1/router/config`})]}),`\n`]})})}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`1`,language:`http`,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:`http`,children:_jsxs(_components.code,{language:`http`,numberOfLines:`1`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#C586C0`},children:`PUT`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` /v1/router/config`})]}),`\n`]})})}),`\n`,_jsx(Heading,{level:`2`,id:`authentication`,children:`Authentication`}),`\n`,_jsxs(_components.p,{children:[`Authenticate with a session cookie or pass `,_jsx(_components.code,{children:`Authorization: Bearer \u003capi-key>`}),`. The PUT method requires an admin role.`]}),`\n`,_jsx(Heading,{level:`2`,id:`get-response`,children:`GET Response`}),`\n`,_jsxs(ResponseField,{name:`config`,type:`object`,id:`param-config`,children:[_jsx(_components.p,{children:`The current router configuration.`}),_jsxs(Expandable,{title:`properties`,children:[_jsxs(ResponseField,{name:`listeners`,type:`array`,id:`param-listeners`,children:[_jsx(_components.p,{children:`Bind addresses and ports the router listens on.`}),_jsxs(Expandable,{title:`items`,children:[_jsx(ResponseField,{name:`address`,type:`string`,id:`param-address`,children:_jsx(_components.p,{children:`Bind address.`})}),_jsx(ResponseField,{name:`port`,type:`integer`,id:`param-port`,children:_jsx(_components.p,{children:`Bind port.`})})]})]}),_jsxs(ResponseField,{name:`providers`,type:`array`,id:`param-providers`,children:[_jsx(_components.p,{children:`Provider definitions with default models and backend references.`}),_jsxs(Expandable,{title:`items`,children:[_jsx(ResponseField,{name:`name`,type:`string`,id:`param-name`,children:_jsx(_components.p,{children:`Provider identifier.`})}),_jsx(ResponseField,{name:`default_model`,type:`string`,id:`param-default-model`,children:_jsx(_components.p,{children:`Fallback model when none is specified.`})}),_jsxs(ResponseField,{name:`models`,type:`array`,id:`param-models`,children:[_jsx(_components.p,{children:`Backend references for each model.`}),_jsxs(Expandable,{title:`items`,children:[_jsx(ResponseField,{name:`name`,type:`string`,id:`param-name-1`,children:_jsx(_components.p,{children:`Model name.`})}),_jsx(ResponseField,{name:`backend_ref`,type:`string`,id:`param-backend-ref`,children:_jsx(_components.p,{children:`Backend endpoint or identifier.`})})]})]})]})]}),_jsxs(ResponseField,{name:`entrypoints`,type:`array`,id:`param-entrypoints`,children:[_jsx(_components.p,{children:`Virtual model mappings to router and recipe combinations.`}),_jsxs(Expandable,{title:`items`,children:[_jsx(ResponseField,{name:`model`,type:`string`,id:`param-model`,children:_jsx(_components.p,{children:`Virtual model name exposed to clients.`})}),_jsx(ResponseField,{name:`router`,type:`string`,id:`param-router`,children:_jsxs(_components.p,{children:[`Decisioner kind. Values: `,_jsx(_components.code,{children:`semantic`}),`, `,_jsx(_components.code,{children:`agent`}),`, `,_jsx(_components.code,{children:`afm-d`}),`. Must match the recipe’s `,_jsx(_components.code,{children:`router`}),`.`]})}),_jsx(ResponseField,{name:`recipe`,type:`string`,id:`param-recipe`,children:_jsx(_components.p,{children:`Recipe identifier.`})})]})]}),_jsxs(ResponseField,{name:`recipes`,type:`array`,id:`param-recipes`,children:[_jsx(_components.p,{children:`Routing recipes, classified as semantic, agent, or afm-d.`}),_jsxs(Expandable,{title:`items`,children:[_jsx(ResponseField,{name:`name`,type:`string`,id:`param-name-2`,children:_jsx(_components.p,{children:`Recipe identifier.`})}),_jsx(ResponseField,{name:`type`,type:`string`,id:`param-type`,children:_jsxs(_components.p,{children:[`Recipe class. `,_jsx(_components.code,{children:`semantic`}),` (`,_jsx(_components.code,{children:`routing.*`}),`), `,_jsx(_components.code,{children:`agent`}),` (`,_jsx(_components.code,{children:`agent.*`}),`), or `,_jsx(_components.code,{children:`afm-d`}),` (`,_jsx(_components.code,{children:`afm-d.*`}),` System One endpoint / timeout / fallback via aria-engine at `,_jsx(_components.code,{children:`AFM_ENGINE_URL`}),`).`]})})]})]}),_jsxs(ResponseField,{name:`global`,type:`object`,id:`param-global`,children:[_jsx(_components.p,{children:`Global settings such as auth paths, keys paths, and users paths.`}),_jsxs(Expandable,{title:`properties`,children:[_jsx(ResponseField,{name:`auth`,type:`string`,id:`param-auth`,children:_jsx(_components.p,{children:`Authentication configuration path.`})}),_jsx(ResponseField,{name:`keys`,type:`string`,id:`param-keys`,children:_jsx(_components.p,{children:`API keys configuration path.`})}),_jsx(ResponseField,{name:`users`,type:`string`,id:`param-users`,children:_jsx(_components.p,{children:`Users configuration path.`})})]})]})]})]}),`\n`,_jsx(Heading,{level:`2`,id:`put-request-body`,children:`PUT Request Body`}),`\n`,_jsx(ParamField,{body:`listeners`,type:`array`,id:`param-listeners-1`,children:_jsx(_components.p,{children:`Bind addresses and ports.`})}),`\n`,_jsx(ParamField,{body:`providers`,type:`array`,required:true,id:`param-providers-1`,children:_jsx(_components.p,{children:`Provider definitions.`})}),`\n`,_jsx(ParamField,{body:`entrypoints`,type:`array`,required:true,id:`param-entrypoints-1`,children:_jsx(_components.p,{children:`Virtual model mappings.`})}),`\n`,_jsx(ParamField,{body:`recipes`,type:`array`,required:true,id:`param-recipes-1`,children:_jsx(_components.p,{children:`Routing recipes.`})}),`\n`,_jsx(ParamField,{body:`global`,type:`object`,required:true,id:`param-global-1`,children:_jsx(_components.p,{children:`Global settings.`})}),`\n`,_jsx(Heading,{level:`2`,id:`put-response`,children:`PUT Response`}),`\n`,_jsx(ResponseField,{name:`applied`,type:`boolean`,id:`param-applied`,children:_jsx(_components.p,{children:`Whether the new configuration was accepted and applied.`})}),`\n`,_jsx(RequestExample,{children:_jsx(CodeBlock,{filename:`cURL`,numberOfLines:`9`,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:`9`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#6E7781`,\"--shiki-dark\":`#6A9955`},children:`# Retrieve current config`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#DCDCAA`},children:`curl`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` -X`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` GET`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"https://router.example.com/v1/router/config\"`}),_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 \u003capi-key>\"`})]}),`\n`,_jsx(_components.span,{className:`line`}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#6E7781`,\"--shiki-dark\":`#6A9955`},children:`# Update config (admin only)`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#DCDCAA`},children:`curl`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` -X`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` PUT`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"https://router.example.com/v1/router/config\"`}),_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 \u003capi-key>\"`}),_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:` '{\"listeners\":[{\"address\":\"0.0.0.0\",\"port\":8080}],\"providers\":[],\"entrypoints\":[],\"recipes\":[],\"global\":{}}'`})]}),`\n`]})})})}),`\n`,_jsx(ResponseExample,{children:_jsx(CodeBlock,{filename:`200`,numberOfLines:`27`,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:`27`,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:` \"config\"`}),_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:` \"listeners\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: [{`}),_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:`\"address\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"0.0.0.0\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`, `}),_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:`\"port\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`8080`}),_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:` \"providers\"`}),_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:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"name\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"openai\"`}),_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:` \"default_model\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"gpt-4o\"`}),_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:` \"models\"`}),_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\":`#D4D4D4`},children:` {`}),_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:`\"name\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"gpt-4o\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`, `}),_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:`\"backend_ref\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"openai/gpt-4o\"`}),_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`,_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`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"entrypoints\"`}),_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\":`#D4D4D4`},children:` {`}),_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:`\"model\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"ariacompute/semantic-auto\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`, `}),_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:`\"router\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"semantic\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`, `}),_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:`\"recipe\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"semantic-router\"`}),_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\":`#D4D4D4`},children:` {`}),_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:`\"model\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"ariacompute/afm-d-auto\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`, `}),_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:`\"router\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"afm-d\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`, `}),_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:`\"recipe\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"afm-d-router\"`}),_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:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"recipes\"`}),_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\":`#D4D4D4`},children:` {`}),_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:`\"name\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"semantic-router\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`, `}),_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:`\"type\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"semantic\"`}),_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\":`#D4D4D4`},children:` {`}),_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:`\"name\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"afm-d-router\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`, `}),_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:`\"type\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"afm-d\"`}),_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:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"global\"`}),_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:` \"auth\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"config/auth.yaml\"`}),_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:` \"keys\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"config/keys.yaml\"`}),_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:` \"users\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"config/users.yaml\"`})]}),`\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`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`}`})}),`\n`]})})})})]})}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":"Router Configuration Get and Update API","sidebarTitle":"Config","description":"Retrieve the current router YAML configuration as JSON, or update it with a validated config object. Admin access required for writes.","href":"/api-reference/router/management/config"}}}},"mdxExtracts":{"tableOfContents":[{"title":"Endpoint","slug":"endpoint","depth":2,"children":[]},{"title":"Authentication","slug":"authentication","depth":2,"children":[]},{"title":"GET Response","slug":"get-response","depth":2,"children":[]},{"title":"PUT Request Body","slug":"put-request-body","depth":2,"children":[]},{"title":"PUT Response","slug":"put-response","depth":2,"children":[]}],"codeExamples":{"request":{"type":"RequestExample","children":[{"filename":"cURL","html":"\u003cpre class=\"shiki shiki-themes github-light-default dark-plus\" style=\"background-color:#ffffff;--shiki-dark-bg:#0B0C0E;color:#1f2328;--shiki-dark:#D4D4D4\" language=\"shellscript\">\u003ccode language=\"shellscript\" numberOfLines=\"9\">\u003cspan class=\"line\">\u003cspan style=\"color:#6E7781;--shiki-dark:#6A9955\"># Retrieve current config\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#953800;--shiki-dark:#DCDCAA\">curl\u003c/span>\u003cspan style=\"color:#0550AE;--shiki-dark:#569CD6\"> -X\u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\"> GET\u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\"> \"https://router.example.com/v1/router/config\"\u003c/span>\u003cspan style=\"color:#CF222E;--shiki-dark:#D7BA7D\"> \\\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#0550AE;--shiki-dark:#569CD6\"> -H\u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\"> \"Authorization: Bearer \u0026#x3C;api-key>\"\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#6E7781;--shiki-dark:#6A9955\"># Update config (admin only)\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#953800;--shiki-dark:#DCDCAA\">curl\u003c/span>\u003cspan style=\"color:#0550AE;--shiki-dark:#569CD6\"> -X\u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\"> PUT\u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\"> \"https://router.example.com/v1/router/config\"\u003c/span>\u003cspan style=\"color:#CF222E;--shiki-dark:#D7BA7D\"> \\\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#0550AE;--shiki-dark:#569CD6\"> -H\u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\"> \"Authorization: Bearer \u0026#x3C;api-key>\"\u003c/span>\u003cspan style=\"color:#CF222E;--shiki-dark:#D7BA7D\"> \\\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#0550AE;--shiki-dark:#569CD6\"> -H\u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\"> \"Content-Type: application/json\"\u003c/span>\u003cspan style=\"color:#CF222E;--shiki-dark:#D7BA7D\"> \\\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#0550AE;--shiki-dark:#569CD6\"> -d\u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\"> '{\"listeners\":[{\"address\":\"0.0.0.0\",\"port\":8080}],\"providers\":[],\"entrypoints\":[],\"recipes\":[],\"global\":{}}'\u003c/span>\u003c/span>\n\u003c/code>\u003c/pre>"}],"attributes":[]},"response":{"type":"ResponseExample","children":[{"filename":"200","html":"\u003cpre class=\"shiki shiki-themes github-light-default dark-plus\" style=\"background-color:#ffffff;--shiki-dark-bg:#0B0C0E;color:#1f2328;--shiki-dark:#D4D4D4\" language=\"json\">\u003ccode language=\"json\" numberOfLines=\"27\">\u003cspan class=\"line\">\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">{\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"config\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: {\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"listeners\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: [{\u003c/span>\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\">\"address\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"0.0.0.0\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">, \u003c/span>\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\">\"port\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0550AE;--shiki-dark:#B5CEA8\">8080\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">}],\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"providers\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: [\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\"> {\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"name\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"openai\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"default_model\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"gpt-4o\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"models\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: [\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\"> {\u003c/span>\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\">\"name\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"gpt-4o\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">, \u003c/span>\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\">\"backend_ref\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"openai/gpt-4o\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">}\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\"> ]\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\"> }\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\"> ],\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"entrypoints\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: [\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\"> {\u003c/span>\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\">\"model\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"ariacompute/semantic-auto\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">, \u003c/span>\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\">\"router\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"semantic\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">, \u003c/span>\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\">\"recipe\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"semantic-router\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">},\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\"> {\u003c/span>\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\">\"model\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"ariacompute/afm-d-auto\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">, \u003c/span>\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\">\"router\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"afm-d\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">, \u003c/span>\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\">\"recipe\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"afm-d-router\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">}\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\"> ],\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"recipes\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: [\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\"> {\u003c/span>\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\">\"name\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"semantic-router\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">, \u003c/span>\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\">\"type\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"semantic\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">},\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\"> {\u003c/span>\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\">\"name\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"afm-d-router\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">, \u003c/span>\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\">\"type\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"afm-d\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">}\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\"> ],\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"global\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: {\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"auth\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"config/auth.yaml\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"keys\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"config/keys.yaml\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"users\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"config/users.yaml\"\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\"> }\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\"> }\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">}\u003c/span>\u003c/span>\n\u003c/code>\u003c/pre>"}],"attributes":[]}}},"jsLinks":[],"subdomain":"aria-compute","siteName":"Aria Compute","title":"Router Configuration Get and Update API - Aria Compute","navMaps":{"firstHrefInVersion":{},"firstHrefInLanguage":{},"searchTabScopes":[{"tab":"Documentation"},{"tab":"API Reference"}]},"lastModified":"2026-10-12T09:32:23.891Z","originalFileLocation":"api-reference/router/management/config.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=\"Retrieve the current router YAML configuration as JSON, or update it with a validated config object. Admin access required for writes.\">\u003cmeta data-mint-head name=\"application-name\" content=\"Aria Compute\">\u003cmeta data-mint-head name=\"generator\" content=\"Mintlify\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/aria-compute/wF_Yt21DrH5Bfzsr/_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/aria-compute/wF_Yt21DrH5Bfzsr/_generated/favicon/apple-touch-icon.png\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/aria-compute/wF_Yt21DrH5Bfzsr/_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/aria-compute/wF_Yt21DrH5Bfzsr/_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/aria-compute/wF_Yt21DrH5Bfzsr/_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/aria-compute/wF_Yt21DrH5Bfzsr/_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/aria-compute/wF_Yt21DrH5Bfzsr/_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/aria-compute/wF_Yt21DrH5Bfzsr/_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/aria-compute/wF_Yt21DrH5Bfzsr/_generated/favicon-dark/favicon.ico\" media=\"(prefers-color-scheme: dark)\">\u003cmeta data-mint-head property=\"og:title\" content=\"Router Configuration Get and Update API - Aria Compute\">\u003cmeta data-mint-head property=\"og:description\" content=\"Retrieve the current router YAML configuration as JSON, or update it with a validated config object. Admin access required for writes.\">\u003cmeta data-mint-head property=\"og:site_name\" content=\"Aria Compute\">\u003cmeta data-mint-head property=\"og:url\" content=\"https://docs.ariacompute.com/api-reference/router/management/config\">\u003cmeta data-mint-head property=\"og:type\" content=\"website\">\u003cmeta data-mint-head property=\"og:image\" content=\"https://aria-compute.mintlify.site/_mintlify/api/og/v2?division=Management\u0026amp;title=Router+Configuration+Get+and+Update+API\u0026amp;description=Retrieve+the+current+router+YAML+configuration+as+JSON%2C+or+update+it+with+a+validated+config+object.+Admin+access+required+for+writes.\u0026amp;theme=94ee2310f0d96cac827194b7\u0026amp;signature=225190d8c31fd684188aeeb8ae9418ec6fb79718077075f4f7aa3bba5031d4e6\">\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=\"Router Configuration Get and Update API - Aria Compute\">\u003cmeta data-mint-head name=\"twitter:description\" content=\"Retrieve the current router YAML configuration as JSON, or update it with a validated config object. Admin access required for writes.\">\u003cmeta data-mint-head name=\"twitter:image\" content=\"https://aria-compute.mintlify.site/_mintlify/api/og/v2?division=Management\u0026amp;title=Router+Configuration+Get+and+Update+API\u0026amp;description=Retrieve+the+current+router+YAML+configuration+as+JSON%2C+or+update+it+with+a+validated+config+object.+Admin+access+required+for+writes.\u0026amp;theme=94ee2310f0d96cac827194b7\u0026amp;signature=225190d8c31fd684188aeeb8ae9418ec6fb79718077075f4f7aa3bba5031d4e6\">\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/aria-compute/wF_Yt21DrH5Bfzsr/_generated/favicon/browserconfig.xml\">\u003cmeta data-mint-head name=\"apple-mobile-web-app-title\" content=\"Aria Compute\">\u003cmeta data-mint-head name=\"msapplication-TileColor\" content=\"#000000\">\u003clink data-mint-head rel=\"canonical\" href=\"https://docs.ariacompute.com/api-reference/router/management/config\">\u003clink data-mint-head rel=\"alternate\" type=\"application/xml\" href=\"/sitemap.xml\">\u003clink data-mint-head rel=\"alternate\" type=\"text/markdown\" href=\"/api-reference/router/management/config.md\">\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@graph\":[{\"@type\":\"Organization\",\"@id\":\"https://docs.ariacompute.com/#organization\",\"name\":\"Aria Compute\",\"url\":\"https://docs.ariacompute.com\",\"logo\":{\"@type\":\"ImageObject\",\"url\":\"https://mintcdn.com/aria-compute/-w-NBR2v0CcqoPHV/images/banner-international.svg?fit=max\u0026auto=format\u0026n=-w-NBR2v0CcqoPHV\u0026q=85\u0026s=499bf3ea5acf886ef6db7ec92010a457\"}},{\"@type\":\"WebSite\",\"@id\":\"https://docs.ariacompute.com#website\",\"name\":\"Aria Compute\",\"url\":\"https://docs.ariacompute.com\",\"publisher\":{\"@id\":\"https://docs.ariacompute.com/#organization\"}},{\"@type\":\"WebPage\",\"@id\":\"https://docs.ariacompute.com/api-reference/router/management/config#webpage\",\"url\":\"https://docs.ariacompute.com/api-reference/router/management/config\",\"name\":\"Router Configuration Get and Update API\",\"description\":\"Retrieve the current router YAML configuration as JSON, or update it with a validated config object. Admin access required for writes.\",\"dateModified\":\"2026-10-12T09:32:23.891Z\",\"isPartOf\":{\"@id\":\"https://docs.ariacompute.com#website\"},\"breadcrumb\":{\"@id\":\"https://docs.ariacompute.com/api-reference/router/management/config#breadcrumb\"}},{\"@type\":\"BreadcrumbList\",\"@id\":\"https://docs.ariacompute.com/api-reference/router/management/config#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"ROUTER API\",\"item\":\"https://docs.ariacompute.com/api-reference/router/introduction\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Management\",\"item\":\"https://docs.ariacompute.com/api-reference/router/management/overview\"},{\"@type\":\"ListItem\",\"position\":3,\"name\":\"Router Configuration Get and Update API\",\"item\":\"https://docs.ariacompute.com/api-reference/router/management/config\"}]},{\"@type\":[\"Article\",\"TechArticle\"],\"@id\":\"https://docs.ariacompute.com/api-reference/router/management/config#article\",\"headline\":\"Router Configuration Get and Update API\",\"name\":\"Router Configuration Get and Update API\",\"description\":\"Retrieve the current router YAML configuration as JSON, or update it with a validated config object. Admin access required for writes.\",\"url\":\"https://docs.ariacompute.com/api-reference/router/management/config\",\"mainEntityOfPage\":{\"@id\":\"https://docs.ariacompute.com/api-reference/router/management/config#webpage\"},\"dateModified\":\"2026-10-12T09:32:23.891Z\",\"publisher\":{\"@id\":\"https://docs.ariacompute.com/#organization\"},\"isPartOf\":{\"@id\":\"https://docs.ariacompute.com#website\"}}]}\u003c/script>\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@type\":\"WebSite\",\"name\":\"Aria Compute\",\"publisher\":{\"@type\":\"Organization\",\"name\":\"Aria Compute\"},\"provider\":{\"@type\":\"Organization\",\"name\":\"Mintlify\",\"url\":\"https://mintlify.com\"}}\u003c/script>","agentPointerHref":"/api-reference/router/management/config.md","siteName":"Aria Compute","nav":{"global":null,"tabs":[{"tab":"Documentation","pages":[{"title":"Documentation","href":""}]},{"tab":"API Reference","groups":[{"group":"PIN API","pages":[{"title":"Aria Compute PIN API: Post-Training \u0026 Evaluation","sidebarTitle":"Introduction","href":"/api-reference/pin/introduction"},{"title":"Authenticate with PIN API Keys and Agent Secrets","sidebarTitle":"Authentication","href":"/api-reference/pin/authentication"},{"title":"Discover PIN Training Capabilities and Quotas","sidebarTitle":"Capabilities","href":"/api-reference/pin/capabilities"},{"group":"Auth \u0026 API Keys","pages":[{"title":"POST /v1/auth/login: PIN User Login","sidebarTitle":"Login","href":"/api-reference/pin/auth/login"},{"title":"POST /v1/auth/register: PIN User Registration","sidebarTitle":"Register","href":"/api-reference/pin/auth/register"},{"title":"GET /v1/auth/me: PIN Current User","sidebarTitle":"Me","href":"/api-reference/pin/auth/me"},{"title":"GET /v1/apikeys: List PIN API Keys","sidebarTitle":"List API Keys","href":"/api-reference/pin/apikeys/list"},{"title":"POST /v1/apikeys — Create PIN API Key","sidebarTitle":"Create API Key","href":"/api-reference/pin/apikeys/create"},{"title":"PIN Delete API Key","sidebarTitle":"Delete Key","href":"/api-reference/pin/apikeys/delete"}]},{"group":"Datasets","pages":[{"title":"PIN Dataset Catalog","sidebarTitle":"Catalog","href":"/api-reference/pin/datasets/catalog"},{"title":"PIN Create Dataset from Catalog","sidebarTitle":"From Catalog","href":"/api-reference/pin/datasets/from-catalog"},{"title":"PIN Upload Dataset","sidebarTitle":"Upload","href":"/api-reference/pin/datasets/create"},{"title":"PIN List Datasets","sidebarTitle":"List","href":"/api-reference/pin/datasets/list"},{"title":"PIN Get Dataset by ID","sidebarTitle":"Get","href":"/api-reference/pin/datasets/get"}]},{"group":"Jobs","pages":[{"title":"Create Training Job with PIN API","sidebarTitle":"Create Job","href":"/api-reference/pin/jobs/create"},{"title":"List training jobs with status, type, and project filters","sidebarTitle":"List Jobs","href":"/api-reference/pin/jobs/list"},{"title":"List Training Runs","sidebarTitle":"Training Runs","href":"/api-reference/pin/jobs/training-runs"},{"title":"Retrieve full training job detail with checkpoints and metrics","sidebarTitle":"Get Job","href":"/api-reference/pin/jobs/get"},{"title":"Pause, resume, start, or stop a training job","sidebarTitle":"Lifecycle","href":"/api-reference/pin/jobs/lifecycle"},{"title":"Cancel a Training Job","sidebarTitle":"Cancel Job","href":"/api-reference/pin/jobs/cancel"},{"title":"Manually intervene in a running training job","sidebarTitle":"Intervene","href":"/api-reference/pin/jobs/intervene"},{"title":"List Interventions for a Job","sidebarTitle":"List Interventions","href":"/api-reference/pin/jobs/interventions"},{"title":"Configure automatic intervention guardrails for training jobs","sidebarTitle":"Auto Intervention","href":"/api-reference/pin/jobs/auto-intervention"},{"title":"Analyze training metrics and detect reward hacking","sidebarTitle":"Analysis","href":"/api-reference/pin/jobs/analysis"},{"title":"Delete or cancel a training job","sidebarTitle":"Delete Job","href":"/api-reference/pin/jobs/delete"}]},{"group":"GPU Nodes \u0026 Agents","pages":[{"title":"List GPU Nodes","sidebarTitle":"List Nodes","href":"/api-reference/pin/gpu-nodes/list"},{"title":"Create a GPU Node","sidebarTitle":"Create Node","href":"/api-reference/pin/gpu-nodes/create"},{"title":"Get a GPU Node","sidebarTitle":"Get Node","href":"/api-reference/pin/gpu-nodes/get"},{"title":"Update a GPU Node","sidebarTitle":"Update Node","href":"/api-reference/pin/gpu-nodes/update"},{"title":"Delete a GPU Node","sidebarTitle":"Delete Node","href":"/api-reference/pin/gpu-nodes/delete"},{"title":"List and Deploy Node Agents","sidebarTitle":"Node Agents","href":"/api-reference/pin/gpu-nodes/agents"},{"title":"List Agents","sidebarTitle":"List","href":"/api-reference/pin/agents/list"},{"title":"Get an Agent","sidebarTitle":"Get Agent","href":"/api-reference/pin/agents/get"},{"title":"Update an Agent","sidebarTitle":"Update Agent","href":"/api-reference/pin/agents/update"},{"title":"Restart PIN Training Agent Process","sidebarTitle":"Restart Agent","href":"/api-reference/pin/agents/restart"},{"title":"Delete an Agent","sidebarTitle":"Delete Agent","href":"/api-reference/pin/agents/delete"}]},{"group":"Models \u0026 Exports","pages":[{"title":"List PIN Models","sidebarTitle":"List Models","href":"/api-reference/pin/models/list"},{"title":"Get PIN Model","sidebarTitle":"Get Model","href":"/api-reference/pin/models/get"},{"title":"Download PIN Model Artifact","sidebarTitle":"Download Artifact","href":"/api-reference/pin/models/download"},{"title":"Merge LoRA adapter into a base model","sidebarTitle":"Merge Model","href":"/api-reference/pin/models/merge"},{"title":"Reload a model into a serving runtime","sidebarTitle":"Reload Model","href":"/api-reference/pin/models/reload"},{"title":"Accept a trained model version as production","sidebarTitle":"Accept Model","href":"/api-reference/pin/models/accept"},{"title":"Export a trained model to GGUF, MLX, MNN, or QNN","sidebarTitle":"Export Model","href":"/api-reference/pin/models/export"},{"title":"List All Model Export Jobs - PIN API","sidebarTitle":"List Exports","href":"/api-reference/pin/exports/list"},{"title":"Get Model Export Job Status - PIN API","sidebarTitle":"Get Export","href":"/api-reference/pin/exports/get"},{"title":"List All Training Checkpoints - PIN API","sidebarTitle":"List Checkpoints","href":"/api-reference/pin/checkpoints/list"}]},{"group":"Evaluations","pages":[{"title":"Create Evaluation","sidebarTitle":"Create","href":"/api-reference/pin/evaluations/create"},{"title":"List Evaluations","sidebarTitle":"List","href":"/api-reference/pin/evaluations/list"},{"title":"Get Evaluation","sidebarTitle":"Get","href":"/api-reference/pin/evaluations/get"}]},{"group":"Billing","pages":[{"title":"Billing Summary","sidebarTitle":"Summary","href":"/api-reference/pin/billing/summary"},{"title":"Billing Usage","sidebarTitle":"Usage","href":"/api-reference/pin/billing/usage"}]},{"group":"Node Agent Callback","pages":[{"title":"Node Agent Register","sidebarTitle":"Register","href":"/api-reference/pin/node-agent/register"},{"title":"Node Agent Heartbeat","sidebarTitle":"Heartbeat","href":"/api-reference/pin/node-agent/heartbeat"},{"title":"Acquire Next Pending Job for Node Agent","sidebarTitle":"Acquire Job","href":"/api-reference/pin/node-agent/acquire"},{"title":"Report Training Metrics and Status - Node Agent","sidebarTitle":"Metrics \u0026 Status","href":"/api-reference/pin/node-agent/metrics"},{"title":"Node Agent Control Channel and Interventions","sidebarTitle":"Control Channel","href":"/api-reference/pin/node-agent/control"}]}]},{"group":"ROUTER API","pages":[{"title":"Aria Compute ROUTER: OpenAI-compatible inference gateway","sidebarTitle":"Introduction","href":"/api-reference/router/introduction"},{"title":"Authenticate with Aria Compute ROUTER","sidebarTitle":"Authentication","href":"/api-reference/router/authentication"},{"title":"Health Check","sidebarTitle":"Health","href":"/api-reference/router/health"},{"title":"Version","sidebarTitle":"Version","href":"/api-reference/router/version"},{"group":"OpenAI Compatible","pages":[{"title":"GET /v1/models: List router entrypoints and provider models","sidebarTitle":"List Models","href":"/api-reference/router/openai/list-models"},{"title":"POST /v1/chat/completions: OpenAI-compatible chat inference","sidebarTitle":"Chat Completions","href":"/api-reference/router/openai/chat-completions"}]},{"group":"Auth \u0026 Users","pages":[{"title":"Register Account on Aria Compute ROUTER","sidebarTitle":"Register","href":"/api-reference/router/auth/register"},{"title":"Log In to Aria Compute ROUTER Session","sidebarTitle":"Login","href":"/api-reference/router/auth/login"},{"title":"Log Out of Aria Compute ROUTER Session","sidebarTitle":"Logout","href":"/api-reference/router/auth/logout"},{"title":"Get Current Aria Compute ROUTER User","sidebarTitle":"Me","href":"/api-reference/router/auth/me"},{"title":"Change Aria Compute ROUTER Password","sidebarTitle":"Password","href":"/api-reference/router/auth/password"},{"title":"Update Aria Compute ROUTER Email Address","sidebarTitle":"Email","href":"/api-reference/router/auth/email"},{"title":"OAuth and Serve Account Linking for Router","sidebarTitle":"OAuth","href":"/api-reference/router/auth/oauth"},{"title":"Registration Status","sidebarTitle":"Register Status","href":"/api-reference/router/auth/register-status"},{"title":"List Users on Aria Compute ROUTER","sidebarTitle":"List Users","href":"/api-reference/router/users/list"},{"title":"Update Aria Compute ROUTER Users (Admin)","sidebarTitle":"Update User","href":"/api-reference/router/users/update"}]},{"group":"Settings \u0026 Links","pages":[{"title":"Registration Setting","sidebarTitle":"Registration","href":"/api-reference/router/settings"},{"title":"Aria Compute Account Link","sidebarTitle":"Account Link","href":"/api-reference/router/serve/account"}]},{"group":"Management","pages":[{"title":"Router Health and Overview API","sidebarTitle":"Overview","href":"/api-reference/router/management/overview"},{"title":"Router Topology and Dependency Graph API","sidebarTitle":"Topology","description":"Retrieve the live dependency graph mapping entrypoints to recipes and providers in the Aria Compute ROUTER.","href":"/api-reference/router/management/topology"},{"title":"Router Configuration Get and Update API","sidebarTitle":"Config","href":"/api-reference/router/management/config"},{"title":"Router Providers List and Upsert API","sidebarTitle":"Providers","description":"List all configured providers or upsert a provider spec in the Aria Compute ROUTER. Admin access required for PUT updates.","href":"/api-reference/router/management/providers"},{"title":"Router Management Plane Models List API","sidebarTitle":"Models","href":"/api-reference/router/management/models"},{"title":"Router Management Chat and Route Test API","sidebarTitle":"Chat","href":"/api-reference/router/management/chat"},{"title":"Router Config Validation API","sidebarTitle":"Validate","href":"/api-reference/router/management/validate"}]},{"group":"Keys, Cost \u0026 Replay","pages":[{"title":"List ROUTER API Keys API","sidebarTitle":"List Keys","href":"/api-reference/router/keys/list"},{"title":"Create ROUTER API Key API","sidebarTitle":"Create Key","href":"/api-reference/router/keys/create"},{"title":"Revoke ROUTER API Key API","sidebarTitle":"Revoke Key","href":"/api-reference/router/keys/revoke"},{"title":"Router Cost Aggregation API","sidebarTitle":"Cost","href":"/api-reference/router/cost"},{"title":"Cost by Competence Tier","sidebarTitle":"By Competence","href":"/api-reference/router/cost/by-competence"},{"title":"List Replayable Router Requests API","sidebarTitle":"List Replays","href":"/api-reference/router/replay/list"},{"title":"Reroute Captured Router Request API","sidebarTitle":"Reroute","href":"/api-reference/router/replay/reroute"}]}]},{"group":"AGENT API","pages":[{"title":"AGENT API overview: OpenAI Agents interface","sidebarTitle":"Introduction","href":"/api-reference/agent/introduction"},{"title":"AGENT API Authentication: Bearer and ApiKey","sidebarTitle":"Authentication","href":"/api-reference/agent/authentication"},{"group":"Agents","pages":[{"title":"Create Agent - POST /v1/agents","sidebarTitle":"Create Agent","href":"/api-reference/agent/agents/create"},{"title":"List Agents - GET /v1/agents","sidebarTitle":"List Agents","href":"/api-reference/agent/agents/list"},{"title":"Retrieve an Aria Agent Cloud Agent by ID","sidebarTitle":"Get Agent","href":"/api-reference/agent/agents/get"},{"title":"Update an Aria Agent Cloud Agent Definition","sidebarTitle":"Update Agent","href":"/api-reference/agent/agents/update"},{"title":"Delete an Aria Agent Cloud Agent Definition","sidebarTitle":"Delete Agent","href":"/api-reference/agent/agents/delete"}]},{"group":"Sessions","pages":[{"title":"Create Aria Agent Cloud Session for an Agent","sidebarTitle":"Create Session","href":"/api-reference/agent/sessions/create"},{"title":"List Aria Agent Cloud Sessions","sidebarTitle":"List Sessions","href":"/api-reference/agent/sessions/list"},{"title":"Retrieve an Aria Agent Cloud Session by ID","sidebarTitle":"Get Session","href":"/api-reference/agent/sessions/get"},{"title":"Update an Aria Agent Cloud Session","sidebarTitle":"Update Session","href":"/api-reference/agent/sessions/update"},{"title":"Delete an Aria Agent Cloud Session by ID","sidebarTitle":"Delete Session","href":"/api-reference/agent/sessions/delete"},{"title":"Get a Session Title","sidebarTitle":"Get Title","href":"/api-reference/agent/sessions/title"}]},{"group":"Events \u0026 Turns","pages":[{"title":"Create Agent Event","sidebarTitle":"Create Event","href":"/api-reference/agent/events/create"},{"title":"Stream Agent Events","sidebarTitle":"Stream Events","href":"/api-reference/agent/events/stream"},{"title":"List Agent Turns","sidebarTitle":"List Turns","href":"/api-reference/agent/turns/list"},{"title":"Get Agent Turn","sidebarTitle":"Get Turn","href":"/api-reference/agent/turns/get"}]},{"group":"Items","pages":[{"title":"List Session Items","sidebarTitle":"List Items","href":"/api-reference/agent/items/list"}]},{"group":"Memory \u0026 Subagents","pages":[{"title":"Get Memory Item","sidebarTitle":"Get Memory","href":"/api-reference/agent/memory/get"},{"title":"Write and Search Session Memory","sidebarTitle":"Write / Search","href":"/api-reference/agent/memory/put-search"},{"title":"Memory Relation Graph","sidebarTitle":"Relations","href":"/api-reference/agent/memory/relations"},{"title":"List Subagents","sidebarTitle":"List Subagents","href":"/api-reference/agent/subagents/list"},{"title":"Get Subagent","sidebarTitle":"Get Subagent","href":"/api-reference/agent/subagents/get"},{"title":"List Subagent Items","sidebarTitle":"Subagent Items","href":"/api-reference/agent/subagents/items"},{"title":"List Subagent Turns","sidebarTitle":"Subagent Turns","href":"/api-reference/agent/subagents/turns"},{"title":"Get Subagent Turn","sidebarTitle":"Get Subagent Turn","href":"/api-reference/agent/subagents/turn-get"}]},{"group":"Orchestration (Teams \u0026 Jobs)","pages":[{"title":"Agent Teams","sidebarTitle":"Teams","href":"/api-reference/agent/teams"},{"title":"Scheduled Jobs","sidebarTitle":"Scheduled Jobs","href":"/api-reference/agent/scheduled-jobs"}]},{"group":"API Keys","pages":[{"title":"Create and List API Keys","sidebarTitle":"Create / List","href":"/api-reference/agent/api-keys/create-list"},{"title":"Revoke API Key","sidebarTitle":"Revoke Key","href":"/api-reference/agent/api-keys/revoke"}]},{"group":"Beta (Not Implemented)","pages":[{"title":"Vaults (Beta)","sidebarTitle":"Vaults","href":"/api-reference/agent/vaults"},{"title":"Environments (Beta)","sidebarTitle":"Environments","href":"/api-reference/agent/environments"},{"title":"Session Artifacts (Beta)","sidebarTitle":"Artifacts","href":"/api-reference/agent/artifacts"}]}]},{"group":"MEMO API","pages":[{"title":"MEMO API Overview: AriaMem Knowledge Memory Platform","sidebarTitle":"Introduction","href":"/api-reference/memo/introduction"},{"title":"MEMO API Authentication: Bearer JWT \u0026 X-API-Key","sidebarTitle":"Authentication","href":"/api-reference/memo/authentication"},{"group":"Auth \u0026 Users","pages":[{"title":"Register - POST /v1/auth/register","sidebarTitle":"Register","href":"/api-reference/memo/auth/register"},{"title":"Login - POST /v1/auth/login","sidebarTitle":"Login","href":"/api-reference/memo/auth/login"},{"title":"Get Current User - GET /v1/auth/me","sidebarTitle":"Current User","href":"/api-reference/memo/auth/me"},{"title":"Create / List API Key - POST,GET /v1/apikeys","sidebarTitle":"Create / List Key","href":"/api-reference/memo/apikeys/create-list"},{"title":"Revoke API Key - DELETE /v1/apikeys/:id","sidebarTitle":"Revoke Key","href":"/api-reference/memo/apikeys/delete"}]},{"group":"Workspaces","pages":[{"title":"Create Workspace - POST /v1/workspaces","sidebarTitle":"Create Workspace","href":"/api-reference/memo/workspaces/create"},{"title":"List Workspaces - GET /v1/workspaces","sidebarTitle":"List Workspaces","href":"/api-reference/memo/workspaces/list"},{"title":"List Members - GET /v1/workspaces/:workspace_id/members","sidebarTitle":"Members","href":"/api-reference/memo/workspaces/members"},{"title":"Audit Log - GET /v1/workspaces/:workspace_id/audit","sidebarTitle":"Audit Log","href":"/api-reference/memo/workspaces/audit"},{"title":"Conversion Log - GET /v1/workspaces/:workspace_id/conversions","sidebarTitle":"Conversions","href":"/api-reference/memo/workspaces/conversions"}]},{"group":"Knowledge","pages":[{"title":"Create Knowledge Base - POST /v1/workspaces/:workspace_id/kbs","sidebarTitle":"Create KB","href":"/api-reference/memo/kbs/create"},{"title":"List Knowledge Bases - GET /v1/workspaces/:workspace_id/kbs","sidebarTitle":"List KBs","href":"/api-reference/memo/kbs/list"},{"title":"Upload Document - POST /v1/workspaces/:workspace_id/kbs/:kb_id/documents","sidebarTitle":"Upload Document","href":"/api-reference/memo/documents/upload"},{"title":"List Documents - GET /v1/workspaces/:workspace_id/documents","sidebarTitle":"List Documents","href":"/api-reference/memo/documents/list"},{"title":"Get Document - GET /v1/workspaces/:workspace_id/documents/:doc_id","sidebarTitle":"Get Document","href":"/api-reference/memo/documents/get"},{"title":"List Document Chunks - GET /v1/workspaces/:workspace_id/documents/:doc_id/chunks","sidebarTitle":"Document Chunks","href":"/api-reference/memo/documents/chunks"},{"title":"Chat Over Documents - POST /v1/workspaces/:workspace_id/chat","sidebarTitle":"Chat","href":"/api-reference/memo/chat"}]},{"group":"Memory Cubes","pages":[{"title":"Create Memory Cube - POST /v1/workspaces/:workspace_id/cubes","sidebarTitle":"Create Cube","href":"/api-reference/memo/cubes/create"},{"title":"List Memory Cubes - GET /v1/workspaces/:workspace_id/cubes","sidebarTitle":"List Cubes","href":"/api-reference/memo/cubes/list"},{"title":"List Memory Nodes - GET /v1/workspaces/:workspace_id/cubes/:cube_id/nodes","sidebarTitle":"List Nodes","href":"/api-reference/memo/nodes/list"},{"title":"Add Memory Node - POST /v1/workspaces/:workspace_id/cubes/:cube_id/nodes","sidebarTitle":"Add Node","href":"/api-reference/memo/nodes/add"},{"title":"Get Memory Node - GET /v1/workspaces/:workspace_id/cubes/:cube_id/nodes/:node_id","sidebarTitle":"Get Node","href":"/api-reference/memo/nodes/get"},{"title":"Update Memory Node - PATCH /v1/workspaces/:workspace_id/cubes/:cube_id/nodes/:node_id","sidebarTitle":"Update Node","href":"/api-reference/memo/nodes/update"},{"title":"Delete Memory Node - DELETE /v1/workspaces/:workspace_id/cubes/:cube_id/nodes/:node_id","sidebarTitle":"Delete Node","href":"/api-reference/memo/nodes/delete"},{"title":"Search Memory Nodes - POST /v1/workspaces/:workspace_id/cubes/:cube_id/search","sidebarTitle":"Search Nodes","href":"/api-reference/memo/nodes/search"},{"title":"Add Memory Edge - POST /v1/workspaces/:workspace_id/cubes/:cube_id/edges","sidebarTitle":"Add Edge","href":"/api-reference/memo/edges/add"},{"title":"List Memory Edges - GET /v1/workspaces/:workspace_id/cubes/:cube_id/edges","sidebarTitle":"List Edges","href":"/api-reference/memo/edges/list"}]},{"group":"Knowledge Memory Conversion","pages":[{"title":"Knowledge to Memory (Manual) - POST /v1/workspaces/:workspace_id/cubes/:cube_id/convert/from-kb","sidebarTitle":"Knowledge→Memory","href":"/api-reference/memo/convert/from-kb"},{"title":"Memory to Knowledge - POST /v1/workspaces/:workspace_id/cubes/:cube_id/convert/to-kb","sidebarTitle":"Memory→Knowledge","href":"/api-reference/memo/convert/to-kb"},{"title":"Run Agent - POST /v1/workspaces/:workspace_id/agent/run","sidebarTitle":"Run Agent","href":"/api-reference/memo/agent/run"}]},{"group":"Layered Chat Memory","pages":[{"title":"Create Chat Session - POST /v1/workspaces/:workspace_id/chat-sessions","sidebarTitle":"Create Session","href":"/api-reference/memo/chat-sessions/create"},{"title":"List Chat Sessions - GET /v1/workspaces/:workspace_id/chat-sessions","sidebarTitle":"List Sessions","href":"/api-reference/memo/chat-sessions/list"},{"title":"Add Message - POST /v1/workspaces/:workspace_id/chat-sessions/:session_id/messages","sidebarTitle":"Add Message","href":"/api-reference/memo/chat-sessions/messages/add"},{"title":"List Messages - GET /v1/workspaces/:workspace_id/chat-sessions/:session_id/messages","sidebarTitle":"List Messages","href":"/api-reference/memo/chat-sessions/messages/list"},{"title":"Extract Chat Memory - POST /v1/workspaces/:workspace_id/chat-sessions/:session_id/extract","sidebarTitle":"Extract Memory","href":"/api-reference/memo/chat-sessions/extract"},{"title":"List Chat Memories - GET /v1/workspaces/:workspace_id/chat-memories","sidebarTitle":"List Chat Memories","href":"/api-reference/memo/chat-memories/list"},{"title":"Search Chat Memories - POST /v1/workspaces/:workspace_id/chat-memories/search","sidebarTitle":"Search Chat Memories","href":"/api-reference/memo/chat-memories/search"}]},{"group":"Skills","pages":[{"title":"Create Skill - POST /v1/workspaces/:workspace_id/skills","sidebarTitle":"Create Skill","href":"/api-reference/memo/skills/create"},{"title":"List Skills - GET /v1/workspaces/:workspace_id/skills","sidebarTitle":"List Skills","href":"/api-reference/memo/skills/list"},{"title":"Get Skill - GET /v1/workspaces/:workspace_id/skills/:skill_id","sidebarTitle":"Get Skill","href":"/api-reference/memo/skills/get"},{"title":"Add Skill Version - POST /v1/workspaces/:workspace_id/skills/:skill_id/versions","sidebarTitle":"Add Version","href":"/api-reference/memo/skills/versions"},{"title":"Review Skill - POST /v1/workspaces/:workspace_id/skills/:skill_id/review","sidebarTitle":"Review","href":"/api-reference/memo/skills/review"},{"title":"Share Skill - POST /v1/workspaces/:workspace_id/skills/:skill_id/share","sidebarTitle":"Share","href":"/api-reference/memo/skills/share"},{"title":"Set Skill Visibility - PUT /v1/workspaces/:workspace_id/skills/:skill_id/visibility","sidebarTitle":"Set Visibility","href":"/api-reference/memo/skills/visibility"}]},{"group":"Code Graph","pages":[{"title":"Import Code Repo - POST /v1/workspaces/:workspace_id/code-repos","sidebarTitle":"Import Repo","href":"/api-reference/memo/code-repos/import"},{"title":"List Code Repos - GET /v1/workspaces/:workspace_id/code-repos","sidebarTitle":"List Repos","href":"/api-reference/memo/code-repos/list"},{"title":"List Symbols - GET /v1/workspaces/:workspace_id/code-repos/:repo_id/symbols","sidebarTitle":"List Symbols","href":"/api-reference/memo/code-repos/symbols"},{"title":"Search Symbols - POST /v1/workspaces/:workspace_id/code-repos/:repo_id/search","sidebarTitle":"Search Symbols","href":"/api-reference/memo/code-repos/search"},{"title":"Read File - GET /v1/workspaces/:workspace_id/code-repos/:repo_id/files","sidebarTitle":"Read File","href":"/api-reference/memo/code-repos/files"},{"title":"Impact Analysis - GET /v1/workspaces/:workspace_id/code-repos/:repo_id/impact","sidebarTitle":"Impact Analysis","href":"/api-reference/memo/code-repos/impact"}]},{"group":"Agent Loadout","pages":[{"title":"Create Agent Loadout - POST /v1/workspaces/:workspace_id/agents","sidebarTitle":"Create Agent","href":"/api-reference/memo/agents/create"},{"title":"List Agents - GET /v1/workspaces/:workspace_id/agents","sidebarTitle":"List Agents","href":"/api-reference/memo/agents/list"},{"title":"Get Agent - GET /v1/workspaces/:workspace_id/agents/:agent_id","sidebarTitle":"Get Agent","href":"/api-reference/memo/agents/get"},{"title":"Update Agent - PUT /v1/workspaces/:workspace_id/agents/:agent_id","sidebarTitle":"Update Agent","href":"/api-reference/memo/agents/update"},{"title":"Bind Asset - POST /v1/workspaces/:workspace_id/agents/:agent_id/bindings","sidebarTitle":"Bind Asset","href":"/api-reference/memo/agents/bindings/add"},{"title":"List Bindings - GET /v1/workspaces/:workspace_id/agents/:agent_id/bindings","sidebarTitle":"List Bindings","href":"/api-reference/memo/agents/bindings/list"},{"title":"Unbind Asset - DELETE /v1/workspaces/:workspace_id/agents/:agent_id/bindings/:binding_id","sidebarTitle":"Unbind Asset","href":"/api-reference/memo/agents/bindings/delete"}]},{"group":"Asset Library","pages":[{"title":"Asset Library - GET /v1/workspaces/:workspace_id/assets","sidebarTitle":"Asset Library","href":"/api-reference/memo/assets/list"}]},{"group":"Wiki","pages":[{"title":"Generate Wiki Page - POST /v1/workspaces/:workspace_id/wiki/generate","sidebarTitle":"Generate Wiki","href":"/api-reference/memo/wiki/generate"},{"title":"List Wiki Pages - GET /v1/workspaces/:workspace_id/wiki","sidebarTitle":"List Wiki","href":"/api-reference/memo/wiki/list"},{"title":"Get Wiki Page - GET /v1/workspaces/:workspace_id/wiki/:page_id","sidebarTitle":"Get Wiki","href":"/api-reference/memo/wiki/get"},{"title":"Update Wiki Page - PUT /v1/workspaces/:workspace_id/wiki/:page_id","sidebarTitle":"Update Wiki","href":"/api-reference/memo/wiki/update"},{"title":"List Wiki Revisions - GET /v1/workspaces/:workspace_id/wiki/:page_id/revisions","sidebarTitle":"Wiki Revisions","href":"/api-reference/memo/wiki/revisions"},{"title":"Rollback Wiki Page - POST /v1/workspaces/:workspace_id/wiki/:page_id/rollback","sidebarTitle":"Rollback Wiki","href":"/api-reference/memo/wiki/rollback"}]}]}]}]},"basePath":"","title":"Router Configuration Get and Update API - Aria Compute","deploymentId":"dpl_DyXGnKeCjZyA3sUdfMJ7FjkdBefg","buildId":"dpl_DyXGnKeCjZyA3sUdfMJ7FjkdBefg","dynamics":["2b790eda92"],"chunks":["ApiExamples-XX0UgMZK.js","usePlaygroundInputsStore-DXDFSa1V.js","shallow-CdX5aREi.js","utils-BN7RXSMJ.js","utils-DWvOwgy_.js","isEqual-CoOaxexF.js","_Uint8Array-BJr8e-ZL.js","isObject-FP1Yky1u.js","CodeSnippets-Cg2wpzWm.js","CodeSnippet-D_HwgQO_.js","snippetPresets-BgfXU7Bw.js","style-to-object-BY3JEAdk.js","cloneDeep-CAwdfOU2.js","v4-DIgz8zy6.js","getApiPlaygroundDisplay-CmCoerhe.js"]}