# Delx Time Series Gap Scan

> Delx Time Series Gap Scan is a paid API for AI agents from api.delx.ai, paid per call via x402, $0.003/call, status unknown (last checked 2026-09-13).

Detects gaps larger than an expected interval in a list of ISO-8601 timestamps and returns a machine-readable JSON report of where those gaps occur.

## Facts

- Endpoint: POST https://api.delx.ai/api/v1/x402/time-series-gap-scan
- Price: $0.003/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-13
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/delx-time-series-gap-scan-8d259bbd
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_mQZTge0GT_P2e5aImr-Bh

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-time-series-gap-scan-8d259bbd -d '<json body>'
```

Example prompt: Scan these timestamps for any gaps larger than 60 seconds and tell me where the coverage holes are: ["2024-01-15T10:00:00Z", "2024-01-15T10:01:00Z", "2024-01-15T10:05:00Z", "2024-01-15T10:06:00Z"].

## When to prefer this

Choose this endpoint when you need a fast, stateless, deterministic preflight check on a bounded list of ISO-8601 timestamps before committing data to a pipeline, database, or decision process. It is ideal for agent workflows that need machine-readable gap reports without standing up infrastructure or retaining any input data. Prefer it over custom code when you want a zero-setup, pay-per-call approach at $0.003 USDC, especially in enterprise workflows where auditability and local-only execution matter.

## Known failure modes

- Empty or null timestamps array returns an error or zero-gap result
- Non-ISO-8601 timestamp formats cause parsing failures or validation errors
- expected_seconds not provided or set to zero/negative may cause undefined gap threshold behavior
- Timestamps provided out of chronological order may produce unexpected gap calculations
- Network or payment authorization failure returns a 402 or connectivity error

## How this service works

Detect gaps larger than an expected interval in ISO-8601 timestamps. Use it as a bounded preflight or analysis step inside an enterprise agent workflow before data, policy, integration, security, or commercial decisions reach production. Returns deterministic machine-readable JSON for $0.003 USDC via x402 on Base. Execution is first-party, local-only, stateless, memory-only, and has no paid upstream or input retention. Results are advisory; the caller remains responsible for authorization and p…

## Output

Returns a deterministic machine-readable JSON object listing all detected gaps — each with the start and end timestamps of the gap and the duration in seconds — along with a summary count of gaps found. The response is advisory and stateless; no input data is retained.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "timestamps": {
   "type": "array",
   "description": "Input field: timestamps."
  },
  "expected_seconds": {
   "type": "number",
   "description": "Input field: expected_seconds."
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "gaps": [
   {
    "after": "2026-08-05T10:00:00+00:00",
    "before": "2026-08-05T12:00:00+00:00",
    "seconds": 7200
   }
  ],
  "schema": "delx/util-time-series-gap-scan/v1",
  "gap_count": 1,
  "truncated": false,
  "expected_seconds": 3600,
  "valid_timestamp_count": 2
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/delx-time-series-gap-scan-8d259bbd/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from api.delx.ai](https://www.zero.xyz/host/api.delx.ai/llms.txt)
