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.
Category ai platform
Capability matrix
Catalog declarations describe the connector. Review status and limits for qualification.
Declared capabilities
What the connector catalog declares for Sourcegraph Cody. A declaration is not proof that it is qualified for your deployment; anything not yet qualified is listed on Status and limits.
- AI asset discovery
- Telara can read the AI assets this system holds into the AI Estate.
- Spend and usage
- Telara can collect AI spend and usage from this system.
How Telara applies
Policy applies to calls routed through Telara. Discovery and spend collection observe activity; they do not govern calls that bypass Telara.
- Spend observation
- Review the catalog declaration
- Asset discovery
- Review declared discovery
- MCP routing
- No MCP routing declaration
Prerequisites
Get the credential
Permissions Telara requests
- mcpOAuth 2.0
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
Sourcegraph site admin access token (User settings, Access tokens) and the https URL of the instance (for example https://sourcegraph.example.com). Needed to read and update the site configuration that holds the Cody model filters.
In Telara, open Settings → Integrations, choose this connector, and paste the key into the fields Telara shows.
- API key
- Instance Url
What gets measured
Method pull_admin_api. Cadence daily.
Catalog status available. Tier team. Billing method admin_api.
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
What gets discovered
Discovery method file.
- ~/.config/amp/settings.json
- ~/.config/amp/settings.jsonc
mcp_client_configuration, mcp_server_deployment
Discovery method file.
- .amp/settings.json
- .amp/settings.jsonc
mcp_client_configuration, mcp_server_deployment
Freshness & sync
Indexing lag is not published for this connector. Review the declared collection method and cadence in the measurement section.
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.
Verify it worked
The catalog does not declare a credential probe for this connector. Verify the connection path and source response before relying on a saved connection.
Known limitations
In the product
Screens from a Telara test workspace with sample data. Your workspace shows your own systems, people and policies.





