Developer
News and Updates
Get Support
Sign in
Get Support
Sign in
DOCUMENTATION
Cloud
Data Center
Resources
Sign in
Sign in
DOCUMENTATION
Cloud
Data Center
Resources
Sign in
Last updated Nov 24, 2026

Check your organization’s allowance and usage

What this tutorial covers

Use this tutorial to check your organization’s total allowance for a meter, usage for the current cycle, and reset date.

You’ll work with the Rovo credits meter in this tutorial. You’ll also use the meter’s pay-as-you-go settings to work out whether your organization has a limit and, if so, how much usage remains before reaching it.

For more details on meters and usage, see What is Platform usage?

For full technical details of available operations, see the meters API.

What this tutorial doesn't cover

This tutorial does not cover:

  • Checking or changing an individual account’s usage or limit.
  • Changing your organization’s pay-as-you-go settings.
  • Showing which accounts used the organization’s allowance. The summary contains organization totals only.

Before you begin

You need all of the following:

PlaceholderReplace it with
{orgId}Your organization ID
{meterId}The ID of the Rovo credits meter (see Find the Rovo credits meter ID)
<api_key>Your organization API key

Authentication reminder

An API token is not an API key.

  • API key: send it in Authorization: Bearer <api_key>.
  • API token: used with basic authentication; it is not the credential used in this tutorial.

This tutorial uses an organization API key as a Bearer token.

Keep the API key out of source code and version control.

Step 1: Find the Rovo credits meter ID

  1. Follow the steps in Find the Rovo credits meter ID if you haven’t already made a copy of your meter ID.
  2. Note the meter’s payAsYouGo.enabled and payAsYouGo.limit values for later in this tutorial. You can read the summary even if limits.supported is false.

Step 2: Read the organization summary

You can get your organization summary with the operation: GET /admin/v1/orgs/{orgId}/meters/{meterId}/summary

  1. Copy and paste the following request into a local plain-text editor.
1
2
3
4
5
curl --request GET \
  --url "https://api.atlassian.com/admin/v1/orgs/{orgId}/meters/{meterId}/summary" \
  --header "Authorization: Bearer <api_key>" \
  --header "Accept: application/json"
  1. Replace every placeholder in the URL and headers: {orgId}, {meterId}, and <api_key>.
  2. Import the updated curl command into your API client, or paste it in your terminal.
  3. Send the GET request.

A successful request returns 200. For example:

1
2
3
4
5
6
7
8
9
10
11
12
13
14
{
  "data": {
    "allowance": {
      "total": 100000,
      "included": 80000,
      "committedPacks": 20000
    },
    "usage": {
      "total": 51000
    },
    "resetDate": "2027-01-04T00:00:00Z"
  }
}

Step 3: Interpret the response status

Use this table to interpret the response to your GET request.

ResponseMeaningWhat to do
200The request worked. The response shows your organization's allowance, usage, and reset date.Continue to the next step.
404 with meter-not-foundThe meter is not provisioned for the organization or has been deactivated.Check {meterId} and use an active meter for your organization.
429The organization has sent too many requests.Wait for the time in the X-Retry-After header, then retry.
500 with internal-errorAn unexpected error occurred.Retry later. If it keeps happening, contact support.
503 with service-unavailableThe request couldn't be served right now.Wait for a short time before retrying.

Step 4: Interpret the summary

This step provides a description of the summary. For more details on how your organization’s allowance works, see Manage usage limits for Rovo credits.

Successful responses wrap their content in a data object, and the field names below are relative to it.

  • allowance.total is the total allowance for the cycle. It’s calculated by adding allowance.included to allowance.committedPacks.
  • allowance.included is the monthly allowance from the subscriptions and any usage packs. Usage packs are not shown separately.
  • allowance.committedPacks is the allowance from committed packs that are active today, which means today is within the pack's term. It displays 0 if no committed packs are active.
  • usage.total is what the whole organization has used in the current cycle, including accounts with and without individual limits and any usage above the allowance.
  • resetDate is the date and time when usage resets. It displays null when the date isn't known.

Step 5: Calculate your organization’s limit

Use the meter’s payAsYouGo settings from Step 1 and the organization summary from Step 2 to calculate your organization’s limit.

If pay as you go is disabled, the example summary in Step 2 gives an organization limit of 100,000 credits. Usage is 51,000 credits, so 49,000 credits remain before the organization reaches its limit.

For more examples and details, see the meters API documentation.

Rate this page: