{"openapi":"3.1.0","info":{"title":"Ground Public API","version":"1.0.0","description":"Read-only product and documentation discovery. No workspace data.","contact":{"name":"Ground documentation and privacy contact","url":"https://joinground.app/contact"}},"externalDocs":{"description":"Developer and agent guide","url":"https://joinground.app/developers"},"servers":[{"url":"https://joinground.app"}],"paths":{"/api/v1/capabilities":{"get":{"operationId":"getGroundCapabilities","summary":"Get Ground public capabilities","description":"Returns product information, privacy boundaries, and useful documentation links. This endpoint requires no credentials and never accesses a household. Version v1 is stable; backward-compatible fields may be added.","security":[],"tags":["Discovery"],"parameters":[{"name":"topic","in":"query","required":false,"description":"Optionally include a description of a specific public capability.","schema":{"type":"string","enum":["records","calendar","banking","privacy"]}}],"responses":{"200":{"description":"Public Ground capabilities","headers":{"RateLimit-Policy":{"description":"The public discovery request policy.","schema":{"type":"string"}},"X-RateLimit-Limit":{"description":"Maximum requests per 60 seconds.","schema":{"type":"integer"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Capabilities"},"examples":{"ground":{"value":{"name":"Ground","version":"1","type":"private-household-workspace","features":["Custom records and timelines","Household calendar","Owner-approved bank imports and schedules"],"access":{"public":"Product information only; no sign-in needed.","workspace":"Passkey and scoped approval required; private data is never returned here."},"links":{"home":"https://joinground.app/","guide":"https://joinground.app/developers","contact":"https://joinground.app/contact","privacy":"https://joinground.app/privacy","agentInstructions":"https://joinground.app/llms.txt"}}}}}}},"400":{"description":"Unsupported query parameter","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}},"application/json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"404":{"description":"Unknown public API route","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}},"application/json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"405":{"description":"Method not allowed","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}},"application/json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"429":{"description":"Rate limit exceeded","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}},"application/json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"headers":{"Retry-After":{"description":"Seconds to wait before retrying.","schema":{"type":"integer"}}}},"503":{"description":"Service temporarily unavailable","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}},"application/json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"headers":{"Retry-After":{"description":"Seconds to wait before retrying.","schema":{"type":"integer"}}}}}}}},"components":{"schemas":{"Capabilities":{"type":"object","required":["name","version","type","features","access","links"],"properties":{"name":{"type":"string"},"version":{"type":"string"},"type":{"type":"string"},"features":{"type":"array","items":{"type":"string"}},"focus":{"type":"object","properties":{"topic":{"type":"string"},"description":{"type":"string"}},"required":["topic","description"]},"access":{"type":"object","required":["public","workspace"],"properties":{"public":{"type":"string"},"workspace":{"type":"string"}}},"links":{"type":"object","required":["home","guide","contact","privacy","agentInstructions"],"properties":{"home":{"type":"string","format":"uri"},"guide":{"type":"string","format":"uri"},"contact":{"type":"string","format":"uri"},"privacy":{"type":"string","format":"uri"},"agentInstructions":{"type":"string","format":"uri"}}}}},"Problem":{"type":"object","required":["type","title","status","detail"],"properties":{"type":{"type":"string","format":"uri"},"title":{"type":"string"},"status":{"type":"integer"},"detail":{"type":"string"},"code":{"type":"string"},"resolution":{"type":"string"},"documentation":{"type":"string","format":"uri"},"error":{"type":"object","required":["code","message","hint"],"properties":{"code":{"type":"string"},"message":{"type":"string"},"hint":{"type":"string"}}}}}}}}