The response carries api_key exactly once. Kordio stores only a digest and
compares it in constant time; if you lose the key, rotate the agent.
Unless skip_starter_policy is set, the agent is created with an active starter
policy that caps a single action at 50000 cents and holds anything above 10000
cents for a person. It is returned as starter_policy, and it stays in force
until you disable it.
Creating an agent consumes plan headroom, and creating a live agent requires a
plan with live mode. Either limit returns 422.
An identity bearer token for a person or your backend. Capabilities are per member, per workspace. This credential can manage the workspace and can never authorize an action as an agent.
Which action types this key may even ask about. An exact match (payment.create), a namespace wildcard (payment.*), or *. An empty array means unrestricted.
{"docsConfig":{"theme":"aspen","$schema":"https://mintlify.com/docs.json","name":"Kordio","colors":{"primary":"#0e7c74","light":"#2fa79e","dark":"#0a5f5a"},"logo":{"light":"https://mintcdn.com/kardio/Xb-mASmdxg1dBkgC/logo/light.svg?fit=max\u0026auto=format\u0026n=Xb-mASmdxg1dBkgC\u0026q=85\u0026s=39febaa3bec88ba38bc4601d46e58b9f","dark":"https://mintcdn.com/kardio/Xb-mASmdxg1dBkgC/logo/dark.svg?fit=max\u0026auto=format\u0026n=Xb-mASmdxg1dBkgC\u0026q=85\u0026s=6b1991c4e9b6e4a30e3f801ffa7d71ce","href":"/"},"favicon":"https://mintcdn.com/kardio/euKLImC5QLsAyI85/favicon.svg?fit=max\u0026auto=format\u0026n=euKLImC5QLsAyI85\u0026q=85\u0026s=3074129ebb9b9bce78ff5600d0094230","appearance":{"default":"system"},"background":{"decoration":"grid","color":{"light":"#fafbfb","dark":"#0b0f0e"}},"navbar":{"links":[{"href":"https://kordio.io","label":"kordio.io"},{"href":"mailto:[email protected]","label":"Support"}],"primary":{"type":"button","label":"Dashboard","href":"https://app.kordio.io"}},"footer":{"socials":{"linkedin":"https://www.linkedin.com/company/trykordio"}},"seo":{"metatags":{"og:type":"website","og:site_name":"Kordio Documentation","og:image":"https://docs.kordio.io/images/og.png","twitter:card":"summary_large_image","twitter:image":"https://docs.kordio.io/images/og.png"}},"fonts":{"heading":{"family":"Geist","weight":600},"body":{"family":"Geist"}},"icons":{"library":"lucide"},"styling":{"eyebrows":"breadcrumbs","codeblocks":"dark","latex":true},"contextual":{"options":["copy","view","chatgpt","claude","perplexity","mcp","cursor","vscode"],"display":"header"},"thumbnails":{"appearance":"light"},"navigation":{"pages":[]}},"deployment":{"deploymentMetadataValue":{"subdomain":"kardio","hasAudioNarration":false,"actualSubdomain":"kardio","customDomains":["docs.kordio.io"],"gitSource":{"type":"github","owner":"southpay","repo":"docs-kordio","deployBranch":"main","contentDirectory":"","isPrivate":false,"mountPath":"","label":""},"entitlements":{"AI_CHAT":{"status":"DISABLED"}},"buildId":"6a8eabe1115c1e358a2bd56e","clientVersion":"0.0.4094","searchFilterCounts":[{"language":"default","tag":"Endpoints","count":155},{"language":"default","tag":"Kordio Ledger","count":97},{"language":"default","tag":"Kordio Control","count":91},{"language":"default","tag":"Sources","count":15},{"language":"default","tag":"Webhooks","count":11},{"language":"default","tag":"Core concepts","count":10},{"language":"default","tag":"Accounts","count":10},{"language":"default","tag":"Approvals","count":10},{"language":"default","tag":"Transactions","count":10},{"language":"default","tag":"Members","count":9}]},"assistantConfig":{"enableAskAiButton":false,"enableStarterQuestions":false,"enableContextualStarterQuestions":false,"enableAskAiSearchBar":true},"basePath":"","hasChatPermissions":false,"hasWebMcpPermissions":false,"toggles":[{"name":"kill-isr","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-mintlify-slack","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-integrations-settings","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"rbac-expansion","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-pr-grouping","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"custom-prefix","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"analytics-v7","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"user-flows-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"no-publish-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-onboarding","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"llms-txt-v2","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":"assistant-v5","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fork-pr-previews","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"revalidation-jwt","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-sso-scim","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"hobby-abuse-scan","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"dashboard-inbox","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-signup","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"turbopuffer-dual-write","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-enabled","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"approve-review-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-metadata","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"sso-setup-deadline-banner","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"turbopuffer-serve","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"live-agents","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"comment-mode","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false}],"googleFontsInlined":true},"customCss":[{"filePath":"kordio.css","content":"/* cyrillic-ext */\n@font-face {\n font-family: 'Geist Mono';\n font-style: normal;\n font-weight: 400;\n font-display: swap;\n src: url(/_mintlify/assets/fonts/google/s/geistmono/v6/or3nQ6H-1_WfwkMZI_qYFrodmgPn.woff2) format('woff2');\n unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;\n}\n/* cyrillic */\n@font-face {\n font-family: 'Geist Mono';\n font-style: normal;\n font-weight: 400;\n font-display: swap;\n src: url(/_mintlify/assets/fonts/google/s/geistmono/v6/or3nQ6H-1_WfwkMZI_qYFrMdmgPn.woff2) format('woff2');\n unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;\n}\n/* symbols2 */\n@font-face {\n font-family: 'Geist Mono';\n font-style: normal;\n font-weight: 400;\n font-display: swap;\n src: url(/_mintlify/assets/fonts/google/s/geistmono/v6/or3nQ6H-1_WfwkMZI_qYFg08vz7ehw.woff2) format('woff2');\n unicode-range: U+2000-2001, U+2004-2008, U+200A, U+23B8-23BD, U+2500-259F;\n}\n/* vietnamese */\n@font-face {\n font-family: 'Geist Mono';\n font-style: normal;\n font-weight: 400;\n font-display: swap;\n src: url(/_mintlify/assets/fonts/google/s/geistmono/v6/or3nQ6H-1_WfwkMZI_qYFrgdmgPn.woff2) format('woff2');\n unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB;\n}\n/* latin-ext */\n@font-face {\n font-family: 'Geist Mono';\n font-style: normal;\n font-weight: 400;\n font-display: swap;\n src: url(/_mintlify/assets/fonts/google/s/geistmono/v6/or3nQ6H-1_WfwkMZI_qYFrkdmgPn.woff2) format('woff2');\n unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;\n}\n/* latin */\n@font-face {\n font-family: 'Geist Mono';\n font-style: normal;\n font-weight: 400;\n font-display: swap;\n src: url(/_mintlify/assets/fonts/google/s/geistmono/v6/or3nQ6H-1_WfwkMZI_qYFrcdmg.woff2) format('woff2');\n unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;\n}\n/* cyrillic-ext */\n@font-face {\n font-family: 'Geist Mono';\n font-style: normal;\n font-weight: 500;\n font-display: swap;\n src: url(/_mintlify/assets/fonts/google/s/geistmono/v6/or3nQ6H-1_WfwkMZI_qYFrodmgPn.woff2) format('woff2');\n unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;\n}\n/* cyrillic */\n@font-face {\n font-family: 'Geist Mono';\n font-style: normal;\n font-weight: 500;\n font-display: swap;\n src: url(/_mintlify/assets/fonts/google/s/geistmono/v6/or3nQ6H-1_WfwkMZI_qYFrMdmgPn.woff2) format('woff2');\n unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;\n}\n/* symbols2 */\n@font-face {\n font-family: 'Geist Mono';\n font-style: normal;\n font-weight: 500;\n font-display: swap;\n src: url(/_mintlify/assets/fonts/google/s/geistmono/v6/or3nQ6H-1_WfwkMZI_qYFg08vz7ehw.woff2) format('woff2');\n unicode-range: U+2000-2001, U+2004-2008, U+200A, U+23B8-23BD, U+2500-259F;\n}\n/* vietnamese */\n@font-face {\n font-family: 'Geist Mono';\n font-style: normal;\n font-weight: 500;\n font-display: swap;\n src: url(/_mintlify/assets/fonts/google/s/geistmono/v6/or3nQ6H-1_WfwkMZI_qYFrgdmgPn.woff2) format('woff2');\n unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB;\n}\n/* latin-ext */\n@font-face {\n font-family: 'Geist Mono';\n font-style: normal;\n font-weight: 500;\n font-display: swap;\n src: url(/_mintlify/assets/fonts/google/s/geistmono/v6/or3nQ6H-1_WfwkMZI_qYFrkdmgPn.woff2) format('woff2');\n unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;\n}\n/* latin */\n@font-face {\n font-family: 'Geist Mono';\n font-style: normal;\n font-weight: 500;\n font-display: swap;\n src: url(/_mintlify/assets/fonts/google/s/geistmono/v6/or3nQ6H-1_WfwkMZI_qYFrcdmg.woff2) format('woff2');\n unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;\n}\ncode,kbd,samp,pre{font-family:\"Geist Mono\", ui-monospace, SFMono-Regular, \"SF Mono\", Menlo, Consolas, monospace}#content a{text-decoration-thickness:1px;text-underline-offset:4px}"}],"page":{"pagePath":"api-reference/agents/create-an-agent","slug":"/api-reference/agents/create-an-agent","pageMetadata":{"title":"Create an agent","description":"Requires the `manage_policy` capability.\n\nThe response carries `api_key` exactly once. Kordio stores only a digest and\ncompares it in constant time; if you lose the key, rotate the agent.\n\nUnless `skip_starter_policy` is set, the agent is created with an active starter\npolicy that caps a single action at 50000 cents and holds anything above 10000\ncents for a person. It is returned as `starter_policy`, and it stays in force\nuntil you disable it.\n\nCreating an agent consumes plan headroom, and creating a `live` agent requires a\nplan with live mode. Either limit returns `422`.\n","deprecated":null,"version":null,"openapi":"/agents/api-reference/openapi.yaml post /control/v1/workspaces/{workspace_slug}/agents","href":"/api-reference/agents/create-an-agent","autogeneratedByOpenApi":true},"description":{"compiledSource":"\"use strict\";\nconst {Fragment: _Fragment, jsx: _jsx, jsxs: _jsxs} = arguments[0];\nconst {useMDXComponents: _provideComponents} = arguments[0];\nfunction _createMdxContent(props) {\n const _components = {\n code: \"code\",\n p: \"p\",\n ..._provideComponents(),\n ...props.components\n };\n return _jsxs(_Fragment, {\n children: [_jsxs(_components.p, {\n children: [\"Requires the \", _jsx(_components.code, {\n children: \"manage_policy\"\n }), \" capability.\"]\n }), \"\\n\", _jsxs(_components.p, {\n children: [\"The response carries \", _jsx(_components.code, {\n children: \"api_key\"\n }), \" exactly once. Kordio stores only a digest and\\ncompares it in constant time; if you lose the key, rotate the agent.\"]\n }), \"\\n\", _jsxs(_components.p, {\n children: [\"Unless \", _jsx(_components.code, {\n children: \"skip_starter_policy\"\n }), \" is set, the agent is created with an active starter\\npolicy that caps a single action at 50000 cents and holds anything above 10000\\ncents for a person. It is returned as \", _jsx(_components.code, {\n children: \"starter_policy\"\n }), \", and it stays in force\\nuntil you disable it.\"]\n }), \"\\n\", _jsxs(_components.p, {\n children: [\"Creating an agent consumes plan headroom, and creating a \", _jsx(_components.code, {\n children: \"live\"\n }), \" agent requires a\\nplan with live mode. Either limit returns \", _jsx(_components.code, {\n children: \"422\"\n }), \".\"]\n })]\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}=arguments[0];const{useMDXComponents:_provideComponents}=arguments[0];function _createMdxContent(props){return _jsx(_Fragment,{})}function MDXContent(props={}){const{wrapper:MDXLayout}={..._provideComponents(),...props.components};return MDXLayout?_jsx(MDXLayout,{...props,children:_jsx(_createMdxContent,{...props})}):_createMdxContent(props)}return{default:MDXContent}","frontmatter":{},"scope":{"codeStyling":"dark","config":{},"pageMetadata":{"title":"Create an agent","description":"Requires the `manage_policy` capability.\n\nThe response carries `api_key` exactly once. Kordio stores only a digest and\ncompares it in constant time; if you lose the key, rotate the agent.\n\nUnless `skip_starter_policy` is set, the agent is created with an active starter\npolicy that caps a single action at 50000 cents and holds anything above 10000\ncents for a person. It is returned as `starter_policy`, and it stays in force\nuntil you disable it.\n\nCreating an agent consumes plan headroom, and creating a `live` agent requires a\nplan with live mode. Either limit returns `422`.\n","deprecated":null,"version":null,"openapi":"/agents/api-reference/openapi.yaml post /control/v1/workspaces/{workspace_slug}/agents","href":"/api-reference/agents/create-an-agent","autogeneratedByOpenApi":true}}},"mdxSourceWithNoJs":null},"mdxExtracts":{"tableOfContents":[],"codeExamples":{}},"jsLinks":[],"openApiReferenceData":{"operation":{"tags":["Agents"],"operationId":"createAgent","summary":"Create an agent","description":"Requires the `manage_policy` capability.\n\nThe response carries `api_key` exactly once. Kordio stores only a digest and\ncompares it in constant time; if you lose the key, rotate the agent.\n\nUnless `skip_starter_policy` is set, the agent is created with an active starter\npolicy that caps a single action at 50000 cents and holds anything above 10000\ncents for a person. It is returned as `starter_policy`, and it stays in force\nuntil you disable it.\n\nCreating an agent consumes plan headroom, and creating a `live` agent requires a\nplan with live mode. Either limit returns `422`.\n","security":["094805b6-9529-4b14-ad66-e6251a6b776b"],"parameters":["6bc5c620-2e3e-4d42-b83f-da55254b3075"],"requestBody":"7c893303-3ad3-49b1-9435-ab914ec2f347","responses":{"201":"2bea5c87-b2b0-40bc-b85c-3d7afbd35e22","403":"d9ca0799-144a-4c9a-b92c-19955d2fc7d4","404":"59d52f81-06c4-4848-b92a-24f354ee075a","422":"d28d2500-9a27-4177-a5a0-92baa415d820"},"method":"post","type":"path","servers":["2335c224-a42b-4210-bea3-8d884da33ec8"],"path":"/control/v1/workspaces/{workspace_slug}/agents","baseUrlOptions":["https://api.kordio.io"],"title":"Create an agent","codeSamples":[],"requiredOnlyExamples":false,"requestExampleType":"generated","responseExampleType":"generated"},"dependencies":{"parameters":{"6bc5c620-2e3e-4d42-b83f-da55254b3075":{"name":"workspace_slug","in":"path","required":true,"schema":{"type":"string","isRequired":true,"uniqueKey":"","typeLabel":"string"},"example":"acme-procurement"}},"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["name"],"properties":{"name":{"type":"string","example":"procurement agent","isRequired":true,"uniqueKey":"name","typeLabel":"string"},"mode":{"type":"string","enum":["test","live"],"default":"test","uniqueKey":"mode","typeLabel":"enum\u003cstring>"},"status":{"type":"string","enum":["active","suspended","revoked"],"default":"active","uniqueKey":"status","typeLabel":"enum\u003cstring>"},"scopes":{"type":"array","items":{"type":"string","uniqueKey":"scopes.items.[INDEX]","typeLabel":"string"},"description":"Which action types this key may even ask about. An exact match (`payment.create`), a namespace wildcard (`payment.*`), or `*`. An empty array means unrestricted.","example":["payment.*","tool.invoke"],"uniqueKey":"scopes","typeLabel":"string[]"},"skip_starter_policy":{"type":"boolean","default":false,"description":"Create the agent with no policy at all. Every authorization then denies with the rule `no_policy` until you write one.","uniqueKey":"skip_starter_policy","typeLabel":"boolean"}},"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"name":"procurement agent","mode":"test","status":"active","scopes":["payment.*","tool.invoke"],"skip_starter_policy":false}}},"exampleType":"generated"}},"exampleType":"generated"},"responses":{"2bea5c87-b2b0-40bc-b85c-3d7afbd35e22":{"description":"The agent, including its plaintext key.","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"object","properties":{"max_budget_cents":{"oneOf":[{"type":"integer","description":"The largest budget this agent may open, in minor units. Set from the dashboard only. Null means the agent chooses its own, which is the default for agents created before ceilings existed.","example":50000,"uniqueKey":"data.max_budget_cents.oneOf.0","typeLabel":"integer"},{"type":"null","description":"The largest budget this agent may open, in minor units. Set from the dashboard only. Null means the agent chooses its own, which is the default for agents created before ceilings existed.","example":50000,"uniqueKey":"data.max_budget_cents.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.max_budget_cents","typeLabel":"integer | null"},"id":{"type":"string","format":"uuid","uniqueKey":"data.id","typeLabel":"string\u003cuuid>"},"name":{"type":"string","uniqueKey":"data.name","typeLabel":"string"},"status":{"type":"string","enum":["active","suspended","revoked"],"uniqueKey":"data.status","typeLabel":"enum\u003cstring>"},"mode":{"type":"string","enum":["test","live"],"uniqueKey":"data.mode","typeLabel":"enum\u003cstring>"},"scopes":{"type":"array","items":{"type":"string","uniqueKey":"data.scopes.items.[INDEX]","typeLabel":"string"},"uniqueKey":"data.scopes","typeLabel":"string[]"},"api_key_prefix":{"type":"string","description":"The first 12 characters of the key, for identifying it in a list.","example":"krt_test_9f3","uniqueKey":"data.api_key_prefix","typeLabel":"string"},"last_used_at":{"oneOf":[{"type":"string","format":"date-time","uniqueKey":"data.last_used_at.oneOf.0","typeLabel":"string\u003cdate-time>"},{"type":"null","format":"date-time","uniqueKey":"data.last_used_at.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.last_used_at","typeLabel":"string\u003cdate-time> | null"},"created_at":{"type":"string","format":"date-time","uniqueKey":"data.created_at","typeLabel":"string\u003cdate-time>"},"updated_at":{"type":"string","format":"date-time","uniqueKey":"data.updated_at","typeLabel":"string\u003cdate-time>"},"api_key":{"type":"string","description":"Shown exactly once, at creation.","example":"krt_test_9f3a1c7e42b8d05a6e1f8c3d","uniqueKey":"data.api_key","typeLabel":"string"},"starter_policy":{"oneOf":[{"type":"object","description":"The policy created alongside the agent, or `null` when `skip_starter_policy` was set.","properties":{"mode":{"type":"string","enum":["blocklist","allowlist"],"default":"blocklist","description":"`blocklist` permits unless a rule denies. `allowlist` inverts it: denied unless an `allow` rule matches, reported as `not_allowlisted`. Each allowlist policy is an independent gate, so attaching two means both must be satisfied. A `deny` still overrides an `allow`.","uniqueKey":"data.starter_policy.oneOf.0.mode","typeLabel":"enum\u003cstring>"},"per_transaction_cap_cents":{"oneOf":[{"type":"integer","uniqueKey":"data.starter_policy.oneOf.0.per_transaction_cap_cents.oneOf.0","typeLabel":"integer"},{"type":"null","uniqueKey":"data.starter_policy.oneOf.0.per_transaction_cap_cents.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.starter_policy.oneOf.0.per_transaction_cap_cents","typeLabel":"integer | null"},"velocity_window_seconds":{"oneOf":[{"type":"integer","uniqueKey":"data.starter_policy.oneOf.0.velocity_window_seconds.oneOf.0","typeLabel":"integer"},{"type":"null","uniqueKey":"data.starter_policy.oneOf.0.velocity_window_seconds.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.starter_policy.oneOf.0.velocity_window_seconds","typeLabel":"integer | null"},"velocity_cap_cents":{"oneOf":[{"type":"integer","uniqueKey":"data.starter_policy.oneOf.0.velocity_cap_cents.oneOf.0","typeLabel":"integer"},{"type":"null","uniqueKey":"data.starter_policy.oneOf.0.velocity_cap_cents.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.starter_policy.oneOf.0.velocity_cap_cents","typeLabel":"integer | null"},"approval_threshold_cents":{"oneOf":[{"type":"integer","uniqueKey":"data.starter_policy.oneOf.0.approval_threshold_cents.oneOf.0","typeLabel":"integer"},{"type":"null","uniqueKey":"data.starter_policy.oneOf.0.approval_threshold_cents.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.starter_policy.oneOf.0.approval_threshold_cents","typeLabel":"integer | null"},"monthly_cap_cents":{"oneOf":[{"type":"integer","uniqueKey":"data.starter_policy.oneOf.0.monthly_cap_cents.oneOf.0","typeLabel":"integer"},{"type":"null","uniqueKey":"data.starter_policy.oneOf.0.monthly_cap_cents.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.starter_policy.oneOf.0.monthly_cap_cents","typeLabel":"integer | null"},"counterparty_allowlist":{"type":"array","items":{"type":"string","uniqueKey":"data.starter_policy.oneOf.0.counterparty_allowlist.items.[INDEX]","typeLabel":"string"},"uniqueKey":"data.starter_policy.oneOf.0.counterparty_allowlist","typeLabel":"string[]"},"imports":{"type":"array","items":{"type":"string","uniqueKey":"data.starter_policy.oneOf.0.imports.items.[INDEX]","typeLabel":"string"},"description":"Policy module names. Their rules compile in ahead of `rules`.","uniqueKey":"data.starter_policy.oneOf.0.imports","typeLabel":"string[]"},"rules":{"type":"array","items":{"type":"object","required":["kind"],"description":"One rule. Every kind accepts an optional `rule_name`, echoed back as `decision.rule`, and an optional stable `id` assigned on write if you do not supply one. Every kind except `action_allowlist` accepts `action_types` to scope the rule; an empty array means all action types.","properties":{"kind":{"type":"string","enum":["action_allowlist","resource_allowlist","cost_cap","spend_window","monthly_spend_cap","rate_limit","approval_threshold","condition"],"isRequired":true,"uniqueKey":"data.starter_policy.oneOf.0.rules.items.[INDEX].kind","typeLabel":"enum\u003cstring>"},"id":{"type":"string","format":"uuid","uniqueKey":"data.starter_policy.oneOf.0.rules.items.[INDEX].id","typeLabel":"string\u003cuuid>"},"rule_name":{"type":"string","description":"Defaults to the kind name.","uniqueKey":"data.starter_policy.oneOf.0.rules.items.[INDEX].rule_name","typeLabel":"string"},"action_types":{"type":"array","items":{"type":"string","uniqueKey":"data.starter_policy.oneOf.0.rules.items.[INDEX].action_types.items.[INDEX]","typeLabel":"string"},"uniqueKey":"data.starter_policy.oneOf.0.rules.items.[INDEX].action_types","typeLabel":"string[]"},"allow":{"type":"array","items":{"type":"string","uniqueKey":"data.starter_policy.oneOf.0.rules.items.[INDEX].allow.items.[INDEX]","typeLabel":"string"},"description":"For `action_allowlist` and `resource_allowlist`. An empty array is a no-op, not a deny-all.","uniqueKey":"data.starter_policy.oneOf.0.rules.items.[INDEX].allow","typeLabel":"string[]"},"max_cents":{"type":"integer","description":"For `cost_cap`, `spend_window`, `monthly_spend_cap`.","uniqueKey":"data.starter_policy.oneOf.0.rules.items.[INDEX].max_cents","typeLabel":"integer"},"window_seconds":{"type":"integer","minimum":1,"description":"For `spend_window` and `rate_limit`.","uniqueKey":"data.starter_policy.oneOf.0.rules.items.[INDEX].window_seconds","typeLabel":"integer"},"max_actions":{"type":"integer","minimum":1,"description":"For `rate_limit`. Counts every action, not just spend, which is what catches a loop that costs nothing per call.","uniqueKey":"data.starter_policy.oneOf.0.rules.items.[INDEX].max_actions","typeLabel":"integer"},"above_cents":{"type":"integer","description":"For `approval_threshold`. Holds rather than refuses.","uniqueKey":"data.starter_policy.oneOf.0.rules.items.[INDEX].above_cents","typeLabel":"integer"},"effect":{"type":"string","enum":["allow","deny","require_approval"],"default":"deny","description":"For `condition`.","uniqueKey":"data.starter_policy.oneOf.0.rules.items.[INDEX].effect","typeLabel":"enum\u003cstring>"},"when":{"type":"object","description":"A boolean expression over the action. Combinators are `all_of`, `any_of` and `not`,\nnestable to ten levels; an empty `all_of` or `any_of` is rejected at write time.\n\nA leaf is `{field, operator, value}`.\n\nFields are `action_type`, `resource`, `cost_cents`, `currency`, `agent_id`,\n`agent_mode`, `budget_id`, and any `metadata.*` dot path. A missing field never\nraises; it simply fails to match. Unknown fields and operators are rejected when the\npolicy is written, never when an agent is waiting.\n\nThe ordered comparisons (`gt`, `gte`, `lt`, `lte`) are numeric. A non-numeric\noperand makes the comparison `false` rather than an error.\n","properties":{"all_of":{"type":"array","minItems":1,"items":{"$circularRef":"054eb3c4-788b-450d-b58e-8791a4c78bbe"},"uniqueKey":"data.starter_policy.oneOf.0.rules.items.[INDEX].when.all_of","typeLabel":"array"},"any_of":{"type":"array","minItems":1,"items":{"$circularRef":"054eb3c4-788b-450d-b58e-8791a4c78bbe"},"uniqueKey":"data.starter_policy.oneOf.0.rules.items.[INDEX].when.any_of","typeLabel":"array"},"not":{"oneOf":[{"$circularRef":"054eb3c4-788b-450d-b58e-8791a4c78bbe"}],"uniqueKey":"data.starter_policy.oneOf.0.rules.items.[INDEX].when.not","typeLabel":"any"},"field":{"type":"string","example":"metadata.preapproved","uniqueKey":"data.starter_policy.oneOf.0.rules.items.[INDEX].when.field","typeLabel":"string"},"operator":{"type":"string","enum":["eq","ne","gt","gte","lt","lte","in","not_in","contains","starts_with","ends_with","exists"],"uniqueKey":"data.starter_policy.oneOf.0.rules.items.[INDEX].when.operator","typeLabel":"enum\u003cstring>"},"value":{"description":"Omitted or null for operators that do not need one.","uniqueKey":"data.starter_policy.oneOf.0.rules.items.[INDEX].when.value","typeLabel":"any"}},"uniqueKey":"data.starter_policy.oneOf.0.rules.items.[INDEX].when","typeLabel":"object"}},"uniqueKey":"data.starter_policy.oneOf.0.rules.items.[INDEX]","typeLabel":"object"},"uniqueKey":"data.starter_policy.oneOf.0.rules","typeLabel":"object[]"},"id":{"type":"string","format":"uuid","uniqueKey":"data.starter_policy.oneOf.0.id","typeLabel":"string\u003cuuid>"},"agent_id":{"type":"string","format":"uuid","uniqueKey":"data.starter_policy.oneOf.0.agent_id","typeLabel":"string\u003cuuid>"},"status":{"type":"string","enum":["active","disabled"],"uniqueKey":"data.starter_policy.oneOf.0.status","typeLabel":"enum\u003cstring>"},"created_at":{"type":"string","format":"date-time","uniqueKey":"data.starter_policy.oneOf.0.created_at","typeLabel":"string\u003cdate-time>"},"updated_at":{"type":"string","format":"date-time","uniqueKey":"data.starter_policy.oneOf.0.updated_at","typeLabel":"string\u003cdate-time>"}},"uniqueKey":"data.starter_policy.oneOf.0","typeLabel":"object"},{"type":"null","uniqueKey":"data.starter_policy.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.starter_policy","typeLabel":"object | null"}},"uniqueKey":"data","typeLabel":"object"}},"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"data":{"max_budget_cents":50000,"id":"3c90c3cc-0d44-4b50-8888-8dd25736052a","name":"\u003cstring>","status":"active","mode":"test","scopes":["\u003cstring>"],"api_key_prefix":"krt_test_9f3","last_used_at":"2023-11-07T05:31:56Z","created_at":"2023-11-07T05:31:56Z","updated_at":"2023-11-07T05:31:56Z","api_key":"krt_test_9f3a1c7e42b8d05a6e1f8c3d","starter_policy":{"mode":"blocklist","per_transaction_cap_cents":123,"velocity_window_seconds":123,"velocity_cap_cents":123,"approval_threshold_cents":123,"monthly_cap_cents":123,"counterparty_allowlist":["\u003cstring>"],"imports":["\u003cstring>"],"rules":[{"kind":"action_allowlist","id":"3c90c3cc-0d44-4b50-8888-8dd25736052a","rule_name":"\u003cstring>","action_types":["\u003cstring>"],"allow":["\u003cstring>"],"max_cents":123,"window_seconds":2,"max_actions":2,"above_cents":123,"effect":"deny","when":{"all_of":"\u003carray>","any_of":"\u003carray>","not":"\u003cunknown>","field":"metadata.preapproved","operator":"eq","value":"\u003cunknown>"}}],"id":"3c90c3cc-0d44-4b50-8888-8dd25736052a","agent_id":"3c90c3cc-0d44-4b50-8888-8dd25736052a","status":"active","created_at":"2023-11-07T05:31:56Z","updated_at":"2023-11-07T05:31:56Z"}}}}},"exampleType":"generated"}},"exampleType":"generated"},"d9ca0799-144a-4c9a-b92c-19955d2fc7d4":{"description":"Your membership does not carry the capability this call requires.","content":{"application/json":{"schema":{"type":"object","required":["error"],"properties":{"error":{"type":"object","required":["message"],"properties":{"message":{"type":"string","description":"For humans. Do not switch on it.","isRequired":true,"uniqueKey":"error.message","typeLabel":"string"},"code":{"oneOf":[{"type":"string","description":"Stable where present, `null` otherwise. Only a defined set of failures carry a code.","enum":["runtime_key_required","invalid_runtime_key","identity_token_required","invalid_identity_token","budget_ceiling","parent_budget_exhausted","already_consumed","idempotency_conflict","insufficient_role","idempotency_key_required","authorization_required","rate_limited","billing_unavailable","invalid_signature","identity_unavailable","identity_not_configured","mfa_required","email_verification_required"],"uniqueKey":"error.code.oneOf.0","typeLabel":"enum\u003cstring>"},{"type":"null","description":"Stable where present, `null` otherwise. Only a defined set of failures carry a code.","enum":["runtime_key_required","invalid_runtime_key","identity_token_required","invalid_identity_token","budget_ceiling","parent_budget_exhausted","already_consumed","idempotency_conflict","insufficient_role","idempotency_key_required","authorization_required","rate_limited","billing_unavailable","invalid_signature","identity_unavailable","identity_not_configured","mfa_required","email_verification_required"],"uniqueKey":"error.code.oneOf.1","typeLabel":"null"}],"uniqueKey":"error.code","typeLabel":"enum\u003cstring> | null"}},"isRequired":true,"uniqueKey":"error","typeLabel":"object"}},"uniqueKey":"","typeLabel":"object"},"example":{"error":{"message":"Insufficient role","code":"insufficient_role"}},"examples":{"Example":{"title":"Example","value":{"error":{"message":"Insufficient role","code":"insufficient_role"}}}},"exampleType":"examples"}},"exampleType":"examples"},"59d52f81-06c4-4848-b92a-24f354ee075a":{"description":"The workspace does not exist, or you are not a member of it. These are deliberately indistinguishable.","content":{"application/json":{"schema":{"type":"object","required":["error"],"properties":{"error":{"type":"object","required":["message"],"properties":{"message":{"type":"string","description":"For humans. Do not switch on it.","isRequired":true,"uniqueKey":"error.message","typeLabel":"string"},"code":{"oneOf":[{"type":"string","description":"Stable where present, `null` otherwise. Only a defined set of failures carry a code.","enum":["runtime_key_required","invalid_runtime_key","identity_token_required","invalid_identity_token","budget_ceiling","parent_budget_exhausted","already_consumed","idempotency_conflict","insufficient_role","idempotency_key_required","authorization_required","rate_limited","billing_unavailable","invalid_signature","identity_unavailable","identity_not_configured","mfa_required","email_verification_required"],"uniqueKey":"error.code.oneOf.0","typeLabel":"enum\u003cstring>"},{"type":"null","description":"Stable where present, `null` otherwise. Only a defined set of failures carry a code.","enum":["runtime_key_required","invalid_runtime_key","identity_token_required","invalid_identity_token","budget_ceiling","parent_budget_exhausted","already_consumed","idempotency_conflict","insufficient_role","idempotency_key_required","authorization_required","rate_limited","billing_unavailable","invalid_signature","identity_unavailable","identity_not_configured","mfa_required","email_verification_required"],"uniqueKey":"error.code.oneOf.1","typeLabel":"null"}],"uniqueKey":"error.code","typeLabel":"enum\u003cstring> | null"}},"isRequired":true,"uniqueKey":"error","typeLabel":"object"}},"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"error":{"message":"\u003cstring>","code":"runtime_key_required"}}}},"exampleType":"generated"}},"exampleType":"generated"},"d28d2500-9a27-4177-a5a0-92baa415d820":{"description":"Validation failed, or a plan limit was reached.","content":{"application/json":{"schema":{"type":"object","required":["error"],"properties":{"error":{"type":"object","required":["message"],"properties":{"message":{"type":"string","description":"For humans. Do not switch on it.","isRequired":true,"uniqueKey":"error.message","typeLabel":"string"},"code":{"oneOf":[{"type":"string","description":"Stable where present, `null` otherwise. Only a defined set of failures carry a code.","enum":["runtime_key_required","invalid_runtime_key","identity_token_required","invalid_identity_token","budget_ceiling","parent_budget_exhausted","already_consumed","idempotency_conflict","insufficient_role","idempotency_key_required","authorization_required","rate_limited","billing_unavailable","invalid_signature","identity_unavailable","identity_not_configured","mfa_required","email_verification_required"],"uniqueKey":"error.code.oneOf.0","typeLabel":"enum\u003cstring>"},{"type":"null","description":"Stable where present, `null` otherwise. Only a defined set of failures carry a code.","enum":["runtime_key_required","invalid_runtime_key","identity_token_required","invalid_identity_token","budget_ceiling","parent_budget_exhausted","already_consumed","idempotency_conflict","insufficient_role","idempotency_key_required","authorization_required","rate_limited","billing_unavailable","invalid_signature","identity_unavailable","identity_not_configured","mfa_required","email_verification_required"],"uniqueKey":"error.code.oneOf.1","typeLabel":"null"}],"uniqueKey":"error.code","typeLabel":"enum\u003cstring> | null"}},"isRequired":true,"uniqueKey":"error","typeLabel":"object"}},"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"error":{"message":"\u003cstring>","code":"runtime_key_required"}}}},"exampleType":"generated"}},"exampleType":"generated"}},"security":{"094805b6-9529-4b14-ad66-e6251a6b776b":{"IdentityToken":{"type":"http","scheme":"bearer","description":"An identity bearer token for a person or your backend. Capabilities are per member, per workspace. This credential can manage the workspace and can never authorize an action as an agent.","scopes":[]}}},"servers":{"2335c224-a42b-4210-bea3-8d884da33ec8":{"url":"https://api.kordio.io","description":"Production"}},"schemas":{"054eb3c4-788b-450d-b58e-8791a4c78bbe":{"type":"object","description":"A boolean expression over the action. Combinators are `all_of`, `any_of` and `not`,\nnestable to ten levels; an empty `all_of` or `any_of` is rejected at write time.\n\nA leaf is `{field, operator, value}`.\n\nFields are `action_type`, `resource`, `cost_cents`, `currency`, `agent_id`,\n`agent_mode`, `budget_id`, and any `metadata.*` dot path. A missing field never\nraises; it simply fails to match. Unknown fields and operators are rejected when the\npolicy is written, never when an agent is waiting.\n\nThe ordered comparisons (`gt`, `gte`, `lt`, `lte`) are numeric. A non-numeric\noperand makes the comparison `false` rather than an error.\n","properties":{"all_of":{"type":"array","minItems":1,"items":{"$circularRef":"054eb3c4-788b-450d-b58e-8791a4c78bbe"}},"any_of":{"type":"array","minItems":1,"items":{"$circularRef":"054eb3c4-788b-450d-b58e-8791a4c78bbe"}},"not":{"oneOf":[{}]},"field":{"type":"string","example":"metadata.preapproved"},"operator":{"type":"string","enum":["eq","ne","gt","gte","lt","lte","in","not_in","contains","starts_with","ends_with","exists"]},"value":{"description":"Omitted or null for operators that do not need one."}}}},"processedSecurityOptions":[{"schemes":[{"scheme":{"type":"http","scheme":"bearer","description":"An identity bearer token for a person or your backend. Capabilities are per member, per workspace. This credential can manage the workspace and can never authorize an action as an agent.","scopes":[]},"schema":{"title":"Bearer Auth","type":"string","isRequired":true,"description":"An identity bearer token for a person or your backend. Capabilities are per member, per workspace. This credential can manage the workspace and can never authorize an action as an agent.","format":"bearer","typeLabel":"string\u003cbearer>","deprecated":false},"schemeName":"IdentityToken","name":"Authorization"}],"title":"IdentityToken"}]},"originalFileLocation":"agents/api-reference/openapi.yaml"},"subdomain":"kardio","siteName":"Kordio","title":"Create an agent - Kordio","navMaps":{"firstHrefInVersion":{},"firstHrefInLanguage":{}},"lastModified":"2026-08-26T09:03:42.457Z","originalFileLocation":"api-reference/agents/create-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=\"system\"}var r=p==='system'?(matchMedia(\"(prefers-color-scheme: dark)\").matches?'dark':'light'):p;d.classList.remove(r==='dark'?'light':'dark');d.classList.add(r);d.setAttribute(\"data-theme-preference\",p)})();\u003c/script>\u003cmeta data-mint-head name=\"description\" content=\"Requires the manage_policy capability. The response carries api_key exactly once. Kordio stores only a digest and compares it in constant time; if you lose the key, rotate the agent. Unless skip_starter_policy is set, the agent is created with an active starter policy that caps a single action at 50000 cents and holds anything above 10000 cents for a person. It is returned as starter_policy, and it stays in force until you disable it. Creating an agent consumes plan headroom, and creating a live agent requires a plan with live mode. Either limit returns 422.\">\u003cmeta data-mint-head name=\"application-name\" content=\"Kordio\">\u003cmeta data-mint-head name=\"generator\" content=\"Mintlify\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/kardio/451K0cm6_tdI0Nxx/_generated/favicon/android-chrome-192x192.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"apple-touch-icon\" type=\"image/png\" sizes=\"180x180\" href=\"/mintlify-assets/_mintlify/favicons/kardio/451K0cm6_tdI0Nxx/_generated/favicon/apple-touch-icon.png\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/kardio/451K0cm6_tdI0Nxx/_generated/favicon/favicon-16x16.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/mintlify-assets/_mintlify/favicons/kardio/451K0cm6_tdI0Nxx/_generated/favicon/favicon-32x32.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"/mintlify-assets/_mintlify/favicons/kardio/451K0cm6_tdI0Nxx/_generated/favicon/favicon.ico\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/kardio/451K0cm6_tdI0Nxx/_generated/favicon-dark/android-chrome-192x192.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/kardio/451K0cm6_tdI0Nxx/_generated/favicon-dark/favicon-16x16.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/mintlify-assets/_mintlify/favicons/kardio/451K0cm6_tdI0Nxx/_generated/favicon-dark/favicon-32x32.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"/mintlify-assets/_mintlify/favicons/kardio/451K0cm6_tdI0Nxx/_generated/favicon-dark/favicon.ico\" media=\"(prefers-color-scheme: dark)\">\u003cmeta data-mint-head property=\"og:title\" content=\"Create an agent - Kordio\">\u003cmeta data-mint-head property=\"og:description\" content=\"Requires the manage_policy capability. The response carries api_key exactly once. Kordio stores only a digest and compares it in constant time; if you lose the key, rotate the agent. Unless skip_starter_policy is set, the agent is created with an active starter policy that caps a single action at 50000 cents and holds anything above 10000 cents for a person. It is returned as starter_policy, and it stays in force until you disable it. Creating an agent consumes plan headroom, and creating a live agent requires a plan with live mode. Either limit returns 422.\">\u003cmeta data-mint-head property=\"og:site_name\" content=\"Kordio Documentation\">\u003cmeta data-mint-head property=\"og:url\" content=\"https://docs.kordio.io/api-reference/agents/create-an-agent\">\u003cmeta data-mint-head property=\"og:type\" content=\"website\">\u003cmeta data-mint-head property=\"og:image\" content=\"https://docs.kordio.io/images/og.png\">\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=\"Create an agent - Kordio\">\u003cmeta data-mint-head name=\"twitter:description\" content=\"Requires the manage_policy capability. The response carries api_key exactly once. Kordio stores only a digest and compares it in constant time; if you lose the key, rotate the agent. Unless skip_starter_policy is set, the agent is created with an active starter policy that caps a single action at 50000 cents and holds anything above 10000 cents for a person. It is returned as starter_policy, and it stays in force until you disable it. Creating an agent consumes plan headroom, and creating a live agent requires a plan with live mode. Either limit returns 422.\">\u003cmeta data-mint-head name=\"twitter:image\" content=\"https://docs.kordio.io/images/og.png\">\u003cmeta data-mint-head name=\"twitter:image:width\" content=\"1200\">\u003cmeta data-mint-head name=\"twitter:image:height\" content=\"630\">\u003cmeta data-mint-head name=\"msapplication-config\" content=\"/mintlify-assets/_mintlify/favicons/kardio/451K0cm6_tdI0Nxx/_generated/favicon/browserconfig.xml\">\u003cmeta data-mint-head name=\"apple-mobile-web-app-title\" content=\"Kordio\">\u003cmeta data-mint-head name=\"msapplication-TileColor\" content=\"#0e7c74\">\u003clink data-mint-head rel=\"canonical\" href=\"https://docs.kordio.io/api-reference/agents/create-an-agent\">\u003clink data-mint-head rel=\"alternate\" type=\"application/xml\" href=\"/sitemap.xml\">\u003clink data-mint-head rel=\"alternate\" type=\"text/markdown\" href=\"/api-reference/agents/create-an-agent.md\">\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@graph\":[{\"@type\":\"Organization\",\"@id\":\"https://docs.kordio.io/#organization\",\"name\":\"Kordio\",\"url\":\"https://docs.kordio.io\",\"logo\":{\"@type\":\"ImageObject\",\"url\":\"https://mintcdn.com/kardio/Xb-mASmdxg1dBkgC/logo/light.svg?fit=max\u0026auto=format\u0026n=Xb-mASmdxg1dBkgC\u0026q=85\u0026s=39febaa3bec88ba38bc4601d46e58b9f\"}},{\"@type\":\"WebSite\",\"@id\":\"https://docs.kordio.io#website\",\"name\":\"Kordio\",\"url\":\"https://docs.kordio.io\",\"publisher\":{\"@id\":\"https://docs.kordio.io/#organization\"}},{\"@type\":\"WebPage\",\"@id\":\"https://docs.kordio.io/api-reference/agents/create-an-agent#webpage\",\"url\":\"https://docs.kordio.io/api-reference/agents/create-an-agent\",\"name\":\"Create an agent\",\"description\":\"Requires the manage_policy capability. The response carries api_key exactly once. Kordio stores only a digest and compares it in constant time; if you lose the key, rotate the agent. Unless skip_starter_policy is set, the agent is created with an active starter policy that caps a single action at 50000 cents and holds anything above 10000 cents for a person. It is returned as starter_policy, and it stays in force until you disable it. Creating an agent consumes plan headroom, and creating a live agent requires a plan with live mode. Either limit returns 422.\",\"dateModified\":\"2026-08-26T09:03:42.457Z\",\"isPartOf\":{\"@id\":\"https://docs.kordio.io#website\"},\"breadcrumb\":{\"@id\":\"https://docs.kordio.io/api-reference/agents/create-an-agent#breadcrumb\"}},{\"@type\":\"BreadcrumbList\",\"@id\":\"https://docs.kordio.io/api-reference/agents/create-an-agent#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Endpoints\",\"item\":\"https://docs.kordio.io/api-reference/actions/authorize-an-action\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Agents\",\"item\":\"https://docs.kordio.io/api-reference/agents/list-agents\"},{\"@type\":\"ListItem\",\"position\":3,\"name\":\"Create an agent\",\"item\":\"https://docs.kordio.io/api-reference/agents/create-an-agent\"}]},{\"@type\":[\"TechArticle\",\"APIReference\"],\"@id\":\"https://docs.kordio.io/api-reference/agents/create-an-agent#apireference\",\"headline\":\"Create an agent\",\"name\":\"Create an agent\",\"description\":\"Requires the manage_policy capability. The response carries api_key exactly once. Kordio stores only a digest and compares it in constant time; if you lose the key, rotate the agent. Unless skip_starter_policy is set, the agent is created with an active starter policy that caps a single action at 50000 cents and holds anything above 10000 cents for a person. It is returned as starter_policy, and it stays in force until you disable it. Creating an agent consumes plan headroom, and creating a live agent requires a plan with live mode. Either limit returns 422.\",\"url\":\"https://docs.kordio.io/api-reference/agents/create-an-agent\",\"mainEntityOfPage\":{\"@id\":\"https://docs.kordio.io/api-reference/agents/create-an-agent#webpage\"},\"image\":\"https://docs.kordio.io/images/og.png\",\"dateModified\":\"2026-08-26T09:03:42.457Z\",\"publisher\":{\"@id\":\"https://docs.kordio.io/#organization\"},\"isPartOf\":{\"@id\":\"https://docs.kordio.io#website\"}}]}\u003c/script>\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@type\":\"WebSite\",\"name\":\"Kordio\",\"creator\":{\"@type\":\"Organization\",\"name\":\"Mintlify\",\"url\":\"https://mintlify.com\"}}\u003c/script>","siteName":"Kordio","nav":{"global":null,"tabs":[{"tab":"Overview","icon":"compass","pages":[{"title":"Overview","href":""}]},{"tab":"Kordio Control","icon":"shield-check","pages":[{"group":"Get started","pages":[{"title":"Kordio Control","sidebarTitle":"Overview","icon":"shield-check","href":"/agents"},{"title":"Authorize an agent action","sidebarTitle":"Quickstart","icon":"rocket","tag":"5 min","href":"/agents/quickstart"},{"title":"Agent keys and dashboard tokens","sidebarTitle":"Authentication","icon":"key-square","href":"/agents/authentication"},{"title":"Where a control layer fits","sidebarTitle":"Why Kordio","icon":"circle-help","href":"/agents/why"}]},{"group":"Core concepts","pages":[{"title":"How a decision is reached","sidebarTitle":"How it works","icon":"shield","href":"/agents/concepts"},{"title":"Writing a policy","sidebarTitle":"Policies","icon":"scale","href":"/agents/policies"},{"title":"Spend tokens","sidebarTitle":"Spend tokens","icon":"ticket","href":"/agents/spend-tokens"},{"title":"Holding spend for a person","sidebarTitle":"Approvals","icon":"user-check","href":"/agents/approvals"},{"title":"Verifying an authorization","sidebarTitle":"Cosignatures","icon":"signature","href":"/agents/cosignatures"}]},{"group":"Guides","pages":[{"title":"Give an agent a budget for one run","sidebarTitle":"Budget per run","icon":"wallet","href":"/agents/guides/session-budget"},{"title":"Require a person above a threshold","sidebarTitle":"Require approval","icon":"users","href":"/agents/guides/approval-threshold"},{"title":"Stop an agent over-refunding","sidebarTitle":"Refund ceilings","icon":"undo-2","href":"/agents/guides/refund-ceiling"},{"title":"Pass facts from your own service","sidebarTitle":"Facts in metadata","icon":"braces","href":"/agents/guides/metadata-facts"},{"title":"Roll a policy out safely","sidebarTitle":"Safe rollout","icon":"flask-conical","href":"/agents/guides/policy-rollout"}]},{"group":"Guarantees","pages":[{"title":"What Kordio guarantees","sidebarTitle":"Guarantees","icon":"lock","href":"/agents/guarantees"},{"title":"Where the ledger fits","sidebarTitle":"Ledger projection","icon":"link","href":"/agents/ledger-projection"}]},{"group":"Reference","pages":[{"title":"Errors","sidebarTitle":"Errors","icon":"triangle-alert","href":"/agents/errors"},{"title":"Webhooks","sidebarTitle":"Webhooks","icon":"webhook","href":"/agents/webhooks"},{"title":"Kordio Control API","sidebarTitle":"API reference","icon":"terminal","href":"/agents/api-reference/introduction"}]},{"group":"Endpoints","pages":[{"group":"Actions","pages":[{"title":"Authorize an action","deprecated":null,"version":null,"openapi":"/agents/api-reference/openapi.yaml post /control/v1/agent/actions","href":"/api-reference/actions/authorize-an-action"},{"title":"Simulate an action","deprecated":null,"version":null,"openapi":"/agents/api-reference/openapi.yaml post /control/v1/agent/actions/simulate","href":"/api-reference/actions/simulate-an-action"},{"title":"Read an action intent","deprecated":null,"version":null,"openapi":"/agents/api-reference/openapi.yaml get /control/v1/agent/actions/{id}","href":"/api-reference/actions/read-an-action-intent"},{"title":"Report success","deprecated":null,"version":null,"openapi":"/agents/api-reference/openapi.yaml post /control/v1/agent/actions/{id}/complete","href":"/api-reference/actions/report-success"},{"title":"Report failure","deprecated":null,"version":null,"openapi":"/agents/api-reference/openapi.yaml post /control/v1/agent/actions/{id}/fail","href":"/api-reference/actions/report-failure"}]},{"group":"Budgets","pages":[{"title":"Open a budget","deprecated":null,"version":null,"openapi":"/agents/api-reference/openapi.yaml post /control/v1/agent/budgets","href":"/api-reference/budgets/open-a-budget"},{"title":"Read a budget","deprecated":null,"version":null,"openapi":"/agents/api-reference/openapi.yaml get /control/v1/agent/budgets/{id}","href":"/api-reference/budgets/read-a-budget"},{"title":"List budgets","deprecated":null,"version":null,"openapi":"/agents/api-reference/openapi.yaml get /control/v1/workspaces/{workspace_slug}/budgets","href":"/api-reference/budgets/list-budgets"},{"title":"Read a budget","deprecated":null,"version":null,"openapi":"/agents/api-reference/openapi.yaml get /control/v1/workspaces/{workspace_slug}/budgets/{id}","href":"/api-reference/budgets/read-a-budget-1"}]},{"group":"Spend tokens","pages":[{"title":"Mint a spend token","deprecated":null,"version":null,"openapi":"/agents/api-reference/openapi.yaml post /control/v1/agent/spend_tokens","href":"/api-reference/spend-tokens/mint-a-spend-token"},{"title":"List spend tokens","deprecated":null,"version":null,"openapi":"/agents/api-reference/openapi.yaml get /control/v1/workspaces/{workspace_slug}/spend_tokens","href":"/api-reference/spend-tokens/list-spend-tokens"},{"title":"Read a spend token","deprecated":null,"version":null,"openapi":"/agents/api-reference/openapi.yaml get /control/v1/workspaces/{workspace_slug}/spend_tokens/{id}","href":"/api-reference/spend-tokens/read-a-spend-token"}]},{"group":"Payment intents","pages":[{"title":"Authorize a payment","deprecated":null,"version":null,"openapi":"/agents/api-reference/openapi.yaml post /control/v1/agent/payment_intents","href":"/api-reference/payment-intents/authorize-a-payment"},{"title":"Simulate a payment","deprecated":null,"version":null,"openapi":"/agents/api-reference/openapi.yaml post /control/v1/agent/payment_intents/simulate","href":"/api-reference/payment-intents/simulate-a-payment"},{"title":"Read a payment intent","deprecated":null,"version":null,"openapi":"/agents/api-reference/openapi.yaml get /control/v1/agent/payment_intents/{id}","href":"/api-reference/payment-intents/read-a-payment-intent"},{"title":"Report that the money moved","deprecated":null,"version":null,"openapi":"/agents/api-reference/openapi.yaml post /control/v1/agent/payment_intents/{id}/complete","href":"/api-reference/payment-intents/report-that-the-money-moved"},{"title":"Report that it did not","deprecated":null,"version":null,"openapi":"/agents/api-reference/openapi.yaml post /control/v1/agent/payment_intents/{id}/fail","href":"/api-reference/payment-intents/report-that-it-did-not"}]},{"group":"Cosignatures","pages":[{"title":"Verify a cosignature and spend it","deprecated":null,"version":null,"openapi":"/agents/api-reference/openapi.yaml post /control/v1/cosign/consume","href":"/api-reference/cosignatures/verify-a-cosignature-and-spend-it"},{"title":"Verify a cosignature","deprecated":null,"version":null,"openapi":"/agents/api-reference/openapi.yaml post /control/v1/cosign/verify","href":"/api-reference/cosignatures/verify-a-cosignature"},{"title":"Cosignature public keys","deprecated":null,"version":null,"openapi":"/agents/api-reference/openapi.yaml get /.well-known/jwks.json","href":"/api-reference/cosignatures/cosignature-public-keys"}]},{"group":"Workspaces","pages":[{"title":"List your workspaces","deprecated":null,"version":null,"openapi":"/agents/api-reference/openapi.yaml get /control/v1/workspaces","href":"/api-reference/workspaces/list-your-workspaces"},{"title":"Create a workspace","deprecated":null,"version":null,"openapi":"/agents/api-reference/openapi.yaml post /control/v1/workspaces","href":"/api-reference/workspaces/create-a-workspace"},{"title":"Read a workspace","deprecated":null,"version":null,"openapi":"/agents/api-reference/openapi.yaml get /control/v1/workspaces/{workspace_slug}","href":"/api-reference/workspaces/read-a-workspace"},{"title":"Delete a workspace","deprecated":null,"version":null,"openapi":"/agents/api-reference/openapi.yaml delete /control/v1/workspaces/{workspace_slug}","href":"/api-reference/workspaces/delete-a-workspace"},{"title":"Export a workspace","deprecated":null,"version":null,"openapi":"/agents/api-reference/openapi.yaml get /control/v1/workspaces/{workspace_slug}/export","href":"/api-reference/workspaces/export-a-workspace"}]},{"group":"Agents","pages":[{"title":"List agents","description":null,"deprecated":null,"version":null,"openapi":"/agents/api-reference/openapi.yaml get /control/v1/workspaces/{workspace_slug}/agents","href":"/api-reference/agents/list-agents"},{"title":"Create an agent","deprecated":null,"version":null,"openapi":"/agents/api-reference/openapi.yaml post /control/v1/workspaces/{workspace_slug}/agents","href":"/api-reference/agents/create-an-agent"},{"title":"Read an agent","description":null,"deprecated":null,"version":null,"openapi":"/agents/api-reference/openapi.yaml get /control/v1/workspaces/{workspace_slug}/agents/{id}","href":"/api-reference/agents/read-an-agent"},{"title":"Update an agent","deprecated":null,"version":null,"openapi":"/agents/api-reference/openapi.yaml patch /control/v1/workspaces/{workspace_slug}/agents/{id}","href":"/api-reference/agents/update-an-agent"}]},{"group":"Policies","pages":[{"title":"List policies","deprecated":null,"version":null,"openapi":"/agents/api-reference/openapi.yaml get /control/v1/workspaces/{workspace_slug}/policies","href":"/api-reference/policies/list-policies"},{"title":"Create a policy","deprecated":null,"version":null,"openapi":"/agents/api-reference/openapi.yaml post /control/v1/workspaces/{workspace_slug}/policies","href":"/api-reference/policies/create-a-policy"},{"title":"Read a policy","deprecated":null,"version":null,"openapi":"/agents/api-reference/openapi.yaml get /control/v1/workspaces/{workspace_slug}/policies/{id}","href":"/api-reference/policies/read-a-policy"},{"title":"Update a policy","deprecated":null,"version":null,"openapi":"/agents/api-reference/openapi.yaml patch /control/v1/workspaces/{workspace_slug}/policies/{id}","href":"/api-reference/policies/update-a-policy"}]},{"group":"Policy modules","pages":[{"title":"List policy modules","deprecated":null,"version":null,"openapi":"/agents/api-reference/openapi.yaml get /control/v1/workspaces/{workspace_slug}/policy_modules","href":"/api-reference/policy-modules/list-policy-modules"},{"title":"Create a policy module","deprecated":null,"version":null,"openapi":"/agents/api-reference/openapi.yaml post /control/v1/workspaces/{workspace_slug}/policy_modules","href":"/api-reference/policy-modules/create-a-policy-module"},{"title":"Read a policy module","deprecated":null,"version":null,"openapi":"/agents/api-reference/openapi.yaml get /control/v1/workspaces/{workspace_slug}/policy_modules/{name}","href":"/api-reference/policy-modules/read-a-policy-module"},{"title":"Delete a policy module","deprecated":null,"version":null,"openapi":"/agents/api-reference/openapi.yaml delete /control/v1/workspaces/{workspace_slug}/policy_modules/{name}","href":"/api-reference/policy-modules/delete-a-policy-module"},{"title":"Update a policy module","deprecated":null,"version":null,"openapi":"/agents/api-reference/openapi.yaml patch /control/v1/workspaces/{workspace_slug}/policy_modules/{name}","href":"/api-reference/policy-modules/update-a-policy-module"}]},{"group":"Policy previews","pages":[{"title":"Preview a draft policy","deprecated":null,"version":null,"openapi":"/agents/api-reference/openapi.yaml post /control/v1/workspaces/{workspace_slug}/policy_previews","href":"/api-reference/policy-previews/preview-a-draft-policy"}]},{"group":"Funds","pages":[{"title":"Read workspace funds","deprecated":null,"version":null,"openapi":"/agents/api-reference/openapi.yaml get /control/v1/workspaces/{workspace_slug}/funds","href":"/api-reference/funds/read-workspace-funds"}]},{"group":"Approvals","pages":[{"title":"List action intents","deprecated":null,"version":null,"openapi":"/agents/api-reference/openapi.yaml get /control/v1/workspaces/{workspace_slug}/action_intents","href":"/api-reference/approvals/list-action-intents"},{"title":"Read an action intent","deprecated":null,"version":null,"openapi":"/agents/api-reference/openapi.yaml get /control/v1/workspaces/{workspace_slug}/action_intents/{id}","href":"/api-reference/approvals/read-an-action-intent"},{"title":"What approving this would do","deprecated":null,"version":null,"openapi":"/agents/api-reference/openapi.yaml get /control/v1/workspaces/{workspace_slug}/action_intents/{id}/impact","href":"/api-reference/approvals/what-approving-this-would-do"},{"title":"Approve a held action","deprecated":null,"version":null,"openapi":"/agents/api-reference/openapi.yaml post /control/v1/workspaces/{workspace_slug}/action_intents/{id}/approve","href":"/api-reference/approvals/approve-a-held-action"},{"title":"Deny a held action","deprecated":null,"version":null,"openapi":"/agents/api-reference/openapi.yaml post /control/v1/workspaces/{workspace_slug}/action_intents/{id}/deny","href":"/api-reference/approvals/deny-a-held-action"},{"title":"List payment intents","deprecated":null,"version":null,"openapi":"/agents/api-reference/openapi.yaml get /control/v1/workspaces/{workspace_slug}/payment_intents","href":"/api-reference/approvals/list-payment-intents"},{"title":"Read a payment intent","deprecated":null,"version":null,"openapi":"/agents/api-reference/openapi.yaml get /control/v1/workspaces/{workspace_slug}/payment_intents/{id}","href":"/api-reference/approvals/read-a-payment-intent"},{"title":"What approving this payment would do","deprecated":null,"version":null,"openapi":"/agents/api-reference/openapi.yaml get /control/v1/workspaces/{workspace_slug}/payment_intents/{id}/impact","href":"/api-reference/approvals/what-approving-this-payment-would-do"},{"title":"Approve a held payment","deprecated":null,"version":null,"openapi":"/agents/api-reference/openapi.yaml post /control/v1/workspaces/{workspace_slug}/payment_intents/{id}/approve","href":"/api-reference/approvals/approve-a-held-payment"},{"title":"Deny a held payment","deprecated":null,"version":null,"openapi":"/agents/api-reference/openapi.yaml post /control/v1/workspaces/{workspace_slug}/payment_intents/{id}/deny","href":"/api-reference/approvals/deny-a-held-payment"}]},{"group":"Audit events","pages":[{"title":"List audit events","deprecated":null,"version":null,"openapi":"/agents/api-reference/openapi.yaml get /control/v1/workspaces/{workspace_slug}/audit_events","href":"/api-reference/audit-events/list-audit-events"},{"title":"Read an audit event","deprecated":null,"version":null,"openapi":"/agents/api-reference/openapi.yaml get /control/v1/workspaces/{workspace_slug}/audit_events/{id}","href":"/api-reference/audit-events/read-an-audit-event"}]},{"group":"Webhook endpoints","pages":[{"title":"List webhook endpoints","deprecated":null,"version":null,"openapi":"/agents/api-reference/openapi.yaml get /control/v1/workspaces/{workspace_slug}/webhook_endpoints","href":"/api-reference/webhook-endpoints/list-webhook-endpoints"},{"title":"Create a webhook endpoint","deprecated":null,"version":null,"openapi":"/agents/api-reference/openapi.yaml post /control/v1/workspaces/{workspace_slug}/webhook_endpoints","href":"/api-reference/webhook-endpoints/create-a-webhook-endpoint"},{"title":"Read a webhook endpoint","deprecated":null,"version":null,"openapi":"/agents/api-reference/openapi.yaml get /control/v1/workspaces/{workspace_slug}/webhook_endpoints/{id}","href":"/api-reference/webhook-endpoints/read-a-webhook-endpoint"},{"title":"Delete a webhook endpoint","deprecated":null,"version":null,"openapi":"/agents/api-reference/openapi.yaml delete /control/v1/workspaces/{workspace_slug}/webhook_endpoints/{id}","href":"/api-reference/webhook-endpoints/delete-a-webhook-endpoint"},{"title":"Rotate a signing secret","deprecated":null,"version":null,"openapi":"/agents/api-reference/openapi.yaml post /control/v1/workspaces/{workspace_slug}/webhook_endpoints/{id}/rotate","href":"/api-reference/webhook-endpoints/rotate-a-signing-secret"}]},{"group":"Members","pages":[{"title":"List members","deprecated":null,"version":null,"openapi":"/agents/api-reference/openapi.yaml get /control/v1/workspaces/{workspace_slug}/memberships","href":"/api-reference/members/list-members"},{"title":"Add a member","deprecated":null,"version":null,"openapi":"/agents/api-reference/openapi.yaml post /control/v1/workspaces/{workspace_slug}/memberships","href":"/api-reference/members/add-a-member"},{"title":"Remove a member","deprecated":null,"version":null,"openapi":"/agents/api-reference/openapi.yaml delete /control/v1/workspaces/{workspace_slug}/memberships/{id}","href":"/api-reference/members/remove-a-member"},{"title":"Change a member's role","deprecated":null,"version":null,"openapi":"/agents/api-reference/openapi.yaml patch /control/v1/workspaces/{workspace_slug}/memberships/{id}","href":"/api-reference/members/change-a-members-role"},{"title":"List open invitations","deprecated":null,"version":null,"openapi":"/agents/api-reference/openapi.yaml get /control/v1/workspaces/{workspace_slug}/invitations","href":"/api-reference/members/list-open-invitations"},{"title":"Invite someone","deprecated":null,"version":null,"openapi":"/agents/api-reference/openapi.yaml post /control/v1/workspaces/{workspace_slug}/invitations","href":"/api-reference/members/invite-someone"},{"title":"Revoke an invitation","deprecated":null,"version":null,"openapi":"/agents/api-reference/openapi.yaml delete /control/v1/workspaces/{workspace_slug}/invitations/{id}","href":"/api-reference/members/revoke-an-invitation"},{"title":"Look up an invitation","deprecated":null,"version":null,"openapi":"/agents/api-reference/openapi.yaml get /control/v1/invitations/lookup","href":"/api-reference/members/look-up-an-invitation"},{"title":"Accept an invitation","deprecated":null,"version":null,"openapi":"/agents/api-reference/openapi.yaml post /control/v1/invitations/accept","href":"/api-reference/members/accept-an-invitation"}]},{"group":"Billing","pages":[{"title":"Read plan and entitlements","deprecated":null,"version":null,"openapi":"/agents/api-reference/openapi.yaml get /control/v1/workspaces/{workspace_slug}/billing","href":"/api-reference/billing/read-plan-and-entitlements"},{"title":"Start a plan checkout","deprecated":null,"version":null,"openapi":"/agents/api-reference/openapi.yaml post /control/v1/workspaces/{workspace_slug}/billing/checkout","href":"/api-reference/billing/start-a-plan-checkout"},{"title":"Buy prepaid volume","deprecated":null,"version":null,"openapi":"/agents/api-reference/openapi.yaml post /control/v1/workspaces/{workspace_slug}/billing/packs","href":"/api-reference/billing/buy-prepaid-volume"},{"title":"Open the billing portal","deprecated":null,"version":null,"openapi":"/agents/api-reference/openapi.yaml post /control/v1/workspaces/{workspace_slug}/billing/portal","href":"/api-reference/billing/open-the-billing-portal"},{"title":"Cancel the subscription","deprecated":null,"version":null,"openapi":"/agents/api-reference/openapi.yaml post /control/v1/workspaces/{workspace_slug}/billing/cancel","href":"/api-reference/billing/cancel-the-subscription"},{"title":"Re-sync billing state","deprecated":null,"version":null,"openapi":"/agents/api-reference/openapi.yaml post /control/v1/workspaces/{workspace_slug}/billing/refresh","href":"/api-reference/billing/re-sync-billing-state"}]}]}]},{"tab":"Kordio Ledger","icon":"book-open","pages":[{"title":"Kordio Ledger","href":"/ledger"}]}]},"basePath":"","title":"Create an agent - Kordio","buildId":"dpl_42LwxxU1kGN114H4XzwGYXa9ZDah","deploymentId":"dpl_42LwxxU1kGN114H4XzwGYXa9ZDah","dynamics":["c2aa737661","2b790eda92","b0f84f53ff","a9bb46feb3"],"chunks":["OpenApiReferenceProvider-C-hEh3I2.js","utils-CnF4QiUD.js","cloneDeep-izs3Hzxb.js","_Uint8Array-BVIqJ90l.js","isObjectLike-C8vmzPEN.js","isArray-Dcu1dQ5t.js","utils-C7PVNbel.js","toString-BX-iyh8G.js","isSymbol-CSH9U2Gm.js","addUniqueKeysToSchema-8ytevL2A.js","snippetPresets-BT1alx3v.js","style-to-object-BY3JEAdk.js","v4-DIgz8zy6.js","conditional-requirements-CFM0id0Q.js","ApiExamples-BLXC0i_W.js","isEqual-BfaiBbcl.js","usePlaygroundInputsStore-CyLIGI9_.js","shallow-DC0lGVIW.js","getApiPlaygroundDisplay-CgDQ85tN.js","CodeSnippet-6-I-Gpv9.js","CodeSnippets-BAk1kDdu.js","Page-C945cI-W.js","getPastedJson-B276RuWN.js","icon-BqP8etTm.js","MethodPill-DM6sbxG1.js","DuplicateIcon-PyJglOaE.js","createIcon-CMeOMAc_.js","DynamicMarkdown-BoyYAA8K.js","SectionHeading-DAYv3gvZ.js","axios-vUo_bRtp.js","Markdown-BhTTmazV.js","clsx-CR-RHrVC.js","lib-DuNMoZ05.js","lib-B8HbPgcC.js","html-void-elements-mCSPHezU.js","dist-CBUH0-zX.js","katex-YMM-FMeD.js","marked.esm-CZWythHk.js","AssistantPageLink-BmARFYNC.js"]}