Unique internal name of the measured unit, for example floating_ip.
name
string
Display name for the measured unit, for example, Floating IP.
measured_unit
string
Unit of measurement, for example, GB.
usage
integer
date
string (date-time)
recurring
boolean
Reported value is reused every month until changed.
resource_name
string
resource_uuid
string (uuid)
offering_name
string
offering_uuid
string (uuid)
project_name
string
project_uuid
string
customer_name
string
customer_uuid
string
billing_period
string (date)
modified_by
integer
Other Actions
Set component usage for a resource
123456
Allows a service provider to report usage for one or more components of a specific resource.
This endpoint is typically used by backend systems or agents to submit periodic usage data.
- If a `plan_period` is provided, the usage is associated with that period.
- If only a `resource` is provided, the system will determine the correct plan period based on the current date.
- If a usage record for the same resource, component, and billing period already exists, it will be updated. Otherwise, a new record is created.
Date for usage reporting (staff only). If not provided, current date is used.
201 - No response body
Set user-specific component usage
12345
Allows a service provider to report usage for a specific user associated with a resource's component.
This is used for detailed, per-user usage tracking within a single resource.
- If a user-specific usage record already exists for the given component usage, it will be updated.
- Otherwise, a new record is created.