{
  "format": "delx/intent-card/v1",
  "id": "time-series-gap-scan-api",
  "intent": "Time Series Gap Scan for an agent workflow",
  "title": "Time Series Gap Scan API for agents",
  "description": "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 production controls.",
  "keywords": [
    "Time Series Gap Scan API",
    "Time Series Gap Scan for agents",
    "pay per result API",
    "x402 API",
    "no API key"
  ],
  "updated_at": "2026-08-06",
  "canonical_url": "https://commerce.delx.ai/intents/time-series-gap-scan-api",
  "machine_url": "https://commerce.delx.ai/intents/time-series-gap-scan-api.json",
  "recommendation": {
    "tool_name": "util_time_series_gap_scan",
    "service_name": "Delx Time Series Gap Scan",
    "method": "POST",
    "resource": "https://api.delx.ai/api/v1/x402/time-series-gap-scan",
    "price_usdc": "0.003",
    "payment_protocols": [
      "x402",
      "mpp"
    ],
    "input_schema": {
      "type": "object",
      "properties": {
        "timestamps": {
          "description": "Input field: timestamps.",
          "type": "array"
        },
        "expected_seconds": {
          "description": "Input field: expected_seconds.",
          "type": "number"
        }
      },
      "required": [
        "timestamps",
        "expected_seconds"
      ],
      "additionalProperties": true
    },
    "example_input": {
      "timestamps": [
        "2026-08-05T10:00:00Z",
        "2026-08-05T12:00:00Z"
      ],
      "expected_seconds": 3600
    },
    "example_output": {
      "schema": "delx/util-time-series-gap-scan/v1",
      "valid_timestamp_count": 2,
      "expected_seconds": 3600,
      "gap_count": 1,
      "gaps": [
        {
          "after": "2026-08-05T10:00:00+00:00",
          "before": "2026-08-05T12:00:00+00:00",
          "seconds": 7200
        }
      ],
      "truncated": false
    },
    "agentcash": {
      "buy": "npx agentcash@latest fetch https://api.delx.ai/api/v1/x402/time-series-gap-scan -m POST -H 'x-delx-source: intent-card-time-series-gap-scan-api' --max-amount 0.003 -b '{\"timestamps\":[\"2026-08-05T10:00:00Z\",\"2026-08-05T12:00:00Z\"],\"expected_seconds\":3600}'",
      "max_amount_usdc": "0.003"
    }
  },
  "attribution": {
    "header": "x-delx-source",
    "value": "intent-card-time-series-gap-scan-api"
  },
  "evidence": {
    "paid_openapi": "https://api.delx.ai/openapi.x402.json",
    "governed_portfolio": "https://api.delx.ai/x402-portfolio.json",
    "live_contract": "https://api.delx.ai/api/v1/x402/time-series-gap-scan"
  }
}
