{"openapi":"3.1.0","info":{"title":"Send Your Agent Public API","version":"1.0.0","description":"Public, agent-readable API surfaces for Send Your Agent discovery, catalog lookup, sample reports and authorized preview scans."},"servers":[{"url":"https://sendyouragent.com/"}],"paths":{"/v1/health":{"get":{"summary":"Health check","responses":{"200":{"description":"Service health","content":{"application/json":{"schema":{"type":"object","properties":{"ok":{"type":"boolean"},"service":{"type":"string"},"version":{"type":"string"}},"required":["ok","service","version"]}}}}}}},"/v1/catalog":{"get":{"summary":"Get agent-readable package and tool catalog","responses":{"200":{"description":"Catalog","content":{"application/json":{"schema":{"type":"object","properties":{"name":{"type":"string"},"version":{"type":"string"},"offers":{"type":"array","items":{"type":"object"}},"tools":{"type":"array","items":{"type":"object"}}},"required":["name","version","offers","tools"]}}}}}}},"/v1/scan":{"post":{"summary":"Run an authorized public website agent-readiness preview scan","requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"url":{"type":"string","format":"uri"},"domain":{"type":"string"}},"anyOf":[{"required":["url"]},{"required":["domain"]}]}}}},"responses":{"200":{"description":"Preview scan score","content":{"application/json":{"schema":{"type":"object","properties":{"preview":{"type":"object","properties":{"target":{"type":"string"},"score":{"type":"number"},"grade":{"type":"string"},"band":{"type":"string"},"verdict":{"type":"string"},"signal":{"type":"string"},"locked_findings":{"type":"number"},"category_scores":{"type":"array","items":{"type":"object"}},"next_action":{"type":"string"},"cta":{"type":"object"}},"required":["target","score","grade","band","verdict","locked_findings"]}},"required":["preview"]}}}},"400":{"description":"Invalid or blocked target"}}}},"/v1/sample-report":{"get":{"summary":"Get a sample agent-readiness report","responses":{"200":{"description":"Sample report"}}}},"/v1/prompts":{"get":{"summary":"Get copy-paste prompts for testing agent discovery","responses":{"200":{"description":"Prompt list"}}}}}}