Data access
What data does Swarmia access and why?
GitHub integration
The GitHub integration is implemented as a Marketplace App. You can configure which repositories it has access to.
In the selected repositories, the app can access:
checks (read-only)
Github Actions (read-only) Added: Aug 16, 2023
Git contents (read-only)
GitHub Copilot Business (read-only) Added: May 14, 2025
deployments (read-only)
issues (read-only)
repository metadata (read-only)
repository administration (read-only) Added: Dec 9, 2022
Used to read the repository's branch protection rules
projects (read-only)
commit statuses (read-only)
pull requests (read-write)
Used to be able to comment on pull requests
At the organizational level, the app has read-only access to organization members, teams, and blocked users.
From each authenticated user, the app gets read-only access to their email address.
We subscribe to webhooks related to most of these same events.
We request the permission to access source code, as GitHub requires that for us to access your commits, but we never actually read your source code. For each commit, we only store the size of the change per file name. This allows us to estimate the complexity of the change, and also to ignore changes to automatically generated files (such as package-lock.json or Gemfile.lock).

At the user level, the Swarmia app requests permission to Act on your behalf. Swarmia uses this permission to reply to comments and post emoji reactions to GitHub as the user via our Slack and Microsoft Teams bots.
GitLab integration
Refer to GitLab permissions
Jira integration
The Jira integration is implemented as an Atlassian Connect application. The scope of the integration is:
Read (issues, comments, and projects)
Write (but not delete) – used for creating webhooks
Read user names and email addresses
Linear integration
For the Linear integration we request the following data access scope:
User emails addresses and names
Teams
Projects
Issues
Comments
Slack integration
The Slack integration is implemented as a Slack marketplace application. The scope we request is:
channels:join – join public channels
channels:read – view basic information about public channels
chat:write – send messages as @swarmia
groups:read – view basic information about private channels that @swarmia has been added to
incoming-webhook – post messages to specific channels on Slack
users:read – view people in a workspace
users:read.email – view email addresses of people in a workspace
On behalf of individual users who connect Slack notifications, we request an identity.basic permission.
Microsoft Teams
The Microsoft Teams Integration is implemented as a Microsoft Teams bot application using the Bot Framework.
Bot scopes: personal, team, groupChat
Accessed data includes:
Team members (read-only) – name, email addresses, and Azure AD object IDs
Team information (read-only) – team names and identifiers
Channel information (read-only) – channel names and identifiers
Conversation metadata (read-only) – conversation IDs for message delivery
Messages (write-only) – send notifications and messages to users and channels
The integration uses OAuth 2.0 authentication with Microsoft Azure AD and operates within the permissions granted during bot installation. All data access is limited to teams and channels where the Swarmia bot has been explicitly installed.
Cursor integration
The Cursor integration uses the Cursor Admin API to read team members and their Cursor usage. It requires a valid Admin API key. We monitor closely if a more limited access scope becomes supported in the future.
The operations on Admin API that Swarmia uses:
Retrieve team members and their details
Retrieve daily usage metrics for a team
Codex integration
Codex integration comes in two forms: Codex Enterprise Analytics API and Codex OpenTelemetry monitoring.
Codex Enterprise Analytics API
The integration uses the Codex Enterprise Analytics API to read Codex usage in one ChatGPT workspace. It requires a ChatGPT admin key.
The key we ask for is scoped to the single workspace you choose, and only three read scopes are required: codex.enterprise.analytics.read, chatgpt.enterprise.usage_limit.read, and enterprise.analytics.usage.read. We require no access to other workspaces, to tenant-wide administration, to your OpenAI API platform organization, or to model inference.
Swarmia uses one read operation on the analytics API:
Retrieve Codex workspace users, together with their configured usage limits.
Retrieve daily Codex usage per user: threads, turns, credits, estimated cost, token counts, lines of code added and removed, and the breakdown by model
The usage rows include each Codex user's ID and, when OpenAI reports it, their email address. Swarmia uses those to attribute the usage to the right author.
Codex OpenTelemetry monitoring
Codex uses OpenTelemetry to export usage metrics from client machines. Data collection is controlled by local configuration files. While Swarmia provides a default configuration, customers have full control to modify or restrict what is sent. The default configuration only exports metrics. It doesn't export logs or traces, so prompts and code are not sent. The following lists assume that the default configuration is used.
Metrics
Number of threads started
Number of conversation turns
Number of tokens used per turn
Number of tool calls
Number of approval requests
Number of skills used
Metrics metadata (Attributes)
Model
Authentication mode
Codex client
Token type
Tool name and whether the call succeeded
Approval decision
Whether the session ran in a Git repository
Skill name
User email, which you add in the configuration
Claude Code integration
Claude Code integration comes in three forms: Claude Code Analytics API, Claude Enterprise Analytics API, and Claude Code OpenTelemetry monitoring.
Claude Code Analytics API
The Claude Code API integration accesses Claude Code Analytics API, which is part of the Admin API and requires a valid Admin API key to access the analytics API resources. We monitor closely if a more limited access scope becomes supported in the future.
The Admin API key grants capabilities over your Anthropic organization that Swarmia doesn't use. For example, it can manage organization and workspace membership, invite or remove users, change user roles (including admin roles), manage workspaces, and rename or deactivate existing API keys.
Swarmia only uses these read operations on the Analytics and Admin API:
List organization members
List Claude Code analytics: daily aggregated metrics for Claude Code usage, including sessions, lines of code, commits, pull requests, tool usage statistics, and cost data broken down by user and model
For auditing, Anthropic provides an Activity Feed in the Compliance API. It requires a Claude Enterprise plan and must be enabled before use.
Claude Enterprise Analytics API
The Enterprise plan integration uses the Claude Enterprise Analytics API. It requires an Analytics API key that the primary owner of your organization on an Enterprise plan creates in claude.ai organization settings. The key needs only the read-only read:analytics scope.
Swarmia uses these read operations on the Analytics API:
Retrieve daily Claude Code activity per user: sessions, commits, pull requests, lines of code added and removed, and accepted and rejected tool actions
Retrieve cost per user in hourly buckets, broken down by product, model, and token type.
The rows include each user's Claude user ID and email address. Swarmia uses those to attribute the usage to the right contributor.
Claude Code OpenTelemetry monitoring
Claude Code utilizes OpenTelemetry to export usage metrics from client machines. Data collection is controlled by a local configuration file. While Swarmia provides a default configuration, customers have full control to modify or restrict what is sent. By default, the metrics are bundled and sent every 10 minutes of usage. The default configuration does not export event logs, such as raw prompts or API request bodies. The following lists assume that the default configuration is used.
Metrics
Count of CLI sessions started
Count of lines of code modified
Number of pull requests created
Number of git commits created
Cost of the Claude Code session
Number of tokens used
Count of code editing tool permission decisions
Total active time
Metrics metadata (Attributes)
Session identifier
Organization identifier
Account identifier
User identifier
User email
Terminal type
Last updated
Was this helpful?