Set usage limits in bulk with a CSV file

Use a CSV file to set or update usage limits for multiple actors (including users, agents, and service accounts) in Atlassian Administration.

To manage a limit for a single user or service account, see Set and update usage limits. To manage limits programmatically, you can do this through the REST API.

The usage limits in your CSV can add up to more than your organization’s credit allowance. This won’t prevent you from uploading the file.

Before you begin

You must be an organization admin.

Find account IDs

Your CSV must include the Atlassian account ID for each user, agent, or service account whose limit you want to set or change. Use Atlassian account IDs exactly as shown — not email addresses or display names.

Go to Atlassian Administration, select your organization, then follow the steps for each actor type.

Actor type

How to find the account ID

User

Select Directory, then Users, then open the user’s profile. Copy the value immediately after /users/ in the browser address.

Service account

Select Directory, then Service accounts, then open the actor’s profile. Copy the value immediately after /service-accounts/ in the browser address.

Agent

Usage limits for agents using their own account (beta)
You can set limits for agents that use their own account through a CSV upload or the REST API. This feature is in beta, and we’re still refining the experience.

Select AI and Rovo, then Agents, then Export agents and follow the prompts. Download the CSV from the link in the export email, then find the agent’s account ID in the user id column.

CSV format guidelines

Your CSV file must meet these requirements:

  • Include a header row with accountId and limit, spelled exactly as shown (case-sensitive). Missing or incorrect headers cause the file to be rejected, and no limits change.

  • Fill in every field. Blank values aren’t allowed.

  • Keep the file size within 10 MiB. Split larger files into smaller files that each meet this limit.

Field

Description

Example value

accountId

The Atlassian account ID of the user, agent, or service account.

See What are usage limits for Rovo credits?

6a2b91c4d0e3f7a8b9c0d1e2

limit

Set or remove the user’s monthly usage limit for Rovo credits.

Enter either:

  • A whole number of 25 or more to set the limit.

  • delete to remove an existing limit.

1500

Example CSV file

Use this example to format your CSV. The first row must contain the column headers accountId and limit.

accountId,limit 5b10ac8d82e05b22cc7d4ef5,1500 6a2b91c4d0e3f7a8b9c0d1e2,25 7c3d2e1f0a4b5c6d7e8f9a0b,delete

Upload and apply limits

  1. Go to Atlassian Administration. Select your organization if you have more than one.

  2. Select Usage, then Meters, then Rovo credits.

  3. Select Set usage limits.

  4. Select Next.

  5. Upload your CSV file. If it fails the automatic checks, it’s rejected and no limits change. Follow the steps in Fix CSV file errors for usage limits and upload it again.

  6. Review the file summary, which shows the number of rows, the combined total of the limits, and a preview of the first few rows.

  7. Select Review and save to apply the limits. Limits are saved one row at a time. Processing may take a few hours, depending on system load. You’ll receive an email when processing finishes.

  8. Download the results file from the email and review the outcome for each row to confirm the intended changes were applied. If any changes weren’t applied, follow the steps in Fix CSV file errors for usage limits.

While limits are saving

  • Canceling doesn’t undo saved limits. You can cancel while your file is waiting to be processed or while limits are being saved. Any limits already saved stay in place.

  • Only one file can be saved at a time for Rovo credits in your organization. If another admin’s file is being saved, wait for it to finish before saving yours.

How limits are applied

  • First upload: Each actor listed in your CSV gets the specified usage limit. Actors not listed use your organization allowance without an individual limit.

  • Later uploads: Only actors listed in the file are updated. Actors not listed keep their existing limits.

  • Remove a limit: Include the account’s ID in the accountId column and enter delete in the limit column.

Still need help?

The Atlassian Community is here for you.