{"uid":"cap_mQZTge0GT_P2e5aImr-Bh","slug":"delx-time-series-gap-scan-8d259bbd","name":"Delx Time Series Gap Scan","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 p…","url":"https://api.delx.ai/api/v1/x402/time-series-gap-scan","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"timestamps":{"type":"array","description":"Input field: timestamps."},"expected_seconds":{"type":"number","description":"Input field: expected_seconds."}}},"responseSchema":{"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}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.003","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"probe","requiresHandshake":false,"reviewCount":0,"rating":{"score":"0.00","successRate":"0.00","reviews":0,"stars":null,"state":"unrated"},"availabilityStatus":"unknown","priceObserved":null,"sessionDeposit":null,"pricing":{"kind":"static","summary":"$0.003/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.003","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.003","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_cX8D8oU3dnE3lubxRV18D","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.003","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"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.","exampleAgentPrompt":"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\"].","exampleUseCases":[{"title":"IoT sensor dropout audit","prompt":"I have telemetry readings from a temperature sensor that should report every 30 seconds. Here are the timestamps: [\"2024-03-01T08:00:00Z\", \"2024-03-01T08:00:30Z\", \"2024-03-01T08:02:15Z\", \"2024-03-01T08:02:45Z\"]. Scan them for any gaps bigger than 30 seconds so I know where the sensor went offline."},{"title":"Event log completeness preflight","prompt":"Before I feed this event log into our production pipeline, scan the timestamps for any gaps larger than 5 minutes — the expected interval is 300 seconds. I want to make sure there are no coverage holes I'd be blindly ignoring downstream."},{"title":"Monitoring heartbeat gap check","prompt":"Our agent fleet sends heartbeats every 60 seconds. Check this batch of heartbeat timestamps for any silences longer than 60 seconds so I can flag which agents dropped off: [\"2024-06-10T14:00:00Z\", \"2024-06-10T14:01:00Z\", \"2024-06-10T14:03:30Z\", \"2024-06-10T14:04:30Z\"]."}],"resultDescription":"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.","failureModes":["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"],"whenToPreferThis":"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.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-13T19:02:06.363Z","isFirstParty":false}