List one workload's cloud resources

Returns one page of the cloud resources one workload used in a date range, one row per
resource, with the workload's cost on it, the change against the previous period, and
accountability: the workload's percent of the resource's total cost. Use this for "which
resources drive the cost of workload X". It is the resource dimension of
queryAttributeWorkloadsTable, limited to the workload in workloadId. Use
queryAttributeWorkloadResourcesStats for totals and the row count, and
queryAttributeWorkloadResourcesOverTime for a time series.

Get workloadId from a workload row of queryAttributeWorkloadsTable. An ID that does not
decode returns 404. The request body holds the filters; this operation only reads data.

Freemium customers (no paid Attribute plan) see network cost only, and only for the last
60 days.

Authenticate with Authorization: Bearer <token>. Omit X-Tenant-Id when the credential
resolves to one customer. When the credential can act on several customers, send
X-Tenant-Id: <tenant-id> to select one.

Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…
Query Params
date
required

First day of the date range (UTC), inclusive, as YYYY-MM-DD. The change fields compare
with the period of the same length right before this day. Freemium customers (no paid
Attribute plan) can only read the last 60 days: a from earlier than today minus 60 days
(UTC) returns 403.

date
required

Last day of the date range (UTC), inclusive, as YYYY-MM-DD. Must be on or after from.

integer
≥ 1
Defaults to 10

Rows per page. Default 10. The server sets no maximum, so ask only for what you need
(100 or less keeps the response small).

integer
≥ 0
Defaults to 0

Number of rows to skip. Default 0. For the next page, send offset plus limit. A page with
fewer than limit rows is the last page.

string

Sort order, as a JSON object {"field": "<field>", "order": "asc" | "desc"} (URL-encode it).
Default {"field":"cost","order":"desc"}. field is one of: cost, accountability,
change (percent), dollarChange, resourceName, resourceType, resourceRegion,
resourceAccountId, resourceAccountName, resourceCloudProvider.

string
enum

When set, each row also has costByTime: its cost per hour, day, week or month.
Omit it when you do not need a breakdown by time. Use hour only for ranges of a few days;
Azure data has one point per day even with hour.

Allowed:
Body Params
string
required
length ≥ 1

Opaque ID of one workload. Copy it unchanged from the workloadId of a workload row of
queryAttributeWorkloadsTable; do not build or change it. An ID that does not decode
returns 404.

filterConditions
required

The filters, as an object with exactly one key: and (every item must match) or or (at
least one item must match). Each item is a condition or a group of conditions. Send
{"and": []} for no filter.

Headers
string

Customer (tenant) ID for the request. This is separate from authentication: you still pass your personal or service account API token in the Authorization header (Bearer <token>). See Get Started.

When to omit (most callers): If your personal or service account token belongs to a single customer, omit this header. The API resolves that customer from the token.

When to send: If your credential can access more than one customer, set X-Tenant-Id to the customer ID you want to act on. A service account can select an active direct or nested descendant of its home customer; the endpoint's normal permissions, entitlements, and resource-ownership checks still apply. A service-account target outside that customer subtree returns 403 Forbidden. Prefer this header over the legacy customerContext query parameter, which only applies to legacy API keys and is ignored by personal and service account tokens.

string
enum
Defaults to application/json

Generated from available response content types

Allowed:
Responses

Language
Credentials
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json
application/problem+json