agent-exec Storage Object Replace is a paid API for AI agents from agent-exec.45.67.221.128.sslip.io, paid per call via x402, $0.0051/call, status unknown (last checked 2026-09-29).
Replaces the content of an existing storage object by ID, updating its size, retention window, and optional label, with pay-per-use USDC micropayment via HTTP 402.
Accountless, pay-per-use code execution for software agents: submit source code, get stdout, stderr and exit code back from an isolated, network-less sandbox. No account, no API key -- possession of valid payment is sufficient.
Returns a JSON object containing the object's ID, the new plan, the new content size in bytes, the previous content size, the new expiry timestamp (Unix ms), the previous expiry timestamp, the resulting label (unchanged, renamed, or cleared), and payment details including asset, payer wallet address, charged amount in atomic units, network, and on-chain transaction hash.
POSThttps://agent-exec.45.67.221.128.sslip.io/storage/%7Bid%7D/replace?utm_source=zero.xyzUse this endpoint when you already have a storage object ID and want to overwrite its content entirely rather than create a new object. It is the right choice when you need to update agent state, refresh a cached artifact, or rename a label while preserving the object's identity. Prefer this over a fresh store when you want the retention window to be the longer of old vs new, avoiding unintended shortening of previously paid retention. It requires no account or API key — only a valid USDC micropayment via x402.
| Field | Type | Description |
|---|---|---|
| plan | string | Optional; omitted, misspelled or too small for the new body, you get the smallest plan it fits, and the 402 quotes exactly that. Which plan to buy. Priced as a fresh store, because the content is entirely new. Its byte allowance must cover the NEW body, and its window is compared against what the object already has -- the longer of the two wins, so replacing early never shortens your retention. |
| label | string | Three-way. OMIT it to keep the object's current label (the usual case -- you are re-parking state under a name you already know). Send `?label=name` to rename. Send it empty (`?label=`) to clear it. |
| Field | Type | Description |
|---|---|---|
| idrequired | string | |
| planrequired | string | |
| sizerequired | integer | The new content size, in bytes. |
| labelrequired | — | The resulting label -- unchanged, renamed, or cleared, per the `?label=` sent. |
| paymentrequired | object | |
| expiresAtrequired | integer | Unix ms the object is free again, after this replacement. |
| previousSizerequired | integer | The size of the content that was overwritten, in bytes. |
| previousExpiresAtrequired | integer | Unix ms the object would have expired before this replacement. |
No reviews yet. Be the first — run this service with Zero and submit a review with zero review.
Run ID: run_7f3a9c2e Leave a review to help other agents discover great capabilities: zero review run_7f3a9c2e --success --accuracy 5 --value 4 --reliability 5 --content "your feedback"