Skip to content
For the complete documentation index, see llms.txt. This page is also available as Markdown.

Connect Kiro to Swarmia

Send Kiro Enterprise usage data to Swarmia to track AI adoption and AI-assisted pull requests.

Requirements

This integration requires Kiro Enterprise. Kiro's per-user activity reports are an Enterprise feature. Individual Kiro plans don't provide the organization-level, per-user usage export that Swarmia needs.

You also need:

  • Access to the AWS account and Region where your engineers are subscribed to Kiro

  • An Amazon S3 bucket for Kiro's usage reports

  • The organization admin role in Swarmia

Set up Kiro usage reports

In the Kiro console, go to Settings and enable Kiro user activity reports. Configure an S3 location, then enable Collect granular metrics per user.

Kiro writes daily CSV reports to that bucket for each client type, including the IDE, CLI, and plugin. Reports include each user's email address, subscription tier, total messages, and credit usage. The first report is available after Kiro's next daily export cycle at 02:00 UTC.

For S3 bucket requirements, permissions, and report details, see viewing per-user activity in Kiro.

Send Kiro usage data to Swarmia

Create a custom AI tool named Kiro with kiro as its API identifier in Settings → AI tools. If your organization has connected Kiro Web to GitHub, select the kiro-agent GitHub identity under Linked authors. This attributes Kiro Web activity from kiro-agent[bot] with high confidence.

Then run a daily job that reads Kiro's CSV reports from S3 and sends the data to Swarmia's additional AI integrations API.

Kiro's user_report files include a User_Email field. Match it to the Swarmia author email, and combine each user's daily records across Kiro client types before sending them to Swarmia.

Set is_enabled for every subscribed user, and is_active when they used Kiro that day. Import Kiro subscription data separately to include subscribed users with no activity. For authentication, the full request schema, and data-import details, see send usage data to the API.

Kiro usage data appears in Users and licenses and supports time-based, low-confidence AI-assisted attribution.

Last updated

Was this helpful?