Integrations / Sourcegraph Cody
Sourcegraph Cody
Sourcegraph Cody / Amp — Analytics API (CSV) for per-user-per-day code AI usage (searches, chats, autocomplete, CAR%). Spend connector for the AI Platform Spend Governance feature.
What Telara does
Capability matrix
Before you connect
Prerequisites
Vendor setup
Get the credential
Permissions Telara requests
- mcpOAuth 2.0
In Telara
Connect in Telara
Per-instance Sourcegraph OAuth metadata for MCP dynamic client registration. DCR clients are restricted to mcp; prove the issued token is accepted by the selected Sourcegraph API surface before enabling browser authorization.
In Telara, open Settings → Integrations, choose this connector, and click Connect. Telara sends you to the vendor to approve access, then returns you here. You do not create an OAuth app or paste a client secret.
Sourcegraph Analytics access token (analytics.sourcegraph.com → Access Tokens). Enterprise. The token authorizes the by-user-client-date report. Sourcegraph uses `Authorization: token <key>`.
In Telara, open Settings → Integrations, choose this connector, and paste the key into the fields Telara shows.
- API key
Spend
What gets measured
Resolution: Per user per day.
Attribution: Matched to people by email.
How far back vendor history goes is not published uniformly for this connector.
- searchescount
- chat_eventscount
- completions_suggestedcount
- completions_acceptedcount
- chars_writtencount
AI estate
What gets discovered
- ~/.config/amp/settings.json
- ~/.config/amp/settings.jsonc
mcp_client_configuration, mcp_server_deployment
- .amp/settings.json
- .amp/settings.jsonc
mcp_client_configuration, mcp_server_deployment
Sync
Freshness & sync
Spend connectors refresh on the vendor pull cadence declared in the catalog. Indexing lag is not published for this connector.
Data handling
Permissions & data handling
The scopes above are the permissions this connector requests. They come from the catalog, not from a hand-written page.
This catalog entry does not declare extra semantic-search exclusions.
After connect
Verify it worked
This connector does not declare a credential probe yet. A saved connection means Telara stored the credential, not that the vendor accepted it.
Honesty

