{"openapi":"3.1.0","info":{"title":"I.S.A.A.C Agent API","version":"1.0.0","description":"Turn CSV text into dashboard-ready JSON for agents and automations."},"servers":[{"url":"https://localhost:3101"}],"components":{"securitySchemes":{"bearerAuth":{"type":"http","scheme":"bearer","bearerFormat":"I.S.A.A.C API token"}}},"paths":{"/api/v1/analyze":{"post":{"summary":"Analyze CSV","description":"Analyze one or more CSV files and return schema, KPIs, chart data, filters, anomalies, and relationship hints.","security":[{"bearerAuth":[]}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"filename":{"type":"string"},"csv":{"type":"string"},"files":{"type":"array","items":{"type":"object","properties":{"filename":{"type":"string"},"csv":{"type":"string"}},"required":["csv"]}}}},"examples":{"singleCsv":{"value":{"filename":"sales.csv","csv":"date,product,revenue\n2026-07-01,A,120\n2026-07-02,B,240"}}}}}},"responses":{"200":{"description":"Dashboard-ready analysis payload"},"400":{"description":"Invalid CSV payload"},"401":{"description":"Missing or invalid API token"},"402":{"description":"Plan or quota limit reached"},"429":{"description":"Token rate limit reached"}}}}}}