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 billing API

Usage configuration and credit balance management

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

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

This API exposes 3 operations across 3 paths, and defines 4 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 4 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.

billing 3

Usage configuration and credit balance management

POST
/UsageConfig
Set Usage Configuration
setUsageConfig body → 200401403
POST
/GetUsageConfig
Get Usage Configuration
getUsageConfig body → 200401
POST
/GetTeamCreditBalance
Get Team Credit Balance
getTeamCreditBalance body → 200401

Schemas 4

The contract defines 4 schemas that model the data the API accepts and returns. The most detailed are TeamCreditBalanceResponse (4 properties), UsageConfigRequest (3 properties), UsageConfigResponse (2 properties), ServiceKeyRequest (1 property). Each schema is shown below with its type and property counts.

UsageConfigRequest
object
Request to set usage configuration
3 properties 1 required
UsageConfigResponse
object
Usage configuration settings
2 properties
ServiceKeyRequest
object
Base request object containing the service key for authentication
1 property 1 required
TeamCreditBalanceResponse
object
Team credit balance information
4 properties

Specification

The full machine-readable OpenAPI contract behind this narrative.

Source

windsurfrules-billing-api-openapi.yml Raw ↑

Other APIs Windsurf publishes across the network.

Windsurf analytics API
Windsurf teams API