v1

latestOpenAPI 3.0.0CoreStack Inc License2026-07-248001,5071.7 MB
Resource

Retrieves trend summary of infrastructure resources

Retrieves trend summary of infrastructure resources

post/v1/resource/dashboard/trend/summary

Request body

start_datestring date-time required

Start date of the trend analysis period.

end_datestring date-time

End date of the trend analysis period.

granularity'day' | 'month' required

Granularity for aggregating resource trend data

group_by'category' | 'change_status' required

Grouping criteria for the trend data.

Example request

{
  "granularity": "day",
  "group_by": "category"
}

Response

Success

datestring date

Date of the trend data point.

categorystring

Resource category

change_status'added' | 'unchanged' | 'modified' | 'deleted'

Change status of the infrastructure resource

countinteger

Count of resources for the given date and category.

Example response

[
  {
    "change_status": "added"
  }
]