Skip to main content
Preview FeatureThe Analytics API is currently in preview and is available exclusively to Enterprise customers.
The Analytics API provides access to usage metrics for your organization, including how Augment Code is being used across your team. It allows you to build your own AI integration dashboards with tools like Jellyfish. Track daily active users, usage patterns, and detailed activity metrics to understand and optimize your team’s use of Augment Code.

Base URL

EnvironmentURL
Productionhttps://api.augmentcode.com

Getting started

To use the Analytics API, you need to create a service account and generate an API token.
1

Create a Service Account

  1. Navigate to your organization’s Service Accounts page in the Augment web app: app.augmentcode.com/settings/service-accounts
  2. Click Add Service Account
  3. Enter a Service Name (1-100 characters, alphanumeric, hyphens, and underscores only)
  4. Optionally add a Description for the service account
  5. Click Create
Service account names must be unique within your organization.
2

Generate an API Token

  1. In the Service Accounts list, find your newly created service account
  2. Click Create Token
  3. Enter a Token Description (e.g., “Analytics API integration”)
  4. Click Create
  5. Copy and securely store the token — it will only be shown once
Treat API tokens like passwords. Do not share them or commit them to version control.
3

Use the Token

Include the token in the Authorization header of your API requests:
curl -X GET "https://api.augmentcode.com/analytics/v0/dau-count" \
  -H "Authorization: Bearer <your-api-token>"
For more details on service accounts, see the Service Accounts documentation.

Available Endpoints

The Analytics API provides several endpoints to access different types of usage data:

Important Considerations

Timezone and Data AvailabilityAll dates in requests and responses are interpreted and returned in UTC timezone. The most recent queryable date is “yesterday” (UTC), and data for the previous day becomes available at approximately 02:00 UTC each day. Make sure to account for this when querying data or processing results.
Data FreshnessAnalytics data is updated once daily. Data for a given day becomes available the following day at approximately 02:00 UTC.

Common Constraints

Most endpoints share these constraints:
ConstraintValue
Maximum date range90 days
Maximum historical lookback2 years
Today and future datesNot allowed (data available at ~02:00 UTC next day)
TimezoneAll dates interpreted as UTC

Next Steps