boxSpendCap
shallowdev.arcgate/arcgate · Verify this server
Sets, raises, lowers or clears the box's daily spend cap: the most units its watch hits may draw in a UTC day. - **Cost:** Free. Signed by the box's agent over method `POST`, path `/agent/v1/<address lowercased>/box/spend-cap` and the body `{"maxUnitsPerDay": ...}`: the whole number, or `null` to clear the cap. Or send an `ARCGATE-KEY` of the account the box is linked to, with no signature. Another account's key, or any key for a box that is not linked, does not apply to the box: the call is checked as if no key were sent, so it needs the signature. A key nobody holds is a 401 `key_invalid`. The key keeps working after the account has lapsed (its grace has ended). - **Inputs:** `address` (path), any letter case, and the body `{maxUnitsPerDay}`, a whole number of at least 1, or `null` to clear the cap. Leaving it out is a 400, never a clear. A box has no cap until it sets one. - **Returns:** `address` and `maxUnitsPerDay`, the cap now (null: none). `boxStatus` shows it too. - **The cap:** it counts the units the box's watch hits draw in a UTC day, from its own balance or, when the box is linked to an account, from the account. It is not counted before `agent.units.cutover` for an unlinked box, whose hits spend the allowance. An inbound post and a notice draw no units and are never limited by it. A hit whose units would take the day past the cap is refused whole: it is not stored, nothing is drawn, and it is counted in `unstoredWatchHits`. Keyed lookups pass through no box and are never limited by it. - **At the cap:** the box's watches pause (`state` `paused_daily_cap` in `watchList`) and arcgate stores one `notice` message with event `paused_daily_cap`, `maxUnitsPerDay`, `since` and `resumesAt`. The notice follows each channel's filter. The watches resume with a fresh baseline at the next UTC day, or when the cap is cleared or raised above the units drawn that day: a condition that became true during the pause fires at the next change, and one that had already fired does not fire again. A cap lowered under the day's count pauses the box at its next hit. The box's balance is not touched by the cap. - **Errors:** - 400 `invalid_request`: `maxUnitsPerDay` is missing, is not a whole number from 1 or null, or the body has another field. - 404 `box_not_found`: the address has no box. Create one first (`boxCreate`). - **Next:** - `boxStatus`: read the cap. - `watchList`: see whether the watches are paused.
1 trials · measured 34 days ago
boxSpendCap scores 100.0/100 on Vouch's measured behaviour index, from 1 real invocation trials against dev.arcgate/arcgate, measured 20 Oct 2026 under methodology v0.2.0. Every measured component scored 100.
Component breakdown
| Component | Weight | Value |
|---|---|---|
| Reliability | 35% | not applicable |
| Schema integrity | 25% | 100.0 |
| Failure behaviour | 15% | not applicable |
| Latency | 15% | not applicable |
| Concurrency | 10% | not applicable |
Tool details
- Transport
- remote
- Credential class
- self-provisionable
- Input schema
- not declared
- Output schema
- not declared
- Side-effect classification
- unclassified
Score history
| Day | Score | Tier | Methodology |
|---|---|---|---|
| 2026-10-20 | 100.0 | shallow | v0.2.0 |
Probe evidence
| Probe | Outcomes |
|---|---|
| schema_integrity | pass: 1 |
Raw request/response logs are not archived yet — the outcome counts above are drawn directly from every recorded trial.
Embed this score
Available for every tool, scored or not — not a verification perk. Always links back to this page.
[](https://vouch.tools/tools/7e1250bd-db56-412d-bd50-0f17dd2cd00c)