Does one thing for the user: sends what they wrote to Ask Circuit, starts, tops up or stops an agent, or approves or declines a proposal. Returns the message or proposal it created or changed. Starts, top-ups, stops and approvals take effect immediately, so send them only after the user confirms in your app. Send an Idempotency-Key and resend with the same key if the network fails; Circuit then acts once. Approving or declining again returns the proposal unchanged, and the opposite decision on a decided proposal returns 409.
POST
/
partner
/
v0.1
Act for the user
curl --request POST \
--url https://api.circuit.org/partner/v0.1 \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"say": {
"text": "Long $50 of ETH on Lighter at 3x",
"chat": null
}
}
'
import requests
url = "https://api.circuit.org/partner/v0.1"
payload = { "say": {
"text": "Long $50 of ETH on Lighter at 3x",
"chat": None
} }
headers = {
"Authorization": "Bearer <token>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)
const options = {
method: 'POST',
headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'},
body: JSON.stringify({say: {text: 'Long $50 of ETH on Lighter at 3x', chat: null}})
};
fetch('https://api.circuit.org/partner/v0.1', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));
A UUID your app generates for this act. Send the same value when you retry, and Circuit acts once and returns the first result. Reusing a key with different contents returns 409. Without a key, a retried act can happen twice.
Body
application/json
Option 1
Option 2
Option 3
Option 4
Option 5
Option 6
One thing to do for the user. Starts, top-ups, stops and approvals take effect immediately, so send them only after the user confirms in your app.
{"docsConfig":{"theme":"mint","$schema":"https://mintlify.com/docs.json","name":"Circuit","colors":{"primary":"#6366F1","light":"#818CF8","dark":"#4F46E5"},"logo":{"light":"https://mintcdn.com/selvlabs/8ou4mGHUR7le0P64/images/logo-full-light.svg?fit=max\u0026auto=format\u0026n=8ou4mGHUR7le0P64\u0026q=85\u0026s=2c1db84c637da4973b7f09e617d72421","dark":"https://mintcdn.com/selvlabs/8ou4mGHUR7le0P64/images/logo-full.svg?fit=max\u0026auto=format\u0026n=8ou4mGHUR7le0P64\u0026q=85\u0026s=abff83e9e17fc30cf3885c82a5b28e09"},"favicon":"https://mintcdn.com/selvlabs/8ou4mGHUR7le0P64/images/logo.svg?fit=max\u0026auto=format\u0026n=8ou4mGHUR7le0P64\u0026q=85\u0026s=8be38c888893f7488644fd21ce3c0cc9","api":{"playground":{"proxy":false},"examples":{"prefill":true}},"navbar":{"links":[{"href":"https://circuit.org/articles","label":"Guides"},{"href":"https://circuit.org/strategies","label":"Strategies"}],"primary":{"type":"button","label":"Get Started","href":"https://app.circuit.org"}},"footer":{"socials":{"website":"https://circuit.org","x":"https://x.com/CircuitAI","telegram":"https://t.me/circuitorg"}},"styling":{"codeblocks":{"theme":{"light":"nord","dark":"nord"}},"latex":true},"navigation":{"pages":[]}},"deployment":{"deploymentMetadataValue":{"subdomain":"selvlabs","hasAudioNarration":false,"actualSubdomain":"selvlabs","customDomains":["docs.circuit.org"],"gitSource":{"type":"github","owner":"circuitorg","repo":"monorepo","deployBranch":"production","contentDirectory":"docs/public","isPrivate":true,"mountPath":"","label":""},"entitlements":{"AI_CHAT":{"status":"ENABLED"},"WEB_MCP":{"status":"ENABLED"},"NARRATION":{"status":"ENABLED"}},"buildId":"6af54df154881783984a9cf0","clientVersion":"0.0.4111","searchFilterCounts":[{"language":"default","tag":"Agent Developers","count":32},{"language":"default","tag":"SDK Reference","count":21},{"language":"default","tag":"User Guide","count":21},{"language":"default","tag":"Apps","count":16},{"language":"default","tag":"API Reference","count":10},{"language":"default","tag":"CLI Reference","count":6},{"language":"default","tag":"Getting Started","count":5},{"language":"default","tag":"Using Circuit","count":3},{"language":"default","tag":"Overview","count":1},{"language":"default","tag":"Help","count":1}]},"assistantConfig":{"enableAskAiButton":false,"enableStarterQuestions":false,"enableAskAiSearchBar":true},"basePath":"","hasChatPermissions":true,"hasWebMcpPermissions":true,"toggles":[{"name":"kill-isr","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"custom-rbac-roles","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-mintlify-slack","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-integrations-settings","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"rbac-expansion","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-pr-grouping","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"custom-prefix","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"analytics-v7","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"user-flows-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"no-publish-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-onboarding","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"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}],"googleFontsInlined":false},"customCss":[{"filePath":"style.css","content":"[data-component-part=\"field-required-pill\"]{display:none}"}],"page":{"pagePath":"api-reference/act-for-the-user","slug":"/api-reference/act-for-the-user","pageMetadata":{"title":"Act for the user","description":"Does one thing for the user: sends what they wrote to Ask Circuit, starts, tops up or stops an agent, or approves or declines a proposal. Returns the message or proposal it created or changed. Starts, top-ups, stops and approvals take effect immediately, so send them only after the user confirms in your app. Send an `Idempotency-Key` and resend with the same key if the network fails; Circuit then acts once. Approving or declining again returns the proposal unchanged, and the opposite decision on a decided proposal returns 409.","deprecated":null,"version":null,"openapi":"/partner-openapi.gen.json post /partner/v0.1","href":"/api-reference/act-for-the-user","autogeneratedByOpenApi":true},"description":{"compiledSource":"\"use strict\";\nconst {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(_components.p, {\n children: [\"Does one thing for the user: sends what they wrote to Ask Circuit, starts, tops up or stops an agent, or approves or declines a proposal. Returns the message or proposal it created or changed. Starts, top-ups, stops and approvals take effect immediately, so send them only after the user confirms in your app. Send an \", _jsx(_components.code, {\n children: \"Idempotency-Key\"\n }), \" and resend with the same key if the network fails; Circuit then acts once. Approving or declining again returns the proposal unchanged, and the opposite decision on a decided proposal returns 409.\"]\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":{"theme":{"light":"nord","dark":"nord"}},"config":{},"pageMetadata":{"title":"Act for the user","description":"Does one thing for the user: sends what they wrote to Ask Circuit, starts, tops up or stops an agent, or approves or declines a proposal. Returns the message or proposal it created or changed. Starts, top-ups, stops and approvals take effect immediately, so send them only after the user confirms in your app. Send an `Idempotency-Key` and resend with the same key if the network fails; Circuit then acts once. Approving or declining again returns the proposal unchanged, and the opposite decision on a decided proposal returns 409.","deprecated":null,"version":null,"openapi":"/partner-openapi.gen.json post /partner/v0.1","href":"/api-reference/act-for-the-user","autogeneratedByOpenApi":true}}},"mdxSourceWithNoJs":null},"mdxExtracts":{"tableOfContents":[],"codeExamples":{}},"jsLinks":[],"openApiReferenceData":{"operation":{"operationId":"act","summary":"Act for the user","description":"Does one thing for the user: sends what they wrote to Ask Circuit, starts, tops up or stops an agent, or approves or declines a proposal. Returns the message or proposal it created or changed. Starts, top-ups, stops and approvals take effect immediately, so send them only after the user confirms in your app. Send an `Idempotency-Key` and resend with the same key if the network fails; Circuit then acts once. Approving or declining again returns the proposal unchanged, and the opposite decision on a decided proposal returns 409.","parameters":["f87d1096-a633-42aa-9290-0526b7e412ec"],"requestBody":"69af97c7-9a54-455f-a773-978a32dd1023","responses":{"200":"ff041e2b-5cac-46ed-9831-a89793eec4e1","default":"b7d0ce09-ed62-4bfa-a7c8-b7944bfceadb"},"security":["8f55e8b2-e773-4e4b-b4ef-999edb43500a"],"method":"post","type":"path","servers":["6ca4e187-e426-4a5d-bc45-9e4e65f2a302"],"path":"/partner/v0.1","baseUrlOptions":["https://api.circuit.org"],"title":"Act for the user","codeSamples":[],"requiredOnlyExamples":false,"requestExampleType":"generated","responseExampleType":"generated","prefillPlaygroundWithExample":true,"prefillPlaygroundExamples":[{"body.oneOf.0.say.text":"Long $50 of ETH on Lighter at 3x"}],"disableProxy":true},"dependencies":{"parameters":{"f87d1096-a633-42aa-9290-0526b7e412ec":{"name":"idempotency-key","in":"header","required":false,"schema":{"description":"A UUID your app generates for this act. Send the same value when you retry, and Circuit acts once and returns the first result. Reusing a key with different contents returns 409. Without a key, a retried act can happen twice.","type":"string","format":"uuid","isRequired":false,"uniqueKey":"","typeLabel":"string\u003cuuid>"}}},"requestBody":{"required":true,"content":{"application/json":{"schema":{"oneOf":[{"type":"object","description":"One thing to do for the user. Starts, top-ups, stops and approvals take effect immediately, so send them only after the user confirms in your app.","required":["say"],"properties":{"say":{"type":"object","properties":{"text":{"description":"What the user wrote.","type":"string","examples":["Long $50 of ETH on Lighter at 3x"],"isRequired":true,"uniqueKey":"oneOf.0.say.text","typeLabel":"string"},"chat":{"oneOf":[{"description":"The chat to continue, starting with `chat_`. Null starts a new chat.","type":"string","examples":[null],"uniqueKey":"oneOf.0.say.chat.oneOf.0","typeLabel":"string"},{"description":"The chat to continue, starting with `chat_`. Null starts a new chat.","type":"null","examples":[null],"uniqueKey":"oneOf.0.say.chat.oneOf.1","typeLabel":"null"}],"uniqueKey":"oneOf.0.say.chat","typeLabel":"string | null"}},"required":["text"],"additionalProperties":false,"isRequired":true,"uniqueKey":"oneOf.0.say","typeLabel":"object"}},"additionalProperties":false,"uniqueKey":"oneOf.0","typeLabel":"object"},{"type":"object","description":"One thing to do for the user. Starts, top-ups, stops and approvals take effect immediately, so send them only after the user confirms in your app.","required":["start"],"properties":{"start":{"type":"object","properties":{"agent":{"description":"The agent to start, from `agents` in the link.","type":"string","examples":["agt_0b3c9e2a-6d1f-4f7a-9c2e-5b8a1d4e7f60"],"isRequired":true,"uniqueKey":"oneOf.1.start.agent","typeLabel":"string"},"amount":{"type":"string","maxLength":80,"pattern":"^(?:0|[1-9]\\d*)(?:\\.\\d+)?$","description":"How much of the agent's `start` asset to give it, as a decimal string.","examples":["100"],"isRequired":true,"uniqueKey":"oneOf.1.start.amount","typeLabel":"string"},"wallet":{"oneOf":[{"description":"The wallet it should trade, from `wallets` in the link. Null runs it on paper money.","type":"string","examples":[null],"uniqueKey":"oneOf.1.start.wallet.oneOf.0","typeLabel":"string"},{"description":"The wallet it should trade, from `wallets` in the link. Null runs it on paper money.","type":"null","examples":[null],"uniqueKey":"oneOf.1.start.wallet.oneOf.1","typeLabel":"null"}],"uniqueKey":"oneOf.1.start.wallet","typeLabel":"string | null"}},"required":["agent","amount"],"additionalProperties":false,"isRequired":true,"uniqueKey":"oneOf.1.start","typeLabel":"object"}},"additionalProperties":false,"uniqueKey":"oneOf.1","typeLabel":"object"},{"type":"object","description":"One thing to do for the user. Starts, top-ups, stops and approvals take effect immediately, so send them only after the user confirms in your app.","required":["top_up"],"properties":{"top_up":{"type":"object","properties":{"session":{"description":"The session, starting with `ses_`.","type":"string","examples":["ses_48213"],"isRequired":true,"uniqueKey":"oneOf.2.top_up.session","typeLabel":"string"},"amount":{"type":"string","maxLength":80,"pattern":"^(?:[1-9]\\d*(?:\\.\\d+)?|0\\.\\d*[1-9]\\d*)$","description":"How much of the agent's `start` asset to add, as a decimal string.","examples":["50"],"isRequired":true,"uniqueKey":"oneOf.2.top_up.amount","typeLabel":"string"}},"required":["session","amount"],"additionalProperties":false,"isRequired":true,"uniqueKey":"oneOf.2.top_up","typeLabel":"object"}},"additionalProperties":false,"uniqueKey":"oneOf.2","typeLabel":"object"},{"type":"object","description":"One thing to do for the user. Starts, top-ups, stops and approvals take effect immediately, so send them only after the user confirms in your app.","required":["stop"],"properties":{"stop":{"type":"object","properties":{"session":{"description":"The session, starting with `ses_`.","type":"string","examples":["ses_48213"],"isRequired":true,"uniqueKey":"oneOf.3.stop.session","typeLabel":"string"}},"required":["session"],"additionalProperties":false,"isRequired":true,"uniqueKey":"oneOf.3.stop","typeLabel":"object"}},"additionalProperties":false,"uniqueKey":"oneOf.3","typeLabel":"object"},{"type":"object","description":"One thing to do for the user. Starts, top-ups, stops and approvals take effect immediately, so send them only after the user confirms in your app.","required":["approve"],"properties":{"approve":{"type":"object","properties":{"proposal":{"description":"The proposal, starting with `prop_`.","type":"string","examples":["prop_cd968859-fe26-4c0a-953e-34a3ab68171b"],"isRequired":true,"uniqueKey":"oneOf.4.approve.proposal","typeLabel":"string"}},"required":["proposal"],"additionalProperties":false,"isRequired":true,"uniqueKey":"oneOf.4.approve","typeLabel":"object"}},"additionalProperties":false,"uniqueKey":"oneOf.4","typeLabel":"object"},{"type":"object","description":"One thing to do for the user. Starts, top-ups, stops and approvals take effect immediately, so send them only after the user confirms in your app.","required":["decline"],"properties":{"decline":{"type":"object","properties":{"proposal":{"description":"The proposal, starting with `prop_`.","type":"string","examples":["prop_cd968859-fe26-4c0a-953e-34a3ab68171b"],"isRequired":true,"uniqueKey":"oneOf.5.decline.proposal","typeLabel":"string"}},"required":["proposal"],"additionalProperties":false,"isRequired":true,"uniqueKey":"oneOf.5.decline","typeLabel":"object"}},"additionalProperties":false,"uniqueKey":"oneOf.5","typeLabel":"object"}],"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"say":{"text":"Long $50 of ETH on Lighter at 3x","chat":null}}}},"exampleType":"generated"}},"exampleType":"generated"},"responses":{"ff041e2b-5cac-46ed-9831-a89793eec4e1":{"description":"OK","content":{"application/json":{"schema":{"oneOf":[{"type":"object","description":"What an act created or changed: a message to Ask, or a proposal.","required":["kind"],"properties":{"kind":{"type":"string","const":"message","isRequired":true,"uniqueKey":"oneOf.0.kind","typeLabel":"string"}},"uniqueKey":"oneOf.0","typeLabel":"object"},{"type":"object","description":"What an act created or changed: a message to Ask, or a proposal.","required":["kind"],"properties":{"kind":{"type":"string","const":"proposal","isRequired":true,"uniqueKey":"oneOf.1.kind","typeLabel":"string"}},"uniqueKey":"oneOf.1","typeLabel":"object"}],"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"kind":"message"}}},"exampleType":"generated"}},"exampleType":"generated"},"b7d0ce09-ed62-4bfa-a7c8-b7944bfceadb":{"description":"Failed","content":{"application/json":{"schema":{"description":"A failed call. Handle it by HTTP status and `code`, and show `error` to the user.","type":"object","properties":{"error":{"description":"A message you can show the user.","type":"string","isRequired":true,"uniqueKey":"error","typeLabel":"string"},"code":{"description":"A stable code such as `BAD_REQUEST`, `INSUFFICIENT_BALANCE`, `NOT_FOUND`, `CONFLICT` or `UNAUTHORIZED`. New codes can appear.","type":"string","isRequired":true,"uniqueKey":"code","typeLabel":"string"}},"required":["error","code"],"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"error":"\u003cstring>","code":"\u003cstring>"}}},"exampleType":"generated"}},"exampleType":"generated"}},"security":{"8f55e8b2-e773-4e4b-b4ef-999edb43500a":{"permit":{"type":"http","scheme":"bearer","description":"The permit the user approved for your app.","scopes":[],"schemeName":"permit"}}},"servers":{"6ca4e187-e426-4a5d-bc45-9e4e65f2a302":{"url":"https://api.circuit.org"}},"processedSecurityOptions":[{"schemes":[{"scheme":{"type":"http","scheme":"bearer","description":"The permit the user approved for your app.","scopes":[],"schemeName":"permit"},"schema":{"title":"Bearer Auth","type":"string","isRequired":true,"description":"The permit the user approved for your app.","format":"bearer","typeLabel":"string\u003cbearer>","deprecated":false},"schemeName":"permit","name":"Authorization"}],"title":"permit"}]},"originalFileLocation":"partner-openapi.gen.json"},"subdomain":"selvlabs","siteName":"Circuit","title":"Act for the user - Circuit","navMaps":{"firstHrefInVersion":{},"firstHrefInLanguage":{}},"lastModified":"2026-11-12T05:26:13.580Z","originalFileLocation":"api-reference/act-for-the-user.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=\"Does one thing for the user: sends what they wrote to Ask Circuit, starts, tops up or stops an agent, or approves or declines a proposal. Returns the message or proposal it created or changed. Starts, top-ups, stops and approvals take effect immediately, so send them only after the user confirms in your app. Send an Idempotency-Key and resend with the same key if the network fails; Circuit then acts once. Approving or declining again returns the proposal unchanged, and the opposite decision on a decided proposal returns 409.\">\u003cmeta data-mint-head name=\"application-name\" content=\"Circuit\">\u003cmeta data-mint-head name=\"generator\" content=\"Mintlify\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/selvlabs/XJvZEiKL87V3Fa_3/_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/selvlabs/XJvZEiKL87V3Fa_3/_generated/favicon/apple-touch-icon.png\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/selvlabs/XJvZEiKL87V3Fa_3/_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/selvlabs/XJvZEiKL87V3Fa_3/_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/selvlabs/XJvZEiKL87V3Fa_3/_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/selvlabs/XJvZEiKL87V3Fa_3/_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/selvlabs/XJvZEiKL87V3Fa_3/_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/selvlabs/XJvZEiKL87V3Fa_3/_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/selvlabs/XJvZEiKL87V3Fa_3/_generated/favicon-dark/favicon.ico\" media=\"(prefers-color-scheme: dark)\">\u003cmeta data-mint-head property=\"og:title\" content=\"Act for the user - Circuit\">\u003cmeta data-mint-head property=\"og:description\" content=\"Does one thing for the user: sends what they wrote to Ask Circuit, starts, tops up or stops an agent, or approves or declines a proposal. Returns the message or proposal it created or changed. Starts, top-ups, stops and approvals take effect immediately, so send them only after the user confirms in your app. Send an Idempotency-Key and resend with the same key if the network fails; Circuit then acts once. Approving or declining again returns the proposal unchanged, and the opposite decision on a decided proposal returns 409.\">\u003cmeta data-mint-head property=\"og:site_name\" content=\"Circuit\">\u003cmeta data-mint-head property=\"og:url\" content=\"https://docs.circuit.org/api-reference/act-for-the-user\">\u003cmeta data-mint-head property=\"og:type\" content=\"website\">\u003cmeta data-mint-head property=\"og:image\" content=\"https://selvlabs.mintlify.site/_mintlify/api/og/v2?division=API+Reference\u0026amp;title=Act+for+the+user\u0026amp;description=Does+one+thing+for+the+user%3A+sends+what+they+wrote+to+Ask+Circuit%2C+starts%2C+tops+up+or+stops+an+agent%2C+or+approves+or+declines+a+proposal.+Returns+the+message+or\u0026amp;theme=24f98e456ba48ac2f3578124\u0026amp;signature=4602295d564ecb3923eeff6a907228cb7048ef4e211df809a355c49a215fa636\">\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=\"Act for the user - Circuit\">\u003cmeta data-mint-head name=\"twitter:description\" content=\"Does one thing for the user: sends what they wrote to Ask Circuit, starts, tops up or stops an agent, or approves or declines a proposal. Returns the message or proposal it created or changed. Starts, top-ups, stops and approvals take effect immediately, so send them only after the user confirms in your app. Send an Idempotency-Key and resend with the same key if the network fails; Circuit then acts once. Approving or declining again returns the proposal unchanged, and the opposite decision on a decided proposal returns 409.\">\u003cmeta data-mint-head name=\"twitter:image\" content=\"https://selvlabs.mintlify.site/_mintlify/api/og/v2?division=API+Reference\u0026amp;title=Act+for+the+user\u0026amp;description=Does+one+thing+for+the+user%3A+sends+what+they+wrote+to+Ask+Circuit%2C+starts%2C+tops+up+or+stops+an+agent%2C+or+approves+or+declines+a+proposal.+Returns+the+message+or\u0026amp;theme=24f98e456ba48ac2f3578124\u0026amp;signature=4602295d564ecb3923eeff6a907228cb7048ef4e211df809a355c49a215fa636\">\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/selvlabs/XJvZEiKL87V3Fa_3/_generated/favicon/browserconfig.xml\">\u003cmeta data-mint-head name=\"apple-mobile-web-app-title\" content=\"Circuit\">\u003cmeta data-mint-head name=\"msapplication-TileColor\" content=\"#6366F1\">\u003clink data-mint-head rel=\"canonical\" href=\"https://docs.circuit.org/api-reference/act-for-the-user\">\u003clink data-mint-head rel=\"alternate\" type=\"application/xml\" href=\"/sitemap.xml\">\u003clink data-mint-head rel=\"alternate\" type=\"text/markdown\" href=\"/api-reference/act-for-the-user.md\">\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@graph\":[{\"@type\":\"Organization\",\"@id\":\"https://docs.circuit.org/#organization\",\"name\":\"Circuit\",\"url\":\"https://docs.circuit.org\",\"logo\":{\"@type\":\"ImageObject\",\"url\":\"https://mintcdn.com/selvlabs/8ou4mGHUR7le0P64/images/logo-full-light.svg?fit=max\u0026auto=format\u0026n=8ou4mGHUR7le0P64\u0026q=85\u0026s=2c1db84c637da4973b7f09e617d72421\"}},{\"@type\":\"WebSite\",\"@id\":\"https://docs.circuit.org#website\",\"name\":\"Circuit\",\"url\":\"https://docs.circuit.org\",\"publisher\":{\"@id\":\"https://docs.circuit.org/#organization\"}},{\"@type\":\"WebPage\",\"@id\":\"https://docs.circuit.org/api-reference/act-for-the-user#webpage\",\"url\":\"https://docs.circuit.org/api-reference/act-for-the-user\",\"name\":\"Act for the user\",\"description\":\"Does one thing for the user: sends what they wrote to Ask Circuit, starts, tops up or stops an agent, or approves or declines a proposal. Returns the message or proposal it created or changed. Starts, top-ups, stops and approvals take effect immediately, so send them only after the user confirms in your app. Send an Idempotency-Key and resend with the same key if the network fails; Circuit then acts once. Approving or declining again returns the proposal unchanged, and the opposite decision on a decided proposal returns 409.\",\"dateModified\":\"2026-11-12T05:26:13.580Z\",\"isPartOf\":{\"@id\":\"https://docs.circuit.org#website\"},\"breadcrumb\":{\"@id\":\"https://docs.circuit.org/api-reference/act-for-the-user#breadcrumb\"}},{\"@type\":\"BreadcrumbList\",\"@id\":\"https://docs.circuit.org/api-reference/act-for-the-user#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Apps\",\"item\":\"https://docs.circuit.org/apps\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"API Reference\",\"item\":\"https://docs.circuit.org/api-reference/read-the-users-link\"},{\"@type\":\"ListItem\",\"position\":3,\"name\":\"Act for the user\",\"item\":\"https://docs.circuit.org/api-reference/act-for-the-user\"}]},{\"@type\":[\"TechArticle\",\"APIReference\"],\"@id\":\"https://docs.circuit.org/api-reference/act-for-the-user#apireference\",\"headline\":\"Act for the user\",\"name\":\"Act for the user\",\"description\":\"Does one thing for the user: sends what they wrote to Ask Circuit, starts, tops up or stops an agent, or approves or declines a proposal. Returns the message or proposal it created or changed. Starts, top-ups, stops and approvals take effect immediately, so send them only after the user confirms in your app. Send an Idempotency-Key and resend with the same key if the network fails; Circuit then acts once. Approving or declining again returns the proposal unchanged, and the opposite decision on a decided proposal returns 409.\",\"url\":\"https://docs.circuit.org/api-reference/act-for-the-user\",\"mainEntityOfPage\":{\"@id\":\"https://docs.circuit.org/api-reference/act-for-the-user#webpage\"},\"dateModified\":\"2026-11-12T05:26:13.580Z\",\"publisher\":{\"@id\":\"https://docs.circuit.org/#organization\"},\"isPartOf\":{\"@id\":\"https://docs.circuit.org#website\"}}]}\u003c/script>\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@type\":\"WebSite\",\"name\":\"Circuit\",\"publisher\":{\"@type\":\"Organization\",\"name\":\"Circuit\"},\"provider\":{\"@type\":\"Organization\",\"name\":\"Mintlify\",\"url\":\"https://mintlify.com\"}}\u003c/script>","agentPointerHref":"/api-reference/act-for-the-user.md","siteName":"Circuit","nav":{"global":null,"tabs":[{"tab":"User Guide","groups":[{"group":"Overview","pages":[{"title":"Agentic Trading","href":"/introduction"}]},{"group":"Using Circuit","pages":[{"title":"Get Started","href":"/agent-users/get-started"},{"title":"Running Agents","href":"/agent-users/running-agents"},{"title":"Wallets \u0026 Security","href":"/agent-users/wallets-and-security"}]},{"group":"Apps","pages":[{"title":"Build Circuit into your app","href":"/apps"},{"title":"Quickstart","href":"/apps-quickstart"},{"title":"Test with Paper trading","href":"/apps-testing"},{"title":"Concepts","href":"/apps-concepts"},{"title":"Reference client","href":"/apps-client"},{"title":"Webhook providers","href":"/webhooks"},{"group":"API Reference","pages":[{"title":"Read the user's link","description":"Returns when the permit ends, the wallets the user picked with their holdings, and their running agents. Pass `chat` to get a chat with Ask's replies and proposals, and `include=agents` to get the agents the user can start. While `retry_after_ms` is set, read again after that many milliseconds. Safe to repeat.","deprecated":null,"version":null,"openapi":"/partner-openapi.gen.json get /partner/v0.1","href":"/api-reference/read-the-users-link"},{"title":"Act for the user","deprecated":null,"version":null,"openapi":"/partner-openapi.gen.json post /partner/v0.1","href":"/api-reference/act-for-the-user"}]}]},{"group":"Help","pages":[{"title":"Support","description":"Contact the Circuit team, plus pricing, fees, and frequently asked questions.","href":"/support"}]}]},{"tab":"Agent Developers","pages":[{"title":"Agent Developers","href":"/agent-developers/overview"}]}]},"basePath":"","title":"Act for the user - Circuit","buildId":"dpl_DqYu5MPb49gWBBbUGgpHQUmCHY3P","deploymentId":"dpl_DqYu5MPb49gWBBbUGgpHQUmCHY3P","dynamics":["c2aa737661","2b790eda92","b0f84f53ff","a9bb46feb3"],"chunks":["OpenApiReferenceProvider-CybtLBIt.js","utils-BMLj2fvV.js","cloneDeep-izs3Hzxb.js","_Uint8Array-BVIqJ90l.js","isObjectLike-C8vmzPEN.js","isArray-Dcu1dQ5t.js","utils-B6In562Y.js","toString-BX-iyh8G.js","isSymbol-CSH9U2Gm.js","addUniqueKeysToSchema-Dr8Mfhp9.js","snippetPresets-2rmQvMVl.js","style-to-object-BY3JEAdk.js","v4-DIgz8zy6.js","conditional-requirements-CFM0id0Q.js","ApiExamples-WMqJYdZj.js","isEqual-BfaiBbcl.js","usePlaygroundInputsStore-CJ-MlPHu.js","shallow-dY3TMRCk.js","getApiPlaygroundDisplay-v-1B2bKm.js","CodeSnippet-BDhiTB7U.js","CodeSnippets-D9hnzQcS.js","Page-C4GwDT3_.js","getPastedJson-Th2V45jI.js","icon-BQXch1W9.js","MethodPill-BCqUneP3.js","DuplicateIcon-Q_-bhurZ.js","createIcon-DUjLHRqp.js","DynamicMarkdown-B-f2cqXQ.js","SectionHeading-Da5NsV4v.js","axios-vUo_bRtp.js","Markdown-D13FWkIM.js","clsx-D3Isdib3.js","lib-DuNMoZ05.js","lib-B8HbPgcC.js","html-void-elements-mCSPHezU.js","dist-C-XZBk9h.js","katex-YMM-FMeD.js","marked.esm-CZWythHk.js","AssistantPageLink--qIqmmVG.js"]}