Need help with your APIs? I offer API discovery, governance & evangelism services. Explore services →
API Evangelist API Evangelist
Discovery
Learnings
Guidance
Toolbox
Alignment
API Evangelist LLC

Windsurf analytics API

Code completion and Cascade AI usage analytics

Windsurf analytics API is one of 3 APIs that Windsurf publishes on the APIs.io network, described by a machine-readable OpenAPI specification.

Tagged areas include analytics. The published artifact set on APIs.io includes an OpenAPI specification and API documentation.

This API exposes 3 operations across 3 paths, and defines 14 schemas. It is described by OpenAPI 3.0.3, at version 1.0.0.

Requests are made against a single base URL, https://server.codeium.com/api/v1.

3 operations 3 paths 14 schemas 3 POST

Metadata

The identity and technical contract details declared by the specification.

Specification
OpenAPI 3.0.3
API Version
1.0.0
Base URL
https://server.codeium.com/api/v1
Resource Areas
1

Paths & Operations 3

Across 3 paths, the API surfaces 3 operations — 3 POST. Each is listed below with its method, path, parameters, and response codes.

analytics 3

Code completion and Cascade AI usage analytics

POST
/Analytics
Get Custom Analytics
getCustomAnalytics body → 200400401429
POST
/UserPageAnalytics
Get User Page Analytics
getUserPageAnalytics body → 200401429
POST
/CascadeAnalytics
Get Cascade Analytics
getCascadeAnalytics body → 200401429

Schemas 14

The contract defines 14 schemas that model the data the API accepts and returns. The most detailed are UserAnalytics (5 properties), CascadeAnalyticsRequest (5 properties), AnalyticsRequest (5 properties), QueryRequest (4 properties). Each schema is shown below with its type and property counts.

AnalyticsRequest
object
Request body for custom analytics queries
5 properties 2 required
CascadeAnalyticsResponse
object
Cascade AI analytics response
1 property
UserAnalytics
object
Analytics for a single user
5 properties
UserPageAnalyticsResponse
object
User-level analytics response
1 property
CascadeAnalyticsRequest
object
Request for Cascade AI analytics
5 properties 1 required
Selection
object
A field selection with optional aggregation
3 properties 1 required
QueryResult
object
Result set for a single query request
1 property
Filter
object
A filter condition for analytics queries
3 properties 3 required
UserPageAnalyticsRequest
object
Request for user page analytics
4 properties 1 required
Aggregation
object
A grouping specification for analytics queries
2 properties 2 required
QueryRequest
object
A single analytics query specification
4 properties 2 required
ResponseItem
object
A single result row from an analytics query
1 property
AnalyticsResponse
object
Response from custom analytics query
1 property
Error
object
Error response
2 properties

Specification

The full machine-readable OpenAPI contract behind this narrative.

Source

windsurfrules-analytics-api-openapi.yml Raw ↑

Other APIs Windsurf publishes across the network.

Windsurf billing API
Windsurf teams API