Attribute API
Attribute API enables one to interact with the data programmatically, extract large amounts of data and integrate it with your internal systems.
The following document will describe the authentication and endpoints available, response codes, and will provide some code examples for easy use of the Attribute API.
Authentication and Authorization
The authentication with the Attribute API is based on JWT (JSON Web Token).
For security reasons, once generated, the token cannot be recovered. Make sure you keep your token in a secure manner.
To generate your token, please access the Attribute Dashboard. Navigate to the setup/api-tokens page, where you will be able to create new tokens and manage your existing tokens.

Click Create Token to open the new-token dialog. Provide a token name, description, expiration in days, and any IP restrictions, then click Create.

API Endpoints
AWS usually takes up to 48 hours to update the data, thus the earliest stable daily data is two days ago.
Granularity and Date Parameters
Most endpoints below accept two path parameters that follow the same conventions:
granularity:dailyto get data for a single day, ormonthlyto get data for the whole month.date: The date for which to fetch the data, in the formatYYYY-MM-DD.- When
granularityisdaily, the data corresponds to that specific day. Entering the current day fetches the data available so far; future dates return an empty response. - When
granularityismonthly, the day part of the date is ignored and the data covers the entire month. Entering the current month fetches the previous month's data; future months return an empty response. Example: if the date is2026-05-06and granularity ismonthly, the response will include data for April 2026.
- When
Healthcheck Information
Checks the health of the server.
- Endpoint:
/api/v1/health - Method:
GET - Example:
https://api.app.attrb.io/api/v1/health - Returns: HTTP 200 if the server is healthy.
Resources Information
The Resources Information endpoint returns billing data for individual cloud resources (the billing page in Attribute's dashboard).
- Endpoint:
/api/v1/resources/{granularity}/{date} - Method:
GET - Example:
https://api.app.attrb.io/api/v1/resources/daily/2025-11-10 - Description: Starts a job to fetch resources data.
- Parameters:
granularityanddate: See Granularity and date parameters.
- Query Strings:
includetags(boolean, optional): Iftrue, includes resource tags in the response. Defaultfalse.
- Returns:
JobDescription
Dashboard configurations show $0 cost and show tax are both treated as true in the API.
Workloads Information
The Workloads Information endpoint returns billing data aggregated by workload.
- Endpoint:
/api/v1/workloads/{granularity}/{date} - Method:
GET - Example:
https://api.app.attrb.io/api/v1/workloads/daily/2025-11-10 - Description: Starts a job to fetch workloads data.
- Parameters:
granularityanddate: See Granularity and date parameters.
- Query Strings:
includelabels(boolean, optional): Iftrue, includes resource labels in the response. Defaultfalse.
- Returns:
JobDescription
All Customers Information
The All Customers Information endpoint extracts customer insights from the Attribute platform across all cloud providers, such as the customer cost and amortized, effective, and GCP costs for the resources attributed to each customer. (For the detailed structure of the customer data, see AllCustomerEntryObject.)
- Endpoint:
/api/v1/allcustomers/{granularity}/{date} - Method:
GET - Example:
https://api.app.attrb.io/api/v1/allcustomers/daily/2026-05-01 - Description: Starts a job to fetch customer data across all cloud providers.
- Parameters:
granularityanddate: See Granularity and date parameters.
- Returns:
JobDescription - Result object:
AllCustomerEntryObject
Identifiers Information
The Identifiers Information endpoint returns compute cost broken down by identifier — a unit such as a customer, project, or country running on a shared cluster. This lets you see how a single cluster's cost splits across business units based on each identifier's share of requests.
Availability: AWS data only, and only for customers who have multiple units configured through sensor identifiers. For other customers, cost is reported through the standard customer cost flow (see All Customers Information).
- Endpoint:
/api/v1/identifiers/{granularity}/{date} - Method:
GET - Example:
https://api.app.attrb.io/api/v1/identifiers/daily/2026-06-02 - Description: Starts a job to fetch identifiers cost data.
- Parameters:
granularity: daily to get data for a single day (this endpoint supports daily granularity only)date: See date parameters.
- Returns:
JobDescription