{"uid":"cap_7SWBmPBKivHdOgurWVRVe","slug":"per-period-agent-spend-cap-escalation-procedure-d1fab1fe","name":"Per-Period Agent Spend Cap Escalation Procedure","description":"Deterministic procedure for setting daily, weekly, and monthly spend ceilings on an autonomous agent wallet. Computes caps from task mix, balance, and historical burn rate; defines when an agent may self-raise a cap, when human or governance approval is required, and hard kill criteria that freeze all spending. Verdict output is a single structured decision with cap values, approval path, and freeze status.","url":"https://k2so-8080.on.ascii.dev/api/services/per-period-agent-spend-cap-escalation-procedure?utm_source=zero.xyz","method":"GET","headers":{},"bodySchema":{"type":"object","$schema":"https://json-schema.org/draft/2020-12/schema","required":["input"],"properties":{"input":{"type":"object","required":["type","method"],"properties":{"type":{"type":"string","const":"http"},"method":{"enum":["GET","HEAD","DELETE"],"type":"string"},"queryParams":{"type":"object","properties":{"meta":{"enum":["0","1"],"type":"string","description":"Set to 1 for free metadata JSON (no payment required)"},"topic":{"type":"string","description":"Optional topic override for the decision procedure"}}}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object","title":"Per-period agent spend cap escalation procedure paid response","$schema":"https://json-schema.org/draft/2020-12/schema","required":["ok","paid","service","provider","result"],"properties":{"ok":{"type":"boolean"},"paid":{"type":"boolean"},"result":{"type":"object","required":["ok","service"],"properties":{"ok":{"type":"boolean","description":"Handler success"},"brief":{"type":"string","description":"Decision procedure prose for agents"},"model":{"type":"string"},"topic":{"type":"string"},"service":{"type":"string","description":"Service slug"},"procedure":{"type":"string"},"generatedAt":{"type":"string","description":"ISO-8601 timestamp"},"generationSource":{"enum":["llm","reasoning","deterministic"],"type":"string"}}},"payment":{"type":"object","properties":{"code":{"type":"string"},"payer":{"type":"string"},"detail":{"type":"string"},"selfPay":{"type":"boolean"},"transaction":{"type":"string"}}},"service":{"type":"string"},"provider":{"type":"string","const":"K-2SO"}}}}}}},"responseSchema":null,"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.002","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"probe","requiresHandshake":false,"reviewCount":0,"rating":{"score":"0.00","successRate":"0.00","reviews":0,"stars":null,"state":"unrated"},"availabilityStatus":"unknown","priceObserved":null,"sessionDeposit":null,"pricing":{"kind":"static","summary":"$0.002/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.002","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.002","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_L8c1Tl1BIrmYpYnWnW6XE","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.002","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Returns a structured decision procedure defining daily, weekly, and monthly spend ceilings for an autonomous agent wallet, including cap values, approval paths, and freeze criteria.","exampleAgentPrompt":"Can you pull the spend cap escalation procedure so I know what daily, weekly, and monthly budget ceilings to set for my autonomous agent wallet, including when it can self-raise limits versus when I need to approve, and what triggers a full spending freeze?","exampleUseCases":[{"title":"Bootstrapping agent budget governance","prompt":"I'm deploying an autonomous agent for the first time and need to know how to set safe daily, weekly, and monthly spend caps on its wallet — what's the recommended procedure, when can it raise its own limits, and what hard kills should I configure?"},{"title":"Auditing escalation rules before live deployment","prompt":"Before I go live with my agent pipeline, can you fetch the spend cap escalation procedure so I can review the approval paths and freeze criteria and make sure they match our internal governance policy?"},{"title":"Investigating an unexpected agent spend freeze","prompt":"My autonomous agent just had all its spending frozen and I'm not sure why — can you pull the cap escalation procedure to check what hard kill criteria might have been triggered and what the recovery path looks like?"}],"resultDescription":"A structured JSON decision object containing computed spend cap values (daily, weekly, monthly), the required approval path for each cap tier (self-raise, human approval, or governance), freeze status and hard kill criteria, a prose summary of the full decision procedure, and metadata including generation source and ISO-8601 timestamp.","failureModes":["Payment not included or insufficient — returns 402 with payment details","Invalid query parameter value for 'meta' or 'topic' — returns validation error","Service temporarily unavailable — may return 5xx with no result body","Empty or malformed response if upstream LLM/reasoning engine fails"],"whenToPreferThis":"Use this endpoint when an AI agent or its operator needs a deterministic, structured governance framework for controlling autonomous wallet spending across time periods. Prefer it over ad-hoc budget logic when you need codified escalation rules, human-in-the-loop approval thresholds, and hard freeze criteria in a single callable decision artifact. Especially useful during agent onboarding, compliance audits, or post-incident spend reviews.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-20T12:36:52.560Z","isFirstParty":false,"canonicalSlug":"per-period-agent-spend-cap-escalation-procedure-d1fab1fe"}