Create a Cost Report and Fetch Its Costs
A 3-step recipe with Vantage. We can help you get access.
Recipe · 3 steps
Create a Cost Report and Fetch Its Costs
with Vantage
Create a Cost Report and retrieve its cost line items.
- Create a new Cost Report scoped by the supplied VQL filter, groupings, and workspace.
- Read the newly created Cost Report back by token to confirm it persisted.
- Retrieve the cost line items for the report over the requested date range.
What you'll need to have ready
- apiToken: Vantage API token used as the Bearer credential.
- title: Human-readable title for the new Cost Report.
- filter: A VQL filter expression scoping the Cost Report.
- groupings: Comma-separated list of groupings for the Cost Report.
- workspaceToken: The workspace token the Cost Report belongs to.
- startDate: Start date for the cost data (YYYY-MM-DD).
- endDate: End date for the cost data (YYYY-MM-DD).
For your developer
Arazzo workflow vantage:create-cost-report-and-fetch-costs, 3 operations: createCostReport → getCostReport → getCosts. Specs on APIs.io.