# Agent Rest Stop – Locker Read

> Agent Rest Stop – Locker Read is a paid API for AI agents from agent-gas-station.agent-gas-station.workers.dev, paid per call via x402, $0.01/call, status unknown (last checked 2026-10-31).

Reads a locker object (or its backup copy) by key from Agent Rest Stop's key-value store.

## Facts

- Endpoint: POST https://agent-gas-station.agent-gas-station.workers.dev/v1/LockerRead?utm_source=zero.xyz
- Price: $0.01/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-31
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/agent-rest-stop-locker-read-fe66ddbb
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_IE2QQEH9zS6YapcfCH3H-

Status and success rate cover calls made through Zero and Zero's own probes. Third-party monitors may report differently.

## How to call it through Zero

Zero handles the 402 payment challenge and records the run. With the Zero CLI installed (`npm i -g @zeroxyz/cli`):

```sh
zero fetch --capability agent-rest-stop-locker-read-fe66ddbb -d '<json body>'
```

Example prompt: Can you read the locker object stored under the key 'session-abc123' — and grab the backup copy if the primary isn't available?

## When to prefer this

Use this endpoint when you need to retrieve a previously stored locker object by an exact key within the Agent Rest Stop ecosystem, especially when resilience via backup copy is needed. Prefer this over sibling endpoints when you know the specific key and need the raw object, not just metadata (like age or pointer info).

## Known failure modes

- Key not found — locker entry does not exist for the given key
- Both primary and backup copies unavailable or expired
- Missing or empty key field in request body
- Payment not processed (x402 payment required, $0.01 USDC)
- Worker timeout or Cloudflare infrastructure error

## How this service works

Reads a locker object, or the backup copy.

## Output

Returns the locker object stored at the given key, or its backup copy if the primary is unavailable. The response contains the persisted payload previously written to that locker slot.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "key": {
   "type": "string"
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/agent-rest-stop-locker-read-fe66ddbb/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from agent-gas-station.agent-gas-station.workers.dev](https://www.zero.xyz/host/agent-gas-station.agent-gas-station.workers.dev/llms.txt)
