{"uid":"cap_4mLPdrA5V8UXQ9ogDAEHs","slug":"writerslogic-naive-timestamp-hazard-classifier-3d607071","name":"WritersLogic Naive Timestamp Hazard Classifier","description":"Pay-per-call agents settled in USDC on Base via x402. Every response carries a signed provenance envelope.","url":"https://agents.writerslogic.com/api/v1/naive-timestamp-hazard?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"timestamps":{"type":"array","items":{"type":"string","maxLength":64},"maxItems":200,"minItems":1},"assumedTimeZone":{"type":"string","pattern":"^[A-Za-z][A-Za-z0-9_+-]*(/[A-Za-z0-9_+-]+){0,2}$","maxLength":64,"description":"IANA zone the producer is believed to use; used for gap/overlap and offset-consistency checks."}}},"responseSchema":{"type":"json"},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.005","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.005/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.005","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.005","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_ogArGIYlcZ_Hh1u_mrDgb","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.005","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Classifies timestamp strings by format type, identifies hazards (DST gaps/overlaps, ambiguity, missing offsets), and reports all candidate instants a naive or ambiguous timestamp could represent","exampleAgentPrompt":"Can you check these timestamps for me — ['2024-03-10 02:30:00', '2024-11-03T01:15:00-05:00', '1709251200', 'Mar 5, 2024'] — and flag any that are ambiguous, missing offsets, or fall in a DST gap? Assume the producer is in America/New_York.","exampleUseCases":[{"title":"Audit incoming webhook timestamps","prompt":"I just received a batch of event timestamps from a third-party webhook: ['2024-03-10 02:30:00', '2024-11-03 01:00:00', '20240305', '1709251200000']. Can you classify each one and tell me which ones are risky to store or compare, assuming the sender is in Europe/London?"},{"title":"Catch scheduling ambiguity before calendar insert","prompt":"Before I schedule these appointments, can you check if any of these timestamps fall in a DST gap or could mean two different times: ['2024-03-31 02:15:00', '2024-10-27 01:45:00', '2024-06-15T10:00:00Z']? The venue is in Europe/Paris."},{"title":"Validate timestamps from CSV import","prompt":"I'm importing a CSV with timestamps in mixed formats — ['2024-01-15', 'Jan 15 2024 3pm', '1705312800', '2024-01-15T15:00:00+05:30', '01/15/24'] — can you classify each one and flag which are ambiguous, epoch-based, or completely unparseable?"}],"resultDescription":"A per-timestamp classification object for each input string, indicating the type (anchored RFC 3339, naive local, date-only, epoch seconds, epoch milliseconds, zone abbreviation, ambiguous numeric date, or unparseable), the associated hazard description, and — when assumedTimeZone is provided — whether the time falls in a DST gap or overlap, every UTC instant it could represent, and any offsets that contradict the assumed zone.","failureModes":["Input array is empty or exceeds 200 items — validation error returned","assumedTimeZone does not match IANA zone format or is an unrecognized zone name — error or ignored","Individual timestamp strings exceeding 64 characters — skipped or flagged as unparseable","Malformed request body — HTTP 400 with schema validation error","Payment not completed via x402 protocol — HTTP 402 Payment Required"],"whenToPreferThis":"Use this endpoint when an AI agent has received timestamp strings from an external source (user input, API, CSV, webhook) and needs to safely store, compare, or schedule them — before assuming they are UTC or blindly parsing them. It is especially valuable when inputs may mix formats (epoch, date-only, naive local, RFC 3339) or when DST transitions in a known timezone could make a time ambiguous or non-existent. It is not a timezone converter or clock reader; it is a hazard reporter and classifier.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-11-17T18:45:11.943Z","isFirstParty":false,"canonicalSlug":"writerslogic-naive-timestamp-hazard-classifier-3d607071"}