openapi: 3.1.0 info: title: Windsurf Enterprise Analytics CascadeAnalytics CustomAnalytics API description: 'Windsurf REST API for enterprise deployments providing access to Cascade analytics, custom analytics queries, team credit balance, per-user usage configuration, and user-level page analytics. Uses service key authentication. ' version: '1.0' contact: name: Windsurf url: https://docs.windsurf.com/ servers: - url: https://server.codeium.com/api/v1 description: Windsurf API server security: - serviceKey: [] tags: - name: CustomAnalytics paths: /AnalyticsQuery: post: tags: - CustomAnalytics summary: Custom analytics query description: Flexible analytics querying with custom selections, filters, and aggregations. operationId: customAnalyticsQuery responses: '200': description: OK components: securitySchemes: serviceKey: type: apiKey in: header name: Authorization description: Service key authentication for Windsurf enterprise deployments