Decisions API
The signed outcome of the pipeline for one payment, with its 11-stage trace. Simulate one without moving money.
Base URL https://api.ndstill.com/v2. Send Authorization: Bearer with a key, Ndstill-Version: 2026-11-01, and an Idempotency-Key on every POST. Conventions, scopes and errors are in the API overview and Errors and decline reasons. Examples come from the mock backend; the shapes are the TypeScript types in packages/api.
List decisions#
/v2/decisions- outcomestring enum
"approve""hold""decline" - agent_idId
- railstring enum
"card""network_token""checkout_token""stablecoin""bank""ai""cloud" - simulatedboolean
- cursorstring
- limitnumber
1–200, default 50.
- qstring
Free-text search over names, ids and descriptors.
- sortstring
Sort field, prefix "-" for descending ("-created_at" is the default).
- created_gteTimestamp
created_at >= (ISO).
- created_lteTimestamp
created_at <= (ISO).
Returns a list envelope: object "list", data[], has_more, next_cursor (pass it back as cursor) and total when cheap to count. Items:
- idId
- object"decision"
- org_idId
- created_atTimestamp
- updated_atTimestampoptional
- test_modebooleanoptional
True for test-mode objects (simulations, sandbox).
- intent_idId | null
- agentRef
Small reference used for denormalized names in lists (no N+1 lookups in tables).
Ref: 2 fields
- idId
- namestring
- railRail
"card""network_token""checkout_token""stablecoin""bank""ai""cloud" - inbound_refstring | null
Processor auth id etc. when the decision came from an inbound authorization.
- outcomeDecisionOutcome
"approve""hold""decline" - reasonsReason[]
All reasons it was held or declined (every hold reason is reported, not just the first).
Reason: 5 fields
- codestring
- stagestring enumoptional
Pipeline stage that produced it (absent for post-decision reasons).
"freeze""approval""policy""mandate""authenticate""entitlement""funding""counterparty""risk""budget""record" - effectstring enumoptional
"hold" or "decline" (what this reason did on its own).
"hold""decline" - messagestringoptional
Server-written sentence; used when the client has no template for the code.
- paramsReasonParamsoptional
ReasonParams: 15 fields
- agent_namestringoptional
- scope_namestringoptional
Whose budget: "Travel desk", "Engineering team", "the org".
- windowstring enumoptional
"day""week""month""quarter""total" - amountMoneyoptional
An amount: integer minor units + asset.
Money: 2 fields
- amountnumber
- assetAssetCode
"USD""USDC""EUR""GBP"
- limitMoneyoptional
An amount: integer minor units + asset.
Money: 2 fields
- amountnumber
- assetAssetCode
"USD""USDC""EUR""GBP"
- over_byMoneyoptional
An amount: integer minor units + asset.
Money: 2 fields
- amountnumber
- assetAssetCode
"USD""USDC""EUR""GBP"
- thresholdMoneyoptional
An amount: integer minor units + asset.
Money: 2 fields
- amountnumber
- assetAssetCode
"USD""USDC""EUR""GBP"
- counterpartystringoptional
- categorystringoptional
- mandate_counterpartystringoptional
- mandate_maxMoneyoptional
An amount: integer minor units + asset.
Money: 2 fields
- amountnumber
- assetAssetCode
"USD""USDC""EUR""GBP"
- countnumberoptional
- minutesnumberoptional
- by_personstringoptional
- notestringoptional
- traceTraceEntry[]
TraceEntry: 5 fields
- stageStageId
"freeze""approval""policy""mandate""authenticate""entitlement""funding""counterparty""risk""budget""record" - resultTraceResult
"hold""decline""pass""skip" - detailstringoptional
Plain-language detail ("Within the $500 weekly budget").
- codestringoptional
Machine reason code when the stage held or declined.
- msnumberoptional
Time spent in the stage.
- policy_version_idId | null
- policy_version_hashstring
- risk_scorenumber
- reservation_idId | null
- latency_msnumber
- signed_atTimestamp
- signatureobject
3 fields
- kidstring
- alg"ed25519"
- valuestring
- budget_impactBudgetImpact[]
Budget impact at decision time.
BudgetImpact: 7 fields
- budget_idId
- scopeScope
Scope: 3 fields
- kindScopeKind
"team""org""agent""credential""tree""funding_source" - idId
- namestring
- windowstring enum
"day""week""month""quarter""total" - limitMoney
An amount: integer minor units + asset.
Money: 2 fields
- amountnumber
- assetAssetCode
"USD""USDC""EUR""GBP"
- beforeMoney
Spent before this payment.
Money: 2 fields
- amountnumber
- assetAssetCode
"USD""USDC""EUR""GBP"
- reservedMoney
Reserved by this payment.
Money: 2 fields
- amountnumber
- assetAssetCode
"USD""USDC""EUR""GBP"
- afterMoney
Spent + reserved after.
Money: 2 fields
- amountnumber
- assetAssetCode
"USD""USDC""EUR""GBP"
- simulatedboolean
- 400invalid_request
A query parameter is invalid.
- 401authentication
The key or token is missing, expired or revoked.
- 403permission
The key's scopes or the person's role don't allow this.
- 429rate_limited
Slow down; retry after the Retry-After header.
curl -X GET "https://api.ndstill.com/v2/decisions?limit=2" \
-H "Authorization: Bearer $NDSTILL_API_KEY" \
-H "Ndstill-Version: 2026-11-01"{
"object": "list",
"data": [
{
"id": "dec_01M82WARE0NY0VM98XNSRKH44E",
"object": "decision",
"org_id": "org_A99F918124609C9DAAACB209D8",
"created_at": "2026-11-23T00:19:11.414Z",
"intent_id": "pi_01M82WARCEDTKCJ2CT2YM49A8M",
"agent": {
"id": "agt_01KS34A3MEM01QVS3BG8X852NK",
"name": "Compute broker"
},
"rail": "cloud",
"inbound_ref": null,
"outcome": "approve",
"reasons": [],
"trace": [
{
"stage": "authenticate",
"result": "pass",
"detail": "Agent key acme-robotics-compute_broker-c693d9 verified",
"ms": 1
},
{
"stage": "entitlement",
"result": "pass",
"detail": "Live mode; plan limits OK",
"ms": 6
},
{
"stage": "freeze",
"result": "pass",
"detail": "No freeze on the agent, its tree, team, org or funding source",
"ms": 3
},
{
"stage": "funding",
"result": "pass",
"detail": "AWS (billing)",
"ms": 6
},
{
"stage": "counterparty",
"result": "pass",
"detail": "Amazon Web Services (confidence 0.92)",
"ms": 6
},
{
"stage": "mandate",
"result": "skip",
"detail": "Usage-based spend: no mandate check on this rail",
"ms": 0
},
{
"stage": "policy",
"result": "pass",
"detail": "Within $2,500.00 per payment; category allowed",
"ms": 5
},
{
"stage": "risk",
"result": "pass",
"detail": "Normal pace (4 payments in 10 min)",
"ms": 1
},
{
"stage": "budget",
"result": "pass",
"detail": "Within Compute broker's monthly budget",
"ms": 21
},
{
"stage": "approval",
"result": "pass",
"detail": "Below the $800.00 approval line",
"ms": 6
},
{
"stage": "record",
"result": "pass",
"detail": "Decision signed (acme-robotic)",
"ms": 17
}
],
"policy_version_id": "polv_01M4689JCEXN5J5CXANDR3RJMY",
"policy_version_hash": "sha256:8a07c9fbdf68bc6d47a2a20307d2451509f4bbab2289a41d43fb3213179188e5",
"risk_score": 0.02,
"reservation_id": "res_1af32ddb2ab64c297e5a",
"latency_ms": 72,
"signed_at": "2026-11-23T00:19:11.486Z",
"signature": {
"kid": "ndstill-us1-evidence-2026-10",
"alg": "ed25519",
"value": "8tk2wVMlM8d28J3F4pP2OhQlzZY2QDZFJ2L2RpilLLn5hrkrBVgzycB9JhCRuSAr"
},
"budget_impact": [
{
"budget_id": "bud_01KQZY6YME39QMP0871KJS9W81",
"scope": {
"kind": "org",
"id": "org_A99F918124609C9DAAACB209D8",
"name": "Acme Robotics"
},
"window": "month",
"limit": {
"amount": 27467800,
"asset": "USD"
},
"before": {
"amount": 19450304,
"asset": "USD"
},
"reserved": {
"amount": 8947,
"asset": "USD"
},
"after": {
"amount": 19459251,
"asset": "USD"
}
},
{
"budget_id": "bud_01KQZY6YMER6W9HNSSA6WS78KV",
"scope": {
"kind": "team",
"id": "team_01K8CD3GMECKJ31CYMQH7B9XZP",
"name": "Research"
},
"window": "month",
"limit": {
"amount": 2340000,
"asset": "USD"
},
"before": {
"amount": 3425973,
"asset": "USD"
},
"reserved": {
"amount": 8947,
"asset": "USD"
},
"after": {
"amount": 3434920,
"asset": "USD"
}
},
{
"budget_id": "bud_01KQZY6YMEJXC9HYRP7F820648",
"scope": {
"kind": "tree",
"id": "agt_01KQ667RMEP9Y30VHM3RCA9HZN",
"name": "Research orchestrator tree"
},
"window": "month",
"limit": {
"amount": 4788000,
"asset": "USD"
},
"before": {
"amount": 2638401,
"asset": "USD"
},
"reserved": {
"amount": 8947,
"asset": "USD"
},
"after": {
"amount": 2647348,
"asset": "USD"
}
}
],
"simulated": false
},
{
"id": "dec_01M82VJYQ00GW6B6D70WZ0R58T",
"object": "decision",
"org_id": "org_A99F918124609C9DAAACB209D8",
"created_at": "2026-11-23T00:06:11.414Z",
"intent_id": "pi_01M82VJYNEJFCMY9VHY5PS5W12",
"agent": {
"id": "agt_01KS34A3MEM01QVS3BG8X852NK",
"name": "Compute broker"
},
"rail": "card",
"inbound_ref": "iauth_4e7ff7dbae13275946",
"outcome": "approve",
"reasons": [],
"trace": [
{
"stage": "authenticate",
"result": "pass",
"detail": "Agent key acme-robotics-compute_broker-c693d9 verified",
"ms": 0
},
{
"stage": "entitlement",
"result": "pass",
"detail": "Live mode; plan limits OK",
"ms": 4
},
{
"stage": "freeze",
"result": "pass",
"detail": "No freeze on the agent, its tree, team, org or funding source",
"ms": 5
},
{
"stage": "funding",
"result": "pass",
"detail": "Agent spend (ndStill account)",
"ms": 0
},
{
"stage": "counterparty",
"result": "pass",
"detail": "Lambda Cloud (confidence 0.91)",
"ms": 2
},
{
"stage": "mandate",
"result": "pass",
"detail": "Within mandate (up to $800.00)",
"ms": 0
},
{
"stage": "policy",
"result": "pass",
"detail": "Within $2,500.00 per payment; category allowed",
"ms": 0
},
{
"stage": "risk",
"result": "pass",
"detail": "Normal pace (3 payments in 10 min)",
"ms": 2
},
{
"stage": "budget",
"result": "pass",
"detail": "Within Compute broker's monthly budget",
"ms": 11
},
{
"stage": "approval",
"result": "pass",
"detail": "Below the $800.00 approval line",
"ms": 4
},
{
"stage": "record",
"result": "pass",
"detail": "Decision signed (acme-robotic)",
"ms": 11
}
],
"policy_version_id": "polv_01M4689JCEXN5J5CXANDR3RJMY",
"policy_version_hash": "sha256:8a07c9fbdf68bc6d47a2a20307d2451509f4bbab2289a41d43fb3213179188e5",
"risk_score": 0.09,
"reservation_id": "res_f7127d2fe1e242e51b38",
"latency_ms": 39,
"signed_at": "2026-11-23T00:06:11.453Z",
"signature": {
"kid": "ndstill-us1-evidence-2026-10",
"alg": "ed25519",
"value": "2i0i9iV5G0pOCVUNAtIK2zzhaHcWDIK14qdStrGJ18mF8vyLu5t3BcSJ07xVChJT"
},
"budget_impact": [
{
"budget_id": "bud_01KQZY6YME39QMP0871KJS9W81",
"scope": {
"kind": "org",
"id": "org_A99F918124609C9DAAACB209D8",
"name": "Acme Robotics"
},
"window": "month",
"limit": {
"amount": 27467800,
"asset": "USD"
},
"before": {
"amount": 19283687,
"asset": "USD"
},
"reserved": {
"amount": 166617,
"asset": "USD"
},
"after": {
"amount": 19450304,
"asset": "USD"
}
},
{
"budget_id": "bud_01KQZY6YMER6W9HNSSA6WS78KV",
"scope": {
"kind": "team",
"id": "team_01K8CD3GMECKJ31CYMQH7B9XZP",
"name": "Research"
},
"window": "month",
"limit": {
"amount": 2340000,
"asset": "USD"
},
"before": {
"amount": 3259356,
"asset": "USD"
},
"reserved": {
"amount": 166617,
"asset": "USD"
},
"after": {
"amount": 3425973,
"asset": "USD"
}
},
{
"budget_id": "bud_01KQZY6YMEJXC9HYRP7F820648",
"scope": {
"kind": "tree",
"id": "agt_01KQ667RMEP9Y30VHM3RCA9HZN",
"name": "Research orchestrator tree"
},
"window": "month",
"limit": {
"amount": 4788000,
"asset": "USD"
},
"before": {
"amount": 2471784,
"asset": "USD"
},
"reserved": {
"amount": 166617,
"asset": "USD"
},
"after": {
"amount": 2638401,
"asset": "USD"
}
}
],
"simulated": false
}
],
"has_more": true,
"next_cursor": "Mg==",
"total": 2000
}Runs against the in-browser mock with a test key. Nothing leaves your browser.
Retrieve a decision#
/v2/decisions/{id}A decision: outcome, every reason, the 11-stage trace with timings, and the policy version hash it used.
- idIdrequired
A prefixed ID from this org.
The same Decision object as List decisions.
- 401authentication
The key or token is missing, expired or revoked.
- 403permission
The key's scopes or the person's role don't allow this.
- 404not_found
No object with that id in this org.
- 429rate_limited
Slow down; retry after the Retry-After header.
curl -X GET "https://api.ndstill.com/v2/decisions/dec_01M82WARE0NY0VM98XNSRKH44E" \
-H "Authorization: Bearer $NDSTILL_API_KEY" \
-H "Ndstill-Version: 2026-11-01"{
"id": "dec_01M82WARE0NY0VM98XNSRKH44E",
"object": "decision",
"org_id": "org_A99F918124609C9DAAACB209D8",
"created_at": "2026-11-23T00:19:11.414Z",
"intent_id": "pi_01M82WARCEDTKCJ2CT2YM49A8M",
"agent": {
"id": "agt_01KS34A3MEM01QVS3BG8X852NK",
"name": "Compute broker"
},
"rail": "cloud",
"inbound_ref": null,
"outcome": "approve",
"reasons": [],
"trace": [
{
"stage": "authenticate",
"result": "pass",
"detail": "Agent key acme-robotics-compute_broker-c693d9 verified",
"ms": 1
},
{
"stage": "entitlement",
"result": "pass",
"detail": "Live mode; plan limits OK",
"ms": 6
},
{
"stage": "freeze",
"result": "pass",
"detail": "No freeze on the agent, its tree, team, org or funding source",
"ms": 3
},
{
"stage": "funding",
"result": "pass",
"detail": "AWS (billing)",
"ms": 6
},
{
"stage": "counterparty",
"result": "pass",
"detail": "Amazon Web Services (confidence 0.92)",
"ms": 6
},
{
"stage": "mandate",
"result": "skip",
"detail": "Usage-based spend: no mandate check on this rail",
"ms": 0
},
{
"stage": "policy",
"result": "pass",
"detail": "Within $2,500.00 per payment; category allowed",
"ms": 5
},
{
"stage": "risk",
"result": "pass",
"detail": "Normal pace (4 payments in 10 min)",
"ms": 1
},
{
"stage": "budget",
"result": "pass",
"detail": "Within Compute broker's monthly budget",
"ms": 21
},
{
"stage": "approval",
"result": "pass",
"detail": "Below the $800.00 approval line",
"ms": 6
},
{
"stage": "record",
"result": "pass",
"detail": "Decision signed (acme-robotic)",
"ms": 17
}
],
"policy_version_id": "polv_01M4689JCEXN5J5CXANDR3RJMY",
"policy_version_hash": "sha256:8a07c9fbdf68bc6d47a2a20307d2451509f4bbab2289a41d43fb3213179188e5",
"risk_score": 0.02,
"reservation_id": "res_1af32ddb2ab64c297e5a",
"latency_ms": 72,
"signed_at": "2026-11-23T00:19:11.486Z",
"signature": {
"kid": "ndstill-us1-evidence-2026-10",
"alg": "ed25519",
"value": "8tk2wVMlM8d28J3F4pP2OhQlzZY2QDZFJ2L2RpilLLn5hrkrBVgzycB9JhCRuSAr"
},
"budget_impact": [
{
"budget_id": "bud_01KQZY6YME39QMP0871KJS9W81",
"scope": {
"kind": "org",
"id": "org_A99F918124609C9DAAACB209D8",
"name": "Acme Robotics"
},
"window": "month",
"limit": {
"amount": 27467800,
"asset": "USD"
},
"before": {
"amount": 19450304,
"asset": "USD"
},
"reserved": {
"amount": 8947,
"asset": "USD"
},
"after": {
"amount": 19459251,
"asset": "USD"
}
},
{
"budget_id": "bud_01KQZY6YMER6W9HNSSA6WS78KV",
"scope": {
"kind": "team",
"id": "team_01K8CD3GMECKJ31CYMQH7B9XZP",
"name": "Research"
},
"window": "month",
"limit": {
"amount": 2340000,
"asset": "USD"
},
"before": {
"amount": 3425973,
"asset": "USD"
},
"reserved": {
"amount": 8947,
"asset": "USD"
},
"after": {
"amount": 3434920,
"asset": "USD"
}
},
{
"budget_id": "bud_01KQZY6YMEJXC9HYRP7F820648",
"scope": {
"kind": "tree",
"id": "agt_01KQ667RMEP9Y30VHM3RCA9HZN",
"name": "Research orchestrator tree"
},
"window": "month",
"limit": {
"amount": 4788000,
"asset": "USD"
},
"before": {
"amount": 2638401,
"asset": "USD"
},
"reserved": {
"amount": 8947,
"asset": "USD"
},
"after": {
"amount": 2647348,
"asset": "USD"
}
}
],
"simulated": false
}Runs against the in-browser mock with a test key. Nothing leaves your browser.
Simulate a payment#
/v2/decisions/simulateDry-run a payment through the same pipeline. No reservation, no credential, no rail call and nothing written to evidence. Returns would_outcome and the full trace.
- agent_idIdrequired
- amountMoneyrequired
An amount: integer minor units + asset.
Money: 2 fields
- amountnumberrequired
- assetAssetCoderequired
"USD""USDC""EUR""GBP"
- counterpartystringrequired
- railstring enum
"card""network_token""checkout_token""stablecoin""bank""ai""cloud" - mandate_idId | null
- policy_version_idId | null
Evaluate against a policy version other than the active one.
- purposestring
- idId
- object"simulation"
- would_outcomeDecisionOutcome
"approve""hold""decline" - traceTraceEntry[]
TraceEntry: 5 fields
- stageStageId
"freeze""approval""policy""mandate""authenticate""entitlement""funding""counterparty""risk""budget""record" - resultTraceResult
"hold""decline""pass""skip" - detailstringoptional
Plain-language detail ("Within the $500 weekly budget").
- codestringoptional
Machine reason code when the stage held or declined.
- msnumberoptional
Time spent in the stage.
- reasonsReason[]
Reason: 5 fields
- codestring
- stagestring enumoptional
Pipeline stage that produced it (absent for post-decision reasons).
"freeze""approval""policy""mandate""authenticate""entitlement""funding""counterparty""risk""budget""record" - effectstring enumoptional
"hold" or "decline" (what this reason did on its own).
"hold""decline" - messagestringoptional
Server-written sentence; used when the client has no template for the code.
- paramsReasonParamsoptional
ReasonParams: 15 fields
- agent_namestringoptional
- scope_namestringoptional
Whose budget: "Travel desk", "Engineering team", "the org".
- windowstring enumoptional
"day""week""month""quarter""total" - amountMoneyoptional
An amount: integer minor units + asset.
Money: 2 fields
- amountnumber
- assetAssetCode
"USD""USDC""EUR""GBP"
- limitMoneyoptional
An amount: integer minor units + asset.
Money: 2 fields
- amountnumber
- assetAssetCode
"USD""USDC""EUR""GBP"
- over_byMoneyoptional
An amount: integer minor units + asset.
Money: 2 fields
- amountnumber
- assetAssetCode
"USD""USDC""EUR""GBP"
- thresholdMoneyoptional
An amount: integer minor units + asset.
Money: 2 fields
- amountnumber
- assetAssetCode
"USD""USDC""EUR""GBP"
- counterpartystringoptional
- categorystringoptional
- mandate_counterpartystringoptional
- mandate_maxMoneyoptional
An amount: integer minor units + asset.
Money: 2 fields
- amountnumber
- assetAssetCode
"USD""USDC""EUR""GBP"
- countnumberoptional
- minutesnumberoptional
- by_personstringoptional
- notestringoptional
- railRail
"card""network_token""checkout_token""stablecoin""bank""ai""cloud" - budget_impactBudgetImpact[]
BudgetImpact: 7 fields
- budget_idId
- scopeScope
Scope: 3 fields
- kindScopeKind
"team""org""agent""credential""tree""funding_source" - idId
- namestring
- windowstring enum
"day""week""month""quarter""total" - limitMoney
An amount: integer minor units + asset.
Money: 2 fields
- amountnumber
- assetAssetCode
"USD""USDC""EUR""GBP"
- beforeMoney
Spent before this payment.
Money: 2 fields
- amountnumber
- assetAssetCode
"USD""USDC""EUR""GBP"
- reservedMoney
Reserved by this payment.
Money: 2 fields
- amountnumber
- assetAssetCode
"USD""USDC""EUR""GBP"
- afterMoney
Spent + reserved after.
Money: 2 fields
- amountnumber
- assetAssetCode
"USD""USDC""EUR""GBP"
- policy_version_hashstring
- latency_msnumber
- created_atTimestamp
- 400invalid_request
A field is missing or invalid; fields names each one.
- 401authentication
The key or token is missing, expired or revoked.
- 403permission
The key's scopes or the person's role don't allow this.
- 409conflict
The object changed or already exists, or the Idempotency-Key was reused with a different body.
- 429rate_limited
Slow down; retry after the Retry-After header.
curl -X POST "https://api.ndstill.com/v2/decisions/simulate" \
-H "Authorization: Bearer $NDSTILL_API_KEY" \
-H "Ndstill-Version: 2026-11-01" \
-H "Idempotency-Key: $(uuidgen)" \
-H "Content-Type: application/json" \
-d '{
"agent_id": "agt_01KYW6M8REDTGCTQ2ZK0CMDADJ",
"amount": {
"amount": 4200,
"asset": "USD"
},
"counterparty": "Delta Air Lines",
"rail": "card"
}'{
"id": "sim_01M82XPRR2F4G260476ZANFPCD",
"object": "simulation",
"would_outcome": "hold",
"trace": [
{
"stage": "authenticate",
"result": "pass",
"detail": "Agent key acme-robotics-cloud_cost_guard-c255b9 verified",
"ms": 1
},
{
"stage": "entitlement",
"result": "pass",
"detail": "Live mode; plan limits OK",
"ms": 1
},
{
"stage": "freeze",
"result": "pass",
"detail": "No freeze on the agent, its tree, team, org or funding source",
"ms": 5
},
{
"stage": "funding",
"result": "pass",
"detail": "Agent spend (ndStill account)",
"ms": 1
},
{
"stage": "counterparty",
"result": "pass",
"detail": "Delta Air Lines (confidence 0.98)",
"ms": 2
},
{
"stage": "mandate",
"result": "pass",
"detail": "No mandate needed under the policy's line",
"ms": 4
},
{
"stage": "policy",
"result": "pass",
"detail": "Within $6,000.00 per payment; category allowed",
"ms": 4
},
{
"stage": "risk",
"result": "pass",
"detail": "Normal pace (3 payments in 10 min)",
"ms": 5
},
{
"stage": "budget",
"result": "hold",
"detail": "This would use the last of Cloud cost guard's monthly budget.",
"code": "budget_nearly_exhausted",
"ms": 10
},
{
"stage": "approval",
"result": "pass",
"detail": "Below the $3,000.00 approval line",
"ms": 6
},
{
"stage": "record",
"result": "pass",
"detail": "Decision signed (held)",
"ms": 12
}
],
"reasons": [
{
"code": "budget_nearly_exhausted",
"stage": "budget",
"effect": "hold",
"params": {
"scope_name": "Cloud cost guard",
"window": "month"
}
}
],
"rail": "card",
"budget_impact": [
{
"budget_id": "bud_01KQZY6YME39QMP0871KJS9W81",
"scope": {
"kind": "org",
"id": "org_A99F918124609C9DAAACB209D8",
"name": "Acme Robotics"
},
"window": "month",
"limit": {
"amount": 27467800,
"asset": "USD"
},
"before": {
"amount": 19463451,
"asset": "USD"
},
"reserved": {
"amount": 4200,
"asset": "USD"
},
"after": {
"amount": 19467651,
"asset": "USD"
}
},
{
"budget_id": "bud_01KQZY6YMEZ4DQCWDS001FJGC4",
"scope": {
"kind": "team",
"id": "team_01K8HHWYMEW49G6SJBNWRTEJCX",
"name": "Platform"
},
"window": "month",
"limit": {
"amount": 3523500,
"asset": "USD"
},
"before": {
"amount": 2981963,
"asset": "USD"
},
"reserved": {
"amount": 4200,
"asset": "USD"
},
"after": {
"amount": 2986163,
"asset": "USD"
}
},
{
"budget_id": "bud_01KQZY6YME7WQHES9NFH75E6KZ",
"scope": {
"kind": "agent",
"id": "agt_01KYW6M8REDTGCTQ2ZK0CMDADJ",
"name": "Cloud cost guard"
},
"window": "month",
"limit": {
"amount": 2500000,
"asset": "USD"
},
"before": {
"amount": 2328841,
"asset": "USD"
},
"reserved": {
"amount": 4200,
"asset": "USD"
},
"after": {
"amount": 2333041,
"asset": "USD"
}
}
],
"policy_version_hash": "sha256:78c174d74c47376d44604b2f11c3d415e1dc74c750c820ddce7978ffa9800f65",
"latency_ms": 51,
"created_at": "2026-11-23T00:43:13.538Z"
}Runs against the in-browser mock with a test key. Nothing leaves your browser.