{"openapi":"3.0.3","info":{"title":"EvalScope (EvalEgress) API","version":"1.0.0","description":"Eval-to-production boundary exposure scanning. Authenticate with an ESAPI gateway key or a platform es_ key via the X-API-Key header or Authorization: Bearer <key>. Successful scans are metered against the key's monthly plan quota; failed calls are free.","termsOfService":"https://evalscope.getingeniousai.com/terms","contact":{"name":"Ingenious AI","url":"https://getingeniousai.com","email":"orders@getingeniousai.com"},"license":{"name":"Ingenious AI API Terms of Service","url":"https://evalscope.getingeniousai.com/terms"}},"paths":{"/api/v1/health":{"get":{"summary":"Gateway health","responses":{"200":{"description":"Gateway is up"}}}},"/api/v1/scans":{"post":{"summary":"Run an exposure scan over declared files","requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"files":{"type":"array","maxItems":50,"items":{"type":"object","properties":{"path":{"type":"string"},"content":{"type":"string"}},"required":["content"]}},"path":{"type":"string"},"content":{"type":"string"}}}}}},"responses":{"200":{"description":"Scored exposure report"},"401":{"description":"Missing, invalid or revoked API key"},"422":{"description":"Invalid files payload"},"429":{"description":"Monthly quota exceeded"}}}},"/api/v1/usage":{"get":{"summary":"Current month's metered usage for this key","responses":{"200":{"description":"{plan, month, used, quota, remaining}"},"401":{"description":"Missing, invalid or revoked API key"}}}}},"servers":[{"url":"https://evalscope.getingeniousai.com","description":"Production"}],"components":{"securitySchemes":{"ApiKeyAuth":{"type":"apiKey","in":"header","name":"X-API-Key","description":"API key sent in the X-API-Key header. Keys are issued in the platform dashboard; gated operations return 401 without a valid key."}}}}