Full-replace the delegation-scoped policies of an active pact. Existing policies are removed and the new list is created atomically to avoid a window with no policies. Only the wallet owner can update policies on an active pact.
The UUID of the active pact whose policies to replace, as returned by the submit or list endpoints.
Body
application/json
Request body for PATCH /pacts/{pact_id}/policies.
Full replacement of the pact's delegation-scoped policies.
Old policies are deleted and new ones are created atomically.
policies
InlinePolicyCreate · object[]
required
New policy list. Replaces all existing delegation policies.
Show child attributes
Response
Successful Response
result
PactPublicRead · object
required
Public pact detail response without delegation internals.
Show child attributes
success
boolean
default:true
suggestion
string
default:""
message
string
default:""
meta
PaginationMeta · object | null
Pagination metadata for list responses.
Supports both legacy offset-based and cursor-based pagination.
Cursor fields (has_more, after, before) are populated for
cursor-paginated endpoints. Legacy fields (offset, limit) are
populated when the caller uses the deprecated offset parameter.
Show child attributes
{"docsConfig":{"theme":"mint","$schema":"https://mintlify.com/docs.json","name":"Cobo Agentic Wallet","colors":{"primary":"#1F32D6","light":"#1F32D6","dark":"#1F32D6"},"logo":{"light":"https://mintcdn.com/agent-wallet-manual/NNmNUU0KRwsRQQLC/products/agentic-wallet/manual/logo/light.svg?fit=max\u0026auto=format\u0026n=NNmNUU0KRwsRQQLC\u0026q=85\u0026s=ff7a7c1c88a71bc9c553ffcaafcd99d3","dark":"https://mintcdn.com/agent-wallet-manual/NNmNUU0KRwsRQQLC/products/agentic-wallet/manual/logo/dark.svg?fit=max\u0026auto=format\u0026n=NNmNUU0KRwsRQQLC\u0026q=85\u0026s=951305701adc54e705f557f43319e08f","href":"https://agenticwallet.cobo.com/"},"favicon":"https://mintcdn.com/agent-wallet-manual/sQQQ2OLxLa9K7SVD/products/agentic-wallet/manual/favicon.svg?fit=max\u0026auto=format\u0026n=sQQQ2OLxLa9K7SVD\u0026q=85\u0026s=51778f498673269bcc92d601820e08a7","api":{"playground":{"display":"interactive"},"examples":{"languages":["python","bash"]}},"navbar":{"links":[{"href":"https://pypi.org/project/cobo-agentic-wallet/","label":"PyPI"}],"primary":{"type":"github","href":"https://github.com/CoboGlobal/cobo-agentic-wallet"}},"contextual":{"options":["copy","view","assistant","claude","mcp"],"display":"header"},"styling":{"latex":true},"navigation":{"pages":[]}},"deployment":{"deploymentMetadataValue":{"subdomain":"agent-wallet-manual","hasAudioNarration":false,"actualSubdomain":"agent-wallet-manual","customDomains":[],"gitSource":{"type":"github","owner":"coboglobal","repo":"cobo-agentic-wallet-manual","deployBranch":"master","contentDirectory":"","isPrivate":true,"mountPath":"","label":""},"entitlements":{"AI_CHAT":{"status":"ENABLED"},"REMOVE_BRANDING":{"status":"ENABLED"},"CONTEXTUAL_FEEDBACK":{"status":"ENABLED"},"CODE_SNIPPET_FEEDBACK":{"status":"ENABLED"},"WEB_MCP":{"status":"ENABLED"},"NARRATION":{"status":"ENABLED"}},"buildId":"6ae94465575e7a57c12daf12","clientVersion":"0.0.4377","searchFilterCounts":[{"language":"default","tag":"Reference","count":64},{"language":"default","tag":"API reference","count":61},{"language":"default","tag":"For Agent Developers","count":23},{"language":"default","tag":"Wallets","count":13},{"language":"default","tag":"Transactions","count":11},{"language":"default","tag":"How-to","count":10},{"language":"default","tag":"Learn","count":10},{"language":"default","tag":"Overview","count":10},{"language":"default","tag":"Pacts","count":10},{"language":"default","tag":"Security \u0026 Controls","count":10}]},"assistantConfig":{"enableAskAiButton":false,"enableStarterQuestions":false,"enableContextualStarterQuestions":false,"enableAskAiSearchBar":true},"basePath":"/products/agentic-wallet/manual","hasChatPermissions":true,"hasWebMcpPermissions":true,"toggles":[{"name":"kill-isr","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-mintlify-slack","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-integrations-settings","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"rbac-expansion","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-pr-grouping","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"custom-prefix","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"analytics-v7","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"user-flows-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"no-publish-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving-live","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"stripTemperatureMiddleware","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"support-platform-pylon-zendesk","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"instant-rollback","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications-server","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-fable","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fixed-ai-action-pricing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automation-resolve-merge-conflict","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"scoped-publishing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"mintql","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"page-level-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-version-history-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"billing-page-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"full-page-search","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workspace-projects","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fork-pr-previews","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"revalidation-jwt","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"hobby-abuse-scan","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"dashboard-inbox","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"turbopuffer-dual-write","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"approve-review-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-metadata","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"turbopuffer-serve","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"live-agents","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"starter-pricing","enabled":true,"variant":{"name":"control","enabled":true,"payload":{"type":"string","value":"control"},"feature_enabled":true},"impressionData":false},{"name":"llms-txt-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false}],"starterQuestions":[],"googleFontsInlined":false},"customCss":[{"filePath":"styles.css","content":".icon{display:inline;height:30px;margin-top:0px;margin-bottom:0px}.screenshot_full_screen{border:1px solid transparent;border-radius:10px;border-color:#EDEEF3;width:auto;height:auto;display:block;margin:auto}.screenshot_nav_bar{border:1px solid transparent;border-radius:10px;border-color:#EDEEF3;width:180px;height:auto;display:block;margin:auto}.screenshot_modal{border:1px solid transparent;border-radius:10px;border-color:#EDEEF3;width:450px;height:auto;display:block;margin:auto}"}]}
{"page":{"pagePath":"products/agentic-wallet/manual/reference/update-policies","slug":"/products/agentic-wallet/manual/reference/update-policies","pageMetadata":{"openapi":"patch /api/v1/pacts/{pact_id}/policies","title":"Update pact policies","description":"Full-replace the delegation-scoped policies of an active pact. Existing policies are removed and the new list is created atomically to avoid a window with no policies. Only the wallet owner can update policies on an active pact.","href":"/products/agentic-wallet/manual/reference/update-policies"},"description":{"compiledSource":"\"use strict\";\nconst {jsx: _jsx} = arguments[0];\nconst {useMDXComponents: _provideComponents} = arguments[0];\nfunction _createMdxContent(props) {\n const _components = {\n p: \"p\",\n ..._provideComponents(),\n ...props.components\n };\n return _jsx(_components.p, {\n children: \"Full-replace the delegation-scoped policies of an active pact. Existing policies are removed and the new list is created atomically to avoid a window with no policies. Only the wallet owner can update policies on an active pact.\"\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":{"config":{},"pageMetadata":{"openapi":"patch /api/v1/pacts/{pact_id}/policies","title":"Update pact policies","description":"Full-replace the delegation-scoped policies of an active pact. Existing policies are removed and the new list is created atomically to avoid a window with no policies. Only the wallet owner can update policies on an active pact.","href":"/products/agentic-wallet/manual/reference/update-policies"}}},"mdxSourceWithNoJs":null},"mdxExtracts":{"tableOfContents":[],"codeExamples":{}},"jsLinks":[],"openApiReferenceData":{"operation":{"tags":["Pacts"],"summary":"Update pact policies","description":"Full-replace the delegation-scoped policies of an active pact. Existing policies are removed and the new list is created atomically to avoid a window with no policies. Only the wallet owner can update policies on an active pact.","operationId":"update_policies","parameters":["17a91932-fd51-46fb-8606-12643e1fa723","74e485b3-4d21-4399-91e4-169335edf132"],"requestBody":"0b49f4da-2c45-427d-8e8c-6276da344667","responses":{"200":"d3b4109f-b112-4c81-9ad7-e087316b55ba","422":"278afe78-f4ab-40bf-b244-c7fd6900e0c6"},"method":"patch","type":"path","servers":[],"security":[],"path":"/api/v1/pacts/{pact_id}/policies","baseUrlOptions":[],"title":"Update pact policies","codeSamples":[],"requestExampleLanguages":["python","bash"],"requiredOnlyExamples":false,"requestExampleType":"generated","responseExampleType":"generated"},"dependencies":{"parameters":{"17a91932-fd51-46fb-8606-12643e1fa723":{"name":"pact_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","description":"The UUID of the active pact whose policies to replace, as returned by the submit or list endpoints.","title":"Pact Id","isRequired":true,"uniqueKey":"","typeLabel":"string\u003cuuid>"},"description":"The UUID of the active pact whose policies to replace, as returned by the submit or list endpoints."},"74e485b3-4d21-4399-91e4-169335edf132":{"name":"X-API-Key","in":"header","required":false,"schema":{"oneOf":[{"title":"X-Api-Key","type":"string","uniqueKey":"oneOf.0","typeLabel":"string"},{"title":"X-Api-Key","type":"null","uniqueKey":"oneOf.1","typeLabel":"null"}],"isRequired":false,"uniqueKey":"","typeLabel":"string | null"}}},"requestBody":{"required":true,"content":{"application/json":{"schema":{"properties":{"policies":{"items":{"properties":{"name":{"type":"string","maxLength":255,"minLength":1,"title":"Name","isRequired":true,"uniqueKey":"policies.items.[INDEX].name","typeLabel":"string"},"type":{"type":"string","enum":["transfer","contract_call","message_sign"],"title":"PolicyType","description":"Policy category. Possible values: `transfer`, `contract_call`, `message_sign`.","isRequired":true,"uniqueKey":"policies.items.[INDEX].type","typeLabel":"enum\u003cstring>"},"rules":{"additionalProperties":true,"type":"object","title":"Rules","description":"Policy rule configuration. Structure depends on `type`; see the policy rules schema for each type.","uniqueKey":"policies.items.[INDEX].rules","typeLabel":"Rules · object"},"priority":{"type":"integer","title":"Priority","description":"Evaluation priority. Higher values take precedence when multiple policies match.","default":0,"uniqueKey":"policies.items.[INDEX].priority","typeLabel":"integer"},"is_active":{"type":"boolean","title":"Is Active","description":"Whether this policy is active. `true`: enforced. `false`: disabled.","default":true,"uniqueKey":"policies.items.[INDEX].is_active","typeLabel":"boolean"}},"type":"object","required":["name","type"],"title":"InlinePolicyCreate","description":"Inline policy payload used during delegation/pact create.","uniqueKey":"policies.items.[INDEX]","typeLabel":"InlinePolicyCreate · object"},"type":"array","title":"Policies","description":"New policy list. Replaces all existing delegation policies.","isRequired":true,"uniqueKey":"policies","typeLabel":"InlinePolicyCreate · object[]"}},"type":"object","required":["policies"],"title":"PactUpdatePoliciesRequest","description":"Request body for PATCH /pacts/{pact_id}/policies.\n\nFull replacement of the pact's delegation-scoped policies.\nOld policies are deleted and new ones are created atomically.","uniqueKey":"","typeLabel":"PactUpdatePoliciesRequest · object"},"examples":{"Example":{"title":"Example","value":{"policies":[{"name":"\u003cstring>","rules":{},"priority":0,"is_active":true}]}}},"exampleType":"generated"}},"exampleType":"generated"},"responses":{"d3b4109f-b112-4c81-9ad7-e087316b55ba":{"description":"Successful Response","content":{"application/json":{"schema":{"properties":{"result":{"properties":{"id":{"type":"string","format":"uuid","title":"Id","description":"Pact ID.","isRequired":true,"uniqueKey":"result.id","typeLabel":"string\u003cuuid>"},"owner_id":{"type":"string","format":"uuid","title":"Owner Id","description":"Wallet owner principal ID.","isRequired":true,"uniqueKey":"result.owner_id","typeLabel":"string\u003cuuid>"},"operator_id":{"type":"string","format":"uuid","title":"Operator Id","description":"Operator agent principal ID.","isRequired":true,"uniqueKey":"result.operator_id","typeLabel":"string\u003cuuid>"},"wallet_id":{"type":"string","format":"uuid","title":"Wallet Id","description":"Target wallet ID.","isRequired":true,"uniqueKey":"result.wallet_id","typeLabel":"string\u003cuuid>"},"name":{"type":"string","title":"Name","description":"Pact name.","isRequired":true,"uniqueKey":"result.name","typeLabel":"string"},"intent":{"type":"string","title":"Intent","description":"Natural language intent.","isRequired":true,"uniqueKey":"result.intent","typeLabel":"string"},"spec":{"properties":{"policies":{"items":{"properties":{"name":{"type":"string","maxLength":255,"minLength":1,"title":"Name","isRequired":true,"uniqueKey":"result.spec.policies.items.[INDEX].name","typeLabel":"string"},"type":{"type":"string","enum":["transfer","contract_call","message_sign"],"title":"PolicyType","description":"Policy category. Possible values: `transfer`, `contract_call`, `message_sign`.","isRequired":true,"uniqueKey":"result.spec.policies.items.[INDEX].type","typeLabel":"enum\u003cstring>"},"rules":{"additionalProperties":true,"type":"object","title":"Rules","description":"Policy rule configuration. Structure depends on `type`; see the policy rules schema for each type.","uniqueKey":"result.spec.policies.items.[INDEX].rules","typeLabel":"Rules · object"},"priority":{"type":"integer","title":"Priority","description":"Evaluation priority. Higher values take precedence when multiple policies match.","default":0,"uniqueKey":"result.spec.policies.items.[INDEX].priority","typeLabel":"integer"},"is_active":{"type":"boolean","title":"Is Active","description":"Whether this policy is active. `true`: enforced. `false`: disabled.","default":true,"uniqueKey":"result.spec.policies.items.[INDEX].is_active","typeLabel":"boolean"}},"type":"object","required":["name","type"],"title":"InlinePolicyCreate","description":"Inline policy payload used during delegation/pact create.","uniqueKey":"result.spec.policies.items.[INDEX]","typeLabel":"InlinePolicyCreate · object"},"type":"array","title":"Policies","description":"Policy rules constraining the operator's actions.","uniqueKey":"result.spec.policies","typeLabel":"InlinePolicyCreate · object[]"},"completion_conditions":{"items":{"properties":{"type":{"type":"string","enum":["time_elapsed","tx_count","amount_spent","amount_spent_usd","manual"],"title":"CompletionConditionType","description":"Condition type. Possible values: `time_elapsed` (seconds since activation), `tx_count` (transaction count), `amount_spent` (token amount), `amount_spent_usd` (USD value), `manual` (no automatic trigger).","isRequired":true,"uniqueKey":"result.spec.completion_conditions.items.[INDEX].type","typeLabel":"enum\u003cstring>"},"threshold":{"oneOf":[{"title":"Threshold","description":"Threshold value that triggers completion. Required for all types except `manual`. Format varies by type: integer string for `tx_count`, decimal string for amounts, integer seconds for `time_elapsed`.","type":"string","uniqueKey":"result.spec.completion_conditions.items.[INDEX].threshold.oneOf.0","typeLabel":"string"},{"title":"Threshold","description":"Threshold value that triggers completion. Required for all types except `manual`. Format varies by type: integer string for `tx_count`, decimal string for amounts, integer seconds for `time_elapsed`.","type":"null","uniqueKey":"result.spec.completion_conditions.items.[INDEX].threshold.oneOf.1","typeLabel":"null"}],"uniqueKey":"result.spec.completion_conditions.items.[INDEX].threshold","typeLabel":"string | null"}},"type":"object","required":["type"],"title":"CompletionCondition","description":"A single completion condition within PactSpec.","uniqueKey":"result.spec.completion_conditions.items.[INDEX]","typeLabel":"CompletionCondition · object"},"type":"array","title":"Completion Conditions","description":"Conditions that trigger automatic pact completion (any-of semantics).","uniqueKey":"result.spec.completion_conditions","typeLabel":"CompletionCondition · object[]"},"execution_plan":{"oneOf":[{"title":"Execution Plan","description":"Free-form execution plan derived from the intent, in markdown format. Presented to the owner during approval review so they can understand exactly what the operator will do. Suggested sections: # Summary, # Contract Operations, # Risk Controls, # Schedule.","type":"string","uniqueKey":"result.spec.execution_plan.oneOf.0","typeLabel":"string"},{"title":"Execution Plan","description":"Free-form execution plan derived from the intent, in markdown format. Presented to the owner during approval review so they can understand exactly what the operator will do. Suggested sections: # Summary, # Contract Operations, # Risk Controls, # Schedule.","type":"null","uniqueKey":"result.spec.execution_plan.oneOf.1","typeLabel":"null"}],"uniqueKey":"result.spec.execution_plan","typeLabel":"string | null"}},"type":"object","title":"PactSpec","description":"The pact specification.","isRequired":true,"uniqueKey":"result.spec","typeLabel":"PactSpec · object"},"status":{"type":"string","enum":["pending_approval","active","rejected","completed","expired","revoked","withdrawn"],"title":"PactStatus","description":"Current pact status.","isRequired":true,"uniqueKey":"result.status","typeLabel":"enum\u003cstring>"},"created_at":{"type":"string","format":"date-time","title":"Created At","description":"When the pact was submitted.","isRequired":true,"uniqueKey":"result.created_at","typeLabel":"string\u003cdate-time>"},"updated_at":{"type":"string","format":"date-time","title":"Updated At","description":"Last update timestamp.","isRequired":true,"uniqueKey":"result.updated_at","typeLabel":"string\u003cdate-time>"},"operator":{"oneOf":[{"properties":{"id":{"type":"string","format":"uuid","title":"Id","description":"The principal ID.","isRequired":true,"uniqueKey":"result.operator.oneOf.0.id","typeLabel":"string\u003cuuid>"},"external_id":{"type":"string","title":"External Id","description":"The external identifier for this principal.","isRequired":true,"uniqueKey":"result.operator.oneOf.0.external_id","typeLabel":"string"},"type":{"type":"string","enum":["human","agent"],"title":"PrincipalType","description":"The principal type. Possible values: `human`, `agent`.","isRequired":true,"uniqueKey":"result.operator.oneOf.0.type","typeLabel":"enum\u003cstring>"},"name":{"type":"string","title":"Name","description":"The display name of this principal.","isRequired":true,"uniqueKey":"result.operator.oneOf.0.name","typeLabel":"string"},"created_at":{"type":"string","format":"date-time","title":"Created At","description":"The timestamp when the principal was created, in ISO 8601 format.","isRequired":true,"uniqueKey":"result.operator.oneOf.0.created_at","typeLabel":"string\u003cdate-time>"},"updated_at":{"type":"string","format":"date-time","title":"Updated At","description":"The timestamp when the principal was last updated, in ISO 8601 format.","isRequired":true,"uniqueKey":"result.operator.oneOf.0.updated_at","typeLabel":"string\u003cdate-time>"},"metadata":{"additionalProperties":true,"type":"object","title":"Metadata","description":"Arbitrary key-value metadata associated with the principal.","uniqueKey":"result.operator.oneOf.0.metadata","typeLabel":"Metadata · object"},"is_temporary":{"type":"boolean","title":"Is Temporary","description":"Deprecated legacy field. Temporary-agent mode has been retired and this value is always `false` for newly provisioned agents.","default":false,"deprecated":true,"uniqueKey":"result.operator.oneOf.0.is_temporary","typeLabel":"boolean"},"owner_principal_id":{"oneOf":[{"title":"Owner Principal Id","description":"The ID of the human principal that owns this agent. Only set for agent principals.","type":"string","format":"uuid","uniqueKey":"result.operator.oneOf.0.owner_principal_id.oneOf.0","typeLabel":"string\u003cuuid>"},{"title":"Owner Principal Id","description":"The ID of the human principal that owns this agent. Only set for agent principals.","type":"null","format":"uuid","uniqueKey":"result.operator.oneOf.0.owner_principal_id.oneOf.1","typeLabel":"null"}],"uniqueKey":"result.operator.oneOf.0.owner_principal_id","typeLabel":"string\u003cuuid> | null"},"onboarding_session_id":{"oneOf":[{"title":"Onboarding Session Id","description":"The onboarding session ID associated with this principal, if set.","type":"string","format":"uuid","uniqueKey":"result.operator.oneOf.0.onboarding_session_id.oneOf.0","typeLabel":"string\u003cuuid>"},{"title":"Onboarding Session Id","description":"The onboarding session ID associated with this principal, if set.","type":"null","format":"uuid","uniqueKey":"result.operator.oneOf.0.onboarding_session_id.oneOf.1","typeLabel":"null"}],"uniqueKey":"result.operator.oneOf.0.onboarding_session_id","typeLabel":"string\u003cuuid> | null"}},"type":"object","required":["id","external_id","type","name","created_at","updated_at"],"title":"PrincipalRead","description":"Operator principal. Null if the principal row is missing (e.g. legacy data).","uniqueKey":"result.operator.oneOf.0","typeLabel":"PrincipalRead · object"},{"properties":{"id":{"type":"string","format":"uuid","title":"Id","description":"The principal ID."},"external_id":{"type":"string","title":"External Id","description":"The external identifier for this principal."},"type":{"type":"string","enum":["human","agent"],"title":"PrincipalType","description":"The principal type. Possible values: `human`, `agent`."},"name":{"type":"string","title":"Name","description":"The display name of this principal."},"metadata":{"additionalProperties":true,"type":"object","title":"Metadata","description":"Arbitrary key-value metadata associated with the principal."},"is_temporary":{"type":"boolean","title":"Is Temporary","description":"Deprecated legacy field. Temporary-agent mode has been retired and this value is always `false` for newly provisioned agents.","default":false,"deprecated":true},"owner_principal_id":{"oneOf":[{"title":"Owner Principal Id","description":"The ID of the human principal that owns this agent. Only set for agent principals.","type":"string","format":"uuid"},{"title":"Owner Principal Id","description":"The ID of the human principal that owns this agent. Only set for agent principals.","type":"null","format":"uuid"}]},"onboarding_session_id":{"oneOf":[{"title":"Onboarding Session Id","description":"The onboarding session ID associated with this principal, if set.","type":"string","format":"uuid"},{"title":"Onboarding Session Id","description":"The onboarding session ID associated with this principal, if set.","type":"null","format":"uuid"}]},"created_at":{"type":"string","format":"date-time","title":"Created At","description":"The timestamp when the principal was created, in ISO 8601 format."},"updated_at":{"type":"string","format":"date-time","title":"Updated At","description":"The timestamp when the principal was last updated, in ISO 8601 format."}},"type":"null","required":["id","external_id","type","name","created_at","updated_at"],"title":"PrincipalRead","description":"Operator principal. Null if the principal row is missing (e.g. legacy data).","uniqueKey":"result.operator.oneOf.1","typeLabel":"null"}],"uniqueKey":"result.operator","typeLabel":"PrincipalRead · object | null"},"original_intent":{"oneOf":[{"title":"Original Intent","description":"Raw user input that originated this pact request. For multi-turn conversations, messages are concatenated.","type":"string","uniqueKey":"result.original_intent.oneOf.0","typeLabel":"string"},{"title":"Original Intent","description":"Raw user input that originated this pact request. For multi-turn conversations, messages are concatenated.","type":"null","uniqueKey":"result.original_intent.oneOf.1","typeLabel":"null"}],"uniqueKey":"result.original_intent","typeLabel":"string | null"},"approval_id":{"oneOf":[{"title":"Approval Id","description":"Linked approval ID.","type":"string","format":"uuid","uniqueKey":"result.approval_id.oneOf.0","typeLabel":"string\u003cuuid>"},{"title":"Approval Id","description":"Linked approval ID.","type":"null","format":"uuid","uniqueKey":"result.approval_id.oneOf.1","typeLabel":"null"}],"uniqueKey":"result.approval_id","typeLabel":"string\u003cuuid> | null"},"api_key":{"oneOf":[{"title":"Api Key","description":"Pact-scoped API key. Only visible to the operator.","type":"string","uniqueKey":"result.api_key.oneOf.0","typeLabel":"string"},{"title":"Api Key","description":"Pact-scoped API key. Only visible to the operator.","type":"null","uniqueKey":"result.api_key.oneOf.1","typeLabel":"null"}],"uniqueKey":"result.api_key","typeLabel":"string | null"},"activated_at":{"oneOf":[{"title":"Activated At","description":"When the pact became active.","type":"string","format":"date-time","uniqueKey":"result.activated_at.oneOf.0","typeLabel":"string\u003cdate-time>"},{"title":"Activated At","description":"When the pact became active.","type":"null","format":"date-time","uniqueKey":"result.activated_at.oneOf.1","typeLabel":"null"}],"uniqueKey":"result.activated_at","typeLabel":"string\u003cdate-time> | null"},"expires_at":{"oneOf":[{"title":"Expires At","description":"When the pact expires.","type":"string","format":"date-time","uniqueKey":"result.expires_at.oneOf.0","typeLabel":"string\u003cdate-time>"},{"title":"Expires At","description":"When the pact expires.","type":"null","format":"date-time","uniqueKey":"result.expires_at.oneOf.1","typeLabel":"null"}],"uniqueKey":"result.expires_at","typeLabel":"string\u003cdate-time> | null"},"progress_tx_count":{"type":"integer","title":"Progress Tx Count","description":"Number of transactions completed under this pact.","default":0,"uniqueKey":"result.progress_tx_count","typeLabel":"integer"},"progress_usd_spent":{"type":"string","title":"Progress Usd Spent","description":"Cumulative USD value of transactions executed under this pact, represented as a decimal string (e.g. \"12.50\").","default":"0","uniqueKey":"result.progress_usd_spent","typeLabel":"string"},"is_default":{"type":"boolean","title":"Is Default","description":"Whether this is the default pact created during provisioning.","default":false,"uniqueKey":"result.is_default","typeLabel":"boolean"},"effective_policies":{"oneOf":[{"title":"Effective Policies","description":"Current effective delegation-scoped policies. Populated when policies have been updated after pact creation; null means spec.policies is still the effective set.","items":{"additionalProperties":true,"type":"object","uniqueKey":"result.effective_policies.oneOf.0.items.[INDEX]","typeLabel":"object"},"type":"array","uniqueKey":"result.effective_policies.oneOf.0","typeLabel":"Effective Policies · object[]"},{"title":"Effective Policies","description":"Current effective delegation-scoped policies. Populated when policies have been updated after pact creation; null means spec.policies is still the effective set.","items":{"additionalProperties":true,"type":"object"},"type":"null","uniqueKey":"result.effective_policies.oneOf.1","typeLabel":"null"}],"uniqueKey":"result.effective_policies","typeLabel":"Effective Policies · object[] | null"},"recipe_slugs":{"oneOf":[{"title":"Recipe Slugs","description":"Slugs of recipes associated with this pact.","items":{"type":"string","uniqueKey":"result.recipe_slugs.oneOf.0.items.[INDEX]","typeLabel":"string"},"type":"array","uniqueKey":"result.recipe_slugs.oneOf.0","typeLabel":"string[]"},{"title":"Recipe Slugs","description":"Slugs of recipes associated with this pact.","items":{"type":"string"},"type":"null","uniqueKey":"result.recipe_slugs.oneOf.1","typeLabel":"null"}],"uniqueKey":"result.recipe_slugs","typeLabel":"string[] | null"},"recent_txs":{"oneOf":[{"title":"Recent Txs","description":"Most recent transactions (up to 5) submitted under this pact, newest first. Null if none.","items":{"properties":{"id":{"type":"string","format":"uuid","title":"Id","description":"Transaction UUID.","isRequired":true,"uniqueKey":"result.recent_txs.oneOf.0.items.[INDEX].id","typeLabel":"string\u003cuuid>"},"status":{"type":"string","title":"Status","description":"Transaction status label (e.g. success, processing, failed).","isRequired":true,"uniqueKey":"result.recent_txs.oneOf.0.items.[INDEX].status","typeLabel":"string"},"operation_type":{"type":"string","title":"Operation Type","description":"Operation type (e.g. transfer, contract_call).","isRequired":true,"uniqueKey":"result.recent_txs.oneOf.0.items.[INDEX].operation_type","typeLabel":"string"},"created_at":{"type":"string","format":"date-time","title":"Created At","description":"When the transaction was submitted.","isRequired":true,"uniqueKey":"result.recent_txs.oneOf.0.items.[INDEX].created_at","typeLabel":"string\u003cdate-time>"},"request_id":{"oneOf":[{"title":"Request Id","description":"Client-supplied request_id, if any.","type":"string","uniqueKey":"result.recent_txs.oneOf.0.items.[INDEX].request_id.oneOf.0","typeLabel":"string"},{"title":"Request Id","description":"Client-supplied request_id, if any.","type":"null","uniqueKey":"result.recent_txs.oneOf.0.items.[INDEX].request_id.oneOf.1","typeLabel":"null"}],"uniqueKey":"result.recent_txs.oneOf.0.items.[INDEX].request_id","typeLabel":"string | null"}},"type":"object","required":["id","status","operation_type","created_at"],"title":"RecentTxSummary","description":"Compact transaction record for recent-activity enrichment.","uniqueKey":"result.recent_txs.oneOf.0.items.[INDEX]","typeLabel":"RecentTxSummary · object"},"type":"array","uniqueKey":"result.recent_txs.oneOf.0","typeLabel":"RecentTxSummary · object[]"},{"title":"Recent Txs","description":"Most recent transactions (up to 5) submitted under this pact, newest first. Null if none.","items":{"properties":{"id":{"type":"string","format":"uuid","title":"Id","description":"Transaction UUID."},"request_id":{"oneOf":[{"title":"Request Id","description":"Client-supplied request_id, if any.","type":"string"},{"title":"Request Id","description":"Client-supplied request_id, if any.","type":"null"}]},"status":{"type":"string","title":"Status","description":"Transaction status label (e.g. success, processing, failed)."},"operation_type":{"type":"string","title":"Operation Type","description":"Operation type (e.g. transfer, contract_call)."},"created_at":{"type":"string","format":"date-time","title":"Created At","description":"When the transaction was submitted."}},"type":"object","required":["id","status","operation_type","created_at"],"title":"RecentTxSummary","description":"Compact transaction record for recent-activity enrichment."},"type":"null","uniqueKey":"result.recent_txs.oneOf.1","typeLabel":"null"}],"uniqueKey":"result.recent_txs","typeLabel":"RecentTxSummary · object[] | null"}},"type":"object","required":["id","owner_id","operator_id","wallet_id","name","intent","spec","status","created_at","updated_at"],"title":"PactPublicRead","description":"Public pact detail response without delegation internals.","isRequired":true,"uniqueKey":"result","typeLabel":"PactPublicRead · object"},"success":{"type":"boolean","title":"Success","default":true,"uniqueKey":"success","typeLabel":"boolean"},"suggestion":{"type":"string","title":"Suggestion","default":"","uniqueKey":"suggestion","typeLabel":"string"},"message":{"type":"string","title":"Message","default":"","uniqueKey":"message","typeLabel":"string"},"meta":{"oneOf":[{"properties":{"total":{"oneOf":[{"title":"Total","type":"integer","uniqueKey":"meta.oneOf.0.total.oneOf.0","typeLabel":"integer"},{"title":"Total","type":"null","uniqueKey":"meta.oneOf.0.total.oneOf.1","typeLabel":"null"}],"uniqueKey":"meta.oneOf.0.total","typeLabel":"integer | null"},"offset":{"oneOf":[{"title":"Offset","type":"integer","uniqueKey":"meta.oneOf.0.offset.oneOf.0","typeLabel":"integer"},{"title":"Offset","type":"null","uniqueKey":"meta.oneOf.0.offset.oneOf.1","typeLabel":"null"}],"uniqueKey":"meta.oneOf.0.offset","typeLabel":"integer | null"},"limit":{"oneOf":[{"title":"Limit","type":"integer","uniqueKey":"meta.oneOf.0.limit.oneOf.0","typeLabel":"integer"},{"title":"Limit","type":"null","uniqueKey":"meta.oneOf.0.limit.oneOf.1","typeLabel":"null"}],"uniqueKey":"meta.oneOf.0.limit","typeLabel":"integer | null"},"has_more":{"oneOf":[{"title":"Has More","type":"boolean","uniqueKey":"meta.oneOf.0.has_more.oneOf.0","typeLabel":"boolean"},{"title":"Has More","type":"null","uniqueKey":"meta.oneOf.0.has_more.oneOf.1","typeLabel":"null"}],"uniqueKey":"meta.oneOf.0.has_more","typeLabel":"boolean | null"},"after":{"oneOf":[{"title":"After","type":"string","uniqueKey":"meta.oneOf.0.after.oneOf.0","typeLabel":"string"},{"title":"After","type":"null","uniqueKey":"meta.oneOf.0.after.oneOf.1","typeLabel":"null"}],"uniqueKey":"meta.oneOf.0.after","typeLabel":"string | null"},"before":{"oneOf":[{"title":"Before","type":"string","uniqueKey":"meta.oneOf.0.before.oneOf.0","typeLabel":"string"},{"title":"Before","type":"null","uniqueKey":"meta.oneOf.0.before.oneOf.1","typeLabel":"null"}],"uniqueKey":"meta.oneOf.0.before","typeLabel":"string | null"}},"type":"object","title":"PaginationMeta","description":"Pagination metadata for list responses.\n\nSupports both legacy offset-based and cursor-based pagination.\nCursor fields (``has_more``, ``after``, ``before``) are populated for\ncursor-paginated endpoints. Legacy fields (``offset``, ``limit``) are\npopulated when the caller uses the deprecated ``offset`` parameter.","uniqueKey":"meta.oneOf.0","typeLabel":"PaginationMeta · object"},{"properties":{"total":{"oneOf":[{"title":"Total","type":"integer"},{"title":"Total","type":"null"}]},"offset":{"oneOf":[{"title":"Offset","type":"integer"},{"title":"Offset","type":"null"}]},"limit":{"oneOf":[{"title":"Limit","type":"integer"},{"title":"Limit","type":"null"}]},"has_more":{"oneOf":[{"title":"Has More","type":"boolean"},{"title":"Has More","type":"null"}]},"after":{"oneOf":[{"title":"After","type":"string"},{"title":"After","type":"null"}]},"before":{"oneOf":[{"title":"Before","type":"string"},{"title":"Before","type":"null"}]}},"type":"null","title":"PaginationMeta","description":"Pagination metadata for list responses.\n\nSupports both legacy offset-based and cursor-based pagination.\nCursor fields (``has_more``, ``after``, ``before``) are populated for\ncursor-paginated endpoints. Legacy fields (``offset``, ``limit``) are\npopulated when the caller uses the deprecated ``offset`` parameter.","uniqueKey":"meta.oneOf.1","typeLabel":"null"}],"uniqueKey":"meta","typeLabel":"PaginationMeta · object | null"}},"type":"object","required":["result"],"title":"StandardResponse[PactPublicRead]","uniqueKey":"","typeLabel":"StandardResponse[PactPublicRead] · object"},"examples":{"Example":{"title":"Example","value":{"result":{"id":"3c90c3cc-0d44-4b50-8888-8dd25736052a","owner_id":"3c90c3cc-0d44-4b50-8888-8dd25736052a","operator_id":"3c90c3cc-0d44-4b50-8888-8dd25736052a","wallet_id":"3c90c3cc-0d44-4b50-8888-8dd25736052a","name":"\u003cstring>","intent":"\u003cstring>","spec":{"policies":[{"name":"\u003cstring>","type":"transfer","rules":{},"priority":0,"is_active":true}],"completion_conditions":[{"type":"time_elapsed","threshold":"\u003cstring>"}],"execution_plan":"\u003cstring>"},"status":"pending_approval","created_at":"2023-11-07T05:31:56Z","updated_at":"2023-11-07T05:31:56Z","operator":{"id":"3c90c3cc-0d44-4b50-8888-8dd25736052a","external_id":"\u003cstring>","type":"human","name":"\u003cstring>","created_at":"2023-11-07T05:31:56Z","updated_at":"2023-11-07T05:31:56Z","metadata":{},"is_temporary":false,"owner_principal_id":"3c90c3cc-0d44-4b50-8888-8dd25736052a","onboarding_session_id":"3c90c3cc-0d44-4b50-8888-8dd25736052a"},"original_intent":"\u003cstring>","approval_id":"3c90c3cc-0d44-4b50-8888-8dd25736052a","api_key":"\u003cstring>","activated_at":"2023-11-07T05:31:56Z","expires_at":"2023-11-07T05:31:56Z","progress_tx_count":0,"progress_usd_spent":"0","is_default":false,"effective_policies":[{}],"recipe_slugs":["\u003cstring>"],"recent_txs":[{"id":"3c90c3cc-0d44-4b50-8888-8dd25736052a","status":"\u003cstring>","operation_type":"\u003cstring>","created_at":"2023-11-07T05:31:56Z","request_id":"\u003cstring>"}]},"success":true,"suggestion":"","message":"","meta":{"total":123,"offset":123,"limit":123,"has_more":true,"after":"\u003cstring>","before":"\u003cstring>"}}}},"exampleType":"generated"}},"exampleType":"generated"},"278afe78-f4ab-40bf-b244-c7fd6900e0c6":{"description":"Validation Error","content":{"application/json":{"schema":{"title":"WrappedValidationError","type":"object","required":["success","error"],"properties":{"success":{"type":"boolean","const":false,"default":false,"title":"Success","isRequired":true,"uniqueKey":"success","typeLabel":"boolean"},"error":{"type":"object","title":"Error","required":["detail"],"properties":{"detail":{"type":"array","title":"Detail","items":{"properties":{"loc":{"items":{"oneOf":[{"type":"string","uniqueKey":"error.detail.items.[INDEX].loc.items.[INDEX].oneOf.0","typeLabel":"string"},{"type":"integer","uniqueKey":"error.detail.items.[INDEX].loc.items.[INDEX].oneOf.1","typeLabel":"integer"}],"uniqueKey":"error.detail.items.[INDEX].loc.items.[INDEX]","typeLabel":"string | integer"},"type":"array","title":"Location","isRequired":true,"uniqueKey":"error.detail.items.[INDEX].loc","typeLabel":"(string | integer)[]"},"msg":{"type":"string","title":"Message","isRequired":true,"uniqueKey":"error.detail.items.[INDEX].msg","typeLabel":"string"},"type":{"type":"string","title":"Error Type","isRequired":true,"uniqueKey":"error.detail.items.[INDEX].type","typeLabel":"string"},"input":{"oneOf":[{"title":"Input"}],"uniqueKey":"error.detail.items.[INDEX].input","typeLabel":"any"},"ctx":{"type":"object","title":"Context","uniqueKey":"error.detail.items.[INDEX].ctx","typeLabel":"Context · object"}},"type":"object","required":["loc","msg","type"],"title":"ValidationError","uniqueKey":"error.detail.items.[INDEX]","typeLabel":"ValidationError · object"},"isRequired":true,"uniqueKey":"error.detail","typeLabel":"ValidationError · object[]"}},"isRequired":true,"uniqueKey":"error","typeLabel":"Error · object"}},"uniqueKey":"","typeLabel":"WrappedValidationError · object"},"examples":{"Example":{"title":"Example","value":{"success":false,"error":{"detail":[{"loc":["\u003cstring>"],"msg":"\u003cstring>","type":"\u003cstring>","input":"\u003cunknown>","ctx":{}}]}}}},"exampleType":"generated"}},"exampleType":"generated"}},"security":{},"servers":{}},"originalFileLocation":"products/agentic-wallet/manual/openapi.json"},"subdomain":"agent-wallet-manual","siteName":"Cobo Agentic Wallet","title":"Update pact policies - Cobo Agentic Wallet","contextualStarterQuestions":[],"navMaps":{"firstHrefInVersion":{},"firstHrefInLanguage":{}},"lastModified":"2026-11-03T02:18:18.981Z","originalFileLocation":"products/agentic-wallet/manual/reference/update-policies.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=\"Full-replace the delegation-scoped policies of an active pact. Existing policies are removed and the new list is created atomically to avoid a window with no policies. Only the wallet owner can update policies on an active pact.\">\u003cmeta data-mint-head name=\"application-name\" content=\"Cobo Agentic Wallet\">\u003cmeta data-mint-head name=\"generator\" content=\"Mintlify\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/agent-wallet-manual/U8EG1aN13-phUo4z/_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/agent-wallet-manual/U8EG1aN13-phUo4z/_generated/favicon/apple-touch-icon.png\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/agent-wallet-manual/U8EG1aN13-phUo4z/_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/agent-wallet-manual/U8EG1aN13-phUo4z/_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/agent-wallet-manual/U8EG1aN13-phUo4z/_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/agent-wallet-manual/U8EG1aN13-phUo4z/_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/agent-wallet-manual/U8EG1aN13-phUo4z/_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/agent-wallet-manual/U8EG1aN13-phUo4z/_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/agent-wallet-manual/U8EG1aN13-phUo4z/_generated/favicon-dark/favicon.ico\" media=\"(prefers-color-scheme: dark)\">\u003cmeta data-mint-head property=\"og:title\" content=\"Update pact policies - Cobo Agentic Wallet\">\u003cmeta data-mint-head property=\"og:description\" content=\"Full-replace the delegation-scoped policies of an active pact. Existing policies are removed and the new list is created atomically to avoid a window with no policies. Only the wallet owner can update policies on an active pact.\">\u003cmeta data-mint-head property=\"og:site_name\" content=\"Cobo Agentic Wallet\">\u003cmeta data-mint-head property=\"og:url\" content=\"https://agent-wallet-manual.mintlify.app/products/agentic-wallet/manual/reference/update-policies\">\u003cmeta data-mint-head property=\"og:type\" content=\"website\">\u003cmeta data-mint-head property=\"og:image\" content=\"https://agent-wallet-manual.mintlify.site/_mintlify/api/og/v2?division=Pacts\u0026amp;title=Update+pact+policies\u0026amp;description=Full-replace+the+delegation-scoped+policies+of+an+active+pact.+Existing+policies+are+removed+and+the+new+list+is+created+atomically+to+avoid+a+window+with+no+po\u0026amp;theme=97b0a8ee4a6acad46a8f001b\u0026amp;signature=a73733097aca129333fb50be6ac1f924d87c35fe05cfdce7fd9e6eb3fa2b8e64\">\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=\"Update pact policies - Cobo Agentic Wallet\">\u003cmeta data-mint-head name=\"twitter:description\" content=\"Full-replace the delegation-scoped policies of an active pact. Existing policies are removed and the new list is created atomically to avoid a window with no policies. Only the wallet owner can update policies on an active pact.\">\u003cmeta data-mint-head name=\"twitter:image\" content=\"https://agent-wallet-manual.mintlify.site/_mintlify/api/og/v2?division=Pacts\u0026amp;title=Update+pact+policies\u0026amp;description=Full-replace+the+delegation-scoped+policies+of+an+active+pact.+Existing+policies+are+removed+and+the+new+list+is+created+atomically+to+avoid+a+window+with+no+po\u0026amp;theme=97b0a8ee4a6acad46a8f001b\u0026amp;signature=a73733097aca129333fb50be6ac1f924d87c35fe05cfdce7fd9e6eb3fa2b8e64\">\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/agent-wallet-manual/U8EG1aN13-phUo4z/_generated/favicon/browserconfig.xml\">\u003cmeta data-mint-head name=\"apple-mobile-web-app-title\" content=\"Cobo Agentic Wallet\">\u003cmeta data-mint-head name=\"msapplication-TileColor\" content=\"#1F32D6\">\u003clink data-mint-head rel=\"canonical\" href=\"https://agent-wallet-manual.mintlify.app/products/agentic-wallet/manual/reference/update-policies\">\u003clink data-mint-head rel=\"alternate\" type=\"application/xml\" href=\"/sitemap.xml\">\u003clink data-mint-head rel=\"alternate\" type=\"text/markdown\" href=\"/products/agentic-wallet/manual/reference/update-policies.md\">\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@graph\":[{\"@type\":\"Organization\",\"@id\":\"https://agent-wallet-manual.mintlify.app/#organization\",\"name\":\"Cobo Agentic Wallet\",\"url\":\"https://agent-wallet-manual.mintlify.app\",\"logo\":{\"@type\":\"ImageObject\",\"url\":\"https://mintcdn.com/agent-wallet-manual/NNmNUU0KRwsRQQLC/products/agentic-wallet/manual/logo/light.svg?fit=max\u0026auto=format\u0026n=NNmNUU0KRwsRQQLC\u0026q=85\u0026s=ff7a7c1c88a71bc9c553ffcaafcd99d3\"}},{\"@type\":\"WebSite\",\"@id\":\"https://agent-wallet-manual.mintlify.app#website\",\"name\":\"Cobo Agentic Wallet\",\"url\":\"https://agent-wallet-manual.mintlify.app\",\"publisher\":{\"@id\":\"https://agent-wallet-manual.mintlify.app/#organization\"}},{\"@type\":\"WebPage\",\"@id\":\"https://agent-wallet-manual.mintlify.app/products/agentic-wallet/manual/reference/update-policies#webpage\",\"url\":\"https://agent-wallet-manual.mintlify.app/products/agentic-wallet/manual/reference/update-policies\",\"name\":\"Update pact policies\",\"description\":\"Full-replace the delegation-scoped policies of an active pact. Existing policies are removed and the new list is created atomically to avoid a window with no policies. Only the wallet owner can update policies on an active pact.\",\"dateModified\":\"2026-11-03T02:18:18.981Z\",\"isPartOf\":{\"@id\":\"https://agent-wallet-manual.mintlify.app#website\"},\"breadcrumb\":{\"@id\":\"https://agent-wallet-manual.mintlify.app/products/agentic-wallet/manual/reference/update-policies#breadcrumb\"}},{\"@type\":\"BreadcrumbList\",\"@id\":\"https://agent-wallet-manual.mintlify.app/products/agentic-wallet/manual/reference/update-policies#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"API reference\",\"item\":\"https://agent-wallet-manual.mintlify.app/products/agentic-wallet/manual/reference/overview\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Pacts\",\"item\":\"https://agent-wallet-manual.mintlify.app/products/agentic-wallet/manual/reference/submit-pact\"},{\"@type\":\"ListItem\",\"position\":3,\"name\":\"Update pact policies\",\"item\":\"https://agent-wallet-manual.mintlify.app/products/agentic-wallet/manual/reference/update-policies\"}]},{\"@type\":[\"TechArticle\",\"APIReference\"],\"@id\":\"https://agent-wallet-manual.mintlify.app/products/agentic-wallet/manual/reference/update-policies#apireference\",\"headline\":\"Update pact policies\",\"name\":\"Update pact policies\",\"description\":\"Full-replace the delegation-scoped policies of an active pact. Existing policies are removed and the new list is created atomically to avoid a window with no policies. Only the wallet owner can update policies on an active pact.\",\"url\":\"https://agent-wallet-manual.mintlify.app/products/agentic-wallet/manual/reference/update-policies\",\"mainEntityOfPage\":{\"@id\":\"https://agent-wallet-manual.mintlify.app/products/agentic-wallet/manual/reference/update-policies#webpage\"},\"dateModified\":\"2026-11-03T02:18:18.981Z\",\"publisher\":{\"@id\":\"https://agent-wallet-manual.mintlify.app/#organization\"},\"isPartOf\":{\"@id\":\"https://agent-wallet-manual.mintlify.app#website\"}}]}\u003c/script>","agentPointerHref":"/products/agentic-wallet/manual/reference/update-policies.md","siteName":"Cobo Agentic Wallet","nav":{"global":null,"tabs":[{"tab":"Start Here","pages":[{"title":"Start Here","href":"/products/agentic-wallet/manual/start-here/introduction"}]},{"tab":"For Agent Owners","pages":[{"title":"For Agent Owners","href":"/products/agentic-wallet/manual/owners/features"}]},{"tab":"For Agent Developers","pages":[{"title":"For Agent Developers","href":"/products/agentic-wallet/manual/developer/quickstart-overview"}]},{"tab":"Security \u0026 Controls","pages":[{"title":"Security \u0026 Controls","href":"/products/agentic-wallet/manual/security/overview"}]},{"tab":"Reference","groups":[{"group":"General","pages":[{"title":"Supported chains","href":"/products/agentic-wallet/manual/reference/supported-chains"},{"title":"Pact policies and completion conditions","href":"/products/agentic-wallet/manual/reference/pact-policies"}]},{"group":"CLI","pages":[{"title":"CLI","icon":"terminal","sidebarTitle":"CLI Reference","href":"/products/agentic-wallet/manual/reference/cli"}]},{"group":"API reference","pages":[{"title":"Overview","href":"/products/agentic-wallet/manual/reference/overview"},{"group":"Identity","pages":[{"openapi":"post /api/v1/principals/provision","title":"Provision agent","href":"/products/agentic-wallet/manual/reference/provision-agent"},{"openapi":"get /api/v1/principals/{agent_id}/status","title":"Get agent status","href":"/products/agentic-wallet/manual/reference/get-agent-status"},{"openapi":"get /api/v1/principals/agents","title":"List my agents","href":"/products/agentic-wallet/manual/reference/list-my-agents"},{"openapi":"patch /api/v1/principals/{principal_id}","title":"Update principal","href":"/products/agentic-wallet/manual/reference/update-principal"},{"openapi":"post /api/v1/api-keys","title":"Create API key","href":"/products/agentic-wallet/manual/reference/create-api-key"},{"openapi":"get /api/v1/api-keys","title":"List API keys","href":"/products/agentic-wallet/manual/reference/list-api-keys"},{"openapi":"delete /api/v1/api-keys/{api_key_id}","title":"Revoke API key","href":"/products/agentic-wallet/manual/reference/revoke-api-key"}]},{"group":"Wallets","pages":[{"openapi":"post /api/v1/wallets","title":"Create wallet","href":"/products/agentic-wallet/manual/reference/create-wallet"},{"openapi":"get /api/v1/wallets","title":"List all wallets","href":"/products/agentic-wallet/manual/reference/list-wallets"},{"openapi":"get /api/v1/wallets/{wallet_uuid}","title":"Get wallet","href":"/products/agentic-wallet/manual/reference/get-wallet"},{"openapi":"patch /api/v1/wallets/{wallet_uuid}","title":"Update wallet","href":"/products/agentic-wallet/manual/reference/update-wallet"},{"openapi":"post /api/v1/wallets/{wallet_uuid}/reshare","title":"Initiate wallet reshare","href":"/products/agentic-wallet/manual/reference/wallet-reshare"},{"openapi":"post /api/v1/wallets/{wallet_uuid}/tss/callback","title":"Report TSS request callback","href":"/products/agentic-wallet/manual/reference/wallet-tss-callback"},{"openapi":"post /api/v1/wallets/{wallet_uuid}/addresses","title":"Create wallet address","href":"/products/agentic-wallet/manual/reference/create-wallet-address"},{"openapi":"get /api/v1/wallets/{wallet_uuid}/addresses","title":"List wallet addresses","href":"/products/agentic-wallet/manual/reference/list-wallet-addresses"},{"openapi":"get /api/v1/wallets/{wallet_uuid}/node-status","title":"Get node status","href":"/products/agentic-wallet/manual/reference/get-wallet-node-status"},{"openapi":"get /api/v1/wallets/pairs/info/{wallet_uuid}","title":"Get pair info by wallet","href":"/products/agentic-wallet/manual/reference/get-pair-info-by-wallet"},{"openapi":"get /api/v1/wallets/pairs/{token}","title":"Get pair info by token","href":"/products/agentic-wallet/manual/reference/get-pair-info"},{"openapi":"post /api/v1/wallets/pairs/initiate","title":"Initiate wallet pairing (or restore code)","href":"/products/agentic-wallet/manual/reference/initiate-wallet-pair"},{"openapi":"post /api/v1/wallets/pairs/confirm","title":"Confirm wallet pairing","href":"/products/agentic-wallet/manual/reference/confirm-wallet-pair"}]},{"group":"Balance","pages":[{"openapi":"get /api/v1/wallets/balances","title":"List token balances","href":"/products/agentic-wallet/manual/reference/list-balances"}]},{"group":"Transactions","pages":[{"openapi":"get /api/v1/wallets/recent-addresses","title":"List recent addresses for current user","href":"/products/agentic-wallet/manual/reference/list-recent-addresses-by-user"},{"openapi":"post /api/v1/wallets/{wallet_uuid}/transfer","title":"Transfer tokens","href":"/products/agentic-wallet/manual/reference/transfer-tokens"},{"openapi":"post /api/v1/wallets/{wallet_uuid}/estimate-transfer-fee","title":"Estimate transfer fee","href":"/products/agentic-wallet/manual/reference/estimate-transfer-fee"},{"openapi":"post /api/v1/wallets/{wallet_uuid}/contract-call","title":"Call contract","href":"/products/agentic-wallet/manual/reference/contract-call"},{"openapi":"post /api/v1/wallets/{wallet_uuid}/estimate-contract-call-fee","title":"Estimate contract call fee","href":"/products/agentic-wallet/manual/reference/estimate-contract-call-fee"},{"openapi":"post /api/v1/wallets/{wallet_uuid}/message-sign","title":"Sign a message","href":"/products/agentic-wallet/manual/reference/message-sign"},{"openapi":"get /api/v1/wallets/{wallet_uuid}/recent-addresses","title":"List recent addresses","href":"/products/agentic-wallet/manual/reference/list-recent-addresses"},{"openapi":"post /api/v1/wallets/{wallet_uuid}/transactions/{transaction_uuid}/drop","title":"Drop transaction","href":"/products/agentic-wallet/manual/reference/drop-transaction"},{"openapi":"post /api/v1/wallets/{wallet_uuid}/transactions/{transaction_uuid}/speedup","title":"Speed up transaction","href":"/products/agentic-wallet/manual/reference/speedup-transaction"},{"openapi":"post /api/v1/wallets/webhook","title":"Handle WaaS webhook","href":"/products/agentic-wallet/manual/reference/handle-waas-webhook"},{"openapi":"post /api/v1/wallets/{wallet_uuid}/payment","title":"Create payment","href":"/products/agentic-wallet/manual/reference/payment"}]},{"group":"Transaction records","pages":[{"openapi":"get /api/v1/wallets/transactions","title":"List transaction records","href":"/products/agentic-wallet/manual/reference/list-user-transactions"},{"openapi":"get /api/v1/wallets/{wallet_uuid}/transactions/by-request-id/{request_id}","title":"Get transaction record by request id","href":"/products/agentic-wallet/manual/reference/get-user-transaction-by-request-id"},{"openapi":"get /api/v1/wallets/transactions/{record_uuid}","title":"Get transaction record by record id","href":"/products/agentic-wallet/manual/reference/get-user-transaction-by-uuid"},{"openapi":"get /api/v1/wallets/{wallet_uuid}/transactions/{record_uuid}","title":"Get transaction record","href":"/products/agentic-wallet/manual/reference/get-user-transaction"}]},{"group":"Pacts","pages":[{"openapi":"post /api/v1/pacts/submit","title":"Submit pact for approval","href":"/products/agentic-wallet/manual/reference/submit-pact"},{"openapi":"get /api/v1/pacts","title":"List pacts","href":"/products/agentic-wallet/manual/reference/list-pacts"},{"openapi":"get /api/v1/wallets/{wallet_id}/pacts/stats","title":"Get wallet pact statistics","href":"/products/agentic-wallet/manual/reference/get-wallet-pact-stats"},{"openapi":"get /api/v1/wallets/{wallet_id}/pacts/history","title":"Get wallet pact history","href":"/products/agentic-wallet/manual/reference/get-wallet-pact-history"},{"openapi":"get /api/v1/pacts/{pact_id}","title":"Get pact detail","href":"/products/agentic-wallet/manual/reference/get-pact"},{"openapi":"post /api/v1/pacts/{pact_id}/revoke","title":"Revoke active pact","href":"/products/agentic-wallet/manual/reference/revoke-pact"},{"openapi":"post /api/v1/pacts/{pact_id}/withdraw","title":"Withdraw pending pact","href":"/products/agentic-wallet/manual/reference/withdraw-pact"},{"openapi":"patch /api/v1/pacts/{pact_id}/completion-conditions","title":"Update completion conditions","description":"Update the completion conditions of an active pact. Only `tx_count`, `amount_spent`, and `amount_spent_usd` conditions may be modified, and thresholds can only be increased — decreasing a threshold could cause the pact to complete prematurely.","href":"/products/agentic-wallet/manual/reference/update-completion-conditions"},{"openapi":"patch /api/v1/pacts/{pact_id}/policies","title":"Update pact policies","href":"/products/agentic-wallet/manual/reference/update-policies"},{"openapi":"get /api/v1/pacts/{pact_id}/events","title":"List pact events","description":"Retrieve the full lifecycle event history for the specified pact. Events are returned in chronological order. Use `after` or `before` cursor parameters for cursor-based pagination, or the deprecated `offset` parameter for offset-based pagination.","href":"/products/agentic-wallet/manual/reference/list-pact-events"}]},{"group":"Pending operations","pages":[{"openapi":"get /api/v1/pending-operations","title":"List pending operations","href":"/products/agentic-wallet/manual/reference/list-pending-operations"},{"openapi":"get /api/v1/pending-operations/{pending_operation_id}","title":"Get pending operation","href":"/products/agentic-wallet/manual/reference/get-pending-operation"},{"openapi":"post /api/v1/pending-operations/{pending_operation_id}/approve","title":"Approve pending operation","href":"/products/agentic-wallet/manual/reference/approve-pending-operation"},{"openapi":"post /api/v1/pending-operations/{pending_operation_id}/reject","title":"Reject pending operation","href":"/products/agentic-wallet/manual/reference/reject-pending-operation"}]},{"group":"Audit","pages":[{"openapi":"get /api/v1/audit-logs","title":"List audit logs","href":"/products/agentic-wallet/manual/reference/list-audit-logs"}]},{"group":"Metadata","pages":[{"openapi":"get /api/v1/metadata/chains","title":"List supported chains","href":"/products/agentic-wallet/manual/reference/list-chains"},{"openapi":"get /api/v1/metadata/assets","title":"List supported assets","href":"/products/agentic-wallet/manual/reference/list-assets"},{"openapi":"get /api/v1/metadata/tokens/search","title":"Search tokens by symbol","href":"/products/agentic-wallet/manual/reference/search-tokens"},{"openapi":"get /api/v1/metadata/chains/{chain_id}/info","title":"Get chain info","href":"/products/agentic-wallet/manual/reference/get-chain-info-by-chain-id"},{"openapi":"post /api/v1/metadata/eth-call","title":"Call a view/pure function on an EVM contract","href":"/products/agentic-wallet/manual/reference/eth-call"}]},{"group":"Coin price","pages":[{"openapi":"get /api/v1/coin-price","title":"Get coin prices","href":"/products/agentic-wallet/manual/reference/get-asset-coin-prices"}]},{"group":"Faucet","pages":[{"openapi":"post /api/v1/faucet/deposit","title":"Request faucet deposit","href":"/products/agentic-wallet/manual/reference/deposit"},{"openapi":"get /api/v1/faucet/tokens","title":"List faucet tokens","href":"/products/agentic-wallet/manual/reference/list-tokens"}]},{"group":"Recipes","pages":[{"openapi":"post /api/v1/recipes/search","title":"Search recipes","href":"/products/agentic-wallet/manual/reference/search-recipes"}]}]}]},{"tab":"Learn","pages":[{"title":"Learn","href":"/products/agentic-wallet/manual/learn/overview"}]}]},"basePath":"","title":"Update pact policies - Cobo Agentic Wallet","deploymentId":"dpl_Ab6nteg7kvyK8iL73naC2n7fmsWK","buildId":"dpl_Ab6nteg7kvyK8iL73naC2n7fmsWK","dynamics":["c2aa737661","2b790eda92","b0f84f53ff","a9bb46feb3"],"chunks":["OpenApiReferenceProvider-C6Z1vAfX.js","snippetPresets-Bjd6OXRM.js","utils-QL6OhUyF.js","style-to-object-BY3JEAdk.js","utils-Dsq-HLeF.js","v4-DIgz8zy6.js","addTypeLabelsToSchema-CEYfmkoV.js","conditional-requirements-CFM0id0Q.js","cloneDeep-CHgPjMM8.js","_Uint8Array-IXRJ_ueo.js","isObject-FP1Yky1u.js","ApiExamples-pq4ns9YA.js","usePlaygroundInputsStore-D-gnigmo.js","shallow-DIfWGPrf.js","isEqual-DDFuixlH.js","CodeSnippets-8g5rilZj.js","CodeSnippet-C_J7pouP.js","use-playground-group-access-bkOyfPao.js","Page-B_smDgrp.js","api-description-markdown-DtcP2u3s.js","DynamicMarkdown-DOefW1_8.js","SectionHeading-Cg4lfWZw.js","MethodPill-BnqygvYm.js","getPastedJson-BGXYEZ3P.js","Check2Icon-BBeO3TOS.js","axios-CsQoIw0U.js","Markdown-D5IqLG6A.js","AssistantPageLink-_S2h4i6W.js","dist-DzZqOeCq.js","lib-DMeTj1gb.js","lib-B8HbPgcC.js","katex-Dbtb6Wk7.js","html-void-elements-mCSPHezU.js","marked.esm-CZWythHk.js"]}