Skip to main content
PUT
/
resource_reports
/
{resource_report_token}
Update resource report
curl --request PUT \
  --url https://api.vantage.sh/v2/resource_reports/{resource_report_token} \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "title": "<string>",
  "filter": "<string>",
  "columns": [
    "<string>"
  ]
}
'
{
  "token": "prvdr_rsrc_rprt_79e32da0783a830f",
  "title": "EC2 Edited Report",
  "filter": "resources.provider = 'aws' and resources.type = 'aws_ebs_volume'",
  "created_at": "2025-08-14T19:13:31Z",
  "workspace_token": "wrkspc_485f11dcbe94de26",
  "user_token": null,
  "created_by_token": null,
  "columns": [
    "provider",
    "label",
    "accrued_costs",
    "recommendation_savings",
    "resource",
    "type",
    "region",
    "account"
  ]
}

Authorizations

Authorization
string
header
required

The access token received from the authorization server in the OAuth 2.0 flow.

Path Parameters

resource_report_token
string
required

Body

application/json

Update a ResourceReport.

title
string

The title of the ResourceReport.

filter
string

The filter query language to apply to the ResourceReport. Additional documentation available at https://docs.vantage.sh/vql.

columns
string[]

Array of column names to display in the table. Column names should match those returned by the /resource_reports/columns endpoint. The order determines the display order. Only available for reports with a single resource type filter.

Response

ResourceReport model

token
string
title
string

The title of the ResourceReport.

Example:

"Acme123 Active Resources"

filter
string

The filter applied to the ResourceReport. Additional documentation available at https://docs.vantage.sh/vql.

created_at
string

The date and time, in UTC, the report was created. ISO 8601 Formatted.

Example:

"2024-03-19T00:00:00Z"

workspace_token
string

The token for the Workspace the ResourceReport is a part of.

user_token
string

The token for the User who created this ResourceReport.

created_by_token
string

The token for the User or Team who created this ResourceReport.

columns
string[]

Array of column names configured for the ResourceReport table display.