Documentation Index

Fetch the complete documentation index at: https://docs.turbo360.com/llms.txt

Use this file to discover all available pages before exploring further.

Cost Analyzer API reference

Prev Next

Overview

The Cost Analyzer API lets you programmatically manage cost management groups, monitors, optimization schedules, service principals, analysis views, and workflows in Turbo360. Use it to integrate cost management operations into your automation pipelines, CI/CD workflows, or custom tooling.

Business value

The Cost Analyzer API removes the need to manage cost groups and monitors manually through the portal. You can automate cost group lifecycle operations, trigger optimization schedules on demand, manage service principals programmatically, and integrate Cost Analyzer configuration into your infrastructure and deployment workflows.

How it works

All Cost Analyzer API requests are authenticated using an API key. API keys are generated in Settings > API keys and scoped to specific modules and allowed HTTP methods. To use the Cost Analyzer API, your key must include Cost Analyzer in its allowed modules.

The base URL for all API requests is your Turbo360 portal URL:

  • Cloud-hosted: https://portal.turbo360.com
  • Private hosting: Use the URL of your self-hosted Turbo360 instance.

Include your API key in the request header:

Authorization: <your-api-key>

You can explore and test all available endpoints using the Swagger UI at <your-portal-url>/swagger/index.html.

For full authentication setup, see Authentication.

Endpoint reference

Cost Analyzer - Group

Core operations for creating, retrieving, updating, and deleting cost management groups.

Method Endpoint Description
GET /CostAnalyzer/Group/List List all cost management groups
GET /CostAnalyzer/Group/{costAnalyserGroupId}/Get Get a cost management group
POST /CostAnalyzer/Group/Create Create a cost management group
PUT /CostAnalyzer/Group/Update Update a cost management group
DELETE /CostAnalyzer/Group/Delete Delete a cost management group

Cost Analyzer - Monitoring

Operations for managing monitors and alert incidents on a cost management group.

Method Endpoint Description
GET /CostAnalyzer/{costAnalyzerGroupId}/Monitor/Get Get monitors for a cost management group
POST /CostAnalyzer/{costAnalyzerGroupId}/Monitor/Add Add a monitor to a cost management group
DELETE /CostAnalyzer/Monitor/{monitorId}/Delete Delete a monitor
PUT /CostAnalyzer/Monitor/Update Update a monitor
PUT /CostAnalyzer/Monitor/Toggle Enable or disable a monitor
GET /CostAnalyzer/Monitor/{monitorId}/Get Get monitor configuration
GET /CostAnalyzer/GetAlertIncidents Get all alert incidents

Cost Analyzer - Recommendation

Operations for retrieving cost optimization recommendations.

Method Endpoint Description
GET /CostAnalyzer/RightsizingRecommendation Get rightsizing recommendations
GET /CostAnalyzer/ReservationRecommendation Get reservation recommendations

Cost Analyzer - Schedule

Operations for managing optimization schedules on a cost management group.

Method Endpoint Description
GET /CostAnalyzer/Schedule/{scheduleId}/Get Get an optimization schedule
GET /CostAnalyzer/{costAnalyzerGroupId}/Schedule/Get Get all optimization schedules for a group
POST /CostAnalyzer/{costAnalyzerGroupId}/Schedule/Add Create an optimization schedule
DELETE /CostAnalyzer/Schedule/Delete Delete an optimization schedule
PUT /CostAnalyzer/Schedule/{scheduleId}/Update Update an optimization schedule
PUT /CostAnalyzer/Schedule/{scheduleId}/Toggle Enable or disable an optimization schedule
GET /CostAnalyzer/Schedule/{scheduleId}/GetRunHistories Get schedule run histories
PUT /CostAnalyzer/Schedule/{scheduleId}/UnmapResources Remove resources from an optimization schedule
POST /CostAnalyzer/Schedule/{scheduleId}/AddOnDemandRun Trigger an on-demand schedule run

Cost Analyzer - ServicePrincipal

Operations for managing service principals connected to Cost Analyzer.

Method Endpoint Description
GET /CostAnalyzer/ServicePrincipal/Get Get service principals
POST /CostAnalyzer/ServicePrincipal/Add Add a service principal
DELETE /CostAnalyzer/ServicePrincipal/{clientId}/Remove Remove a service principal
PUT /CostAnalyzer/ServicePrincipal/Update Update a service principal

Cost Analyzer - Views

Operations for retrieving analysis views associated with a cost management group.

Method Endpoint Description
GET /CostAnalyzer/{costAnalyzerGroupId}/View/Get Get all views for a cost management group
GET /CostAnalyzer/{costAnalyzerGroupId}/View/{viewId}/Get Get a specific view

Cost Analyzer - Workflow

Operations for triggering optimization workflows.

Method Endpoint Description
PUT /CostAnalyzer/Workflow/{workflowId}/Run Run a workflow

Related articles