Skip to main content

Windsurf

Updated yesterday

By enabling the Windsurf connector allows you to import data on usage of Windsurf metrics at the user level. Please refer to the API documentation below for more details, and visit our schema explorer to see what data DX imports.

Prerequisites

To connect Windsurf to DX, you need:

Windsurf service key has implicit scopes based on the permissions of the admin user who generated it. To access analytics APIs, the admin user must have at least “Teams Read-only” access.

Setup instructions

Step 1- Get Windsurf Service key

  1. Navigate to Windsurf settings page and get your service key

Make sure to enable individual level analytics via https://windsurf.com/team/manage to query analytics for specific users

Step 2– Enable DX connector

  1. Navigate to the connections page in DX and select "+ Connection" in the top right.

  2. Enter the credentials you generated in the previous steps—refer to the information below for errors and troubleshooting.

API Reference

The table below lists the specific API endpoints that are used by DX.

Endpoint

Documentation

POST /api/v1/UserPageAnalytics

POST /api/v1/CascadeAnalytics

Errors

The table below lists potential error codes when adding a connection in DX.

Error

Description

invalid_configuration

Your API credentials entered are not having valid permissions.

invalid_credentials

Your API credentials entered are not valid.

no_resources

The provided credentials does not have access to any organizations or projects.

Did this answer your question?