{"openapi":"3.1.0","info":{"title":"LedgerLeaf Agent API","version":"4","description":"Public discovery and validation endpoints for LedgerLeaf-compatible Markdown stock reports. Report creation requires a signed-in session."},"servers":[{"url":"https://app.783e0811.prd.gh0stcloud.de"}],"paths":{"/llms.txt":{"get":{"summary":"Concise agent discovery instructions","responses":{"200":{"description":"Plain-text llms.txt"}}}},"/llms-full.txt":{"get":{"summary":"Complete Markdown report-authoring instructions","responses":{"200":{"description":"Markdown instructions"}}}},"/schemas/report.schema.json":{"get":{"summary":"JSON Schema for LedgerLeaf reports","responses":{"200":{"description":"JSON Schema"}}}},"/api/agent/capabilities":{"get":{"summary":"Machine-readable agent capabilities","responses":{"200":{"description":"Capabilities JSON"}}}},"/api/reports/validate":{"post":{"summary":"Validate Markdown report content without creating a report","requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["content"],"properties":{"filename":{"type":"string","default":"report.md"},"content":{"type":"string"},"metadata":{"type":"object","additionalProperties":true}}}}}},"responses":{"200":{"description":"Validation result"},"400":{"description":"Malformed request"}}}},"/api/reports":{"get":{"summary":"List authorized reports","security":[{"cookieAuth":[]}],"responses":{"200":{"description":"Reports visible to the signed-in user"},"401":{"description":"Authentication required"}}},"post":{"summary":"Create a report from Markdown upload","security":[{"cookieAuth":[]}],"responses":{"201":{"description":"Created report"},"401":{"description":"Authentication required"}}}}},"components":{"securitySchemes":{"cookieAuth":{"type":"apiKey","in":"cookie","name":"ledgerleaf_session"}}}}