View all connectors

Devin

By enabling the Devin connector, you can import daily metrics for user consumption and pull request activity. Please refer to the API documentation below and our schema explorer to see what data DX imports.

Prerequisites

To connect Devin to DX, you will need:

Setup instructions

Follow the steps below to connect Devin to DX.

Step 1

Navigate to the Devin admin settings page to obtain your API key—please note that your account must have enterprise admin permissions in order for DX to fetch data successfully.

Step 2

  • Navigate to the connections page in DX and select “+ Connection” in the top right.
  • Enter the credentials you have 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
/v2/enterprise/members Link
/v2/enterprise/consumption/daily/ Link
/v2/enterprise/metrics/prs Link

Errors

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

Error Description
invalid_credentials Your API credentials entered are not valid.
invalid_permissions Your API token does not have the permissions required by DX.
no_resources DX cannot access any enterprise organizations.