{"uid":"cap_iPmPqL0Lr5rbVRyta26Jm","slug":"service-worker-readiness-decision-e4ab1284","name":"Service Worker Readiness Decision","description":"Service worker readiness decision fetches current public evidence from the supplied target and evaluates the documented criterion. It returns the observation, threshold, verdict, exact evidence source, limitations and a mode-specific action. The check is passive: no login attempt, payload injection, exploit, purchase, form submission or load test is performed.","url":"https://webtechnik.halowerk.com/v1/service-worker-decision?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"target":{"type":"string","maxLength":2048,"minLength":3,"description":"Public HTTP(S) URL or domain to inspect. A bare domain is normalized to HTTPS."},"context":{"type":"object","description":"Optional non-secret correlation labels returned unchanged only in the request lifecycle.","maxProperties":12,"additionalProperties":{"type":["string","number","boolean","null"]}},"baseline":{"type":["object","null"],"description":"Optional baseline returned by a previous snapshot call.","additionalProperties":true},"compare_url":{"type":"string","maxLength":2048,"minLength":3,"description":"Optional public comparison URL. Used by change and monitoring services."}}},"responseSchema":null,"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.001","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.001/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.001","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.001","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_0qQGPZfpnB7eDv3k2bLQj","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.001","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Passively inspects a public URL to determine whether it has a service worker registered, returning a verdict, evidence, threshold, and recommended action.","exampleAgentPrompt":"Can you check whether https://example.com has a service worker registered and tell me if it passes the readiness criterion — include the evidence source and any limitations?","exampleUseCases":[{"title":"PWA readiness check before launch","prompt":"Before we go live, can you audit https://myapp.io and tell me whether it has a service worker set up — I need the verdict, what evidence was found, and what we should do if it's not ready?"},{"title":"Competitor service worker benchmarking","prompt":"Check if https://competitorsite.com has a service worker registered and give me the full breakdown — observation, threshold, verdict, and evidence source — so I can compare it against our own site."},{"title":"Automated site monitoring for service worker regression","prompt":"Run a service worker readiness check on https://store.mybrand.com using our previous baseline snapshot so I can see if anything has changed and whether we still pass the criterion."}],"resultDescription":"Returns a structured result containing the observation (what was found on the target), the threshold that determines pass/fail, a verdict (pass/fail/unknown), the exact evidence source (e.g. the specific HTTP response or script tag inspected), noted limitations of the passive check, and a mode-specific action recommendation. No authentication, login, exploit, or form submission is performed.","failureModes":["Target URL is unreachable or returns a non-200 status — check may return an inconclusive or error verdict","Bare domain normalized to HTTPS may fail if site only serves HTTP","Service worker registered via dynamic runtime injection may not be detected by passive inspection","Rate limiting or bot-blocking on the target site may prevent evidence retrieval","Malformed or oversized target URL (exceeding 2048 characters) will be rejected"],"whenToPreferThis":"Use this endpoint when you need a lightweight, passive, non-invasive verdict on whether a specific public URL has a service worker registered, especially as part of a broader PWA or web performance audit pipeline. Prefer it over manual Lighthouse runs or browser DevTools when you need a programmatic, automatable check with structured output including evidence provenance and action recommendations. Ideal for CI/CD gates, competitive benchmarking, or regression monitoring when combined with a baseline snapshot.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-11-17T00:36:47.611Z","isFirstParty":false,"canonicalSlug":"service-worker-readiness-decision-e4ab1284"}