www/apps/cloud/app/usage/page.mdx
import { InlineIcon, getOsShortcut, Kbd } from "docs-ui" import { ArrowDownTray, ChevronUpDown } from "@medusajs/icons"
export const metadata = {
title: Usage,
}
In this guide, you'll learn how to monitor your Cloud organization's standard and Flex Usage.
In your organization's settings, you can view your current plan and usage limits. These usage limits depend on the plan your organization is on, and are applied across all projects within the organization.
<Note>Organizations on the Enterprise plan don't have usage limits, and therefore don't have a Usage tab in their settings.
</Note>To view your organization's usage:
<Note title="Tip">You can also navigate to an organization's usage from the command palette. Press <Kbd>{getOsShortcut()}</Kbd> + <Kbd>K</Kbd> and select Usage.
</Note>In the Usage settings, you'll find a table with the list of resources your organization is using, along with their current usage levels and limits based on your plan.
Your organization has a set of usage limits based on its current plan. These usage limits are applied across all projects within the organization.
Usage that exceeds the limits of your plan is considered Flex Usage. For example, if your plan allows for 100GB data transfer, any usage beyond that limit would be classified as Flex Usage.
To learn how your Flex Usage is billed, refer to the Billing guide.
You can view additional Flex Usage for each resource and its charge in the usage table. For each resource, the table has the following columns useful for monitoring Flex Usage:
If you have Flex Usage, you can also see the flex charges visualized in the chart above the table.
In the "Billable metrics" section of the Usage settings, you can view a chart for each resource showing your usage over time with forcasted usage. For example, you can view the usage chart for data transfer, Compute, object storage, etc...
At the type of the "Billable metrics" section, you can find a "Cumulative" toggle. When enabled, the charts will display cumulative usage over time. When disabled, the charts will show daily usage.
Cumulative usage helps you understand the total usage up to a specific date, while daily usage provides insights into your usage patterns on a day-to-day basis.
In each chart, there are two line types:
There's also a horizontal orange dashed line indicating your plan's usage limit for that resource. If your actual usage (green line) exceeds this limit, the excess is considered Flex Usage.
To download your organization's usage as a JSON file:
The JSON file will be downloaded automatically.
By default, the usage table and Flex Usage chart show data for the current billing cycle on Cloud.
To view usage for a different billing cycle, click on the "Current billing cycle" dropdown at the top of the Usage settings. You can then select the previous billing cycle, or a custom date range.
After making your selection, the usage table will update automatically after a few seconds.