# Agent Rest Stop – DeadlineGuard

> Agent Rest Stop – DeadlineGuard 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).

Checks whether a given Unix timestamp deadline has passed, returning a pass or stop signal for time-gated agent workflows.

## Facts

- Endpoint: POST https://agent-gas-station.agent-gas-station.workers.dev/v1/DeadlineGuard?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-deadlineguard-a4a97fb8
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_-0Ueeep3cqk71V7atFuac

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-deadlineguard-a4a97fb8 -d '<json body>'
```

Example prompt: Before you proceed with the next step, check if we're still within the deadline — the cutoff is Unix timestamp 1735689600. If it's already passed, stop and let me know.

## When to prefer this

Use this endpoint when an AI agent needs to enforce a hard time boundary before proceeding with a workflow step — particularly when you want a lightweight, stateless go/no-go check against a Unix timestamp without building custom time comparison logic. Prefer it over manual timestamp comparisons in agent code when you need a consistent, externally auditable time gate.

## Known failure modes

- Invalid or non-numeric deadline_unix string causes a parse error
- Missing deadline_unix field results in a validation error
- Malformed request body returns a 400 error
- Cloudflare Worker timeout if upstream is overloaded
- Ambiguous result if clock skew is significant

## How this service works

Go or stop against Worker time.

## Output

Returns a pass or stop signal indicating whether the current time is before or after the provided Unix deadline timestamp, allowing the agent to proceed or halt accordingly.

## Request schema (JSON Schema)

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

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/agent-rest-stop-deadlineguard-a4a97fb8/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)
