Claude Code integration

Enabling Claude Code metrics

Read more about Swarmia's other AI coding tool integrations and measuring the productivity impact of AI tools.

Enabling Claude Code metrics

circle-exclamation

Create a Claude Code Admin API keyarrow-up-right (note that these differ from the standard API keys) and copy it to Settings / AI assistantsarrow-up-right in Swarmia. You need to be a Claude organization admin to create Admin API keys. We fetch 30 days of historical activity data upon connection.

circle-info

The historical enabled users don't include people who had a license but got removed before you connected Claude Code to Swarmia.

We recommend using Claude Code's default attribution settingsarrow-up-right for commit and PR messages, since those are used in Swarmia's automatic AI assistant detection.

Frequently asked questions

Why do you need a Claude Code admin API key? Isn't that a bit excessive?

We'd love to ask for fewer permissions, but the Claude Code Analytics APIarrow-up-right requires an admin key. You can read more about our data access here.

Last updated

Was this helpful?