For the complete documentation index, see llms.txt. This page is also available as Markdown.

Resources

API for retrieving and analyzing infrastructure resources

/resources

get

Retrieves a list of infrastructure resources for the organization, including compute instances, databases, and other services with their current status and costs.

Path parameters
org_idstring · uuidRequired
Query parameters
providerstring · enumOptional

Filter by provider

Example: awsPossible values:
segment_idstring · uuidOptional

Filter by segment ID

Example: 550e8400-e29b-41d4-a716-446655440000
searchstringOptional

Text to search across multiple columns (case-insensitive partial match)

Example: us-east-1
descboolean · nullableOptional

Sort in descending order if true

Default: nullExample: true
order_bystring,null · enum · nullableOptional

Field to order results by

Default: idExample: idPossible values:
pageinteger · min: 1OptionalDefault: 1
page_sizeinteger · min: 1 · max: 100OptionalDefault: 20
Responses
200

OK

application/json
get/v1/org/{org_id}/resources

/resources/{resource_id}/daily-usage

get

Retrieves daily usage data for a specific resource within the specified date range. Optionally filter by catalog_sku_id to get usage for a specific SKU. Including usage metrics, costs, and coverage information.

Path parameters
org_idstring · uuidRequired
resource_idstring · uuidRequired
Query parameters
start_datestring · dateRequired

Start date for the date range filter (inclusive)

Example: 2024-01-01
end_datestring · dateRequired

End date for the date range filter (inclusive)

Example: 2024-01-31
catalog_sku_idstring · nullableOptional

Optional catalog SKU ID to filter daily usage records for a specific SKU

Example: 550e8400-e29b-41d4-a716-446655440000
pageinteger · min: 1OptionalDefault: 1
page_sizeinteger · min: 1 · max: 10000OptionalDefault: 100
Responses
200

OK

application/json
get/v1/org/{org_id}/resources/{resource_id}/daily-usage

Last updated

Was this helpful?