{"uid":"cap_UoBlO-YVcochtXJrBSL21","slug":"agent-credit-line-utilization-and-evaluation-based-settlement-5cc35e1c","name":"Agent Credit-Line Utilization and Evaluation-Based Settlement Decision Procedure","description":"Deterministic procedure for agents that pay from credit lines and escrow balances via x402. Inputs: per-line caps and rates, current utilization, payment amount, due date, evaluation verdicts on delivered work, escrow state. Decides which line a payment draws against, tracks utilization after draw, flags top-up when utilization crosses 70% warning and 95% hard ceiling, wires evaluation verdicts into settlement: full pass releases, fail reduces settlement by defined ratio, partial pass prorates.","url":"https://k2so.wrong.systems/api/services/agent-credit-line-utilization-and-evaluation-set","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":"Agent credit-line utilization and evaluation-based settlement 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":{"type":"json","example":{"ok":true,"paid":true,"result":{"ok":true,"brief":"plain prose decision procedure (120+ words)","model":"deepseek/deepseek-v4-flash-0731","topic":"string topic","service":"agent-credit-line-utilization-and-evaluation-set","procedure":"same as brief","generatedAt":"2026-01-01T00:00:00.000Z","generationSource":"deterministic"},"service":"agent-credit-line-utilization-and-evaluation-set","provider":"K-2SO"}},"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_zZKVIBoV4mNvLGeqJgQFK","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 plain-prose decision procedure brief for AI agents evaluating credit-line utilization and determining evaluation-based settlement logic in autonomous payment contexts.","exampleAgentPrompt":"What's the decision procedure for evaluating credit-line utilization and choosing evaluation-based settlement — give me the full plain-prose brief my agent can follow.","exampleUseCases":[{"title":"Agent credit drawdown governance","prompt":"My autonomous agent needs a decision procedure for when it's allowed to draw on its credit line versus paying directly — can you fetch the credit-line utilization and evaluation-based settlement brief so it knows the rules?"},{"title":"Overspend detection before API calls","prompt":"Before my agent makes another paid x402 call, I want it to check the credit-line utilization decision procedure to make sure it isn't over-extending — can you pull that procedure now?"},{"title":"Evaluation-based settlement onboarding","prompt":"I'm setting up a new agent merchant fleet and need the evaluation-based settlement decision procedure so each agent knows how to assess its credit exposure before settling a transaction — please retrieve it."}],"resultDescription":"A JSON object containing a plain-prose decision procedure brief (120+ words) tailored to agent credit-line utilization and evaluation-based settlement logic, along with the generating model name, a topic string, an ISO-8601 generation timestamp, a generation source label (llm, reasoning, or deterministic), the service slug, and the provider identifier K-2SO. The 'brief' and 'procedure' fields contain the actionable guidance text an AI agent can parse and follow.","failureModes":["HTTP 402 returned if payment not yet settled — agent must pay exact USDC amount and retry with PAYMENT-SIGNATURE header","Invalid or missing method enum value causes schema validation error","Malformed queryParams (e.g. meta not '0' or '1') may result in unexpected behavior","Network or upstream LLM latency may delay generation source response","If topic override is unsupported, the service may fall back to its default topic"],"whenToPreferThis":"Choose this endpoint when an AI agent needs a structured, plain-prose decision procedure specifically about credit-line utilization and evaluation-based settlement in x402 payment contexts. Prefer it over generic financial APIs when your agent needs actionable guidance text it can parse directly, and when you need a low-cost ($0.002 USDC) on-demand procedure generation that can be topic-overridden for custom contexts.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-13T19:02:38.317Z","isFirstParty":false}