{"openapi":"3.1.0","info":{"title":"Stumble API","version":"1.0.0","description":"Watch-and-notify service for AI agents. Pay per watch via x402 (requirements arrive in the PAYMENT-REQUIRED header AND the 402 JSON body). Free endpoints are rate limited per IP with X-RateLimit-* headers; 429s carry Retry-After. Full reference: https://stumble.vimabrosta.com/llms-full.txt","x-guidance":"Stumble keeps watching a public web page after your session ends and calls your webhook when a condition becomes true. Use GET /v1/recheck?url=&hash= ($0.005) before re-reading any page: it says whether the page changed since the hash you hold. Use POST /v1/checks ($0.01) for a one-time answer right now; POST /v1/watches/{standard|fast|sniper} to be notified later; POST /v1/wake to be called back at a time you set with a payload you stored; POST /v1/cron to be called on a schedule for up to 14 days; POST /v1/inbox for a capture URL that holds callbacks for 7 days. Every paid route answers HTTP 402 with exact requirements; pay (USDC on Base or Solana) and retry the identical request with an Idempotency-Key header. POST /v1/validate is free and tells you whether a request would run before you pay. Status and cancel routes take the one-time secret returned at purchase as a Bearer token.","contact":{"email":"contact@vimabrosta.com"}},"servers":[{"url":"https://stumble.vimabrosta.com"}],"components":{"securitySchemes":{"watchSecret":{"type":"http","scheme":"bearer","description":"The one-time secret returned at purchase, as a Bearer token."},"secretQuery":{"type":"apiKey","in":"query","name":"secret","description":"The same one-time secret as a query parameter."}}},"paths":{"/v1/validate":{"post":{"summary":"Free pre-flight: is a URL watchable under the URL policy, is a condition well-formed","security":[],"requestBody":{"content":{"application/json":{"schema":{"type":"object","properties":{"url":{"type":"string"},"condition":{"type":"object","description":"Exactly one condition. See /llms-full.txt for all eight types with examples.","oneOf":[{"properties":{"type":{"const":"keyword"},"keyword":{"type":"string"},"when":{"enum":["appears","disappears"]}},"required":["type","keyword"]},{"properties":{"type":{"const":"selector"},"selector":{"type":"string"},"op":{"enum":["contains","not_contains","equals","matches","changes"]},"value":{"type":"string"}},"required":["type","selector","op"]},{"properties":{"type":{"const":"json_path"},"path":{"type":"string"},"op":{"enum":["eq","ne","gt","lt","gte","lte","exists","not_exists","contains","changes"]},"value":{}},"required":["type","path","op"]},{"properties":{"type":{"const":"price"},"op":{"enum":["below","above"]},"value":{"type":"number"},"selector":{"type":"string"}},"required":["type","op","value"]},{"properties":{"type":{"const":"content_change"},"selector":{"type":"string"}},"required":["type"]},{"properties":{"type":{"const":"status"},"op":{"enum":["eq","ne","gte","lt"]},"value":{"type":"integer"}},"required":["type","op","value"]},{"properties":{"type":{"const":"sitemap"},"when":{"enum":["url_added","url_removed","changes"],"default":"url_added"}},"required":["type"]},{"properties":{"type":{"const":"feed"},"when":{"enum":["new_item","changes"],"default":"new_item"}},"required":["type"]}]}},"required":["url"]},"example":{"url":"https://shop.example/product","condition":{"type":"keyword","keyword":"sold out","when":"disappears"}}}}},"responses":{"200":{"description":"watchable true/false with the failing policy rule; no page fetch is performed"},"429":{"description":"rate limited (30/min/IP)"}}}},"/v1/recheck":{"get":{"summary":"Has this URL changed since the hash I hold? One fetch, changed true/false, new hash ($0.005)","x-payment-info":{"price":{"mode":"fixed","currency":"USD","amount":"0.005000"},"protocols":[{"x402":{}}]},"parameters":[{"name":"url","in":"query","required":false,"schema":{"type":"string","format":"uri"},"description":"Public http(s) URL. Defaults to https://example.com/ when absent, and the response says so."},{"name":"hash","in":"query","required":false,"schema":{"type":"string","pattern":"^[0-9a-f]{64}$"},"description":"The hash a previous recheck returned. Omit on the first call to receive it."},{"name":"selector","in":"query","required":false,"schema":{"type":"string"},"description":"Optional CSS selector; the hash covers that element's text only."}],"responses":{"200":{"description":"changed, hash, previous_hash, evidence, resume_hint, receipt","content":{"application/json":{"schema":{"type":"object"},"example":{"changed":true,"hash":"e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855","previous_hash":"9f86d081884c7d659a2feaa0c55ad015a3bf4f1b2b0b822cd15d6c15b0f00a08","http_status":200,"evidence":{"excerpt":"...","checked_at":1790000000},"receipt":{"product":"recheck","price":"$0.005"}}}}},"402":{"description":"Payment Required ($0.005, x402). Requirements in the PAYMENT-REQUIRED header and the JSON body; retry with PAYMENT-SIGNATURE."},"422":{"description":"invalid request, unreachable target, or client-rendered shell (not charged)"}}},"post":{"summary":"Recheck with a JSON body: url, hash, selector ($0.005)","x-payment-info":{"price":{"mode":"fixed","currency":"USD","amount":"0.005000"},"protocols":[{"x402":{}}]},"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["url"],"properties":{"url":{"type":"string","format":"uri"},"hash":{"type":"string","pattern":"^[0-9a-f]{64}$","description":"The hash a previous recheck returned. Omit on the first call to receive it."},"selector":{"type":"string","description":"Optional CSS selector; the hash covers that element's text instead of the whole page."}}},"example":{"url":"https://docs.example/changelog","hash":"9f86d081884c7d659a2feaa0c55ad015a3bf4f1b2b0b822cd15d6c15b0f00a08","selector":"main"}}}},"responses":{"200":{"description":"changed, hash, previous_hash, evidence, resume_hint, receipt","content":{"application/json":{"schema":{"type":"object"},"example":{"changed":true,"hash":"e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855","previous_hash":"9f86d081884c7d659a2feaa0c55ad015a3bf4f1b2b0b822cd15d6c15b0f00a08","http_status":200,"evidence":{"excerpt":"...","checked_at":1790000000},"receipt":{"product":"recheck","price":"$0.005"}}}}},"402":{"description":"Payment Required ($0.005, x402). Requirements in the PAYMENT-REQUIRED header and the JSON body; retry with PAYMENT-SIGNATURE."},"422":{"description":"invalid request, unreachable target, or client-rendered shell (not charged)"}}}},"/v1/checks":{"post":{"summary":"One immediate fetch + condition evaluation ($0.01)","x-payment-info":{"price":{"mode":"fixed","currency":"USD","amount":"0.010000"},"protocols":[{"x402":{}}]},"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"url":{"type":"string","format":"uri"},"condition":{"type":"object","description":"Exactly one condition. See /llms-full.txt for all eight types with examples.","oneOf":[{"properties":{"type":{"const":"keyword"},"keyword":{"type":"string"},"when":{"enum":["appears","disappears"]}},"required":["type","keyword"]},{"properties":{"type":{"const":"selector"},"selector":{"type":"string"},"op":{"enum":["contains","not_contains","equals","matches","changes"]},"value":{"type":"string"}},"required":["type","selector","op"]},{"properties":{"type":{"const":"json_path"},"path":{"type":"string"},"op":{"enum":["eq","ne","gt","lt","gte","lte","exists","not_exists","contains","changes"]},"value":{}},"required":["type","path","op"]},{"properties":{"type":{"const":"price"},"op":{"enum":["below","above"]},"value":{"type":"number"},"selector":{"type":"string"}},"required":["type","op","value"]},{"properties":{"type":{"const":"content_change"},"selector":{"type":"string"}},"required":["type"]},{"properties":{"type":{"const":"status"},"op":{"enum":["eq","ne","gte","lt"]},"value":{"type":"integer"}},"required":["type","op","value"]},{"properties":{"type":{"const":"sitemap"},"when":{"enum":["url_added","url_removed","changes"],"default":"url_added"}},"required":["type"]},{"properties":{"type":{"const":"feed"},"when":{"enum":["new_item","changes"],"default":"new_item"}},"required":["type"]}]}},"required":["url","condition"]},"example":{"url":"https://shop.example/product","condition":{"type":"keyword","keyword":"sold out","when":"disappears"}}}}},"responses":{"200":{"description":"matched, value, evidence, receipt","content":{"application/json":{"schema":{"type":"object"},"example":{"matched":false,"value":"present","evidence":{"excerpt":"...","http_status":200,"checked_at":1790000000},"receipt":{"product":"check","price":"$0.01"}}}}},"402":{"description":"Payment Required ($0.01, x402). Requirements in the PAYMENT-REQUIRED header and the JSON body; retry with PAYMENT-SIGNATURE."},"422":{"description":"invalid request, unreachable target, or client-rendered shell (not charged)"}}},"get":{"summary":"The same check over GET: url and condition as query parameters ($0.01)","x-payment-info":{"price":{"mode":"fixed","currency":"USD","amount":"0.010000"},"protocols":[{"x402":{}}]},"parameters":[{"name":"url","in":"query","required":false,"schema":{"type":"string","format":"uri"},"description":"Public http(s) URL. Defaults to https://example.com/ when absent, and the response says so."},{"name":"condition","in":"query","required":false,"schema":{"type":"string"},"description":"The condition object as URL-encoded JSON. Alternatively send flat parameters: type, keyword, when, selector, op, value, path. Defaults to a status 200 check when absent."},{"name":"type","in":"query","required":false,"schema":{"enum":["keyword","selector","json_path","price","status"]}}],"responses":{"200":{"description":"matched, value, evidence, receipt","content":{"application/json":{"schema":{"type":"object"},"example":{"matched":false,"value":"present","evidence":{"excerpt":"...","http_status":200,"checked_at":1790000000},"receipt":{"product":"check","price":"$0.01"}}}}},"402":{"description":"Payment Required ($0.01, x402). Requirements in the PAYMENT-REQUIRED header and the JSON body; retry with PAYMENT-SIGNATURE."},"422":{"description":"invalid request, unreachable target, or client-rendered shell (not charged)"}}}},"/v1/watches/standard":{"post":{"summary":"Create standard watch: poll every 900s, up to 14 days ($0.10)","x-payment-info":{"price":{"mode":"fixed","currency":"USD","amount":"0.100000"},"protocols":[{"x402":{}}]},"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"url":{"type":"string","format":"uri"},"condition":{"type":"object","description":"Exactly one condition. See /llms-full.txt for all eight types with examples.","oneOf":[{"properties":{"type":{"const":"keyword"},"keyword":{"type":"string"},"when":{"enum":["appears","disappears"]}},"required":["type","keyword"]},{"properties":{"type":{"const":"selector"},"selector":{"type":"string"},"op":{"enum":["contains","not_contains","equals","matches","changes"]},"value":{"type":"string"}},"required":["type","selector","op"]},{"properties":{"type":{"const":"json_path"},"path":{"type":"string"},"op":{"enum":["eq","ne","gt","lt","gte","lte","exists","not_exists","contains","changes"]},"value":{}},"required":["type","path","op"]},{"properties":{"type":{"const":"price"},"op":{"enum":["below","above"]},"value":{"type":"number"},"selector":{"type":"string"}},"required":["type","op","value"]},{"properties":{"type":{"const":"content_change"},"selector":{"type":"string"}},"required":["type"]},{"properties":{"type":{"const":"status"},"op":{"enum":["eq","ne","gte","lt"]},"value":{"type":"integer"}},"required":["type","op","value"]},{"properties":{"type":{"const":"sitemap"},"when":{"enum":["url_added","url_removed","changes"],"default":"url_added"}},"required":["type"]},{"properties":{"type":{"const":"feed"},"when":{"enum":["new_item","changes"],"default":"new_item"}},"required":["type"]}]},"notify":{"type":"object","properties":{"mode":{"enum":["webhook","poll"]},"url":{"type":"string","format":"uri"},"format":{"enum":["json","slack","discord"],"default":"json"}},"required":["mode"]},"duration_days":{"type":"number"}},"required":["url","condition"]},"example":{"url":"https://shop.example/product","condition":{"type":"keyword","keyword":"sold out","when":"disappears"},"notify":{"mode":"webhook","url":"https://your-agent.example/hook","format":"json"},"duration_days":7}}}},"responses":{"201":{"description":"watch created; response includes one-time secret, links, receipt, resume_hint","content":{"application/json":{"schema":{"type":"object"},"example":{"id":"w_...","secret":"ws_...","status":"active","tier":"standard","expires_at":1790604800,"links":{"status":"https://stumble.vimabrosta.com/v1/watches/w_..."}}}}},"402":{"description":"Payment Required ($0.10, x402). Requirements in the PAYMENT-REQUIRED header and the JSON body; retry with PAYMENT-SIGNATURE."},"409":{"description":"condition already true right now - not charged; use /v1/checks"},"422":{"description":"invalid request / unreachable target / unevaluable condition - not charged"}}}},"/v1/watches/fast":{"post":{"summary":"Create fast watch: poll every 60s, up to 7 days ($0.50)","x-payment-info":{"price":{"mode":"fixed","currency":"USD","amount":"0.500000"},"protocols":[{"x402":{}}]},"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"url":{"type":"string","format":"uri"},"condition":{"type":"object","description":"Exactly one condition. See /llms-full.txt for all eight types with examples.","oneOf":[{"properties":{"type":{"const":"keyword"},"keyword":{"type":"string"},"when":{"enum":["appears","disappears"]}},"required":["type","keyword"]},{"properties":{"type":{"const":"selector"},"selector":{"type":"string"},"op":{"enum":["contains","not_contains","equals","matches","changes"]},"value":{"type":"string"}},"required":["type","selector","op"]},{"properties":{"type":{"const":"json_path"},"path":{"type":"string"},"op":{"enum":["eq","ne","gt","lt","gte","lte","exists","not_exists","contains","changes"]},"value":{}},"required":["type","path","op"]},{"properties":{"type":{"const":"price"},"op":{"enum":["below","above"]},"value":{"type":"number"},"selector":{"type":"string"}},"required":["type","op","value"]},{"properties":{"type":{"const":"content_change"},"selector":{"type":"string"}},"required":["type"]},{"properties":{"type":{"const":"status"},"op":{"enum":["eq","ne","gte","lt"]},"value":{"type":"integer"}},"required":["type","op","value"]},{"properties":{"type":{"const":"sitemap"},"when":{"enum":["url_added","url_removed","changes"],"default":"url_added"}},"required":["type"]},{"properties":{"type":{"const":"feed"},"when":{"enum":["new_item","changes"],"default":"new_item"}},"required":["type"]}]},"notify":{"type":"object","properties":{"mode":{"enum":["webhook","poll"]},"url":{"type":"string","format":"uri"},"format":{"enum":["json","slack","discord"],"default":"json"}},"required":["mode"]},"duration_days":{"type":"number"}},"required":["url","condition"]},"example":{"url":"https://shop.example/product","condition":{"type":"keyword","keyword":"sold out","when":"disappears"},"notify":{"mode":"webhook","url":"https://your-agent.example/hook","format":"json"},"duration_days":3}}}},"responses":{"201":{"description":"watch created; response includes one-time secret, links, receipt, resume_hint","content":{"application/json":{"schema":{"type":"object"},"example":{"id":"w_...","secret":"ws_...","status":"active","tier":"fast","expires_at":1790604800,"links":{"status":"https://stumble.vimabrosta.com/v1/watches/w_..."}}}}},"402":{"description":"Payment Required ($0.50, x402). Requirements in the PAYMENT-REQUIRED header and the JSON body; retry with PAYMENT-SIGNATURE."},"409":{"description":"condition already true right now - not charged; use /v1/checks"},"422":{"description":"invalid request / unreachable target / unevaluable condition - not charged"}}}},"/v1/watches/sniper":{"post":{"summary":"Create sniper watch: poll every 10s, up to 2 days ($2.00)","x-payment-info":{"price":{"mode":"fixed","currency":"USD","amount":"2.000000"},"protocols":[{"x402":{}}]},"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"url":{"type":"string","format":"uri"},"condition":{"type":"object","description":"Exactly one condition. See /llms-full.txt for all eight types with examples.","oneOf":[{"properties":{"type":{"const":"keyword"},"keyword":{"type":"string"},"when":{"enum":["appears","disappears"]}},"required":["type","keyword"]},{"properties":{"type":{"const":"selector"},"selector":{"type":"string"},"op":{"enum":["contains","not_contains","equals","matches","changes"]},"value":{"type":"string"}},"required":["type","selector","op"]},{"properties":{"type":{"const":"json_path"},"path":{"type":"string"},"op":{"enum":["eq","ne","gt","lt","gte","lte","exists","not_exists","contains","changes"]},"value":{}},"required":["type","path","op"]},{"properties":{"type":{"const":"price"},"op":{"enum":["below","above"]},"value":{"type":"number"},"selector":{"type":"string"}},"required":["type","op","value"]},{"properties":{"type":{"const":"content_change"},"selector":{"type":"string"}},"required":["type"]},{"properties":{"type":{"const":"status"},"op":{"enum":["eq","ne","gte","lt"]},"value":{"type":"integer"}},"required":["type","op","value"]},{"properties":{"type":{"const":"sitemap"},"when":{"enum":["url_added","url_removed","changes"],"default":"url_added"}},"required":["type"]},{"properties":{"type":{"const":"feed"},"when":{"enum":["new_item","changes"],"default":"new_item"}},"required":["type"]}]},"notify":{"type":"object","properties":{"mode":{"enum":["webhook","poll"]},"url":{"type":"string","format":"uri"},"format":{"enum":["json","slack","discord"],"default":"json"}},"required":["mode"]},"duration_days":{"type":"number"}},"required":["url","condition"]},"example":{"url":"https://shop.example/product","condition":{"type":"keyword","keyword":"sold out","when":"disappears"},"notify":{"mode":"webhook","url":"https://your-agent.example/hook","format":"json"},"duration_days":1}}}},"responses":{"201":{"description":"watch created; response includes one-time secret, links, receipt, resume_hint","content":{"application/json":{"schema":{"type":"object"},"example":{"id":"w_...","secret":"ws_...","status":"active","tier":"sniper","expires_at":1790604800,"links":{"status":"https://stumble.vimabrosta.com/v1/watches/w_..."}}}}},"402":{"description":"Payment Required ($2.00, x402). Requirements in the PAYMENT-REQUIRED header and the JSON body; retry with PAYMENT-SIGNATURE."},"409":{"description":"condition already true right now - not charged; use /v1/checks"},"422":{"description":"invalid request / unreachable target / unevaluable condition - not charged"}}}},"/v1/watches/{id}":{"get":{"summary":"Watch status & result (free)","security":[{"watchSecret":[]},{"secretQuery":[]}],"responses":{"200":{"description":"watch state incl. result and resume_hint"},"404":{"description":"unknown id or wrong secret (uniform)"},"429":{"description":"rate limited (120/min/IP)"}}},"delete":{"summary":"Cancel watch (free; separate 120/min bucket so polling never blocks cancellation)","security":[{"watchSecret":[]},{"secretQuery":[]}],"responses":{"200":{"description":"cancelled (idempotent)"},"404":{"description":"unknown id or wrong secret"}}}},"/v1/wake":{"post":{"summary":"Schedule a wake: POST my webhook at a time I set with my stored payload ($0.01)","x-payment-info":{"price":{"mode":"fixed","currency":"USD","amount":"0.010000"},"protocols":[{"x402":{}}]},"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["notify"],"properties":{"at":{"type":"integer","description":"epoch seconds"},"after_seconds":{"type":"integer"},"notify":{"type":"object","properties":{"mode":{"enum":["webhook","poll"]},"url":{"type":"string","format":"uri"},"format":{"enum":["json","slack","discord"],"default":"json"}},"required":["mode"]},"payload":{"description":"any JSON, 4KB max, echoed verbatim"},"resume_hint":{"type":"string","maxLength":500}}},"example":{"after_seconds":3600,"notify":{"mode":"webhook","url":"https://your-agent.example/hook","format":"json"},"payload":{"task":"follow up on order 42"},"resume_hint":"Check whether the order shipped."}}}},"responses":{"201":{"description":"wake scheduled; one-time secret, fire_at, links, receipt","content":{"application/json":{"schema":{"type":"object"},"example":{"id":"wk_...","secret":"wks_...","status":"scheduled","fire_at":1790003600,"links":{"status":"https://stumble.vimabrosta.com/v1/wakes/wk_..."}}}}},"402":{"description":"Payment Required ($0.01, x402). Requirements in the PAYMENT-REQUIRED header and the JSON body; retry with PAYMENT-SIGNATURE."},"422":{"description":"invalid_time / invalid_webhook (not charged)"}}}},"/v1/cron":{"post":{"summary":"Schedule a cron: POST my webhook on a schedule I set (an interval of 5 min or more, or a cron expression) for up to 14 days, with my stored payload on every fire ($0.10)","x-payment-info":{"price":{"mode":"fixed","currency":"USD","amount":"0.100000"},"protocols":[{"x402":{}}]},"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["notify"],"properties":{"every_seconds":{"type":"integer","minimum":300,"description":"Fire every N seconds (or send cron instead)."},"cron":{"type":"string","description":"Five field cron expression in UTC, e.g. \"0 9 * * 1-5\" (or send every_seconds instead)."},"notify":{"type":"object","required":["mode"],"properties":{"mode":{"type":"string","enum":["webhook","poll"]},"url":{"type":"string"},"format":{"type":"string","enum":["json","slack","discord"]}}},"payload":{},"days":{"type":"integer","minimum":1,"maximum":14},"resume_hint":{"type":"string","maxLength":500}}},"example":{"every_seconds":3600,"notify":{"mode":"webhook","url":"https://your-agent.example/hook","format":"json"},"payload":{"task":"refresh the dashboard"},"days":14,"resume_hint":"Rebuild the dashboard from the latest data."}}}},"responses":{"201":{"description":"cron scheduled; one-time secret, next_fire_at, expires_at, links, receipt","content":{"application/json":{"schema":{"type":"object"},"example":{"id":"cr_...","secret":"crs_...","status":"active","next_fire_at":1790003600,"expires_at":1791209600,"links":{"status":"https://stumble.vimabrosta.com/v1/crons/cr_..."}}}}},"402":{"description":"Payment Required ($0.10, x402). Requirements in the PAYMENT-REQUIRED header and the JSON body; retry with PAYMENT-SIGNATURE."},"409":{"description":"host_capacity (not charged)"},"422":{"description":"invalid_schedule / invalid_webhook (not charged)"}}}},"/v1/crons/{id}":{"get":{"summary":"Cron status: fires, next_fire_at, health (free)","security":[{"watchSecret":[]},{"secretQuery":[]}],"responses":{"200":{"description":"active | expired | cancelled, schedule, fires, fires_skipped, next_fire_at"},"404":{"description":"unknown id or wrong secret"}}},"delete":{"summary":"Stop an active cron (free)","security":[{"watchSecret":[]},{"secretQuery":[]}],"responses":{"200":{"description":"cancelled"},"404":{"description":"unknown id or wrong secret"}}}},"/v1/inbox":{"post":{"summary":"Open an inbox: a capture URL that holds whatever is POSTed to it for up to 7 days and forwards it to me ($0.10)","x-payment-info":{"price":{"mode":"fixed","currency":"USD","amount":"0.100000"},"protocols":[{"x402":{}}]},"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"notify":{"type":"object","properties":{"mode":{"enum":["webhook","poll"]},"url":{"type":"string","format":"uri"},"format":{"enum":["json","slack","discord"],"default":"json"}},"required":["mode"]},"days":{"type":"integer","minimum":1,"maximum":7},"require_header":{"type":"object","properties":{"name":{"type":"string"},"value":{"type":"string"}}},"resume_hint":{"type":"string","maxLength":500}}},"example":{"notify":{"mode":"webhook","url":"https://your-agent.example/hook","format":"json"},"days":7,"require_header":{"name":"X-Shared-Secret","value":"choose-a-long-random-value"}}}}},"responses":{"201":{"description":"inbox open; one-time secret, capture_url, expires_at, links, receipt","content":{"application/json":{"schema":{"type":"object"},"example":{"id":"ib_...","secret":"ibs_...","status":"open","capture_url":"https://stumble.vimabrosta.com/in/ib_.../<token>","expires_at":1790604800}}}},"402":{"description":"Payment Required ($0.10, x402). Requirements in the PAYMENT-REQUIRED header and the JSON body; retry with PAYMENT-SIGNATURE."},"422":{"description":"invalid_webhook (not charged)"}}}},"/in/{id}/{token}":{"post":{"summary":"Capture URL of an inbox (for senders; no auth beyond the token and the optional required header)","security":[],"requestBody":{"content":{"application/json":{"schema":{"type":"object","description":"any JSON, up to 64KB"}}}},"responses":{"202":{"description":"stored and forwarded; body {accepted, message_id}"},"401":{"description":"required header missing or wrong"},"404":{"description":"unknown, closed, or expired inbox"},"409":{"description":"inbox_full"},"413":{"description":"body over 64KB"}}}},"/v1/wakes/{id}":{"get":{"summary":"Wake status (free)","security":[{"watchSecret":[]},{"secretQuery":[]}],"responses":{"200":{"description":"scheduled | fired | cancelled, fire_at, fired_at"},"404":{"description":"unknown id or wrong secret"}}},"delete":{"summary":"Cancel a wake that has not fired (free)","security":[{"watchSecret":[]},{"secretQuery":[]}],"responses":{"200":{"description":"cancelled"},"404":{"description":"unknown id or wrong secret"}}}},"/v1/inbox/{id}":{"get":{"summary":"Read captured messages (free; ?after=&limit=)","security":[{"watchSecret":[]},{"secretQuery":[]}],"responses":{"200":{"description":"status, message_count, messages[]"},"404":{"description":"unknown id or wrong secret"}}},"delete":{"summary":"Close the capture URL (free)","security":[{"watchSecret":[]},{"secretQuery":[]}],"responses":{"200":{"description":"closed"},"404":{"description":"unknown id or wrong secret"}}}},"/v1/find":{"get":{"summary":"Recover watch ids by exact url + webhook match (free)","security":[],"parameters":[{"name":"url","in":"query","required":true,"schema":{"type":"string"}},{"name":"webhook","in":"query","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"matching ids, never secrets"}}}},"/v1/quote":{"get":{"summary":"Machine-readable pricing (free)","security":[],"responses":{"200":{"description":"products, prices, notes"}}}},"/healthz":{"get":{"summary":"Service health","security":[],"responses":{"200":{"description":"ok"},"503":{"description":"degraded"}}}}}}