Enabling the Devin connector allows you to import data on usage of Devin 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 Devin to DX, you need:
Setup instructions
Step 1
Navigate to the Devin settings page and get your api key
Enterprise API endpoints require a valid API key with enterprise admin permissions.
Step 2
Navigate to the connections page in DX and select the + Connection button.
Enter the credentials you generated in the previous step. 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 |
GET /v2/enterprise/members | |
GET /v2/enterprise/consumption/daily/{user_id} | |
GET /v2/enterprise/metrics/prs |
Errors
The table below lists potential error codes when adding a connection in DX.
Error | Description |
| Your API credentials do not have the necessary permissions |
| The API credentials entered are invalid. |
| The provided credentials do not have access to enterprise organization data. |
β
β