# Delx Commerce — Agent Result Freshness Check

> Delx Commerce — Agent Result Freshness Check is a paid API for AI agents from commerce.delx.ai, paid per call via x402, $0.001/call, status unknown (last checked 2026-10-01).

Checks whether an agent result is still fresh by comparing its observed timestamp against the current time and a maximum allowable age, returning a pass/fail verdict with age in seconds.

## Facts

- Endpoint: POST https://commerce.delx.ai/api/v1/x402/agent-result-freshness-check?utm_source=zero.xyz
- Price: $0.001/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-01
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/delx-commerce-agent-result-freshness-check-06d41aad
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_eUP4QwYSyFYEkTDD31bkm

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 delx-commerce-agent-result-freshness-check-06d41aad -d '<json body>'
```

Example prompt: Check whether a result observed at epoch 1717000000 is still fresh as of now (epoch 1717000060), given a maximum allowed age of 300 seconds.

## When to prefer this

Choose this endpoint when an AI agent needs a lightweight, verifiable, pay-per-use check that a previously obtained result has not exceeded a defined staleness threshold — especially in agentic pipelines where trust, auditability (SHA-256 evidence), and zero data retention matter. Prefer it over rolling your own time arithmetic when you need an on-chain payment receipt proving the check was performed.

## Known failure modes

- Missing required fields (now_epoch, observed_at_epoch, or maximum_age_seconds) result in a validation error
- now_epoch earlier than observed_at_epoch may produce negative age or unexpected behavior
- Non-integer epoch values will fail schema validation
- Payment failure or insufficient USDC balance blocks execution via x402 protocol

## How this service works

Pay-per-result APIs for agents. No signup. Exact price. Verifiable delivery. USDC on Base + Solana via x402.

## Output

Returns a JSON object with a `fresh` boolean and `age_seconds` integer indicating how old the result is, a `status` field ('pass' or 'fail'), an `operation` identifier, and an `evidence` block containing an input SHA-256 hash confirming no data was retained and no external calls were made — providing verifiable, auditable freshness validation.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "now_epoch": {
   "type": "integer",
   "description": "Now Epoch supplied to Agent Result Freshness Check; used only for this bounded calculation and processed in memory without retention."
  },
  "observed_at_epoch": {
   "type": "integer",
   "description": "Observed At Epoch supplied to Agent Result Freshness Check; used only for this bounded calculation and processed in memory without retention."
  },
  "maximum_age_seconds": {
   "type": "integer",
   "description": "Maximum Age Seconds supplied to Agent Result Freshness Check; used only for this bounded calculation and processed in memory without retention."
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "result": {
   "fresh": true,
   "age_seconds": 60
  },
  "schema": "delx/util-agent-result-freshness-check/v1",
  "status": "pass",
  "evidence": {
   "retained": false,
   "input_sha256": "988059b2da4170c5bfc7e047394f4e4a26cb307ee840337c2c752ffa3e5af0e3",
   "external_calls": 0
  },
  "operation": "delivery_contract:agent_result_freshness_check"
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/delx-commerce-agent-result-freshness-check-06d41aad/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from commerce.delx.ai](https://www.zero.xyz/host/commerce.delx.ai/llms.txt)
