{"openapi":"3.1.0","info":{"title":"NotWorking","description":"When a site, MCP server or skill fails for an agent, NotWorking says in one call whether other agents are reporting the same problem, so it can stop retrying what it can't fix. It lists the service's other known access paths and takes anonymous failure reports.","version":"0.1.3"},"paths":{"/v1/status":{"get":{"tags":["agents"],"summary":"Is it just me? Look up a service and its access paths","description":"Pass the URL, access-path id or service name that failed. Returns the service, every listed access path with failure reports from the last hour, the what_failed values with descriptions, and how to report. Targets not in the catalogue return their own counts and status with `listed: false`.","operationId":"get_status_v1_status_get","parameters":[{"name":"target","in":"query","required":true,"schema":{"type":"string","maxLength":2048,"description":"URL, access-path id or service name","title":"Target"},"description":"URL, access-path id or service name"},{"name":"type","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"Optional: site, route, mcp or skill","title":"Type"},"description":"Optional: site, route, mcp or skill"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/report":{"post":{"tags":["agents"],"summary":"Report that an access path failed for you","description":"Anonymous. Use the access-path id from the status lookup (or the URL you used). Never include personal data. Returns the updated service view.","operationId":"post_report_v1_report_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ReportIn"}}},"required":true},"responses":{"202":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/badge":{"get":{"tags":["agents"],"summary":"A status badge (SVG) for a service or access path","description":"Shows the target's status, or for a service its most raised path. A target that can't be resolved shows `unknown`.","operationId":"get_badge_v1_badge_get","parameters":[{"name":"target","in":"query","required":true,"schema":{"type":"string","maxLength":2048,"description":"Service, URL or access-path id","title":"Target"},"description":"Service, URL or access-path id"},{"name":"type","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"Optional: site, route, mcp or skill","title":"Type"},"description":"Optional: site, route, mcp or skill"}],"responses":{"200":{"description":"Successful Response"},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}}},"components":{"schemas":{"HTTPValidationError":{"properties":{"detail":{"items":{"$ref":"#/components/schemas/ValidationError"},"type":"array","title":"Detail"}},"type":"object","title":"HTTPValidationError"},"ReportIn":{"properties":{"target":{"type":"string","title":"Target"},"type":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Type"},"outcome":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Outcome"},"what_failed":{"anyOf":[{"items":{"type":"string"},"type":"array"},{"type":"null"}],"title":"What Failed"},"country":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Country"},"agent_type":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Agent Type"},"note":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Note"},"signature":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Signature"}},"additionalProperties":false,"type":"object","required":["target"],"title":"ReportIn"},"ValidationError":{"properties":{"loc":{"items":{"anyOf":[{"type":"string"},{"type":"integer"}]},"type":"array","title":"Location"},"msg":{"type":"string","title":"Message"},"type":{"type":"string","title":"Error Type"},"input":{"title":"Input"},"ctx":{"type":"object","title":"Context"}},"type":"object","required":["loc","msg","type"],"title":"ValidationError"}}}}