Firebender
By integrating Firebender with DX, you can analyze AI coding assistant usage metrics, including agent prompts, inline edits, autocomplete statistics, and overall developer productivity insights. Please refer to the API documentation below and our schema explorer to see what data DX imports.
Prerequisites
To connect Firebender to DX, you need:
- a Firebender business account with organization-level access
- administrative access to your Firebender organization settings
- a Firebender organization API key with usage data permissions
Setup instructions
Follow the steps below to connect Firebender to DX.
Step 1
Log in to your Firebender organization dashboard and navigate to your team’s Settings page.
Step 2
Go to the API Keys section within your organization settings.
Step 3
Generate a new organization API key by clicking “Create API Key”. Ensure the key has permissions to access daily usage data for your organization.
Step 4
Copy the generated API key (it will be in the format firebender_******) and store it securely.
Step 5
- Navigate to the connections page in DX and select “+ Connection” in the top right.
- Select “Firebender” as the connector type.
- Enter your organization API key in the credentials field.
- Test the connection to ensure proper authentication.
API reference
The table below lists the specific API endpoints that are used by DX.
| Endpoint | Documentation |
|---|---|
| POST /v2/organization/daily-usage-data | Link |
Errors
The table below lists potential error codes when adding a connection in DX.
| Error | Description |
|---|---|
invalid_credentials |
Your API key is not valid or has expired. |
invalid_permissions |
Your API key does not have permissions to access organization usage data. |
no_resources |
Your organization does not have any usage data available. |