Takes a vault’s connect token (oc_connect_...), or a person’s managing key or signed-in session. See the Quickstart for connecting an agent.Connects one new agent to a vault and returns its credential once. Called with a connect token of the vault (the vault is the token’s), or by a person with a key that has manage and a vaultId. A one-use connect token connects one agent and then stops: a second call with it is 401, as for a token that expired or was turned off. A place that already holds an agent’s credential sends it in OneCLI-Agent-Credential: one place holds one agent, on one vault.
Availability: OneCLI Cloud and self-hosted.
Authorizations
connectBeareruserBearer
Authorization
string
header
required
A vault's connect token (oc_connect_...). It connects one agent to its own vault and does nothing else.
Headers
OneCLI-Agent-Credential
string
Optional. The agent credential this place already holds. On this vault: 200 with that agent and nothing made. On another vault: 409, or with replace that agent is disconnected and a new one is made. A credential that no longer works, or is not known, is ignored.
Maximum string length: 255
Idempotency-Key
string
Not accepted on this call. Sending it is 400 bad_request.
Required string length: 1 - 255
Body
application/json
expiresAt
string<date-time>
ISO 8601, at least 5 minutes and at most 90 days ahead. Unset: no expiry.
host
string
The machine's host name. With no name, the agent is named after it (with 4 hex characters added when that name is taken on the vault).
Required string length: 1 - 64
Pattern: ^[^\p{Cc}]+$/u
name
string
1 to 64 characters. Unset: the server names the agent after host, or from the runtime and 4 hex characters. With a one-use connect token that fixes a name, the token's is used.
Required string length: 1 - 64
Pattern: ^[^\p{Cc}]+$/u
provider
string
The agent's provider: a short lowercase label that never decides access. With a one-use connect token that fixes a provider, the token's is used.
Pattern: ^[a-z0-9][a-z0-9._-]{0,31}$
Example:
"boat"
replace
boolean
default:false
Used only when the OneCLI-Agent-Credential header names an agent on another vault. true: disconnect that agent and connect a new one here.
runtime
enum<string>
default:linux
What the agent runs on. Default: linux.
Available options:
docker,
linux,
macos,
windows
vaultId
string
The vault to connect to. Required with a key or a session. Not taken with a connect token, whose vault is fixed.
Required string length: 1 - 64
Response
This place is connected to this vault already. The agent, with no credential: the place holds it.
createdAt
string
required
ISO 8601.
expiresAt
string | null
required
ISO 8601. When the agent's credential stops by itself. null: it stops only when the agent is disconnected.
gateway
object
required
Where the agent reaches the gateway. Build the proxy URL from this and decide nothing yourself.
Show child attributes
id
string
required
name
string
required
provider
string | null
required
The agent's provider: a short lowercase label. It never decides access. null: not known.
Pattern: ^[a-z0-9][a-z0-9._-]{0,31}$
Example:
"boat"
runtime
string | null
required
What the agent runs on. null: not known yet.
vaultId
string
required
{"docsConfig":{"theme":"mint","$schema":"https://mintlify.com/docs.json","name":"OneCLI","colors":{"primary":"#0b5530","light":"#93e3b4","dark":"#0b5530"},"logo":{"light":"https://mintcdn.com/onecli-sh-docs/RTC5pGoFGh943jJc/logo/logo-full-light.svg?fit=max\u0026auto=format\u0026n=RTC5pGoFGh943jJc\u0026q=85\u0026s=9323ee06c8de13b4c5507ab8a6fbf2ac","dark":"https://mintcdn.com/onecli-sh-docs/RTC5pGoFGh943jJc/logo/logo-full-dark.svg?fit=max\u0026auto=format\u0026n=RTC5pGoFGh943jJc\u0026q=85\u0026s=c1445d56197cd9e03742ea6ea73a5f52","href":"/"},"favicon":"https://mintcdn.com/onecli-sh-docs/RTC5pGoFGh943jJc/favicon.png?fit=max\u0026auto=format\u0026n=RTC5pGoFGh943jJc\u0026q=85\u0026s=2a0cc29d0e8c090395c4e10e9f327b62","appearance":{"default":"light"},"background":{"color":{"light":"#ebe6d4","dark":"#083f23"}},"navbar":{"links":[{"href":"https://github.com/onecli/onecli","label":"GitHub"},{"href":"https://onecli.sh","label":"Install"}]},"footer":{"socials":{"github":"https://github.com/onecli"}},"fonts":{"heading":{"family":"Overused Grotesk","weight":600,"source":"fonts/OverusedGroteskRoman-VF.woff2","format":"woff2"}},"contextual":{"options":["copy","view","chatgpt","claude","perplexity","mcp","cursor","vscode"],"display":"header"},"styling":{"latex":false},"navigation":{"global":{"anchors":[{"anchor":"GitHub","icon":"https://mintlify.s3.us-west-1.amazonaws.com/onecli-sh-docs/images/github.svg","href":"https://github.com/onecli"}]},"pages":[]}},"deployment":{"deploymentMetadataValue":{"subdomain":"onecli-sh-docs","hasAudioNarration":false,"actualSubdomain":"onecli-sh-docs","customDomains":[],"gitSource":{"type":"github","owner":"onecli","repo":"onecli-docs","deployBranch":"main","contentDirectory":"","isPrivate":true,"mountPath":"","label":"","_id":"6afb23636b0360be0a1911b0"},"entitlements":{},"buildId":"6b0f3c66094709554a753354","clientVersion":"0.0.4402","searchFilterCounts":[{"language":"default","tag":"API Reference","count":159},{"language":"default","tag":"Integrations","count":86},{"language":"default","tag":"Connected apps","count":77},{"language":"default","tag":"OneCLI Cloud","count":71},{"language":"default","tag":"Organization","count":32},{"language":"default","tag":"Vaults and items","count":27},{"language":"default","tag":"Agents","count":23},{"language":"default","tag":"Approvals, rules and activity","count":14},{"language":"default","tag":"Items","count":14},{"language":"default","tag":"Groups","count":13}]},"assistantConfig":{"enableAskAiButton":false,"enableStarterQuestions":false,"enableContextualStarterQuestions":false,"enableAskAiSearchBar":true},"basePath":"/docs","hasChatPermissions":false,"hasWebMcpPermissions":false,"toggles":[{"name":"kill-isr","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-mintlify-slack","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-integrations-settings","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"rbac-expansion","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-pr-grouping","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"custom-prefix","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"analytics-v7","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"user-flows-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"no-publish-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving-live","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"stripTemperatureMiddleware","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"support-platform-pylon-zendesk","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"instant-rollback","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications-server","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-fable","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fixed-ai-action-pricing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automation-resolve-merge-conflict","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"scoped-publishing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"mintql","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"page-level-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-version-history-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"billing-page-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"full-page-search","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workspace-projects","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fork-pr-previews","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"revalidation-jwt","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"hobby-abuse-scan","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"dashboard-inbox","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"turbopuffer-dual-write","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"approve-review-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-metadata","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"turbopuffer-serve","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"live-agents","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"starter-pricing","enabled":true,"variant":{"name":"control","enabled":true,"payload":{"type":"string","value":"control"},"feature_enabled":true},"impressionData":false},{"name":"llms-txt-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false}],"starterQuestions":[],"googleFontsInlined":false},"customCss":[{"filePath":"style.css","content":"a.nav-anchor div.mr-4.rounded-md{--tw-ring-color: transparent !important;--tw-ring-shadow: 0 0 0 0 transparent !important;--tw-ring-offset-shadow: 0 0 0 0 transparent !important;box-shadow:none!important;background:transparent!important;filter:none!important;transition:opacity 0.15s ease!important}a.nav-anchor:hover div.mr-4.rounded-md{--tw-ring-color: transparent !important;--tw-ring-shadow: 0 0 0 0 transparent !important;--tw-ring-offset-shadow: 0 0 0 0 transparent !important;box-shadow:none!important;background:transparent!important;filter:none!important;opacity:0.7!important}a.nav-anchor div.mr-4.rounded-md img{opacity:1!important;filter:none!important;background:transparent!important}a.nav-anchor:hover div.mr-4.rounded-md img{opacity:1!important;filter:none!important;background:transparent!important}.dark a.nav-anchor div.mr-4.rounded-md img,[data-theme=\"dark\"] a.nav-anchor div.mr-4.rounded-md img{filter:invert(1)!important}html:not(.dark) .card,html:not(.dark) .code-block [data-component-part=\"code-block-root\"],html:not(.dark) .callout{background-color:#f3efe1!important}html:not(.dark) .card,html:not(.dark) .code-block{border-color:#cbc3a8!important}[data-component-part=\"step-indicator\"]{border-radius:4px!important;width:1.5rem!important;height:1.5rem!important;margin:0.125rem!important;font-weight:600!important}html:not(.dark) [data-component-part=\"step-indicator\"]{background-color:#f3efe1!important;border:1px solid #cbc3a8!important;color:#0b5530!important}.dark [data-component-part=\"step-indicator\"]{border:1px solid rgba(255, 255, 255, 0.16)!important}[data-component-part=\"step-indicator\"]>div{background-color:transparent!important;color:inherit!important}html:not(.dark) .code-block .code-block-fade-overlay{background-image:linear-gradient(\n to right,\n rgba(243, 239, 225, 0) 0,\n rgba(243, 239, 225, 0.5) 25px,\n #f3efe1 45px\n )!important}#theme-preference-menu-item-system,[data-theme-preference=\"system\"]{display:none!important}"}]}
{"page":{"pagePath":"api-reference/agents/connect-an-agent","slug":"/api-reference/agents/connect-an-agent","pageMetadata":{"title":"Connect an agent","description":"Connects one new agent to a vault and returns its credential once. Called with the vault's connect token, or by a person who names the vault.","deprecated":null,"version":null,"sidebarTitle":"Connect an agent","openapi":"/openapi.yaml post /v2/agents","href":"/api-reference/agents/connect-an-agent","autogeneratedByOpenApi":true},"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: \"Connects one new agent to a vault and returns its credential once. Called with the vault’s connect token, or by a person who names the vault.\"\n });\n}\nfunction MDXContent(props = {}) {\n const {wrapper: MDXLayout} = {\n ..._provideComponents(),\n ...props.components\n };\n return MDXLayout ? _jsx(MDXLayout, {\n ...props,\n children: _jsx(_createMdxContent, {\n ...props\n })\n }) : _createMdxContent(props);\n}\nreturn {\n default: MDXContent\n};\n","frontmatter":{},"scope":{}},"pageType":"default","mdx":{"mdxSource":{"compiledSource":"\"use strict\";const{Fragment:_Fragment,jsx:_jsx,jsxs:_jsxs}=arguments[0];const{useMDXComponents:_provideComponents}=arguments[0];function _createMdxContent(props){const _components={a:`a`,code:`code`,p:`p`,strong:`strong`,..._provideComponents(),...props.components},{Info}=_components;if(!Info)_missingMdxReference(`Info`,true);return _jsxs(_Fragment,{children:[_jsxs(_components.p,{children:[`Takes a vault’s connect token (`,_jsx(_components.code,{children:`oc_connect_...`}),`), or a person’s managing key or signed-in session. See the `,_jsx(_components.a,{href:`/quickstart`,children:`Quickstart`}),` for connecting an agent.`]}),`\n`,_jsx(_components.p,{children:`Connects one new agent to a vault and returns its credential once. Called with a connect token of the vault (the vault is the token’s), or by a person with a key that has manage and a vaultId. A one-use connect token connects one agent and then stops: a second call with it is 401, as for a token that expired or was turned off. A place that already holds an agent’s credential sends it in OneCLI-Agent-Credential: one place holds one agent, on one vault.`}),`\n`,_jsxs(Info,{children:[_jsx(_components.strong,{children:`Availability:`}),` OneCLI Cloud and self-hosted.`]})]})}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":"Connect an agent","description":"Connects one new agent to a vault and returns its credential once. Called with the vault's connect token, or by a person who names the vault.","deprecated":null,"version":null,"sidebarTitle":"Connect an agent","openapi":"/openapi.yaml post /v2/agents","href":"/api-reference/agents/connect-an-agent","autogeneratedByOpenApi":true}}},"mdxSourceWithNoJs":null},"mdxExtracts":{"tableOfContents":[],"codeExamples":{}},"jsLinks":["/docs/_mintlify/custom/onecli-sh-docs/e8c5fc0faf4d8de9/infra/cloudfront/docs-response-headers.js"],"openApiReferenceData":{"operation":{"operationId":"postAgents","summary":"Connect an agent","tags":["Agents"],"x-mint":{"content":"Takes a vault's connect token (`oc_connect_...`), or a person's managing key or signed-in session. See the [Quickstart](/quickstart) for connecting an agent.\n\nConnects one new agent to a vault and returns its credential once. Called with a connect token of the vault (the vault is the token's), or by a person with a key that has manage and a vaultId. A one-use connect token connects one agent and then stops: a second call with it is 401, as for a token that expired or was turned off. A place that already holds an agent's credential sends it in OneCLI-Agent-Credential: one place holds one agent, on one vault.\n\n\u003cInfo>**Availability:** OneCLI Cloud and self-hosted.\u003c/Info>\n","metadata":{"title":"Connect an agent","sidebarTitle":"Connect an agent","description":"Connects one new agent to a vault and returns its credential once. Called with the vault's connect token, or by a person who names the vault."}},"description":"Connects one new agent to a vault and returns its credential once. Called with the vault's connect token, or by a person who names the vault.","parameters":["60e5f969-8f35-42c7-85c6-3d5b02962b73","b814df17-9132-47b3-8b6b-b17fd75b42aa"],"requestBody":"409b7259-e1b2-4df9-a313-5ddb0f7cc2f2","responses":{"200":"c43f42d6-3194-46b4-b934-68700f2f155e","201":"1c40e76f-3480-4b11-a30f-7ae179b1c587","400":"2970c538-3a84-465c-b197-1f1b67e349cf","401":"88acbee3-496c-40a0-a2da-73e6b4d24266","403":"df444aed-2560-4732-b217-14641b238a68","404":"ba8aaf71-964c-41b7-91cd-285212066285","409":"1189ac16-d16b-4209-8e2d-eb06dd4e6655","422":"44aee9a7-8335-4894-8f09-4c9614e24a7b","500":"a8a0c94d-0f31-42ca-bba1-b4f6763730dc","503":"fcc3addb-422c-4c50-a32f-7fe63e37175d"},"security":["ecb8e64a-06a3-4c07-af2f-9157fabe7755","2bab8c05-1a3f-4111-a41c-5abb180b2c9a"],"method":"post","type":"path","servers":["79785793-f50c-4451-be0f-d6b4e66e555e","6fa9721c-6388-4aa1-945c-bb0e6c66436b"],"path":"/v2/agents","baseUrlOptions":["https://api.onecli.sh","http://localhost:10254"],"title":"Connect an agent","codeSamples":[],"requiredOnlyExamples":false,"requestExampleType":"generated","responseExampleType":"generated"},"dependencies":{"parameters":{"60e5f969-8f35-42c7-85c6-3d5b02962b73":{"description":"Optional. The agent credential this place already holds. On this vault: 200 with that agent and nothing made. On another vault: 409, or with replace that agent is disconnected and a new one is made. A credential that no longer works, or is not known, is ignored.","in":"header","name":"OneCLI-Agent-Credential","required":false,"schema":{"maxLength":255,"type":"string","isRequired":false,"description":"Optional. The agent credential this place already holds. On this vault: 200 with that agent and nothing made. On another vault: 409, or with replace that agent is disconnected and a new one is made. A credential that no longer works, or is not known, is ignored.","uniqueKey":"","typeLabel":"string"}},"b814df17-9132-47b3-8b6b-b17fd75b42aa":{"description":"Not accepted on this call. Sending it is 400 bad_request.","in":"header","name":"Idempotency-Key","required":false,"schema":{"maxLength":255,"minLength":1,"type":"string","isRequired":false,"description":"Not accepted on this call. Sending it is 400 bad_request.","uniqueKey":"","typeLabel":"string"}}},"requestBody":{"content":{"application/json":{"schema":{"additionalProperties":false,"properties":{"expiresAt":{"description":"ISO 8601, at least 5 minutes and at most 90 days ahead. Unset: no expiry.","format":"date-time","type":"string","uniqueKey":"expiresAt","typeLabel":"string\u003cdate-time>"},"host":{"description":"The machine's host name. With no name, the agent is named after it (with 4 hex characters added when that name is taken on the vault).","maxLength":64,"minLength":1,"pattern":"^[^\\p{Cc}]+$/u","type":"string","uniqueKey":"host","typeLabel":"string"},"name":{"description":"1 to 64 characters. Unset: the server names the agent after host, or from the runtime and 4 hex characters. With a one-use connect token that fixes a name, the token's is used.","maxLength":64,"minLength":1,"pattern":"^[^\\p{Cc}]+$/u","type":"string","uniqueKey":"name","typeLabel":"string"},"provider":{"description":"The agent's provider: a short lowercase label that never decides access. With a one-use connect token that fixes a provider, the token's is used.","example":"boat","pattern":"^[a-z0-9][a-z0-9._-]{0,31}$","type":"string","uniqueKey":"provider","typeLabel":"string"},"replace":{"default":false,"description":"Used only when the OneCLI-Agent-Credential header names an agent on another vault. true: disconnect that agent and connect a new one here.","type":"boolean","uniqueKey":"replace","typeLabel":"boolean"},"runtime":{"default":"linux","description":"What the agent runs on. Default: linux.","enum":["docker","linux","macos","windows"],"type":"string","uniqueKey":"runtime","typeLabel":"enum\u003cstring>"},"vaultId":{"description":"The vault to connect to. Required with a key or a session. Not taken with a connect token, whose vault is fixed.","maxLength":64,"minLength":1,"type":"string","uniqueKey":"vaultId","typeLabel":"string"}},"type":"object","uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"expiresAt":"2023-11-07T05:31:56Z","host":"\u003cstring>","name":"\u003cstring>","provider":"boat","replace":false,"runtime":"linux","vaultId":"\u003cstring>"}}},"exampleType":"generated"}},"required":true,"exampleType":"generated"},"responses":{"c43f42d6-3194-46b4-b934-68700f2f155e":{"content":{"application/json":{"schema":{"properties":{"createdAt":{"description":"ISO 8601.","type":"string","isRequired":true,"uniqueKey":"createdAt","typeLabel":"string"},"expiresAt":{"oneOf":[{"description":"ISO 8601. When the agent's credential stops by itself. null: it stops only when the agent is disconnected.","type":"string","isRequired":true,"uniqueKey":"expiresAt.oneOf.0","typeLabel":"string"},{"description":"ISO 8601. When the agent's credential stops by itself. null: it stops only when the agent is disconnected.","type":"null","isRequired":true,"uniqueKey":"expiresAt.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"expiresAt","typeLabel":"string | null"},"gateway":{"description":"Where the agent reaches the gateway. Build the proxy URL from this and decide nothing yourself.","properties":{"address":{"description":"The gateway's host and port, with no scheme.","example":"gateway.onecli.sh:443","type":"string","isRequired":true,"uniqueKey":"gateway.address","typeLabel":"string"},"scheme":{"description":"The scheme of the proxy URL the agent uses: https where the gateway ends TLS for agents, else http. Use it as given.","enum":["http","https"],"example":"https","type":"string","isRequired":true,"uniqueKey":"gateway.scheme","typeLabel":"enum\u003cstring>"}},"required":["address","scheme"],"type":"object","isRequired":true,"uniqueKey":"gateway","typeLabel":"object"},"id":{"type":"string","isRequired":true,"uniqueKey":"id","typeLabel":"string"},"name":{"type":"string","isRequired":true,"uniqueKey":"name","typeLabel":"string"},"provider":{"oneOf":[{"description":"The agent's provider: a short lowercase label. It never decides access. null: not known.","example":"boat","pattern":"^[a-z0-9][a-z0-9._-]{0,31}$","type":"string","isRequired":true,"uniqueKey":"provider.oneOf.0","typeLabel":"string"},{"description":"The agent's provider: a short lowercase label. It never decides access. null: not known.","example":"boat","pattern":"^[a-z0-9][a-z0-9._-]{0,31}$","type":"null","isRequired":true,"uniqueKey":"provider.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"provider","typeLabel":"string | null"},"runtime":{"oneOf":[{"description":"What the agent runs on. null: not known yet.","type":"string","isRequired":true,"uniqueKey":"runtime.oneOf.0","typeLabel":"string"},{"description":"What the agent runs on. null: not known yet.","type":"null","isRequired":true,"uniqueKey":"runtime.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"runtime","typeLabel":"string | null"},"vaultId":{"type":"string","isRequired":true,"uniqueKey":"vaultId","typeLabel":"string"}},"required":["id","name","vaultId","runtime","provider","createdAt","expiresAt","gateway"],"type":"object","uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"createdAt":"\u003cstring>","expiresAt":"\u003cstring>","gateway":{"address":"gateway.onecli.sh:443","scheme":"https"},"id":"\u003cstring>","name":"\u003cstring>","provider":"boat","runtime":"\u003cstring>","vaultId":"\u003cstring>"}}},"exampleType":"generated"}},"description":"This place is connected to this vault already. The agent, with no credential: the place holds it.","exampleType":"generated"},"1c40e76f-3480-4b11-a30f-7ae179b1c587":{"content":{"application/json":{"schema":{"properties":{"createdAt":{"description":"ISO 8601.","type":"string","isRequired":true,"uniqueKey":"createdAt","typeLabel":"string"},"credential":{"description":"The agent's credential (oc_agent_...). Shown here once. Store it now: it cannot be read again.","example":"oc_agent_exampleexampl_example","type":"string","isRequired":true,"uniqueKey":"credential","typeLabel":"string"},"expiresAt":{"oneOf":[{"description":"ISO 8601. When the agent's credential stops by itself. null: it stops only when the agent is disconnected.","type":"string","isRequired":true,"uniqueKey":"expiresAt.oneOf.0","typeLabel":"string"},{"description":"ISO 8601. When the agent's credential stops by itself. null: it stops only when the agent is disconnected.","type":"null","isRequired":true,"uniqueKey":"expiresAt.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"expiresAt","typeLabel":"string | null"},"gateway":{"description":"Where the agent reaches the gateway. Build the proxy URL from this and decide nothing yourself.","properties":{"address":{"description":"The gateway's host and port, with no scheme.","example":"gateway.onecli.sh:443","type":"string","isRequired":true,"uniqueKey":"gateway.address","typeLabel":"string"},"scheme":{"description":"The scheme of the proxy URL the agent uses: https where the gateway ends TLS for agents, else http. Use it as given.","enum":["http","https"],"example":"https","type":"string","isRequired":true,"uniqueKey":"gateway.scheme","typeLabel":"enum\u003cstring>"}},"required":["address","scheme"],"type":"object","isRequired":true,"uniqueKey":"gateway","typeLabel":"object"},"id":{"type":"string","isRequired":true,"uniqueKey":"id","typeLabel":"string"},"name":{"type":"string","isRequired":true,"uniqueKey":"name","typeLabel":"string"},"provider":{"oneOf":[{"description":"The agent's provider: a short lowercase label. It never decides access. null: not known.","example":"boat","pattern":"^[a-z0-9][a-z0-9._-]{0,31}$","type":"string","isRequired":true,"uniqueKey":"provider.oneOf.0","typeLabel":"string"},{"description":"The agent's provider: a short lowercase label. It never decides access. null: not known.","example":"boat","pattern":"^[a-z0-9][a-z0-9._-]{0,31}$","type":"null","isRequired":true,"uniqueKey":"provider.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"provider","typeLabel":"string | null"},"runtime":{"oneOf":[{"description":"What the agent runs on. null: not known yet.","type":"string","isRequired":true,"uniqueKey":"runtime.oneOf.0","typeLabel":"string"},{"description":"What the agent runs on. null: not known yet.","type":"null","isRequired":true,"uniqueKey":"runtime.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"runtime","typeLabel":"string | null"},"vaultId":{"type":"string","isRequired":true,"uniqueKey":"vaultId","typeLabel":"string"}},"required":["id","name","vaultId","runtime","provider","createdAt","expiresAt","gateway","credential"],"type":"object","uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"createdAt":"\u003cstring>","credential":"oc_agent_exampleexampl_example","expiresAt":"\u003cstring>","gateway":{"address":"gateway.onecli.sh:443","scheme":"https"},"id":"\u003cstring>","name":"\u003cstring>","provider":"boat","runtime":"\u003cstring>","vaultId":"\u003cstring>"}}},"exampleType":"generated"}},"description":"The new agent, with its credential shown once.","exampleType":"generated"},"2970c538-3a84-465c-b197-1f1b67e349cf":{"content":{"application/json":{"schema":{"properties":{"error":{"properties":{"code":{"enum":["bad_request","validation_failed","unauthenticated","forbidden","not_found","conflict","gone","idempotency_conflict","precondition_required","rate_limited","authorization_pending","slow_down","access_denied","expired_token","internal","unavailable"],"type":"string","isRequired":true,"uniqueKey":"error.code","typeLabel":"enum\u003cstring>"},"details":{"items":{"properties":{"field":{"description":"Where the problem is.","type":"string","isRequired":true,"uniqueKey":"error.details.items.[INDEX].field","typeLabel":"string"},"issue":{"description":"What kind of problem.","type":"string","isRequired":true,"uniqueKey":"error.details.items.[INDEX].issue","typeLabel":"string"},"message":{"description":"The problem in words.","type":"string","isRequired":true,"uniqueKey":"error.details.items.[INDEX].message","typeLabel":"string"}},"required":["field","issue","message"],"type":"object","uniqueKey":"error.details.items.[INDEX]","typeLabel":"object"},"type":"array","isRequired":true,"uniqueKey":"error.details","typeLabel":"object[]"},"message":{"type":"string","isRequired":true,"uniqueKey":"error.message","typeLabel":"string"},"requestId":{"oneOf":[{"description":"The X-Request-Id of this call, to quote when asking.","type":"string","isRequired":true,"uniqueKey":"error.requestId.oneOf.0","typeLabel":"string"},{"description":"The X-Request-Id of this call, to quote when asking.","type":"null","isRequired":true,"uniqueKey":"error.requestId.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"error.requestId","typeLabel":"string | null"}},"required":["code","message","details","requestId"],"type":"object","isRequired":true,"uniqueKey":"error","typeLabel":"object"}},"required":["error"],"type":"object","uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"error":{"code":"bad_request","details":[{"field":"\u003cstring>","issue":"\u003cstring>","message":"\u003cstring>"}],"message":"\u003cstring>","requestId":"\u003cstring>"}}}},"exampleType":"generated"}},"description":"Bad request.","exampleType":"generated"},"88acbee3-496c-40a0-a2da-73e6b4d24266":{"content":{"application/json":{"schema":{"properties":{"error":{"properties":{"code":{"enum":["bad_request","validation_failed","unauthenticated","forbidden","not_found","conflict","gone","idempotency_conflict","precondition_required","rate_limited","authorization_pending","slow_down","access_denied","expired_token","internal","unavailable"],"type":"string","isRequired":true,"uniqueKey":"error.code","typeLabel":"enum\u003cstring>"},"details":{"items":{"properties":{"field":{"description":"Where the problem is.","type":"string","isRequired":true,"uniqueKey":"error.details.items.[INDEX].field","typeLabel":"string"},"issue":{"description":"What kind of problem.","type":"string","isRequired":true,"uniqueKey":"error.details.items.[INDEX].issue","typeLabel":"string"},"message":{"description":"The problem in words.","type":"string","isRequired":true,"uniqueKey":"error.details.items.[INDEX].message","typeLabel":"string"}},"required":["field","issue","message"],"type":"object","uniqueKey":"error.details.items.[INDEX]","typeLabel":"object"},"type":"array","isRequired":true,"uniqueKey":"error.details","typeLabel":"object[]"},"message":{"type":"string","isRequired":true,"uniqueKey":"error.message","typeLabel":"string"},"requestId":{"oneOf":[{"description":"The X-Request-Id of this call, to quote when asking.","type":"string","isRequired":true,"uniqueKey":"error.requestId.oneOf.0","typeLabel":"string"},{"description":"The X-Request-Id of this call, to quote when asking.","type":"null","isRequired":true,"uniqueKey":"error.requestId.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"error.requestId","typeLabel":"string | null"}},"required":["code","message","details","requestId"],"type":"object","isRequired":true,"uniqueKey":"error","typeLabel":"object"}},"required":["error"],"type":"object","uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"error":{"code":"bad_request","details":[{"field":"\u003cstring>","issue":"\u003cstring>","message":"\u003cstring>"}],"message":"\u003cstring>","requestId":"\u003cstring>"}}}},"exampleType":"generated"}},"description":"Not signed in.","exampleType":"generated"},"df444aed-2560-4732-b217-14641b238a68":{"content":{"application/json":{"schema":{"properties":{"error":{"properties":{"code":{"enum":["bad_request","validation_failed","unauthenticated","forbidden","not_found","conflict","gone","idempotency_conflict","precondition_required","rate_limited","authorization_pending","slow_down","access_denied","expired_token","internal","unavailable"],"type":"string","isRequired":true,"uniqueKey":"error.code","typeLabel":"enum\u003cstring>"},"details":{"items":{"properties":{"field":{"description":"Where the problem is.","type":"string","isRequired":true,"uniqueKey":"error.details.items.[INDEX].field","typeLabel":"string"},"issue":{"description":"What kind of problem.","type":"string","isRequired":true,"uniqueKey":"error.details.items.[INDEX].issue","typeLabel":"string"},"message":{"description":"The problem in words.","type":"string","isRequired":true,"uniqueKey":"error.details.items.[INDEX].message","typeLabel":"string"}},"required":["field","issue","message"],"type":"object","uniqueKey":"error.details.items.[INDEX]","typeLabel":"object"},"type":"array","isRequired":true,"uniqueKey":"error.details","typeLabel":"object[]"},"message":{"type":"string","isRequired":true,"uniqueKey":"error.message","typeLabel":"string"},"requestId":{"oneOf":[{"description":"The X-Request-Id of this call, to quote when asking.","type":"string","isRequired":true,"uniqueKey":"error.requestId.oneOf.0","typeLabel":"string"},{"description":"The X-Request-Id of this call, to quote when asking.","type":"null","isRequired":true,"uniqueKey":"error.requestId.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"error.requestId","typeLabel":"string | null"}},"required":["code","message","details","requestId"],"type":"object","isRequired":true,"uniqueKey":"error","typeLabel":"object"}},"required":["error"],"type":"object","uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"error":{"code":"bad_request","details":[{"field":"\u003cstring>","issue":"\u003cstring>","message":"\u003cstring>"}],"message":"\u003cstring>","requestId":"\u003cstring>"}}}},"exampleType":"generated"}},"description":"Not allowed.","exampleType":"generated"},"ba8aaf71-964c-41b7-91cd-285212066285":{"content":{"application/json":{"schema":{"properties":{"error":{"properties":{"code":{"enum":["bad_request","validation_failed","unauthenticated","forbidden","not_found","conflict","gone","idempotency_conflict","precondition_required","rate_limited","authorization_pending","slow_down","access_denied","expired_token","internal","unavailable"],"type":"string","isRequired":true,"uniqueKey":"error.code","typeLabel":"enum\u003cstring>"},"details":{"items":{"properties":{"field":{"description":"Where the problem is.","type":"string","isRequired":true,"uniqueKey":"error.details.items.[INDEX].field","typeLabel":"string"},"issue":{"description":"What kind of problem.","type":"string","isRequired":true,"uniqueKey":"error.details.items.[INDEX].issue","typeLabel":"string"},"message":{"description":"The problem in words.","type":"string","isRequired":true,"uniqueKey":"error.details.items.[INDEX].message","typeLabel":"string"}},"required":["field","issue","message"],"type":"object","uniqueKey":"error.details.items.[INDEX]","typeLabel":"object"},"type":"array","isRequired":true,"uniqueKey":"error.details","typeLabel":"object[]"},"message":{"type":"string","isRequired":true,"uniqueKey":"error.message","typeLabel":"string"},"requestId":{"oneOf":[{"description":"The X-Request-Id of this call, to quote when asking.","type":"string","isRequired":true,"uniqueKey":"error.requestId.oneOf.0","typeLabel":"string"},{"description":"The X-Request-Id of this call, to quote when asking.","type":"null","isRequired":true,"uniqueKey":"error.requestId.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"error.requestId","typeLabel":"string | null"}},"required":["code","message","details","requestId"],"type":"object","isRequired":true,"uniqueKey":"error","typeLabel":"object"}},"required":["error"],"type":"object","uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"error":{"code":"bad_request","details":[{"field":"\u003cstring>","issue":"\u003cstring>","message":"\u003cstring>"}],"message":"\u003cstring>","requestId":"\u003cstring>"}}}},"exampleType":"generated"}},"description":"No such vault that you can use.","exampleType":"generated"},"1189ac16-d16b-4209-8e2d-eb06dd4e6655":{"content":{"application/json":{"schema":{"properties":{"error":{"properties":{"code":{"enum":["bad_request","validation_failed","unauthenticated","forbidden","not_found","conflict","gone","idempotency_conflict","precondition_required","rate_limited","authorization_pending","slow_down","access_denied","expired_token","internal","unavailable"],"type":"string","isRequired":true,"uniqueKey":"error.code","typeLabel":"enum\u003cstring>"},"details":{"items":{"properties":{"field":{"description":"Where the problem is.","type":"string","isRequired":true,"uniqueKey":"error.details.items.[INDEX].field","typeLabel":"string"},"issue":{"description":"What kind of problem.","type":"string","isRequired":true,"uniqueKey":"error.details.items.[INDEX].issue","typeLabel":"string"},"message":{"description":"The problem in words.","type":"string","isRequired":true,"uniqueKey":"error.details.items.[INDEX].message","typeLabel":"string"}},"required":["field","issue","message"],"type":"object","uniqueKey":"error.details.items.[INDEX]","typeLabel":"object"},"type":"array","isRequired":true,"uniqueKey":"error.details","typeLabel":"object[]"},"message":{"type":"string","isRequired":true,"uniqueKey":"error.message","typeLabel":"string"},"requestId":{"oneOf":[{"description":"The X-Request-Id of this call, to quote when asking.","type":"string","isRequired":true,"uniqueKey":"error.requestId.oneOf.0","typeLabel":"string"},{"description":"The X-Request-Id of this call, to quote when asking.","type":"null","isRequired":true,"uniqueKey":"error.requestId.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"error.requestId","typeLabel":"string | null"}},"required":["code","message","details","requestId"],"type":"object","isRequired":true,"uniqueKey":"error","typeLabel":"object"}},"required":["error"],"type":"object","uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"error":{"code":"bad_request","details":[{"field":"\u003cstring>","issue":"\u003cstring>","message":"\u003cstring>"}],"message":"\u003cstring>","requestId":"\u003cstring>"}}}},"exampleType":"generated"}},"description":"An agent with this name is already connected to this vault, the vault is from before 3.0 and has not been moved yet, this place holds an agent on another vault (details: agent_on_other_vault), or another call disconnected that agent first.","exampleType":"generated"},"44aee9a7-8335-4894-8f09-4c9614e24a7b":{"content":{"application/json":{"schema":{"properties":{"error":{"properties":{"code":{"enum":["bad_request","validation_failed","unauthenticated","forbidden","not_found","conflict","gone","idempotency_conflict","precondition_required","rate_limited","authorization_pending","slow_down","access_denied","expired_token","internal","unavailable"],"type":"string","isRequired":true,"uniqueKey":"error.code","typeLabel":"enum\u003cstring>"},"details":{"items":{"properties":{"field":{"description":"Where the problem is.","type":"string","isRequired":true,"uniqueKey":"error.details.items.[INDEX].field","typeLabel":"string"},"issue":{"description":"What kind of problem.","type":"string","isRequired":true,"uniqueKey":"error.details.items.[INDEX].issue","typeLabel":"string"},"message":{"description":"The problem in words.","type":"string","isRequired":true,"uniqueKey":"error.details.items.[INDEX].message","typeLabel":"string"}},"required":["field","issue","message"],"type":"object","uniqueKey":"error.details.items.[INDEX]","typeLabel":"object"},"type":"array","isRequired":true,"uniqueKey":"error.details","typeLabel":"object[]"},"message":{"type":"string","isRequired":true,"uniqueKey":"error.message","typeLabel":"string"},"requestId":{"oneOf":[{"description":"The X-Request-Id of this call, to quote when asking.","type":"string","isRequired":true,"uniqueKey":"error.requestId.oneOf.0","typeLabel":"string"},{"description":"The X-Request-Id of this call, to quote when asking.","type":"null","isRequired":true,"uniqueKey":"error.requestId.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"error.requestId","typeLabel":"string | null"}},"required":["code","message","details","requestId"],"type":"object","isRequired":true,"uniqueKey":"error","typeLabel":"object"}},"required":["error"],"type":"object","uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"error":{"code":"bad_request","details":[{"field":"\u003cstring>","issue":"\u003cstring>","message":"\u003cstring>"}],"message":"\u003cstring>","requestId":"\u003cstring>"}}}},"exampleType":"generated"}},"description":"Validation failed.","exampleType":"generated"},"a8a0c94d-0f31-42ca-bba1-b4f6763730dc":{"content":{"application/json":{"schema":{"properties":{"error":{"properties":{"code":{"enum":["bad_request","validation_failed","unauthenticated","forbidden","not_found","conflict","gone","idempotency_conflict","precondition_required","rate_limited","authorization_pending","slow_down","access_denied","expired_token","internal","unavailable"],"type":"string","isRequired":true,"uniqueKey":"error.code","typeLabel":"enum\u003cstring>"},"details":{"items":{"properties":{"field":{"description":"Where the problem is.","type":"string","isRequired":true,"uniqueKey":"error.details.items.[INDEX].field","typeLabel":"string"},"issue":{"description":"What kind of problem.","type":"string","isRequired":true,"uniqueKey":"error.details.items.[INDEX].issue","typeLabel":"string"},"message":{"description":"The problem in words.","type":"string","isRequired":true,"uniqueKey":"error.details.items.[INDEX].message","typeLabel":"string"}},"required":["field","issue","message"],"type":"object","uniqueKey":"error.details.items.[INDEX]","typeLabel":"object"},"type":"array","isRequired":true,"uniqueKey":"error.details","typeLabel":"object[]"},"message":{"type":"string","isRequired":true,"uniqueKey":"error.message","typeLabel":"string"},"requestId":{"oneOf":[{"description":"The X-Request-Id of this call, to quote when asking.","type":"string","isRequired":true,"uniqueKey":"error.requestId.oneOf.0","typeLabel":"string"},{"description":"The X-Request-Id of this call, to quote when asking.","type":"null","isRequired":true,"uniqueKey":"error.requestId.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"error.requestId","typeLabel":"string | null"}},"required":["code","message","details","requestId"],"type":"object","isRequired":true,"uniqueKey":"error","typeLabel":"object"}},"required":["error"],"type":"object","uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"error":{"code":"bad_request","details":[{"field":"\u003cstring>","issue":"\u003cstring>","message":"\u003cstring>"}],"message":"\u003cstring>","requestId":"\u003cstring>"}}}},"exampleType":"generated"}},"description":"Unexpected error.","exampleType":"generated"},"fcc3addb-422c-4c50-a32f-7fe63e37175d":{"content":{"application/json":{"schema":{"properties":{"error":{"properties":{"code":{"enum":["bad_request","validation_failed","unauthenticated","forbidden","not_found","conflict","gone","idempotency_conflict","precondition_required","rate_limited","authorization_pending","slow_down","access_denied","expired_token","internal","unavailable"],"type":"string","isRequired":true,"uniqueKey":"error.code","typeLabel":"enum\u003cstring>"},"details":{"items":{"properties":{"field":{"description":"Where the problem is.","type":"string","isRequired":true,"uniqueKey":"error.details.items.[INDEX].field","typeLabel":"string"},"issue":{"description":"What kind of problem.","type":"string","isRequired":true,"uniqueKey":"error.details.items.[INDEX].issue","typeLabel":"string"},"message":{"description":"The problem in words.","type":"string","isRequired":true,"uniqueKey":"error.details.items.[INDEX].message","typeLabel":"string"}},"required":["field","issue","message"],"type":"object","uniqueKey":"error.details.items.[INDEX]","typeLabel":"object"},"type":"array","isRequired":true,"uniqueKey":"error.details","typeLabel":"object[]"},"message":{"type":"string","isRequired":true,"uniqueKey":"error.message","typeLabel":"string"},"requestId":{"oneOf":[{"description":"The X-Request-Id of this call, to quote when asking.","type":"string","isRequired":true,"uniqueKey":"error.requestId.oneOf.0","typeLabel":"string"},{"description":"The X-Request-Id of this call, to quote when asking.","type":"null","isRequired":true,"uniqueKey":"error.requestId.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"error.requestId","typeLabel":"string | null"}},"required":["code","message","details","requestId"],"type":"object","isRequired":true,"uniqueKey":"error","typeLabel":"object"}},"required":["error"],"type":"object","uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"error":{"code":"bad_request","details":[{"field":"\u003cstring>","issue":"\u003cstring>","message":"\u003cstring>"}],"message":"\u003cstring>","requestId":"\u003cstring>"}}}},"exampleType":"generated"}},"description":"This server cannot make a credential: its CREDENTIAL_PEPPER_SECRET setting is missing or too short.","exampleType":"generated"}},"security":{"ecb8e64a-06a3-4c07-af2f-9157fabe7755":{"connectBearer":{"description":"A vault's connect token (oc_connect_...). It connects one agent to its own vault and does nothing else.","scheme":"bearer","type":"http","scopes":[],"schemeName":"connectBearer"}},"2bab8c05-1a3f-4111-a41c-5abb180b2c9a":{"userBearer":{"description":"A managing key (oc_key_...), an older API key (oc_...), or a signed-in session.","scheme":"bearer","type":"http","scopes":[],"schemeName":"userBearer"}}},"servers":{"79785793-f50c-4451-be0f-d6b4e66e555e":{"url":"https://api.onecli.sh","description":"OneCLI Cloud"},"6fa9721c-6388-4aa1-945c-bb0e6c66436b":{"url":"http://localhost:10254","description":"Self-hosted"}},"processedSecurityOptions":[{"schemes":[{"scheme":{"description":"A vault's connect token (oc_connect_...). It connects one agent to its own vault and does nothing else.","scheme":"bearer","type":"http","scopes":[],"schemeName":"connectBearer"},"schema":{"title":"Bearer Auth","type":"string","isRequired":true,"description":"A vault's connect token (oc_connect_...). It connects one agent to its own vault and does nothing else.","format":"bearer","typeLabel":"string\u003cbearer>","deprecated":false},"schemeName":"connectBearer","name":"Authorization"}],"title":"connectBearer"},{"schemes":[{"scheme":{"description":"A managing key (oc_key_...), an older API key (oc_...), or a signed-in session.","scheme":"bearer","type":"http","scopes":[],"schemeName":"userBearer"},"schema":{"title":"Bearer Auth","type":"string","isRequired":true,"description":"A managing key (oc_key_...), an older API key (oc_...), or a signed-in session.","format":"bearer","typeLabel":"string\u003cbearer>","deprecated":false},"schemeName":"userBearer","name":"Authorization"}],"title":"userBearer"}]},"originalFileLocation":"openapi.yaml"},"subdomain":"onecli-sh-docs","siteName":"OneCLI","title":"Connect an agent - OneCLI","contextualStarterQuestions":[],"navMaps":{"firstHrefInVersion":{},"firstHrefInLanguage":{}},"lastModified":"2026-12-01T21:30:21.260Z","originalFileLocation":"api-reference/agents/connect-an-agent.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=\"light\"}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=\"Connects one new agent to a vault and returns its credential once. Called with the vault\u0026#x27;s connect token, or by a person who names the vault.\">\u003cmeta data-mint-head name=\"application-name\" content=\"OneCLI\">\u003cmeta data-mint-head name=\"generator\" content=\"Mintlify\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/docs/mintlify-assets/_mintlify/favicons/onecli-sh-docs/kVhcqu1MSXl6LB8G/_generated/favicon/android-chrome-192x192.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"apple-touch-icon\" type=\"image/png\" sizes=\"180x180\" href=\"/docs/mintlify-assets/_mintlify/favicons/onecli-sh-docs/kVhcqu1MSXl6LB8G/_generated/favicon/apple-touch-icon.png\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/docs/mintlify-assets/_mintlify/favicons/onecli-sh-docs/kVhcqu1MSXl6LB8G/_generated/favicon/favicon-16x16.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/docs/mintlify-assets/_mintlify/favicons/onecli-sh-docs/kVhcqu1MSXl6LB8G/_generated/favicon/favicon-32x32.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"/docs/mintlify-assets/_mintlify/favicons/onecli-sh-docs/kVhcqu1MSXl6LB8G/_generated/favicon/favicon.ico\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/docs/mintlify-assets/_mintlify/favicons/onecli-sh-docs/kVhcqu1MSXl6LB8G/_generated/favicon-dark/android-chrome-192x192.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/docs/mintlify-assets/_mintlify/favicons/onecli-sh-docs/kVhcqu1MSXl6LB8G/_generated/favicon-dark/favicon-16x16.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/docs/mintlify-assets/_mintlify/favicons/onecli-sh-docs/kVhcqu1MSXl6LB8G/_generated/favicon-dark/favicon-32x32.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"/docs/mintlify-assets/_mintlify/favicons/onecli-sh-docs/kVhcqu1MSXl6LB8G/_generated/favicon-dark/favicon.ico\" media=\"(prefers-color-scheme: dark)\">\u003cmeta data-mint-head property=\"og:title\" content=\"Connect an agent - OneCLI\">\u003cmeta data-mint-head property=\"og:description\" content=\"Connects one new agent to a vault and returns its credential once. Called with the vault\u0026#x27;s connect token, or by a person who names the vault.\">\u003cmeta data-mint-head property=\"og:site_name\" content=\"OneCLI\">\u003cmeta data-mint-head property=\"og:url\" content=\"https://onecli-sh-docs.mintlify.dev/docs/api-reference/agents/connect-an-agent\">\u003cmeta data-mint-head property=\"og:type\" content=\"website\">\u003cmeta data-mint-head property=\"og:image\" content=\"https://onecli-sh-docs.mintlify.site/docs/_mintlify/api/og/v2?division=Agents\u0026amp;title=Connect+an+agent\u0026amp;description=Connects+one+new+agent+to+a+vault+and+returns+its+credential+once.+Called+with+the+vault%27s+connect+token%2C+or+by+a+person+who+names+the+vault.\u0026amp;theme=c07fb6f5c2da82bc69807d12\u0026amp;signature=86d7abc5223bec6ba86902af84cff6329ce9e9e3227bc43bc232fac5e4f44c49\">\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=\"Connect an agent - OneCLI\">\u003cmeta data-mint-head name=\"twitter:description\" content=\"Connects one new agent to a vault and returns its credential once. Called with the vault\u0026#x27;s connect token, or by a person who names the vault.\">\u003cmeta data-mint-head name=\"twitter:image\" content=\"https://onecli-sh-docs.mintlify.site/docs/_mintlify/api/og/v2?division=Agents\u0026amp;title=Connect+an+agent\u0026amp;description=Connects+one+new+agent+to+a+vault+and+returns+its+credential+once.+Called+with+the+vault%27s+connect+token%2C+or+by+a+person+who+names+the+vault.\u0026amp;theme=c07fb6f5c2da82bc69807d12\u0026amp;signature=86d7abc5223bec6ba86902af84cff6329ce9e9e3227bc43bc232fac5e4f44c49\">\u003cmeta data-mint-head name=\"twitter:image:width\" content=\"1200\">\u003cmeta data-mint-head name=\"twitter:image:height\" content=\"630\">\u003cmeta data-mint-head name=\"msapplication-config\" content=\"/docs/mintlify-assets/_mintlify/favicons/onecli-sh-docs/kVhcqu1MSXl6LB8G/_generated/favicon/browserconfig.xml\">\u003cmeta data-mint-head name=\"apple-mobile-web-app-title\" content=\"OneCLI\">\u003cmeta data-mint-head name=\"msapplication-TileColor\" content=\"#0b5530\">\u003clink data-mint-head rel=\"canonical\" href=\"https://onecli-sh-docs.mintlify.dev/docs/api-reference/agents/connect-an-agent\">\u003clink data-mint-head rel=\"alternate\" type=\"application/xml\" href=\"/docs/sitemap.xml\">\u003clink data-mint-head rel=\"alternate\" type=\"text/markdown\" href=\"/docs/api-reference/agents/connect-an-agent.md\">\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@graph\":[{\"@type\":\"Organization\",\"@id\":\"https://onecli-sh-docs.mintlify.dev/#organization\",\"name\":\"OneCLI\",\"url\":\"https://onecli-sh-docs.mintlify.dev\",\"logo\":{\"@type\":\"ImageObject\",\"url\":\"https://mintcdn.com/onecli-sh-docs/RTC5pGoFGh943jJc/logo/logo-full-light.svg?fit=max\u0026auto=format\u0026n=RTC5pGoFGh943jJc\u0026q=85\u0026s=9323ee06c8de13b4c5507ab8a6fbf2ac\"}},{\"@type\":\"WebSite\",\"@id\":\"https://onecli-sh-docs.mintlify.dev/docs#website\",\"name\":\"OneCLI\",\"url\":\"https://onecli-sh-docs.mintlify.dev/docs\",\"publisher\":{\"@id\":\"https://onecli-sh-docs.mintlify.dev/#organization\"}},{\"@type\":\"WebPage\",\"@id\":\"https://onecli-sh-docs.mintlify.dev/docs/api-reference/agents/connect-an-agent#webpage\",\"url\":\"https://onecli-sh-docs.mintlify.dev/docs/api-reference/agents/connect-an-agent\",\"name\":\"Connect an agent\",\"description\":\"Connects one new agent to a vault and returns its credential once. Called with the vault's connect token, or by a person who names the vault.\",\"dateModified\":\"2026-12-01T21:30:21.260Z\",\"isPartOf\":{\"@id\":\"https://onecli-sh-docs.mintlify.dev/docs#website\"},\"breadcrumb\":{\"@id\":\"https://onecli-sh-docs.mintlify.dev/docs/api-reference/agents/connect-an-agent#breadcrumb\"}},{\"@type\":\"BreadcrumbList\",\"@id\":\"https://onecli-sh-docs.mintlify.dev/docs/api-reference/agents/connect-an-agent#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Agents\",\"item\":\"https://onecli-sh-docs.mintlify.dev/docs/api-reference/agents/list-agents\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Agents\",\"item\":\"https://onecli-sh-docs.mintlify.dev/docs/api-reference/agents\"},{\"@type\":\"ListItem\",\"position\":3,\"name\":\"Connect an agent\",\"item\":\"https://onecli-sh-docs.mintlify.dev/docs/api-reference/agents/connect-an-agent\"}]},{\"@type\":[\"TechArticle\",\"APIReference\"],\"@id\":\"https://onecli-sh-docs.mintlify.dev/docs/api-reference/agents/connect-an-agent#apireference\",\"headline\":\"Connect an agent\",\"name\":\"Connect an agent\",\"description\":\"Connects one new agent to a vault and returns its credential once. Called with the vault's connect token, or by a person who names the vault.\",\"url\":\"https://onecli-sh-docs.mintlify.dev/docs/api-reference/agents/connect-an-agent\",\"mainEntityOfPage\":{\"@id\":\"https://onecli-sh-docs.mintlify.dev/docs/api-reference/agents/connect-an-agent#webpage\"},\"dateModified\":\"2026-12-01T21:30:21.260Z\",\"publisher\":{\"@id\":\"https://onecli-sh-docs.mintlify.dev/#organization\"},\"isPartOf\":{\"@id\":\"https://onecli-sh-docs.mintlify.dev/docs#website\"}}]}\u003c/script>\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@type\":\"WebSite\",\"name\":\"OneCLI\",\"publisher\":{\"@type\":\"Organization\",\"name\":\"OneCLI\"},\"provider\":{\"@type\":\"Organization\",\"name\":\"Mintlify\",\"url\":\"https://mintlify.com\"}}\u003c/script>","agentPointerHref":"/docs/api-reference/agents/connect-an-agent.md","siteName":"OneCLI","nav":{"global":{"anchors":[{"anchor":"GitHub","icon":"https://mintlify.s3.us-west-1.amazonaws.com/onecli-sh-docs/images/github.svg","href":"https://github.com/onecli"}]},"tabs":[{"tab":"Documentation","pages":[{"title":"Documentation","href":""}]},{"tab":"Integrations","pages":[{"title":"Integrations","href":"/integrations"}]},{"tab":"Guides","pages":[{"title":"Guides","href":"/guides"}]},{"tab":"API Reference","groups":[{"group":"Overview","root":{"title":"API Reference: Authentication, Paging and Errors","sidebarTitle":"Overview","href":"/api-reference"},"pages":[{"title":"Editions: Cloud and Self-hosted Endpoints","sidebarTitle":"Editions","href":"/api-reference/editions"},{"title":"API Errors: Codes, Statuses and the Error Format","sidebarTitle":"Errors","href":"/api-reference/errors"},{"title":"Gateway Errors: When a Call Is Refused or Held","sidebarTitle":"Gateway errors","href":"/api-reference/gateway-errors"},{"title":"Multiple Accounts: Choosing Which Item Serves a Call","sidebarTitle":"Multiple accounts","href":"/api-reference/multi-account"},{"title":"Environment variables","sidebarTitle":"Environment variables","href":"/reference/environment-variables"},{"title":"Telemetry: what OneCLI collects and where","sidebarTitle":"Telemetry","href":"/reference/telemetry"}]},{"group":"Vaults and items","pages":[{"group":"Vaults","root":{"title":"Vaults API: List, Create, Rename and Delete Vaults","sidebarTitle":"Overview","href":"/api-reference/vaults"},"pages":[{"title":"List vaults","deprecated":null,"version":null,"sidebarTitle":"List vaults","openapi":"/openapi.yaml get /v2/vaults","href":"/api-reference/vaults/list-vaults"},{"title":"Make a vault","deprecated":null,"version":null,"sidebarTitle":"Make a vault","openapi":"/openapi.yaml post /v2/vaults","href":"/api-reference/vaults/make-a-vault"},{"title":"Read a vault","deprecated":null,"version":null,"sidebarTitle":"Read a vault","openapi":"/openapi.yaml get /v2/vaults/{id}","href":"/api-reference/vaults/read-a-vault"},{"title":"Rename a vault","deprecated":null,"version":null,"sidebarTitle":"Rename a vault","openapi":"/openapi.yaml patch /v2/vaults/{id}","href":"/api-reference/vaults/rename-a-vault"},{"title":"Delete a vault","deprecated":null,"version":null,"sidebarTitle":"Delete a vault","openapi":"/openapi.yaml delete /v2/vaults/{id}","href":"/api-reference/vaults/delete-a-vault"},{"title":"List a vault's sources","deprecated":null,"version":null,"sidebarTitle":"List a vault's sources","openapi":"/openapi.yaml get /v2/vaults/{id}/sources","href":"/api-reference/vaults/list-a-vaults-sources"}]},{"group":"Items","root":{"title":"Items API: Add, Rotate, Move and Delete Keys","sidebarTitle":"Overview","href":"/api-reference/items"},"pages":[{"title":"List a vault's items","deprecated":null,"version":null,"sidebarTitle":"List a vault's items","openapi":"/openapi.yaml get /v2/vaults/{id}/items","href":"/api-reference/items/list-a-vaults-items"},{"title":"Add a key to a vault","deprecated":null,"version":null,"sidebarTitle":"Add a key to a vault","openapi":"/openapi.yaml post /v2/vaults/{id}/items","href":"/api-reference/items/add-a-key-to-a-vault"},{"title":"Read an item","deprecated":null,"version":null,"sidebarTitle":"Read an item","openapi":"/openapi.yaml get /v2/items/{id}","href":"/api-reference/items/read-an-item"},{"title":"Rename, move, turn off, or set plain http for an item","deprecated":null,"version":null,"sidebarTitle":"Rename, move, turn off, or set plain http for an item","openapi":"/openapi.yaml patch /v2/items/{id}","href":"/api-reference/items/rename-move-turn-off-or-set-plain-http-for-an-item"},{"title":"Delete an item","deprecated":null,"version":null,"sidebarTitle":"Delete an item","openapi":"/openapi.yaml delete /v2/items/{id}","href":"/api-reference/items/delete-an-item"},{"title":"Replace a key's value","deprecated":null,"version":null,"sidebarTitle":"Replace a key's value","openapi":"/openapi.yaml put /v2/items/{id}/value","href":"/api-reference/items/replace-a-keys-value"},{"title":"List a key's versions","deprecated":null,"version":null,"sidebarTitle":"List a key's versions","openapi":"/openapi.yaml get /v2/items/{id}/versions","href":"/api-reference/items/list-a-keys-versions"},{"title":"Put an earlier version back","deprecated":null,"version":null,"sidebarTitle":"Put an earlier version back","openapi":"/openapi.yaml post /v2/items/{id}/versions/{version}/restore","href":"/api-reference/items/put-an-earlier-version-back"},{"title":"Restore a deleted item","deprecated":null,"version":null,"sidebarTitle":"Restore a deleted item","openapi":"/openapi.yaml post /v2/items/{id}/restore","href":"/api-reference/items/restore-a-deleted-item"}]},{"group":"Permissions","root":{"title":"Permissions API: Set What Agents May Do With an Item","sidebarTitle":"Overview","href":"/api-reference/permissions"},"pages":[{"title":"Read what agents may do with an item","deprecated":null,"version":null,"sidebarTitle":"Read what agents may do with an item","openapi":"/openapi.yaml get /v2/items/{id}/permissions","href":"/api-reference/permissions/read-what-agents-may-do-with-an-item"},{"title":"Set what agents may do with an item","deprecated":null,"version":null,"sidebarTitle":"Set what agents may do with an item","openapi":"/openapi.yaml put /v2/items/{id}/permissions","href":"/api-reference/permissions/set-what-agents-may-do-with-an-item"}]},{"group":"Connect tokens","root":{"title":"Connect Tokens API: Tokens That Connect Agents","sidebarTitle":"Overview","href":"/api-reference/connect-tokens"},"pages":[{"title":"Read a vault's connect token","deprecated":null,"version":null,"sidebarTitle":"Read a vault's connect token","openapi":"/openapi.yaml get /v2/vaults/{id}/connect-token","href":"/api-reference/connect-tokens/read-a-vaults-connect-token"},{"title":"Make a vault's connect token","deprecated":null,"version":null,"sidebarTitle":"Make a vault's connect token","openapi":"/openapi.yaml post /v2/vaults/{id}/connect-token","href":"/api-reference/connect-tokens/make-a-vaults-connect-token"},{"title":"Turn a vault's connect token off","deprecated":null,"version":null,"sidebarTitle":"Turn a vault's connect token off","openapi":"/openapi.yaml delete /v2/vaults/{id}/connect-token","href":"/api-reference/connect-tokens/turn-a-vaults-connect-token-off"},{"title":"List a vault's one-use connect tokens","deprecated":null,"version":null,"sidebarTitle":"List a vault's one-use connect tokens","openapi":"/openapi.yaml get /v2/vaults/{id}/connect-tokens","href":"/api-reference/connect-tokens/list-a-vaults-one-use-connect-tokens"},{"title":"Make a one-use connect token","deprecated":null,"version":null,"sidebarTitle":"Make a one-use connect token","openapi":"/openapi.yaml post /v2/vaults/{id}/connect-tokens","href":"/api-reference/connect-tokens/make-a-one-use-connect-token"},{"title":"Turn a one-use connect token off","deprecated":null,"version":null,"sidebarTitle":"Turn a one-use connect token off","openapi":"/openapi.yaml delete /v2/vaults/{id}/connect-tokens/{tokenId}","href":"/api-reference/connect-tokens/turn-a-one-use-connect-token-off"}]}]},{"group":"Agents","pages":[{"group":"Agents","root":{"title":"Agents API: Connect, List, Rename and Disconnect","sidebarTitle":"Overview","href":"/api-reference/agents"},"pages":[{"title":"List agents","description":"The agents on the vaults you can use, newest first. Never an agent's credential.","deprecated":null,"version":null,"sidebarTitle":"List agents","openapi":"/openapi.yaml get /v2/agents","href":"/api-reference/agents/list-agents"},{"title":"Connect an agent","deprecated":null,"version":null,"sidebarTitle":"Connect an agent","openapi":"/openapi.yaml post /v2/agents","href":"/api-reference/agents/connect-an-agent"},{"title":"Read an agent","description":"Read one agent on a vault you can use with the OneCLI API. The agent's credential is never returned.","deprecated":null,"version":null,"sidebarTitle":"Read an agent","openapi":"/openapi.yaml get /v2/agents/{id}","href":"/api-reference/agents/read-an-agent"},{"title":"Rename an agent","deprecated":null,"version":null,"sidebarTitle":"Rename an agent","openapi":"/openapi.yaml patch /v2/agents/{id}","href":"/api-reference/agents/rename-an-agent"},{"title":"Disconnect an agent","deprecated":null,"version":null,"sidebarTitle":"Disconnect an agent","openapi":"/openapi.yaml delete /v2/agents/{id}","href":"/api-reference/agents/disconnect-an-agent"}]},{"group":"Agent sign-ups","root":{"title":"Agent Sign-ups API: Let an Agent Ask to Connect","sidebarTitle":"Overview","href":"/api-reference/agent-sign-ups"},"pages":[{"title":"Start an agent sign-up","deprecated":null,"version":null,"sidebarTitle":"Start an agent sign-up","openapi":"/openapi.yaml post /v2/agent-signups","href":"/api-reference/agent-sign-ups/start-an-agent-sign-up"},{"title":"Look up an agent sign-up by its code","deprecated":null,"version":null,"sidebarTitle":"Look up an agent sign-up by its code","openapi":"/openapi.yaml post /v2/agent-signups/verify","href":"/api-reference/agent-sign-ups/look-up-an-agent-sign-up-by-its-code"},{"title":"Approve an agent sign-up","deprecated":null,"version":null,"sidebarTitle":"Approve an agent sign-up","openapi":"/openapi.yaml post /v2/agent-signups/{id}/approve","href":"/api-reference/agent-sign-ups/approve-an-agent-sign-up"},{"title":"Deny an agent sign-up","deprecated":null,"version":null,"sidebarTitle":"Deny an agent sign-up","openapi":"/openapi.yaml post /v2/agent-signups/{id}/deny","href":"/api-reference/agent-sign-ups/deny-an-agent-sign-up"},{"title":"Poll an agent sign-up","deprecated":null,"version":null,"sidebarTitle":"Poll an agent sign-up","openapi":"/openapi.yaml post /v2/agent-signups/{id}/token","href":"/api-reference/agent-sign-ups/poll-an-agent-sign-up"}]},{"group":"Agent self-service","root":{"title":"Agent Self-service API: What an Agent Can Read","sidebarTitle":"Overview","href":"/api-reference/agent-self-service"},"pages":[{"title":"The OneCLI skill for agents","deprecated":null,"version":null,"sidebarTitle":"The OneCLI skill for agents","openapi":"/openapi.yaml get /v2/skill","href":"/api-reference/agent-self-service/the-onecli-skill-for-agents"},{"title":"Read who you are, as an agent","deprecated":null,"version":null,"sidebarTitle":"Read who you are, as an agent","openapi":"/openapi.yaml get /v2/agents/me","href":"/api-reference/agent-self-service/read-who-you-are-as-an-agent"},{"title":"Ask what would happen to a call, as an agent","deprecated":null,"version":null,"sidebarTitle":"Ask what would happen to a call, as an agent","openapi":"/openapi.yaml post /v2/agents/me/check","href":"/api-reference/agent-self-service/ask-what-would-happen-to-a-call-as-an-agent"},{"title":"List what you can use, as an agent","deprecated":null,"version":null,"sidebarTitle":"List what you can use, as an agent","openapi":"/openapi.yaml get /v2/agents/me/items","href":"/api-reference/agent-self-service/list-what-you-can-use-as-an-agent"}]}]},{"group":"Approvals, rules and activity","pages":[{"group":"Approvals","root":{"title":"Approvals API: List and Answer Held Requests","sidebarTitle":"Overview","href":"/api-reference/approvals"},"pages":[{"title":"List waiting requests","deprecated":null,"version":null,"sidebarTitle":"List waiting requests","openapi":"/openapi.yaml get /v2/approvals","href":"/api-reference/approvals/list-waiting-requests"},{"title":"Answer a waiting request","deprecated":null,"version":null,"sidebarTitle":"Answer a waiting request","openapi":"/openapi.yaml patch /v2/approvals/{id}","href":"/api-reference/approvals/answer-a-waiting-request"}]},{"group":"Rules","root":{"title":"Rules API: Organization-Wide Block and Approval Rules","sidebarTitle":"Overview","href":"/api-reference/rules"},"pages":[{"title":"List the organization's rules","deprecated":null,"version":null,"sidebarTitle":"List the organization's rules","openapi":"/openapi.yaml get /v2/org/rules","href":"/api-reference/rules/list-the-organizations-rules"},{"title":"Make an organization rule","deprecated":null,"version":null,"sidebarTitle":"Make an organization rule","openapi":"/openapi.yaml post /v2/org/rules","href":"/api-reference/rules/make-an-organization-rule"},{"title":"Read an organization rule","deprecated":null,"version":null,"sidebarTitle":"Read an organization rule","openapi":"/openapi.yaml get /v2/org/rules/{id}","href":"/api-reference/rules/read-an-organization-rule"},{"title":"Change an organization rule","deprecated":null,"version":null,"sidebarTitle":"Change an organization rule","openapi":"/openapi.yaml patch /v2/org/rules/{id}","href":"/api-reference/rules/change-an-organization-rule"},{"title":"Remove an organization rule","deprecated":null,"version":null,"sidebarTitle":"Remove an organization rule","openapi":"/openapi.yaml delete /v2/org/rules/{id}","href":"/api-reference/rules/remove-an-organization-rule"}]},{"group":"Activity","root":{"title":"Activity API: Request Log, Usage Counts and Audit Log","sidebarTitle":"Overview","href":"/api-reference/activity"},"pages":[{"title":"List activity","deprecated":null,"version":null,"sidebarTitle":"List activity","openapi":"/openapi.yaml get /v2/activity","href":"/api-reference/activity/list-activity"},{"title":"Read usage","deprecated":null,"version":null,"sidebarTitle":"Read usage","openapi":"/openapi.yaml get /v2/usage","href":"/api-reference/activity/read-usage"},{"title":"Read counts","deprecated":null,"version":null,"sidebarTitle":"Read counts","openapi":"/openapi.yaml get /v2/counts","href":"/api-reference/activity/read-counts"},{"title":"Read the audit log","deprecated":null,"version":null,"sidebarTitle":"Read the audit log","openapi":"/openapi.yaml get /v2/audit","href":"/api-reference/activity/read-the-audit-log"}]}]},{"group":"Organization","pages":[{"group":"Apps","root":{"title":"Apps API: Connectable Apps and Your Own OAuth Apps","sidebarTitle":"Overview","href":"/api-reference/apps"},"pages":[{"title":"List the apps that can be connected","deprecated":null,"version":null,"sidebarTitle":"List the apps that can be connected","openapi":"/openapi.yaml get /v2/apps","href":"/api-reference/apps/list-the-apps-that-can-be-connected"},{"title":"List the apps that take the organization's own OAuth app","deprecated":null,"version":null,"sidebarTitle":"List the apps that take an OAuth app of the organization's own","openapi":"/openapi.yaml get /v2/org/apps","href":"/api-reference/apps/list-the-apps-that-take-an-oauth-app-of-the-organizations-own"},{"title":"Read the organization's own app","deprecated":null,"version":null,"sidebarTitle":"Read the organization's own app","openapi":"/openapi.yaml get /v2/org/apps/{provider}","href":"/api-reference/apps/read-the-organizations-own-app"},{"title":"Save the organization's own app","deprecated":null,"version":null,"sidebarTitle":"Save the organization's own app","openapi":"/openapi.yaml put /v2/org/apps/{provider}","href":"/api-reference/apps/save-the-organizations-own-app"},{"title":"Remove the organization's own app","deprecated":null,"version":null,"sidebarTitle":"Remove the organization's own app","openapi":"/openapi.yaml delete /v2/org/apps/{provider}","href":"/api-reference/apps/remove-the-organizations-own-app"}]},{"group":"API keys","root":{"title":"API Keys API: Make, List and Revoke Managing Keys","sidebarTitle":"Overview","href":"/api-reference/api-keys"},"pages":[{"title":"List your keys","deprecated":null,"version":null,"sidebarTitle":"List your keys","openapi":"/openapi.yaml get /v2/keys","href":"/api-reference/api-keys/list-your-keys"},{"title":"Make a key","deprecated":null,"version":null,"sidebarTitle":"Make a key","openapi":"/openapi.yaml post /v2/keys","href":"/api-reference/api-keys/make-a-key"},{"title":"Read one of your keys","deprecated":null,"version":null,"sidebarTitle":"Read one of your keys","openapi":"/openapi.yaml get /v2/keys/{id}","href":"/api-reference/api-keys/read-one-of-your-keys"},{"title":"Revoke one of your keys","deprecated":null,"version":null,"sidebarTitle":"Revoke one of your keys","openapi":"/openapi.yaml delete /v2/keys/{id}","href":"/api-reference/api-keys/revoke-one-of-your-keys"},{"title":"Confirm it's you","deprecated":null,"version":null,"sidebarTitle":"Confirm it's you","openapi":"/openapi.yaml post /v2/session/confirmation","href":"/api-reference/api-keys/confirm-its-you"}]},{"group":"Organization","root":{"title":"Organization API: Your Account, Organizations and Logo","sidebarTitle":"Overview","href":"/api-reference/organization"},"pages":[{"title":"Read who you are","deprecated":null,"version":null,"sidebarTitle":"Read who you are","openapi":"/openapi.yaml get /v2/me","href":"/api-reference/organization/read-who-you-are"},{"title":"Change your name","deprecated":null,"version":null,"sidebarTitle":"Change your name","openapi":"/openapi.yaml patch /v2/me","href":"/api-reference/organization/change-your-name"},{"title":"Make an organization","deprecated":null,"version":null,"sidebarTitle":"Make an organization","openapi":"/openapi.yaml post /v2/organizations","href":"/api-reference/organization/make-an-organization"},{"title":"Rename the organization","deprecated":null,"version":null,"sidebarTitle":"Rename the organization","openapi":"/openapi.yaml patch /v2/org","href":"/api-reference/organization/rename-the-organization"},{"title":"Delete the organization","deprecated":null,"version":null,"sidebarTitle":"Delete the organization","openapi":"/openapi.yaml delete /v2/org","href":"/api-reference/organization/delete-the-organization"},{"title":"Set the organization's logo","deprecated":null,"version":null,"sidebarTitle":"Set the organization's logo","openapi":"/openapi.yaml put /v2/org/logo","href":"/api-reference/organization/set-the-organizations-logo"},{"title":"Remove the organization's logo","deprecated":null,"version":null,"sidebarTitle":"Remove the organization's logo","openapi":"/openapi.yaml delete /v2/org/logo","href":"/api-reference/organization/remove-the-organizations-logo"},{"title":"Read an organization's logo","deprecated":null,"version":null,"sidebarTitle":"Read an organization's logo","openapi":"/openapi.yaml get /v2/organization-logos/{organizationId}/{key}","href":"/api-reference/organization/read-an-organizations-logo"}]},{"group":"Utility","root":{"title":"Utility API: Health Check","sidebarTitle":"Overview","href":"/api-reference/utility"},"pages":[{"title":"Health check","deprecated":null,"version":null,"sidebarTitle":"Health check","openapi":"/openapi.yaml get /v2/health","href":"/api-reference/utility/health-check"}]}]},{"group":"OneCLI Cloud","pages":[{"group":"Members","root":{"title":"Members API: List, Change and Remove Members","sidebarTitle":"Overview","href":"/api-reference/members"},"pages":[{"title":"List members","deprecated":null,"version":null,"tag":"Cloud","sidebarTitle":"List members","openapi":"/openapi.yaml get /v2/members","href":"/api-reference/members/list-members"},{"title":"Read a member","deprecated":null,"version":null,"tag":"Cloud","sidebarTitle":"Read a member","openapi":"/openapi.yaml get /v2/members/{id}","href":"/api-reference/members/read-a-member"},{"title":"Change a member","deprecated":null,"version":null,"tag":"Cloud","sidebarTitle":"Change a member","openapi":"/openapi.yaml patch /v2/members/{id}","href":"/api-reference/members/change-a-member"},{"title":"Remove a member, or leave","deprecated":null,"version":null,"tag":"Cloud","sidebarTitle":"Remove a member, or leave","openapi":"/openapi.yaml delete /v2/members/{id}","href":"/api-reference/members/remove-a-member-or-leave"},{"title":"Preview a member's removal","deprecated":null,"version":null,"tag":"Cloud","sidebarTitle":"Preview a member's removal","openapi":"/openapi.yaml get /v2/members/{id}/removal-preview","href":"/api-reference/members/preview-a-members-removal"},{"title":"Transfer ownership","deprecated":null,"version":null,"tag":"Cloud","sidebarTitle":"Transfer ownership","openapi":"/openapi.yaml post /v2/members/{id}/transfer-ownership","href":"/api-reference/members/transfer-ownership"},{"title":"List people","deprecated":null,"version":null,"tag":"Cloud","sidebarTitle":"List people","openapi":"/openapi.yaml get /v2/people","href":"/api-reference/members/list-people"}]},{"group":"Invites","root":{"title":"Invites API: Invite People to an Organization","sidebarTitle":"Overview","href":"/api-reference/invites"},"pages":[{"title":"List invites","deprecated":null,"version":null,"tag":"Cloud","sidebarTitle":"List invites","openapi":"/openapi.yaml get /v2/invites","href":"/api-reference/invites/list-invites"},{"title":"Invite a person","deprecated":null,"version":null,"tag":"Cloud","sidebarTitle":"Invite a person","openapi":"/openapi.yaml post /v2/invites","href":"/api-reference/invites/invite-a-person"},{"title":"Take up an invite","deprecated":null,"version":null,"tag":"Cloud","sidebarTitle":"Take up an invite","openapi":"/openapi.yaml post /v2/invites/accept","href":"/api-reference/invites/take-up-an-invite"},{"title":"Cancel an invite","deprecated":null,"version":null,"tag":"Cloud","sidebarTitle":"Cancel an invite","openapi":"/openapi.yaml delete /v2/invites/{id}","href":"/api-reference/invites/cancel-an-invite"}]},{"group":"Groups","root":{"title":"Groups API: Manage Groups, Members and Group Roles","sidebarTitle":"Overview","href":"/api-reference/groups"},"pages":[{"title":"List groups","deprecated":null,"version":null,"tag":"Cloud","sidebarTitle":"List groups","openapi":"/openapi.yaml get /v2/groups","href":"/api-reference/groups/list-groups"},{"title":"Create a group","deprecated":null,"version":null,"tag":"Cloud","sidebarTitle":"Create a group","openapi":"/openapi.yaml post /v2/groups","href":"/api-reference/groups/create-a-group"},{"title":"Read a group","deprecated":null,"version":null,"tag":"Cloud","sidebarTitle":"Read a group","openapi":"/openapi.yaml get /v2/groups/{id}","href":"/api-reference/groups/read-a-group"},{"title":"Rename a group","deprecated":null,"version":null,"tag":"Cloud","sidebarTitle":"Rename a group","openapi":"/openapi.yaml patch /v2/groups/{id}","href":"/api-reference/groups/rename-a-group"},{"title":"Delete a group","deprecated":null,"version":null,"tag":"Cloud","sidebarTitle":"Delete a group","openapi":"/openapi.yaml delete /v2/groups/{id}","href":"/api-reference/groups/delete-a-group"},{"title":"List a group's members","deprecated":null,"version":null,"tag":"Cloud","sidebarTitle":"List a group's members","openapi":"/openapi.yaml get /v2/groups/{id}/members","href":"/api-reference/groups/list-a-groups-members"},{"title":"Add a member to a group","deprecated":null,"version":null,"tag":"Cloud","sidebarTitle":"Add a member to a group","openapi":"/openapi.yaml put /v2/groups/{id}/members/{userId}","href":"/api-reference/groups/add-a-member-to-a-group"},{"title":"Remove a member from a group","deprecated":null,"version":null,"tag":"Cloud","sidebarTitle":"Remove a member from a group","openapi":"/openapi.yaml delete /v2/groups/{id}/members/{userId}","href":"/api-reference/groups/remove-a-member-from-a-group"},{"title":"Read a group's role","deprecated":null,"version":null,"tag":"Cloud","sidebarTitle":"Read a group's role","openapi":"/openapi.yaml get /v2/groups/{id}/roles","href":"/api-reference/groups/read-a-groups-role"},{"title":"Set a group's role","deprecated":null,"version":null,"tag":"Cloud","sidebarTitle":"Set a group's role","openapi":"/openapi.yaml put /v2/groups/{id}/roles","href":"/api-reference/groups/set-a-groups-role"},{"title":"Clear a group's role","deprecated":null,"version":null,"tag":"Cloud","sidebarTitle":"Clear a group's role","openapi":"/openapi.yaml delete /v2/groups/{id}/roles","href":"/api-reference/groups/clear-a-groups-role"},{"title":"List a group's vaults","deprecated":null,"version":null,"tag":"Cloud","sidebarTitle":"List a group's vaults","openapi":"/openapi.yaml get /v2/groups/{id}/vaults","href":"/api-reference/groups/list-a-groups-vaults"}]},{"group":"Vault sharing","root":{"title":"Vault Sharing API: Share a Vault With People and Groups","sidebarTitle":"Overview","href":"/api-reference/vault-sharing"},"pages":[{"title":"Read who a vault is shared with","deprecated":null,"version":null,"tag":"Cloud","sidebarTitle":"Read who a vault is shared with","openapi":"/openapi.yaml get /v2/vaults/{id}/access","href":"/api-reference/vault-sharing/read-who-a-vault-is-shared-with"},{"title":"Replace who a vault is shared with","deprecated":null,"version":null,"tag":"Cloud","sidebarTitle":"Replace who a vault is shared with","openapi":"/openapi.yaml put /v2/vaults/{id}/access","href":"/api-reference/vault-sharing/replace-who-a-vault-is-shared-with"}]},{"group":"Shared items","root":{"title":"Shared Items API: One Key Shared With Many Vaults","sidebarTitle":"Overview","href":"/api-reference/shared-items"},"pages":[{"title":"List the shared items","deprecated":null,"version":null,"tag":"Cloud","sidebarTitle":"List the shared items","openapi":"/openapi.yaml get /v2/org/shared-items","href":"/api-reference/shared-items/list-the-shared-items"},{"title":"Add a shared key","deprecated":null,"version":null,"tag":"Cloud","sidebarTitle":"Add a shared key","openapi":"/openapi.yaml post /v2/org/shared-items","href":"/api-reference/shared-items/add-a-shared-key"},{"title":"Read a shared item","deprecated":null,"version":null,"tag":"Cloud","sidebarTitle":"Read a shared item","openapi":"/openapi.yaml get /v2/org/shared-items/{id}","href":"/api-reference/shared-items/read-a-shared-item"},{"title":"Rename a shared item, replace its value, or open it","deprecated":null,"version":null,"tag":"Cloud","sidebarTitle":"Rename a shared item, give a shared key a new value, or open it to all vaults","openapi":"/openapi.yaml patch /v2/org/shared-items/{id}","href":"/api-reference/shared-items/rename-a-shared-item-give-a-shared-key-a-new-value-or-open-it-to-all-vaults"},{"title":"Delete a shared item","deprecated":null,"version":null,"tag":"Cloud","sidebarTitle":"Delete a shared item","openapi":"/openapi.yaml delete /v2/org/shared-items/{id}","href":"/api-reference/shared-items/delete-a-shared-item"},{"title":"List the vaults an item is shared with","deprecated":null,"version":null,"tag":"Cloud","sidebarTitle":"List the vaults an item is shared with","openapi":"/openapi.yaml get /v2/org/shared-items/{id}/vaults","href":"/api-reference/shared-items/list-the-vaults-an-item-is-shared-with"},{"title":"Share an item with a vault","deprecated":null,"version":null,"tag":"Cloud","sidebarTitle":"Share an item with a vault","openapi":"/openapi.yaml put /v2/org/shared-items/{id}/vaults/{vaultId}","href":"/api-reference/shared-items/share-an-item-with-a-vault"},{"title":"Take an item away from a vault","deprecated":null,"version":null,"tag":"Cloud","sidebarTitle":"Take an item away from a vault","openapi":"/openapi.yaml delete /v2/org/shared-items/{id}/vaults/{vaultId}","href":"/api-reference/shared-items/take-an-item-away-from-a-vault"},{"title":"List the shared items a vault may use","deprecated":null,"version":null,"tag":"Cloud","sidebarTitle":"List the shared items a vault may use","openapi":"/openapi.yaml get /v2/vaults/{id}/shared-items","href":"/api-reference/shared-items/list-the-shared-items-a-vault-may-use"},{"title":"Read what a vault's agents may do with a shared item","deprecated":null,"version":null,"tag":"Cloud","sidebarTitle":"Read what a vault's agents may do with a shared item","openapi":"/openapi.yaml get /v2/vaults/{id}/shared-items/{itemId}/permissions","href":"/api-reference/shared-items/read-what-a-vaults-agents-may-do-with-a-shared-item"},{"title":"Set what a vault's agents may do with a shared item","deprecated":null,"version":null,"tag":"Cloud","sidebarTitle":"Set what a vault's agents may do with a shared item","openapi":"/openapi.yaml put /v2/vaults/{id}/shared-items/{itemId}/permissions","href":"/api-reference/shared-items/set-what-a-vaults-agents-may-do-with-a-shared-item"}]},{"group":"Sign-in","root":{"title":"Sign-in API: Single Sign-On Connections and Domains","sidebarTitle":"Overview","href":"/api-reference/sign-in"},"pages":[{"title":"List sign-in connections","deprecated":null,"version":null,"tag":"Cloud","sidebarTitle":"List sign-in connections","openapi":"/openapi.yaml get /v2/org/sign-in/connections","href":"/api-reference/sign-in/list-sign-in-connections"},{"title":"Create a sign-in connection","deprecated":null,"version":null,"tag":"Cloud","sidebarTitle":"Create a sign-in connection","openapi":"/openapi.yaml post /v2/org/sign-in/connections","href":"/api-reference/sign-in/create-a-sign-in-connection"},{"title":"Change a sign-in connection","deprecated":null,"version":null,"tag":"Cloud","sidebarTitle":"Change a sign-in connection","openapi":"/openapi.yaml patch /v2/org/sign-in/connections/{id}","href":"/api-reference/sign-in/change-a-sign-in-connection"},{"title":"Delete a sign-in connection","deprecated":null,"version":null,"tag":"Cloud","sidebarTitle":"Delete a sign-in connection","openapi":"/openapi.yaml delete /v2/org/sign-in/connections/{id}","href":"/api-reference/sign-in/delete-a-sign-in-connection"},{"title":"Test a sign-in connection","deprecated":null,"version":null,"tag":"Cloud","sidebarTitle":"Test a sign-in connection","openapi":"/openapi.yaml post /v2/org/sign-in/connections/{id}/test","href":"/api-reference/sign-in/test-a-sign-in-connection"},{"title":"List sign-in domains","deprecated":null,"version":null,"tag":"Cloud","sidebarTitle":"List sign-in domains","openapi":"/openapi.yaml get /v2/org/sign-in/domains","href":"/api-reference/sign-in/list-sign-in-domains"},{"title":"Claim a sign-in domain","deprecated":null,"version":null,"tag":"Cloud","sidebarTitle":"Claim a sign-in domain","openapi":"/openapi.yaml post /v2/org/sign-in/domains","href":"/api-reference/sign-in/claim-a-sign-in-domain"},{"title":"Release a sign-in domain","deprecated":null,"version":null,"tag":"Cloud","sidebarTitle":"Release a sign-in domain","openapi":"/openapi.yaml delete /v2/org/sign-in/domains/{id}","href":"/api-reference/sign-in/release-a-sign-in-domain"},{"title":"Verify a sign-in domain","deprecated":null,"version":null,"tag":"Cloud","sidebarTitle":"Verify a sign-in domain","openapi":"/openapi.yaml post /v2/org/sign-in/domains/{id}/verify","href":"/api-reference/sign-in/verify-a-sign-in-domain"},{"title":"Read the sign-in requirement","deprecated":null,"version":null,"tag":"Cloud","sidebarTitle":"Read the sign-in requirement","openapi":"/openapi.yaml get /v2/org/sign-in/enforcement","href":"/api-reference/sign-in/read-the-sign-in-requirement"},{"title":"Change the sign-in requirement","deprecated":null,"version":null,"tag":"Cloud","sidebarTitle":"Change the sign-in requirement","openapi":"/openapi.yaml patch /v2/org/sign-in/enforcement","href":"/api-reference/sign-in/change-the-sign-in-requirement"}]},{"group":"Directory tokens","root":{"title":"Directory Tokens API: Tokens for Directory Sync","sidebarTitle":"Overview","href":"/api-reference/directory-tokens"},"pages":[{"title":"List directory tokens","deprecated":null,"version":null,"tag":"Cloud","sidebarTitle":"List directory tokens","openapi":"/openapi.yaml get /v2/org/directory-tokens","href":"/api-reference/directory-tokens/list-directory-tokens"},{"title":"Make a directory token","deprecated":null,"version":null,"tag":"Cloud","sidebarTitle":"Make a directory token","openapi":"/openapi.yaml post /v2/org/directory-tokens","href":"/api-reference/directory-tokens/make-a-directory-token"},{"title":"Revoke a directory token","deprecated":null,"version":null,"tag":"Cloud","sidebarTitle":"Revoke a directory token","openapi":"/openapi.yaml delete /v2/org/directory-tokens/{id}","href":"/api-reference/directory-tokens/revoke-a-directory-token"}]},{"group":"LLM sign-in","root":{"title":"LLM Sign-in API: Add a Claude or ChatGPT Subscription","sidebarTitle":"Overview","href":"/api-reference/llm-sign-in"},"pages":[{"title":"Start a Claude sign-in","deprecated":null,"version":null,"tag":"Cloud","sidebarTitle":"Start a Claude sign-in","openapi":"/openapi.yaml post /v2/llm/anthropic/sign-in","href":"/api-reference/llm-sign-in/start-a-claude-sign-in"},{"title":"Finish a Claude sign-in","deprecated":null,"version":null,"tag":"Cloud","sidebarTitle":"Finish a Claude sign-in","openapi":"/openapi.yaml post /v2/llm/anthropic/sign-in/finish","href":"/api-reference/llm-sign-in/finish-a-claude-sign-in"},{"title":"Start a ChatGPT sign-in","deprecated":null,"version":null,"tag":"Cloud","sidebarTitle":"Start a ChatGPT sign-in","openapi":"/openapi.yaml post /v2/llm/openai/sign-in","href":"/api-reference/llm-sign-in/start-a-chatgpt-sign-in"},{"title":"Poll a ChatGPT sign-in","deprecated":null,"version":null,"tag":"Cloud","sidebarTitle":"Poll a ChatGPT sign-in","openapi":"/openapi.yaml get /v2/llm/openai/sign-in/{id}","href":"/api-reference/llm-sign-in/poll-a-chatgpt-sign-in"},{"title":"Cancel a ChatGPT sign-in","deprecated":null,"version":null,"tag":"Cloud","sidebarTitle":"Cancel a ChatGPT sign-in","openapi":"/openapi.yaml delete /v2/llm/openai/sign-in/{id}","href":"/api-reference/llm-sign-in/cancel-a-chatgpt-sign-in"}]},{"group":"Billing","root":{"title":"Billing API: Plan, Credits and Payment State","sidebarTitle":"Overview","href":"/api-reference/billing"},"pages":[{"title":"Link an AWS Marketplace purchase","deprecated":null,"version":null,"tag":"Cloud","sidebarTitle":"Link an AWS Marketplace purchase","openapi":"/openapi.yaml post /v2/billing/aws-marketplace/registrations","href":"/api-reference/billing/link-an-aws-marketplace-purchase"},{"title":"Read a payment problem","deprecated":null,"version":null,"tag":"Cloud","sidebarTitle":"Read a payment problem","openapi":"/openapi.yaml get /v2/billing/payment-issue","href":"/api-reference/billing/read-a-payment-problem"},{"title":"Read the plan's usage","deprecated":null,"version":null,"tag":"Cloud","sidebarTitle":"Read the plan's usage","openapi":"/openapi.yaml get /v2/billing/quota","href":"/api-reference/billing/read-the-plans-usage"},{"title":"Read the subscription","deprecated":null,"version":null,"tag":"Cloud","sidebarTitle":"Read the subscription","openapi":"/openapi.yaml get /v2/billing/subscription","href":"/api-reference/billing/read-the-subscription"}]},{"group":"Support","root":{"title":"Support API: Write to the Team or Ask for an App","sidebarTitle":"Overview","href":"/api-reference/support"},"pages":[{"title":"Ask for an app","deprecated":null,"version":null,"tag":"Cloud","sidebarTitle":"Ask for an app","openapi":"/openapi.yaml post /v2/app-requests","href":"/api-reference/support/ask-for-an-app"},{"title":"Write to the team","deprecated":null,"version":null,"tag":"Cloud","sidebarTitle":"Write to the team","openapi":"/openapi.yaml post /v2/support","href":"/api-reference/support/write-to-the-team"}]}]}]},{"tab":"SDKs","pages":[{"title":"SDKs","href":"/sdks"}]}]},"basePath":"","title":"Connect an agent - OneCLI","deploymentId":"dpl_FJXVBuj1Gbcjzv4BLN7d4WGZQfWn","buildId":"dpl_FJXVBuj1Gbcjzv4BLN7d4WGZQfWn","dynamics":["c2aa737661","2b790eda92","b0f84f53ff","a9bb46feb3"],"chunks":["OpenApiReferenceProvider-BOnbbU68.js","snippetPresets-BxuPKrW8.js","utils-CEkR-TlS.js","style-to-object-BY3JEAdk.js","utils-C3h1luYv.js","v4-DIgz8zy6.js","addTypeLabelsToSchema-DIjwh9qi.js","conditional-requirements-CFM0id0Q.js","cloneDeep-DT_vIWtT.js","_Uint8Array-A6zzLEKJ.js","isObject-FP1Yky1u.js","ApiExamples-2hAcsR2B.js","usePlaygroundInputsStore-BxSIiUv4.js","shallow-BnVcH_Vp.js","isEqual-BPo_0IrI.js","CodeSnippets-fNAiOVHv.js","CodeSnippet-BFWCicrH.js","use-playground-group-access-DddevprM.js","Page-zZr9uBwS.js","api-description-markdown-B22zaWSK.js","DynamicMarkdown-rJ80e-H3.js","SectionHeading-B2zwbl_Y.js","MethodPill-BZe_7-2H.js","getPastedJson-D30c16tY.js","Check2Icon-B51XHHRW.js","axios-CsQoIw0U.js","Markdown-CrWcS0iW.js","AssistantPageLink-C5g489Fj.js","dist-D0mIFLFs.js","lib-DMeTj1gb.js","lib-B8HbPgcC.js","katex-Dbtb6Wk7.js","html-void-elements-mCSPHezU.js","marked.esm-CZWythHk.js"]}