Introduction

ManageEngine CloudSpend is a multi cloud cost management and FinOps platform designed to help organizations achieve cost visibility, cost control, and continuous cloud cost optimization across AWS, Azure, and GCP.

CloudSpend provides a centralized view of cloud cost and usage data, enabling complete cost transparency across accounts, services, and regions. Through the CloudSpend API, you can programmatically access cost and usage data, enabling integration with external systems, dashboards, and FinOps workflows. The platform supports cost allocation and cost attribution using cost centers, allowing teams to map cloud spend to business units, applications, projects, or environments. This enables accurate chargeback and showback models, improves cost accountability, and supports cloud financial planning and forecasting.

CloudSpend enables proactive cloud cost governance through policy-driven governance checks. Using the API, you can retrieve governance insights and identify cost inefficiencies. Built in anomaly detection continuously monitors spending patterns to detect cost spikes, unusual usage behavior, and potential cloud cost overruns in real time.

CloudSpend supports cloud financial management with budget management and cost control capabilities. Using the API, you can create and manage budgets, configure thresholds, and track budget performance programmatically. Cost reporting and analytics APIs provide detailed insights into spend trends, service level consumption, and key cost drivers, enabling data driven FinOps decision making and continuous optimization.

CloudSpend extends FinOps practices through integrations such as Zia Agents for AI driven cost insights, anomaly investigation, and automated remediation workflows, and Zoho MCP for cross platform orchestration and workflow automation. These capabilities can be leveraged alongside the CloudSpend API to automate FinOps processes, enforce governance policies, and integrate cloud financial operations into your existing systems, pipelines, and tooling ecosystem.

Learn more

  • To understand how to automate workflows and insights using AI driven agents, see Zia Agents.
  • To explore how CloudSpend integrates with Zoho MCP for extended platform capabilities and orchestration, see Zoho MCP integration.
  • To get started with authentication and API access, see OAuth authentication.
  • To explore available APIs by category, see the API index.
Base URL

All API requests are made to:

https://www.site24x7.com/cs/api/cost

For other data centers, use the respective base URL:

Data CenterBase URL
UShttps://www.site24x7.com
EUhttps://www.site24x7.eu
INhttps://www.site24x7.in
AUhttps://www.site24x7.net.au
CNhttps://www.site24x7.cn
JPhttps://www.site24x7.jp
UKhttps://www.site24x7.uk

Authentication

CloudSpend APIs use OAuth 2.0 for authentication. All requests must include a valid access token in the `Authorization` header.

Authorization: Zoho-oauthtoken {access_token}

To get started:

  1. Register a client application in the Zoho API Console
  2. Generate an authorization code using the required scopes
  3. Exchange the code for access and refresh tokens
  4. Use the access token in API requests

See the OAuth Authentication section for detailed steps.

OAuth Scopes

CloudSpend uses the following OAuth scopes:

ScopeDescription
CloudSpend.Internal.ReadRead access to CloudSpend resources
CloudSpend.Internal.CreateCreate access to CloudSpend resources
CloudSpend.Internal.UpdateUpdate access to CloudSpend resources
CloudSpend.Internal.DeleteDelete access to CloudSpend resources

Request & Response Format

  • All requests and responses use JSON format
  • Include `Content-Type: application/json` header for POST/PUT requests
  • Dates use YYYY-MM-DD format (e.g., `2025-01-01`)

All API responses follow a standard structure:

{
  "code": 0,
  "message": "success",
  "data": {
      // Response data
      }
}

API Response Structure

FieldDescription
codeResponse status code. `0` indicates success
messageStatus message (`success` or error description)
dataResponse payload containing the requested data

API Error & Status Codes

HTTP StatusDescription
200Success
400Bad Request - Invalid parameters
401Unauthorized - Invalid or expired access token
403Forbidden - Insufficient scope permissions
404Not Found - Resource does not exist
500Internal Server Error

Table of Contents

  • Cost Centers
    • Cost Centers Management
    • Cost Analytics
    • Reports
    • Resource Insights
    • Anomaly Detection
    • Tag Management
    • Account Association
  • Reports
    • Summary Report
    • Tagging Compliance
    • Solution Report
    • Custom Dashboard
    • Resource Inventory
    • Report Scheduling
    • Zia Anomaly
    • Savings
    • Cost Allocation
    • Unit Economics
    • Reservation
  • Checks
    • Budget
    • Anomaly
    • Governance
  • Accounts
    • Anomaly Detection
    • Analytics
    • Reports
    • Tags
    • Cost Allocation
    • Account Management
    • Resource Management
  • Admin
    • Licensing
    • Rule Engine
    • Budget Policy
    • Currency
    • Tag Profile
    • Settings
    • Permission Boundary
    • User Management
    • Schedule Report
    • User Role
    • User Group
    • Report Profile

Cost Centers

Cost Centers Management

Method NameMethod TypeURLOAuth ScopeOperation
List alert configurations for cost centers GET /cs/api/cost/cost_centers/integration/alert_configs
CloudSpend.Internal
Read
List cost centers users and groups GET /cs/api/cost/cost_centers/users
CloudSpend.Internal
Read
List all cost centers GET /cs/api/cost/cost_centers
CloudSpend.Internal
Read
List MSP alert configurations for cost centers GET /cs/api/cost/cost_centers/integration/msp_alert_configs
CloudSpend.Internal
Read
Get cost centers user settings GET /cs/api/cost/cost_centers/cost_user_settings
CloudSpend.Internal
Read
Create or configure cost centers POST /cs/api/cost/cost_center
CloudSpend.Internal
Create
Get cost centers accounts configuration data GET /cs/api/cost/cost_centers/accounts_data
CloudSpend.Internal
Read
Check MSP admin status GET /cs/api/cost/integration/msp_customers
CloudSpend.Internal
Read

No APIs found for this search.

Cost Analytics

Method NameMethod TypeURLOAuth ScopeOperation
Get cost centers budget metadata GET /cs/api/cost/cost_centers/budget_meta
CloudSpend.Internal
Read
Get cost centers trend box POST /cs/api/cost/cost_centers/trend_box
CloudSpend.Internal
Read
Get aggregated cost widgets for cost centers POST /cs/api/cost/cost_centers/common_widget_api
CloudSpend.Internal
Read
Get account-wise cost splitup POST /cs/api/cost/cost_centers/accounts_splitup
CloudSpend.Internal
Read
Get cost centers spend analysis panel POST /cs/api/cost/cost_centers/spend_analysis_panel
CloudSpend.Internal
Read
Get cost centers spend analysis GET /cs/api/cost/cost_centers/cc_spend_analysis
CloudSpend.Internal
Read
Group cost centers accounts by property POST /cs/api/cost/cost_centers/group_by_property
CloudSpend.Internal
Read
Get comprehensive cost centers cost data GET /cs/api/cost/cost_centers/cost
CloudSpend.Internal
Read

No APIs found for this search.

Reports

Method NameMethod TypeURLOAuth ScopeOperation
Generate spend analysis report for cost centers POST /cs/api/cost/cost_centers/spend_analysis/report
CloudSpend.Internal
Create
List cost centers report profiles GET /cs/api/cost/cost_centers/report/profiles
CloudSpend.Internal
Read
Generate resource explorer report for cost centers POST /cs/api/cost/cost_centers/resource_explorer/report
CloudSpend.Internal
Create
Generate cost centers list report POST /cs/api/cost/cost_centers/report
CloudSpend.Internal
Create
List resource explorer report profiles GET /cs/api/cost/cost_centers/resource_explorer/report/profiles
CloudSpend.Internal
Read
List spend analysis report profiles GET /cs/api/cost/cost_centers/spend_analysis/report/profiles
CloudSpend.Internal
Read

No APIs found for this search.

Resource Insights

Method NameMethod TypeURLOAuth ScopeOperation
Get cost by resource for cost centers POST /cs/api/cost/cost_centers/cost_by_resource
CloudSpend.Internal
Read
Get cost by instance type for cost centers POST /cs/api/cost/cost_centers/cost_by_instance
CloudSpend.Internal
Read
Get cost centers resource monthly cost breakdown POST /cs/api/cost/cost_centers/resource_pagination
CloudSpend.Internal
Read
Get cost centers resource count with cost breakdown POST /cs/api/cost/cost_centers/resource_count
CloudSpend.Internal
Read

No APIs found for this search.

Anomaly Detection

Method NameMethod TypeURLOAuth ScopeOperation
Get similar cost centers anomalies GET /cs/api/cost/cost_centers/spend_analysis/anomaly/similar
CloudSpend.Internal
Read
Get cost centers anomaly chart data GET /cs/api/cost/cost_centers/spend_analysis/anomaly/chart
CloudSpend.Internal
Read
Get cost centers anomaly details metadata GET /cs/api/cost/cost_centers/spend_analysis/anomaly/details/meta
CloudSpend.Internal
Read
Generate anomaly details report for cost centers POST /cs/api/cost/cost_centers/spend_analysis/anomaly/details/report
CloudSpend.Internal
Create
Get cost centers anomaly root cause analysis GET /cs/api/cost/cost_centers/spend_analysis/anomaly/details/rca
CloudSpend.Internal
Read
List anomaly report profiles GET /cs/api/cost/cost_centers/spend_analysis/anomaly/details/report/profiles
CloudSpend.Internal
Read
Get cost centers anomaly history data GET /cs/api/cost/cost_centers/spend_analysis/anomaly/data
CloudSpend.Internal
Read

No APIs found for this search.

Tag Management

Method NameMethod TypeURLOAuth ScopeOperation
Get available tags for cost analysis grouping POST /cs/api/cost/show_more_tags
CloudSpend.Internal
Read
Get cost centers tags GET /cs/api/cost/cost_centers/cc_tags
CloudSpend.Internal
Read
Set custom tags for cost centers cost account POST /cs/api/cost/cost_centers/custom_tags_for_cc_ca
CloudSpend.Internal
Create

No APIs found for this search.

Account Association

Method NameMethod TypeURLOAuth ScopeOperation
List cost centers accounts GET /cs/api/cost/cost_centers/accounts
CloudSpend.Internal
Read

No APIs found for this search.

Reports

Summary Report

Method NameMethod TypeURLOAuth ScopeOperation
Get Report Tile Status GET /cs/api/cost/reports/report_tile_status
CloudSpend.Internal
Read
Get schedule profiles for summary report scheduling GET /cs/api/cost/reports/summary_report/report/profiles
CloudSpend.Internal
Read
Get cloud discounts for summary report GET /cs/api/cost/cloud_discounts
CloudSpend.Internal
Read
Get cloud overall cost for summary report GET /cs/api/cost/cloud_overallcost
CloudSpend.Internal
Read
Get available data range for summary report GET /cs/api/cost/cloud_available_range
CloudSpend.Internal
Read
Get cloud cost grouped by entities (summary report - step 5) GET /cs/api/cost/cloud_group_by_entities
CloudSpend.Internal
Read
Create scheduled summary report POST /cs/api/cost/reports/summary_report/report
CloudSpend.Internal
Create
Get sankey chart data (summary report - step 4) GET /cs/api/cost/sankey_chart_data
CloudSpend.Internal
Read

No APIs found for this search.

Tagging Compliance

Method NameMethod TypeURLOAuth ScopeOperation
Get custom tagging compliance reports list GET /cs/api/cost/reports/compliance/tagging/list
CloudSpend.Internal
Read
Get unbilled resources tagging compliance details GET /cs/api/cost/reports/compliance/unbilled/custom/tagging
CloudSpend.Internal
Read
Get tagging compliance summary metrics GET /cs/api/cost/reports/compliance/summary/tagging
CloudSpend.Internal
Read
Get tagging compliance unbilled resource count and metadata GET /cs/api/cost/reports/compliance/tagging/unbilled/count
CloudSpend.Internal
Read
Get schedule profiles for tagging compliance report scheduling GET /cs/api/cost/reports/compliance/tagging/report/profiles
CloudSpend.Internal
Read
Get unbilled resource names for compliance analysis GET /cs/api/cost/reports/compliance/unbilled/names
CloudSpend.Internal
Read
Get billed resources for default tagging compliance report GET /cs/api/cost/reports/compliance/autogenerated/tagging
CloudSpend.Internal
Read
Get default tagging compliance reports by cloud provider GET /cs/api/cost/compliance/tagging/cx_preference
CloudSpend.Internal
Read
Get default tagging compliance resource list by cloud and report type GET /cs/api/cost/reports/compliance/tagging/resource/meta
CloudSpend.Internal
Read
Create scheduled tagging compliance report POST /cs/api/cost/reports/compliance/tagging/report
CloudSpend.Internal
Create
Create custom tagging compliance report POST /cs/api/cost/reports/compliance/tagging
CloudSpend.Internal
Create
Get tagging compliance report details with resource analysis GET /cs/api/cost/reports/compliance/tagging
CloudSpend.Internal
Read
Download tagging compliance report file GET /cs/api/cost/reports/compliance/tagging/download
CloudSpend.Internal
Read
Get billed resource names for compliance analysis GET /cs/api/cost/reports/compliance/tagging/billed/names
CloudSpend.Internal
Read
Get unbilled resources for default tagging compliance report GET /cs/api/cost/reports/compliance/unbilled/autogenerated/tagging
CloudSpend.Internal
Read

No APIs found for this search.

Solution Report

Method NameMethod TypeURLOAuth ScopeOperation
Get all available tags for cost account GET /cs/api/cost/reports/tags
CloudSpend.Internal
Read
Get solution reports metadata - call first to validate report names GET /cs/api/cost/solution_reports_meta
CloudSpend.Internal
Read
Get cost by skus/instance for named solution report POST /cs/api/cost/sol_reports/cost_by_instance
CloudSpend.Internal
Create
Get resource count for named solution report drill-down POST /cs/api/cost/sol_reports/resource_count
CloudSpend.Internal
Create
Get accounts splitup for named solution report POST /cs/api/cost/sol_reports/accounts_splitup
CloudSpend.Internal
Create
Get guidance metadata view configuration GET /cs/api/cost/guidance/meta-view
CloudSpend.Internal
Read
Get solution reports listing (level 1 cards) - not for spend analysis GET /cs/api/cost/sol_reports
CloudSpend.Internal
Read
Get cost optimization guidances and recommendations GET /cs/api/cost/guidances
CloudSpend.Internal
Read
Get cost by region/service/component for named solution report POST /cs/api/cost/sol_reports/common_widget_api
CloudSpend.Internal
Create
Get cost by resource for named solution report POST /cs/api/cost/sol_reports/cost_by_resource
CloudSpend.Internal
Create
Get cost centers tags configuration GET /cs/api/cost/reports/cc_tags
CloudSpend.Internal
Read
Get trend chart for named solution report POST /cs/api/cost/sol_reports/trend_box
CloudSpend.Internal
Create
Get spend analysis panel for solution reports POST /cs/api/cost/sol_reports/spend_analysis_panel
CloudSpend.Internal
Create
Get resource monthly cost details for named solution report POST /cs/api/cost/sol_reports/resource_pagination
CloudSpend.Internal
Create
Get cost centers scoped configuration for solution reports GET /cs/api/cost/reports/cc_spend_analysis
CloudSpend.Internal
Read
Get multi-cloud spend analysis for specific cost account (aws/azure/gcp) GET /cs/api/cost/reports/spend_analysis
CloudSpend.Internal
Read
Get resource explorer grouped data for named solution report POST /cs/api/cost/sol_reports/group_by_property
CloudSpend.Internal
Create

No APIs found for this search.

Custom Dashboard

Method NameMethod TypeURLOAuth ScopeOperation
Get spend analysis panel for custom dashboard widgets only POST /cs/api/cost/custom_report/spend_analysis_panel
CloudSpend.Internal
Read
Get accounts cost breakdown for custom dashboard widgets only POST /cs/api/cost/custom_report/accounts_splitup
CloudSpend.Internal
Read
Get custom anomaly chart data GET /cs/api/cost/custom_report/chart
CloudSpend.Internal
Read
Get available data range for custom report widgets GET /cs/api/cost/custom_report/cloud_available_range
CloudSpend.Internal
Read
Get cloud discounts analysis GET /cs/api/cost/custom_report/cloud_discounts
CloudSpend.Internal
Read
Get resource inventory regional distribution for inventory usage table widgets POST /cs/api/cost/custom_report/ri_top_region_list
CloudSpend.Internal
Read
Get reserved instance trend chart data POST /cs/api/cost/custom_report/ri_trend_chart
CloudSpend.Internal
Read
Get budget information details GET /cs/api/cost/custom_report/budget_info/{budget_id}
CloudSpend.Internal
Read
Get accounts data for custom report creation GET /cs/api/cost/custom_report/accounts_data
CloudSpend.Internal
Read
Get available widgets for custom report creation GET /cs/api/cost/widgets
CloudSpend.Internal
Read
Get cost by resource for custom dashboard widgets only POST /cs/api/cost/custom_report/cost_by_resource
CloudSpend.Internal
Read
Get trend chart data for custom dashboard widgets only POST /cs/api/cost/custom_report/trend_box
CloudSpend.Internal
Read
Create new custom dashboard POST /cs/api/cost/dashboard
CloudSpend.Internal
Create
Get custom dashboards list GET /cs/api/cost/dashboard
CloudSpend.Internal
Read
Get multi-dimensional cost data for custom dashboard widgets only POST /cs/api/cost/custom_report/common_widget_api
CloudSpend.Internal
Read
Get cloud overall cost analysis GET /cs/api/cost/custom_report/cloud_overallcost
CloudSpend.Internal
Read
Get reserved instance splitup POST /cs/api/cost/custom_report/ri_splitup
CloudSpend.Internal
Read
Get specific custom dashboard GET /cs/api/cost/dashboard/{id}
CloudSpend.Internal
Read
Get checks status summary for checks category numerical widgets GET /cs/api/cost/custom_report/checks/status
CloudSpend.Internal
Read
Get resource inventory service distribution for inventory usage table widgets POST /cs/api/cost/custom_report/ri_top_service_list
CloudSpend.Internal
Read
Get budget metadata for custom report creation GET /cs/api/cost/custom_report/budget_meta
CloudSpend.Internal
Read

No APIs found for this search.

Resource Inventory

Method NameMethod TypeURLOAuth ScopeOperation
Get resource inventory report schedule profiles GET /cs/api/cost/reports/resource_inventory/report/profiles
CloudSpend.Internal
Read
Get all custom user tags GET /cs/api/cost/reports/all_custom_user_tags
CloudSpend.Internal
Read
Get resource details list POST /cs/api/cost/ri_list
CloudSpend.Internal
Read
Get comprehensive resource tags data POST /cs/api/cost/resource/{resource_id}/tags
CloudSpend.Internal
Read
Get resources list grouped by service, account, or region POST /cs/api/cost/resources_list
CloudSpend.Internal
Read
Add custom tags to resource POST /cs/api/cost/reports/resource_tags
CloudSpend.Internal
Create
Get individual resource trend chart data POST /cs/api/cost/ri_resouce_trend_chart
CloudSpend.Internal
Read
Create scheduled resource inventory list report POST /cs/api/cost/reports/resource_inventory/ri_list/report
CloudSpend.Internal
Create
Create scheduled resource inventory report POST /cs/api/cost/reports/resource_inventory/report
CloudSpend.Internal
Create

No APIs found for this search.

Report Scheduling

Method NameMethod TypeURLOAuth ScopeOperation
List alert configurations for reports module GET /cs/api/cost/reports/integration/alert_configs
CloudSpend.Internal
Read
Get users and groups for report delivery GET /cs/api/cost/reports/users
CloudSpend.Internal
Read
Get budget policies by account type for reports module GET /cs/api/cost/reports/budget_policys/{account_type}
CloudSpend.Internal
Read
Get available accounts for cost reports (allocation and savings) GET /cs/api/cost/reports/accounts_data
CloudSpend.Internal
Read
List msp customer alert configurations for reports module GET /cs/api/cost/reports/integration/msp_alert_configs
CloudSpend.Internal
Read
Create scheduled custom report POST /cs/api/cost/reports/custom_report/report
CloudSpend.Internal
Create
Get all available accounts for spend analysis GET /cs/api/cost/reports/accounts
CloudSpend.Internal
Read
Get available schedule profiles for report scheduling GET /cs/api/cost/reports/custom_report/report/profiles
CloudSpend.Internal
Read

No APIs found for this search.

Zia Anomaly

Method NameMethod TypeURLOAuth ScopeOperation
Get anomaly trend chart data GET /cs/api/reports/anomaly/summary/list/chart
CloudSpend.Internal
Read
Create scheduled zia anomaly report (summary and category) POST /cs/api/reports/anomaly/report
CloudSpend.Internal
Create
Get anomaly metadata and summary information GET /cs/api/reports/anomaly/summary/list/details/meta
CloudSpend.Internal
Read
Get schedule profiles for zia anomaly report scheduling GET /cs/api/cost/reports/anomaly/report/profiles
CloudSpend.Internal
Read
Get all available anomalies for details report scheduling GET /cs/api/reports/anomaly/all
CloudSpend.Internal
Read
Get zia anomaly detection summary GET /cs/api/reports/anomaly/summary
CloudSpend.Internal
Read
Get comprehensive anomaly root cause analysis GET /cs/api/reports/anomaly/summary/list/details/rca
CloudSpend.Internal
Read
Get anomaly detection list by category GET /cs/api/reports/anomaly/summary/list
CloudSpend.Internal
Read
Get detailed anomaly analysis data GET /cs/api/reports/anomaly/summary/list/data
CloudSpend.Internal
Read
Get similar anomaly recommendations GET /cs/api/reports/anomaly/summary/list/similar
CloudSpend.Internal
Read
Create scheduled zia anomaly details report POST /cs/api/reports/anomaly/list/details/report
CloudSpend.Internal
Create
Get schedule profiles for zia anomaly details report scheduling GET /cs/api/reports/anomaly/list/details/report/profiles
CloudSpend.Internal
Read

No APIs found for this search.

Savings

Method NameMethod TypeURLOAuth ScopeOperation
Get savings analysis data POST /cs/api/cost/savings/overall
CloudSpend.Internal
Read
Get schedule profiles for savings report scheduling GET /cs/api/cost/reports/savings_report/report/profiles
CloudSpend.Internal
Read
Create scheduled savings report POST /cs/api/cost/reports/savings_report/report
CloudSpend.Internal
Create

No APIs found for this search.

Cost Allocation

Method NameMethod TypeURLOAuth ScopeOperation
Get available tags for cost allocation hierarchy GET /cs/api/cost/reports/allocations/tags
CloudSpend.Internal
Read
Get hierarchical cost allocation data for interactive navigation GET /cs/api/cost/reports/hierarchy/report/{allocation_id}/graph
CloudSpend.Internal
Read
Get schedule profiles for allocation report scheduling GET /cs/api/cost/reports/hierarchy/report/profiles
CloudSpend.Internal
Read
Get cost allocation report details with hierarchical configuration GET /cs/api/cost/reports/allocation/{allocation_id}
CloudSpend.Internal
Read
Create scheduled allocation report POST /cs/api/cost/reports/hierarchy/report
CloudSpend.Internal
Create
Create custom cost allocation with hierarchical structure POST /cs/api/cost/reports/allocations
CloudSpend.Internal
Create
Get cost allocation reports list GET /cs/api/cost/reports/allocations
CloudSpend.Internal
Read

No APIs found for this search.

Unit Economics

Method NameMethod TypeURLOAuth ScopeOperation
Get unit economics unit list GET /cs/api/cost/reports/unit/economics/unit/list
CloudSpend.Internal
Read
Get unit economics customer preferences GET /cs/api/cost/reports/unit/economics/cx_preference
CloudSpend.Internal
Read
List unit economics custom reports GET /cs/api/cost/reports/unit/economics/custom/report/list
CloudSpend.Internal
Read
Create unit economics custom report POST /cs/api/cost/reports/unit/economics/custom/report
CloudSpend.Internal
Create
Get unit economics schedule profiles GET /cs/api/cost/reports/unit/economics/schedule/report/profiles
CloudSpend.Internal
Read
Create unit economics scheduled report POST /cs/api/cost/reports/unit/economics/schedule/report
CloudSpend.Internal
Create
Get unit economics custom report details GET /cs/api/cost/reports/unit/economics/custom/report/details/{report_id}
CloudSpend.Internal
Read
Get usage unit resource details POST /cs/api/cost/reports/unit/economics/resource/list
CloudSpend.Internal
Read
Get unit cost details POST /cs/api/cost/reports/unit/economics/list
CloudSpend.Internal
Read
Get usage unit resource trend details POST /cs/api/cost/reports/unit/economics/resource/trend
CloudSpend.Internal
Read

No APIs found for this search.

Reservation

Method NameMethod TypeURLOAuth ScopeOperation
Get reservation utilization chart data for cost analysis (aws/azure) GET /cs/api/cost/optimization/{cost_account_id}/utilization/{plan_id}/chart
CloudSpend.Internal
Read
Get detailed reservation utilization for multi-cloud services (aws/azure) GET /cs/api/cost/optimization/{cost_account_id}/utilization/{product_id}/list
CloudSpend.Internal
Read
Get reservation optimization summary for multi-cloud accounts (aws/azure) GET /cs/api/cost/optimization/{cost_account_id}/summary
CloudSpend.Internal
Read

No APIs found for this search.

Checks

Budget

Method NameMethod TypeURLOAuth ScopeOperation
Get cost centers for budget management GET /cs/api/cost/budget/cost_centers
CloudSpend.Internal
Read
Get account tags for budget configuration GET /cs/api/cost/budget/tags
CloudSpend.Internal
Read
Get solution reports metadata for budget management GET /cs/api/cost/budget/solution_reports_meta
CloudSpend.Internal
Read
Create new budget policy POST /cs/api/cost/budget/budget_policy
CloudSpend.Internal
Create
Get budget trend analysis GET /cs/api/cost/budget/{budget_id}/trend
CloudSpend.Internal
Read
Get budget usage history GET /cs/api/cost/budget/budget_history/{budget_id}
CloudSpend.Internal
Read
Get budget dashboard data GET /cs/api/cost/budget/dashboard
CloudSpend.Internal
Read
Create budget configuration POST /cs/api/cost/budget/budget_details
CloudSpend.Internal
Create
Get budget currency formats GET /cs/api/cost/budget/currencies_format
CloudSpend.Internal
Read
Get budget policies by account type GET /cs/api/cost/budget/budget_policys/{account_type}
CloudSpend.Internal
Read
Get detailed budget information GET /cs/api/cost/budget/budget_info/{budget_id}
CloudSpend.Internal
Read
Get budget alert history GET /cs/api/cost/budget/budget_alerts/{budget_id}
CloudSpend.Internal
Read
Get budget users and groups GET /cs/api/cost/budget/users
CloudSpend.Internal
Read
Get account processing status GET /cs/api/cost/accounts_status
CloudSpend.Internal
Read
Get accounts for budget management GET /cs/api/cost/budget/accounts
CloudSpend.Internal
Read

No APIs found for this search.

Anomaly

Method NameMethod TypeURLOAuth ScopeOperation
Get cloud accounts for anomaly check creation GET /cs/api/cost/anomaly/accounts
CloudSpend.Internal
Read
Get anomaly budget policies by account type GET /cs/api/cost/anomaly/budget_policys/{account_type}
CloudSpend.Internal
Read
Get anomaly detection dashboard GET /cs/api/cost/anomaly/dashboard
CloudSpend.Internal
Read
Create anomaly check configuration POST /cs/api/cost/checks
CloudSpend.Internal
Create
Get anomaly currency formats GET /cs/api/cost/anomaly/currencies_format
CloudSpend.Internal
Read
Get similar anomaly patterns GET /cs/api/checks/anomaly/similar
CloudSpend.Internal
Read
Get anomaly historical data and timeline GET /cs/api/checks/anomaly/data
CloudSpend.Internal
Read
Get solution reports metadata for anomaly check creation GET /cs/api/cost/anomaly/solution_reports_meta
CloudSpend.Internal
Read
Get anomaly root cause analysis GET /cs/api/checks/anomaly/details/rca
CloudSpend.Internal
Read
Get anomaly users and groups GET /cs/api/cost/anomaly/users
CloudSpend.Internal
Read
Get cost centers for anomaly check creation GET /cs/api/cost/anomaly/cost_centers
CloudSpend.Internal
Read
Get anomaly timeline chart data GET /cs/api/checks/anomaly/chart
CloudSpend.Internal
Read
Get anomaly user settings and configuration GET /cs/api/cost/anomaly/cost_user_settings
CloudSpend.Internal
Read
Get anomaly metadata details GET /cs/api/checks/anomaly/details/meta
CloudSpend.Internal
Read
Create new budget policy for anomaly checks POST /cs/api/cost/anomaly/budget_policy
CloudSpend.Internal
Create
Get available tags for specific accounts GET /cs/api/cost/anomaly/tags
CloudSpend.Internal
Read

No APIs found for this search.

Governance

Method NameMethod TypeURLOAuth ScopeOperation
Get governance unbilled resource details for rca GET /cs/api/cost/governance/checks/rca/unbilled_resource_details
CloudSpend.Internal
Read
Get governance billed resource details for rca GET /cs/api/cost/governance/checks/rca/billed_resource_details
CloudSpend.Internal
Read
Get governance compliance dashboard GET /cs/api/cost/governance/dashboard
CloudSpend.Internal
Read
Get governance check detailed information GET /cs/api/cost/governance/budget_info/{governance_id}
CloudSpend.Internal
Read
Get governance alert history GET /cs/api/cost/governance/budget_alerts/{governance_id}
CloudSpend.Internal
Read
Get governance rca unbilled resource names GET /cs/api/cost/governance/checks/rca/unbilled_resource/names
CloudSpend.Internal
Read
Get governance policies by account type GET /cs/api/cost/governance/budget_policys/{account_type}
CloudSpend.Internal
Read
Get governance usage history GET /cs/api/cost/governance/budget_history/{governance_id}
CloudSpend.Internal
Read
Get governance accounts overview GET /cs/api/cost/governance/accounts
CloudSpend.Internal
Read
Get governance rca summary metrics GET /cs/api/cost/governance/checks/rca/summary
CloudSpend.Internal
Read
Get governance resource trend chart data POST /cs/api/cost/governance/ri_resouce_trend_chart
CloudSpend.Internal
Read
Get governance resource inventory list POST /cs/api/cost/governance/ri_list
CloudSpend.Internal
Read
Get governance rca billed resource names GET /cs/api/cost/governance/checks/rca/billed_resource/names
CloudSpend.Internal
Read
Get governance resource tags POST /cs/api/cost/governance/resource/{resource_id}/tags
CloudSpend.Internal
Read
Get governance check tags GET /cs/api/cost/governance/checks/tags
CloudSpend.Internal
Read
Get governance users and groups for policy-specific access GET /cs/api/cost/governance/users
CloudSpend.Internal
Read
Get governance spend analysis by account GET /cs/api/cost/governance/spend_analysis
CloudSpend.Internal
Read
Create governance policy profile POST /cs/api/cost/governance/budget_policy
CloudSpend.Internal
Create
Create governance check configuration POST /cs/api/cost/governance/checks
CloudSpend.Internal
Create
Get governance resource data transfer details POST /cs/api/cost/governance/resource/{resource_id}/data_transfer
CloudSpend.Internal
Read

No APIs found for this search.

Accounts

Anomaly Detection

Method NameMethod TypeURLOAuth ScopeOperation
List Account Anomaly History GET /cs/api/accounts/spend_analysis/anomaly/data
CloudSpend.Internal
Read
Get Account Spend Anomaly Chart Data GET /cs/api/accounts/spend_analysis/anomaly/chart
CloudSpend.Internal
Read
Get Similar Anomalies for Pattern Analysis GET /cs/api/accounts/spend_analysis/anomaly/similar
CloudSpend.Internal
Read
Get Account Spend Anomaly Details Metadata GET /cs/api/accounts/spend_analysis/anomaly/details/meta
CloudSpend.Internal
Read
Get Account Anomaly Root Cause Analysis GET /cs/api/accounts/spend_analysis/anomaly/details/rca
CloudSpend.Internal
Read
Generate anomaly details report POST /cs/api/cost/accounts/spend_analysis/anomaly/details/report
CloudSpend.Internal
Create

No APIs found for this search.

Analytics

Method NameMethod TypeURLOAuth ScopeOperation
Get Trend Box Data POST /cs/api/cost/accounts/trend_box
CloudSpend.Internal
Create
Get daily incurred cost trend for accounts POST /cs/api/cost/accounts/incurred_cost
CloudSpend.Internal
Create
Group accounts by property POST /cs/api/cost/accounts/group_by_property
CloudSpend.Internal
Create
Get spend analysis panel data POST /cs/api/cost/accounts/spend_analysis_panel
CloudSpend.Internal
Create
Get cost breakdown data by dimensions for dashboard widgets POST /cs/api/cost/accounts/common_widget_api
CloudSpend.Internal
Create
Get Account Cost Splitup by Billing Accounts POST /cs/api/cost/accounts/accounts_splitup
CloudSpend.Internal
Create
Get entity-level cost forecast data for an account POST /cs/api/cost/accounts/entity_forecast
CloudSpend.Internal
Create

No APIs found for this search.

Reports

Method NameMethod TypeURLOAuth ScopeOperation
Generate resource explorer report POST /cs/api/cost/accounts/resource_explorer/report
CloudSpend.Internal
Create
Generate dashboard/accounts report POST /cs/api/cost/accounts/report
CloudSpend.Internal
Create
Generate spend analysis report POST /cs/api/cost/accounts/spend_analysis/report
CloudSpend.Internal
Create
List Account Report Profiles GET /cs/api/cost/accounts/report/profiles
CloudSpend.Internal
Read

No APIs found for this search.

Tags

Method NameMethod TypeURLOAuth ScopeOperation
Get Account Tags GET /cs/api/cost/accounts/tags
CloudSpend.Internal
Read
Set custom tags for cost accounts POST /cs/api/cost/accounts/custom_tags_for_cc_ca
CloudSpend.Internal
Create
Create custom tags for resources POST /cs/api/cost/accounts/resource_explorer/resource_tags
CloudSpend.Internal
Create
Get all available custom user tags GET /cs/api/cost/accounts/resource_explorer/all_custom_user_tags
CloudSpend.Internal
Read

No APIs found for this search.

Cost Allocation

Method NameMethod TypeURLOAuth ScopeOperation
Generate allocation hierarchy report POST /cs/api/cost/accounts/hierarchy/report
CloudSpend.Internal
Create
Get Account Hierarchy Graph GET /cs/api/cost/accounts/hierarchy/report/{reportId}/graph
CloudSpend.Internal
Read
Get Account Hierarchy Node GET /cs/api/cost/accounts/hierarchy/report/{reportId}/node
CloudSpend.Internal
Read
Get Hierarchy Report Profiles GET /cs/api/cost/accounts/hierarchy/report/profiles
CloudSpend.Internal
Read
Get Available Hierarchy Reports GET /cs/api/cost/accounts/hierarchy/reports
CloudSpend.Internal
Read
Get Account Allocations GET /cs/api/cost/accounts/allocations
CloudSpend.Internal
Read

No APIs found for this search.

Account Management

Method NameMethod TypeURLOAuth ScopeOperation
Get Account Usage Statistics GET /cs/api/cost/account_usage
CloudSpend.Internal
Read
List alert configurations for accounts module GET /cs/api/cost/accounts/integration/alert_configs
CloudSpend.Internal
Read
Get Account Settings and Configuration GET /cs/api/cost/account_settings
CloudSpend.Internal
Read
List MSP customer alert configurations for accounts module GET /cs/api/cost/accounts/integration/msp_alert_configs
CloudSpend.Internal
Read
Get Accounts Metadata GET /cs/api/cost/accounts/accounts_data
CloudSpend.Internal
Read
List Account Users and Access GET /cs/api/cost/accounts/users
CloudSpend.Internal
Read
List account spend details GET /cs/api/cost/accounts
CloudSpend.Internal
Read

No APIs found for this search.

Resource Management

Method NameMethod TypeURLOAuth ScopeOperation
Get resource cost trend chart data POST /cs/api/cost/accounts/resource_explorer/ri_resouce_trend_chart
CloudSpend.Internal
Create
Get detailed monthly cost breakdown for specific resources POST /cs/api/cost/accounts/resource_pagination
CloudSpend.Internal
Create
Get detailed resource metadata and tags POST /cs/api/cost/accounts/resource_explorer/ri_list
CloudSpend.Internal
Create
Get Billed Resource Count by Account GET /cs/api/cost/billed_res_count
CloudSpend.Internal
Read
Get tags for specific resource GET /cs/api/cost/accounts/resource_explorer/resource/{resource_id}/tags
CloudSpend.Internal
Read
Get detailed resource list with cost data for specific billing account POST /cs/api/cost/accounts/resource_count
CloudSpend.Internal
Create
Get Cost by Instance Type POST /cs/api/cost/accounts/cost_by_instance
CloudSpend.Internal
Create
Get Cost by Resource POST /cs/api/cost/accounts/cost_by_resource
CloudSpend.Internal
Create

No APIs found for this search.

Admin

Licensing

Method NameMethod TypeURLOAuth ScopeOperation
Get billing and license details GET /cs/api/cost/bills
CloudSpend.Internal
Read

No APIs found for this search.

Rule Engine

Method NameMethod TypeURLOAuth ScopeOperation
Trigger execution of a rule POST /cs/api/cost/admin/rule/run
CloudSpend.Internal
Create
Get full configuration details of a rule GET /cs/api/cost/admin/rule/configuration
CloudSpend.Internal
Read
View detailed results of a rule execution GET /cs/api/cost/admin/rule/history/view
CloudSpend.Internal
Read
Create a new rule in Rule Engine POST /cs/api/cost/admin/rule
CloudSpend.Internal
Create
List all rules configured in Rule Engine GET /cs/api/cost/admin/rule
CloudSpend.Internal
Read
Get execution history of all rules GET /cs/api/cost/admin/rule/history
CloudSpend.Internal
Read

No APIs found for this search.

Budget Policy

Method NameMethod TypeURLOAuth ScopeOperation
Create a budget, anomaly, or governance policy POST /cs/api/cost/admin/budget_policy
CloudSpend.Internal
Create
Get cost center tags for governance profiles GET /cs/api/cost/admin/cc_tags
CloudSpend.Internal
Read
Get solution reports metadata for profile configuration GET /cs/api/cost/admin/solution_reports_meta
CloudSpend.Internal
Read
Get anomaly profiles by account type GET /cs/api/cost/admin/budget_policys/{accountType}
CloudSpend.Internal
Read
Get cost centers for profile configuration GET /cs/api/cost/admin/cost_centers
CloudSpend.Internal
Read
Get budget metadata for all budgets GET /cs/api/cost/admin/budget_meta
CloudSpend.Internal
Read

No APIs found for this search.

Currency

Method NameMethod TypeURLOAuth ScopeOperation
Get current display currency setting GET /cs/api/cost/display_currency
CloudSpend.Internal
Read
Get historical exchange rates by month GET /cs/api/cost/exchange_rates
CloudSpend.Internal
Read
Get all supported currency formats GET /cs/api/cost/currencies_format
CloudSpend.Internal
Read
Add a custom exchange rate POST /cs/api/cost/exchange_rate
CloudSpend.Internal
Create

No APIs found for this search.

Tag Profile

Method NameMethod TypeURLOAuth ScopeOperation
Create a new tag profile POST /cs/api/cost/admin/tag_profile
CloudSpend.Internal
Create
Get available tags for profile creation GET /cs/api/cost/admin/tags
CloudSpend.Internal
Read
Get all virtual tags GET /cs/api/cost/admin/all_custom_user_tags
CloudSpend.Internal
Read
Get all tag profiles GET /cs/api/cost/admin/tag_profiles
CloudSpend.Internal
Read

No APIs found for this search.

Settings

Method NameMethod TypeURLOAuth ScopeOperation
Get accounts overview with processing status GET /cs/api/cost/admin/accounts
CloudSpend.Internal
Read
Get custom dashboards and reports list GET /cs/api/cost/admin/dashboard
CloudSpend.Internal
Read
Get cost user settings and configuration GET /cs/api/cost/cost_user_settings
CloudSpend.Internal
Read
Get admin details and workspace information GET /cs/api/cost/admin/details
CloudSpend.Internal
Read

No APIs found for this search.

Permission Boundary

Method NameMethod TypeURLOAuth ScopeOperation
Get rule group details GET /cs/api/cost/admin/rule/group/details
CloudSpend.Internal
Read
Get accounts data for permission boundary configuration GET /cs/api/cost/admin/accounts_data
CloudSpend.Internal
Read
List rule groups for permission boundaries GET /cs/api/cost/admin/rule/group/list
CloudSpend.Internal
Read
List all permission boundaries POST /cs/api/cost/admin/tag/virtual/list
CloudSpend.Internal
Read
Create a new permission boundary POST /cs/api/cost/admin/tag/virtual
CloudSpend.Internal
Create
Delete a permission boundary DELETE /cs/api/cost/admin/tag/virtual
CloudSpend.Internal
Delete
Update an existing permission boundary PUT /cs/api/cost/admin/tag/virtual
CloudSpend.Internal
Update

No APIs found for this search.

User Management

Method NameMethod TypeURLOAuth ScopeOperation
Create a new user POST /cs/api/cost/users
CloudSpend.Internal
Create
Get all users and user groups GET /cs/api/cost/users
CloudSpend.Internal
Read
Update user details PUT /cs/api/cost/users/{userId}
CloudSpend.Internal
Update
Get user details by ID GET /cs/api/cost/users/{userId}
CloudSpend.Internal
Read
Resend user invitation email POST /cs/api/cost/resend_invite
CloudSpend.Internal
Create

No APIs found for this search.

Schedule Report

Method NameMethod TypeURLOAuth ScopeOperation
Create a new scheduled report POST /cs/api/cost/report
CloudSpend.Internal
Create
Get all scheduled reports by category GET /cs/api/cost/reports
CloudSpend.Internal
Read

No APIs found for this search.

User Role

Method NameMethod TypeURLOAuth ScopeOperation
Get all custom user roles GET /cs/api/cost/user_roles
CloudSpend.Internal
Read
Create a custom user role POST /cs/api/cost/user_role
CloudSpend.Internal
Create
Get custom role details by ID GET /cs/api/cost/user_role/{roleId}
CloudSpend.Internal
Read

No APIs found for this search.

User Group

Method NameMethod TypeURLOAuth ScopeOperation
Create a new user group POST /cs/api/cost/user_group
CloudSpend.Internal
Create
Update a user group PUT /cs/api/cost/user_group
CloudSpend.Internal
Update

No APIs found for this search.

Report Profile

Method NameMethod TypeURLOAuth ScopeOperation
Get all report profiles for scheduled reporting GET /cs/api/cost/report/profiles
CloudSpend.Internal
Read
Create a new report profile POST /cs/api/cost/report/profile
CloudSpend.Internal
Create

No APIs found for this search.

Introduction to OAuth 2.0

What is OAuth 2.0?

OAuth 2.0 is an industry standard protocol which allows you to grant a third-party website or an application (i.e., a client) delegated access to the protected resources of Zoho via Zoho APIs. It is a way to authenticate and authorize API requests made to Zoho.


Advantages of OAuth 2.0

  • Clients are not required to support password authentication or store user credentials, because the authentication and authorization is done by exchanging OAuth tokens.
  • Clients gain delegated access, i.e., access only to resources authorized by the user.
  • Users can revoke third-party application's delegated access anytime.
  • OAuth access tokens expire after a set time. If the client faces a security breach, user data will be compromised only until the access token is valid.


OAuth 2.0 workflow

Refer to the OAuth 2.0 glossary section to understand more about the terms used here.

Step 1: Register your app and get OAuth credentials

The first step in using OAuth authentication is registering your app with the Zoho API console. Once you register your client, you will get a Client ID and Client secret for your application. This Client ID and Client secret are used to authorize your app's OAuth requests.

Step 2: Obtain an access token

Access token is an OAuth token used to access Zoho's protected resources. The way in which the access token can be generated depends on the type of app. For example, server-based apps can use the authorization code flow to generate an access token, while client-based apps can use the implicit flow to generate an access token. However, in any method, access token will be provided only after the user grants permission through consent. Also, access tokens are always granted for the specific scopes which are mentioned in the request, and the scopes will be displayed to the user while asking for permission.

To learn about the workflows for different types of clients, refer to the below pages:

Step 3: Access the resource using the access token

After your app has the access token, it can access Zoho's protected resources. On giving the access token to the resource server, your app will be granted access as per the scopes defined in the request. Zoho's OAuth implementation uses Bearer authentication scheme, hence while making API calls, the access token has to be passed in the Authorization header with the prefix Zoho-oauthtoken or Bearer.

Supported formats: 

Authorization: Zoho-oauthtoken <space> {access-token-value}

Authorization: Bearer <space> {access-token-value}

Example: Authorization: Zoho-oauthtoken 1000.2deaf8d0c2...

Step 4: Refresh the access token when it expires

Access tokens have limited validity, i.e., their lifetime is only 1 hour, post which they expire and cannot be used to access the resources any longer. However, if the app wants to access the resource for more than 1 hour, then a refresh token can be retrieved and stored. This refresh token allows the app to generate a new access token whenever required.

Step 5: Revoke unwanted tokens

If a refresh token is no longer required or appears to be compromised, it can be revoked and made invalid. It can be revoked by making an API request and after successful revocation, it can no longer be used to generate access tokens, and the existing access tokens generated using this refresh token will also become invalid.  

OAuth 2.0 glossary

Protected resource

It is the data present in a Zoho service that the client wants to access. For example, if the client wants to access the records module in Zoho CRM using an API, then the records module is called the protected resource. This data (i.e., module) can be accessed by the client only after proper authorization using OAuth, hence then name protected resource.

Resource owner

Resource owner is the user who can grant permission to the client and in turn access to the protected resource of their Zoho account.

Resource sever

The server where the protected resources are stored, and to where the client must make API calls is called the resource server. In our case, the Zoho app which has the resource the client wants to access represents the resource server.

Authorization server

The server which grants access tokens and refresh tokens on behalf of the resource owner (i.e., the user), for the client to access protected resources is called the authorization server. In our case, Zoho Accounts is the authorization server.

Client

The application which needs access to the protected resource is called the client. The client can be a server-based application, single page JavaScript application, mobile/desktop application, or a non-browser limited input application. The client can make API requests to the resource server after successful authorization by the authorization server on behalf of the user.

Client type

Indicates the type of application you develop. The four types of clients are:

  • Server-based application
    Web applications that are built to run with a dedicated HTTP server. Follows authorization code flow of OAuth.
  • Client-based application
    Single page JavaScript applications that are built to run exclusively on browsers independent of web servers. Follows implicit flow of OAuth.
  • Mobile/desktop application
    Applications that are built to run on smartphones and tablets. Follows the authorization code flow.
  • Non-browser application
    Applications that run on devices without browsers such as TVs and printers.
  • Self-client
    Applications which doesn't have a redirect URI and is used only to fetch information automatically from your own account.
Client ID

A unique identifier for your application which you can receive when registering your application in the Zoho API console.

Client secret

A unique secret key for your application which you can receive when registering your application in the Zoho API console. Client secret is know only between your application and Zoho, therefore, must be kept confidential. (Client secret is not needed for client-based applications and will not be provided). 

Access token

Access tokens are granted by the authorization server (Zoho Accounts) and are used by the client to access the protected resources. It contains information about the user and the scopes. It essentially tells the resource owner that the bearer of this token has been authorized by the user to access the protected resource as per the scope defined. The validity of an access token is 1 hour.

Refresh token

Refresh tokens are used to generate a new access token after the old one expires. Refresh tokens are granted by the authorization server (Zoho Accounts) and can be stored by the client to generate access tokens whenever required.

Authorization code

For server-based applications and mobile-based applications, access tokens cannot be generated directly. Instead, the client must first get an authorization code from the authorization server (Zoho Accounts), and then exchange it for an access token. The lifetime of authorization code is only two minutes and can be used only once.

OAuth scope

Scope limits the level of access the application can have when making requests to the resource server (to access protected resources). It is what enables the user to provide delegated access to the client.

For example, if the client only needs to access the Invoices module in Zoho Books, then it can be defined in the scope when requesting for access token. When the client makes API requests with the access token, the resource server will provide access only to the Invoices module. It can also be defined what kind of operations (create/read/update/delete) are permissible for the client with respect to the module.

When the user is asked for permission to grant access to the client, the scopes defined in the request will be shown.

A Zoho OAuth scope has three parts:

  • Service name
    The name of the service the client is making API calls to. All Zoho products have a unique service name such as ZohoCRM, or ZohoRecruit
  • Scope name
    The name of the module in the service the client needs access to. Each Zoho service is divided into different modules. You can view the scope names from the respective product's API docs. 
  • Operation type
    The type of operation that is permissible for the client. It can be ALL, READ, UPDATE, DELETE. (ALLgives access to perform all operations).

SYNTAX: 

service_name.scope_name.OPERATION_TYPE

Examples: 

ZohoCRM.users.CREATE
ZohoBooks.purchaseorders.UPDATE
ZohoCliq.channels.DELETE
ZohoCRM.modules.contacts.ALL

 

Access tokens can also be generated with multiple scopes. In such cases, the scopes should be separated by commas.

SYNTAX: 

service_name.scope_name.OPERATION_TYPE,service_name.scope_name.
OPERATION_TYPE

Example: 

ZohoCRM.modules.READ,ZohoCRM.settings.READ
 

Client registration

To access the resources of Zoho using the various Zoho APIs, you will need to register your application with Zoho first. You can register your application as one of the following client types:

On successful registration of your application, you will get a Client ID and Client secret. You can use them to get the access token which is needed to make API calls to Zoho.
 

To register your application

  1. Go to Zoho API console, then click GET STARTED
  2. Hover over your application's client type and click CREATE NOW. If you've previously added an application, click ADD CLIENT in the top-right corner.
  3. Enter the required details, then click CREATE. The required details for each client are as follows:
Details requiredServer-basedClient-basedMobile-basedNon-browser basedSelf client
Client NameYYYYY
Homepage URLYYYYN
Authorized Redirect URIYYYNN
Javascript DomainNYNNN

INFO:

  • Homepage URL
    The full URL to your application's home page.
  • Authorized Redirect URI
    It is the URI of the application to which the authorization server (Zoho Accounts) sends the response back to, with the authorization code (or access token in case of client-based application) after the user grants permission through consent. The URI should begin with https:// or http://. You can add multiple redirect URIs by clicking [plus]. Example: https://www.zylker.com/oauthredirect
  • Javascript Domain
    If your application is a client-based Javascript application, you must specify the Javascript domain of the application. The Javascript domain should begin with https:// or http://. You can add multiple Javascript domains by clicking [plus].

You can find the Client ID and Client secret in the Client Secret tab of your application in the console.

To learn more about self client, refer to this article.

Server-based apps - Overview


What are server-based apps

Server-based apps typically involve a separation between the front-end (client-side) and back-end (server-side) components. The application logic is performed on the server, and the rendered content is sent to the browser for display.

These apps can securely store credentials on the server-side, such as client secrets, and are referred to as " confidential clients " in OAuth terminology.

For such apps, the Authorization Code Flow is used to obtain access tokens. It involves exchanging an authorization code (received from the authorization server) for access tokens. Refresh tokens can also be obtained in this flow, allowing the server-based app to obtain new access tokens without requiring user intervention.


Authorization code flow

To begin with, you need to register your app in the API console as a "server-based app". You will get a client ID and client secret. You will need them to make the API calls to receive OAuth tokens. Once you receive an access token, you can use it to access the protected resources of Zoho.

For server-based apps, you can optionally use the authorization code flow with the Proof Key for Code Exchange (PKCE) extension for added security. It is required for mobile-based apps, but recommended for server-based apps as well. Learn more about PKCE

The authorization code flow to obtain access token is as follows:

  • Step 1:

    Make a GET request to the endpoint oauth/v2/auth mentioning the required scopes. The end user will be displayed the permissions you're requesting. If the user grants access, an authorization code will be returned to the redirection URL. This code will be valid for 2 minutes.

    Refer API reference

  • Step 2:

    Using the received authorization code, make a POST request to the endpoint oauth/v2/token . The authorization server will return an access token and an optional refresh token. This access token will be valid for 1 hour.

    Refer API reference

  • Step 3:

    Using the received access token, you can call the Zoho APIs to access protected resources. If you need to access the resources again after the access token expires, you can use the refresh token to obtain access tokens whenever required. Send a POST request to the endpoint oauth/v2/token with the refresh token to obtain another access token.

    Refer API reference

Multi DC support

In Zoho, we use different data centers (DC) to store users' information. This information is not shared between data centers. Learn more about data centers

If your app is registered in the a certain DC, to access the data of the users in other DCs, then you need to enable multi DC support for your app. After you enable this support, when you make API calls, you will have to change your endpoint URL depending on the user's DC.


Incremental authorization

Incremental authorization allows your app to request for a permission from the user only when it is needed and not upfront. Let's say your app needs to obtain profile information of the user to provide basic functionality; and for certain features, need additional permission. Normally, your app will have to request profile info permission and additional permissions upfront when user grants access. But this would provide a bad experience for the user because they would have to give permission for features which they aren't even using yet. Incremental authorization helps avoid this and provides a better user experience.


Revoking refresh tokens

Refresh tokens can be revoked programmatically or by the user themselves.

Refresh tokens can be revoked by users in two ways:

  • Users can go to the Connected Apps section in accounts.zoho.com and revoke the access they've granted for an app.
  • Users can choose to revoke access for connected apps when they change their password, or enable multi-factor authentication (MFA).

Programmatically, refresh tokens can be revoked by making a POST request to the endpoint oauth/v2/token/revoke . Refer API reference

Note : Access tokens can also be revoked programmatically. When an access token is revoked, if it is granted via a refresh token, it will also get revoked.

Get authorization code

Request for an authorization code from our authorization server. You will need to mention which scopes you need permission for. We will display the required permissions to the user. If the user grants permission, an authorization code will be sent to the redirect URL, which is valid for 2 minutes.

Query parameters

Parameter Description
client_id

required

The unique ID of your application. You can find this in the API console .

response_type

required

Should be sent with the value code .

redirect_uri

required

The URI to which the authorization server will redirect the browser back with the authorization code. It has to be the same URI which is provided when registering the app in the API console. Should start with http:// or https://.

For example: https://www.zylker.com/oauthredirect

scope

required

The corresponding scope for the resource you want to access from the user's account. The scopes will be displayed to the user when asking for consent.

For example: ZohoCRM.settings.READ

access_type

optional

Determines whether your app can refresh the access token on its own once the access token expires (without user intervention). If the value is online , only the access token will be provided and it cannot be refreshed by the app once expired. If the value is offline , a refresh token will also be provided for the first time the app requests for an access token , which the app can store and then use to refresh the access token whenever required.

Default value: online

prompt

optional

If this parameter is included, the user will be prompted for consent every time your app requests access to the resource. If not included, the user will be prompted only the first time. The value must be consent .

Response parameters

After authenticating the user, we will display to the user what are all the permissions your app is requesting. Once the user grants permission, the authorization code will be sent to the redirect_uri .

Parameter Description
code The authorization code that can be exchanged for an access token . Its validity is two minutes and can be used only once.
location Indicates the data center (DC) location of the user (i.e., where their account is stored). If the user's DC is different from that of your app, then you will need to enable multi DC support and make the access token request to the user's DC.

Error codes

Error Reasons
access_denied
  • User rejected the request for access.
Invalid Client
  • The value of the parameter client_id is not valid.
  • The value of the parameter response_type is incorrect. It must be code .
Invalid response type
  • The parameter client_id is missing.
  • The parameter response_type is missing.
Invalid OAuth scope
  • The parameter scope is either missing or the entered scope doesn't exist.
Invalid Redirect Uri
  • The parameter redirect_uri is either missing or the entered URI doesn't match with the one configured in the API console.
An error occurred/500 server error
  • The value of the parameter response_type is invalid. It must be "code".
400 not found
  • The HTTP method used is incorrect. It must be GET.

Endpoint

CopiedGET     {accounts-server-url}/oauth/v2/auth 

Note: The accounts-server-url is specific to the location (i.e., datacenter) where your app is registered.

Request example

Copiedhttps://accounts.zoho.com/oauth/v2/auth
?response_type=code
&client_id=1000.GMB0YULZHJK411284S8I5GZ4CHUEX0
&scope=AaaServer.profile.Read
&redirect_uri=https://www.zylker.com/oauthredirect
&access_type=offline
&prompt=consent

Response example

Copiedhttps://oauth.pstmn.io/v1/browser-callback
?code=1000.a1110799eac53c491fee9efef8246535.df7da86ff64daa66413e2899e9b7fad7
&location=in
&accounts-server=https://accounts.zoho.in

Get access token

Get the access token from our authorization server by exchanging the authorization code.

Query parameters

Parameter Description
client_id

required

The unique ID of your application. You can find this in the API console .

client_secret

required

The unique secret for your app which is known only to your app and Zoho. You can find this in the API console .

grant_type

required

Should be sent with the value authorization_code .

code

required

The authorization code you received after you made the authorization code request .

redirect_uri

required

It has to be the same URI which is provided when registering the app in the API console. Should start with http:// or https://.

For example: https://www.zylker.com/oauthredirect

Response parameters

Parameter Description
access_token A token that your app needs to access the resources (as defined by the requested scopes). This token is valid for 1 hour.
refresh_token A special token that can be used by your app to refresh the access token once it is expired. The refresh token will be included in the response if you have passed the parameter access_type with the value offline when making the authorization code request (for the first time).
api_domain The domain to which your app needs to make API requests, for accessing the protected resources.
token_type

Indicates the type of access token that is generated. The access tokens issued by Zoho are Bearer tokens. When your app makes API requests to access the protected resources, access tokens need to be sent using the "Authorization" header.

Syntax:
Authorization: Zoho-oauthtoken {access token}

expires_in Indicates the time (in seconds) in which the access token expires. The lifetime of an access token is 1 hour (3600 seconds).

Error codes

Error Reasons
invalid_client
  • The accounts-server URL is invalid. Check if the URL is corresponding to the user's datacenter location. See all URLs
  • The parameter client_id is missing or its value is invalid.
  • The value of the parameter grant_type is invalid. It must be authorization_code .
invalid_client_secret
  • The parameter client_secret is missing or its value is invalid.
invalid_redirect_uri
  • The parameter redirect_uri is either missing or the entered URI doesn't match with the one configured in the API console.
invalid_code
  • The parameter code is missing or its value is either invalid or already used.
  • The value of the parameter grant_type is incorrect. It must be authorization_code .
400 Bad Request
  • The HTTP method used is incorrect. It must be POST.
  • The parameter grant_type is missing.

Endpoint

CopiedPOST     {accounts-server-url}/oauth/v2/token

Note: The accounts-server-url is specific to the location (i.e., datacenter) where the user is present. Mentioned as location in the response of the authorization request .

Request example

Copiedhttps://accounts.zoho.com/oauth/v2/token
?client_id=1000.GMB0YULZHJK411248S8I5GZ4CHUEX0
&client_secret=122c324d3496d5d777ceeebc129470715fbb856b7
&grant_type=authorization_code
&redirect_uri=https://www.zylker.com/oauthredirect
&code=1000.86a03ca5dbfccb7445b1889b8215efb0.cad9e1ae4989a1196fe05aa729fcb4e1

Response example

Copied{   
"access_token":"1000.2deaf8d0c268e3c85daa2a013a843b10.703adef2bb337b8ca36cfc5d7b83cf24",
"refresh_token":"1000.18e983526f0ca8575ea9c53b0cd5bb58.1bd83a6f2e22c3a7e1309d96ae439cc1",
"api_domain":"https://api.zoho.com",
"token_type":"Bearer",
"expires_in":3600
}

Refresh access token

Use the refresh token to generate another access token for the same set of scopes.

Using a refresh token, your app can create up to ten access tokens in a span of ten minutes. If the limit is reached, the access token creation will be blocked for the rest of the ten minutes. For more information, refer to Token limits .

Query parameters

Parameter Description
client_id

required

The unique ID of your application. You can find this in the API console .

client_secret

required

The unique secret for your app which is known only to your app and Zoho. You can find this is the API console .

grant_type

required

Should be sent with the value refresh_token .

refresh_token

required

The refresh token you received after you made the access token request .

Response parameters

Parameter Description
access_token A token that your app needs to access the resources (as defined by the requested scopes). This token is valid for 1 hour.
api_domain The domain to which your app needs to make API requests, for accessing the protected resources.
token_type

Indicates the type of access token that is generated. The access tokens issued by Zoho are Bearer tokens. When your app makes API requests to access the protected resources, access tokens need to be sent using the "Authorization" header.

Syntax:
Authorization: Zoho-oauthtoken {access token}

expires_in Indicates the time (in seconds) in which the access token expires. The lifetime of an access token is 1 hour (3600 seconds).

Error codes

Error Reasons
invalid_client
  • The accounts-server URL is invalid. Check if the URL is corresponding to the user's datacenter location. See all URLs
  • The parameter client_id is missing or its value is invalid.
  • The value of the parameter grant_type is invalid. It must be refresh_token .
invalid_client_secret
  • The parameter client_secret is missing or its value is invalid.
invalid_code
  • The parameter refresh_token is missing or its value is invalid.
  • The value of the parameter grant_type is incorrect. It must be refresh_token .
  • The refresh token used is already revoked. Learn more
400 Bad Request
  • The HTTP method used is incorrect. It must be POST.
  • The parameter grant_type is missing.

Sending the request parameters

The parameters can be sent in one of the following formats:

(1) Query String

All parameters can be sent in the form of query string in the request URL.

Example:

https://accounts.zoho.com/oauth/v2/token?
client_id=1000.QVF8O5MXFUYATAQGJKEWUXJKZH7OOE
&grant_type=refresh_token
&client_secret=31a99ae27deff7fr34e419fe321b712a02cdedted7
&refresh_token=1000.3421ad0e1a6fe44663ea112b8b1c4fdf.cd38e645e3d7423651d17368855bc1c5

(2) Request Body

All parameters can be sent in the request body using the data type form-data or x-www-form-urlencoded .

Example:

client_id: "1000.QVF8O5MXFUYATAQGJKEWUXJKZH7OOE"
client_secret: "31a99ae27deff7fr34e419fe321b712a02cdedted7"
grant_type: "refresh_token"
refresh_token: "1000.3421ad0e1a6fe44663ea112b8b1c4fdf.cd38e645e3d7423651d17368855bc1c5"

(3) Basic Auth Header

Only the client_id and client_secret can be sent using this method. The credentials will have to be base64 encoded and sent.

Encoding format:

Base64encode(client_id:client_secret)

Header format:

Authorization: Basic {Base64 encoded credentials}

Example:

Authorization: Basic MTAwMC5RVkY4TzVNWEZVWUFUQVFHSktFV1VYSktaSDdPT0U6MzFhOTlhZTI3ZGVmZjdmcjM0ZTQxOWZlMzIxYjcxMmEwMmNkZWR0ZWQ3

Endpoint

CopiedPOST     {accounts-server-url}/oauth/v2/token

Note: The accounts-server-url is specific to the location (i.e., datacenter) where the user is present. Mentioned as location in the response of the authorization request.

Request example

Copiedhttps://accounts.zoho.com/oauth/v2/token
?client_id=1000.GMB0YULZHJK411248S8I5GZ4CHUEX0
&client_secret=122c324d3496d5d777ceeebc129470715fbb856b7
&grant_type=refresh_token
&refresh_token=1000.86a03ca5dbfccb7445b1889b8215efb0.cad9e1ae4989a1196fe05aa729fcb4e1

Response example

Copied{   
"access_token":"1000.2deaf8d0c268e3c85daa2a013a843b10.703adef2bb337b8ca36cfc5d7b83cf24",
"api_domain":"https://api.zoho.com",
"token_type":"Bearer",
"expires_in":3600
}

Client-based apps - Overview

What are client-based apps

Client-based apps, such as single-page JavaScript apps, perform the application logic directly in the browser using JavaScript.

These apps typically cannot securely store credentials, including client secrets, on the client-side due to the potential for exposure or compromise. Client-based apps are often referred to as " public clients " in OAuth, indicating their inability to keep credentials confidential.

For such apps, the Implicit Flow is used for obtaining access tokens. It returns the access token directly to the client-side environment as part of the redirection process. Refresh tokens are not provided in the Implicit Flow, but the app may be able to obtain new access tokens without user intervention if the user has granted permission for the session.


Implicit flow

To begin with, you need to register your app in the API console as a "client-based app". You will get a client ID. You will need it to make the API calls to receive access token. Once you receive an access token, you can use it to access the protected resources of Zoho.

The implicit flow to obtain access token is as follows:

  • Step 1:

    Make a GET request to the endpoint oauth/v2/auth mentioning the required scopes. The end user will be displayed the permissions you're requesting. If the user grants access, an access token will be returned to the redirection URL. This access token will be valid for 1 hour.

    Refer API reference

  • Step 2:

    Using the received access token, you can call the Zoho APIs to access protected resources. If you need to access the resources again after the access token expires, you can obtain another access token if the user has granted access for the entire session in step 1. Send a GET request to the endpoint oauth/v2/auth/refresh to obtain another access token.

    Refer API reference


Multi DC support

In Zoho, we use different data centers (DC) to store users' information. This information is not shared between data centers. Learn more about data centers

If your app is registered in the a certain DC, to access the data of the users in other DCs, then you need to enable multi DC support for your app. After you enable this support, when you make API calls, you will have to change your endpoint URL depending on the user's DC.


Revoking access tokens

Access tokens can be revoked programmatically or by the user themselves. Users can go to the Connected Apps section in accounts.zoho.com and revoke the access they've granted for an app, which will revoke the access tokens.

Programmatically, access tokens can be revoked by making a POST request to the endpoint oauth/v2/token/revoke . Refer API reference

Get access token

Request for an access token from our authorization server. You will need to mention which scopes you need permission for. We will display the required permissions to the user. If the user grants permission, an access token will be sent to the redirect URL, which is valid for 1 hour.

Query parameters

Parameter Description
client_id

required

The unique ID of your application. You can find this in the API console .

response_type

required

Should be sent with the value token .

redirect_uri

required

The URI to which the authorization server will redirect the browser back with the access token. It has to be the same URI that is provided when registering the app in the API console. Should start with http:// or https://.

For example: https://www.zylker.com/oauthredirect

scope

required

The corresponding scope for the resource you want to access from the user's account. The scopes will be displayed to the user when asking for consent.

For example: ZohoCRM.settings.READ

Response parameters

After authenticating the user, we will display to the user what are all the permissions your app is requesting. Once the user grants permission, the access token will be sent to the redirect_uri .

Parameter Description
access_token A token that your app needs to access the resources (as defined by the requested scopes). This token is valid for 1 hour.
api_domain The domain to which your app needs to make API requests, for accessing the protected resources.
location Indicates the data center (DC) location of the user (i.e., where their account is stored).
expires_in Indicates the time (in seconds) in which the access token expires. The lifetime of an access token is 1 hour (3600 seconds).
granted_for_session

Indicates whether the user has granted permission for your app to refresh the access token . Returns true if permission is granted.

If the user doesn't grant permission, this parameter won't be returned. In that case, the app would need to prompt the user again to reauthenticate for obtaining a new access token.

Error codes

Error Description
access_denied
  • User rejected the request for access.
Invalid Client
  • The value of the parameter client_id is not valid.
  • The value of the parameter response_type is incorrect. It must be token
Invalid response type
  • The parameter client_id is missing.
  • The parameter response_type is missing.
Invalid OAuth Scope
  • The parameter scope is either missing or the entered scope doesn't exist.
Invalid Redirect URI
  • The parameter redirect_uri is either missing or the entered URI doesn't match with the one configured in the API console.
An error occurred/400 bad request
  • The value of the parameter response_type is invalid. It must be token .
400 bad request
  • The HTTP method used is incorrect. It must be GET.

Endpoint

CopiedGET        {accounts-server-url}/oauth/v2/auth 

Note: The accounts-server-url is specific to the location (i.e., datacenter) where your app is registered.

Request example

Copiedhttps://accounts.zoho.com/oauth/v2/auth
?response_type=token
&client_id=1000.GMB0YULZHJK411284S8I5GZ4CHUEX0
&scope=AaaServer.profile.Read
&redirect_uri=https://www.zylker.com/oauthredirect

Response example

Copiedhttps://www.zylker.com/oauthredirect
#access_token=1000.2350e7afbb173426e5fe3e5977db2f69.0cddd2403ee2e6309d44e7007bf21c05
&expires_in=3600
&location=in
&api_domain=https://www.zohoapis.in
&granted_for_session=true

Refresh access token

When the access token expires, your app can obtain a new one without user intervention, provided the session is active. However, this requires the user to have granted permission for the app to refresh the token.

If the user grants permission, the granted_for_session parameter will be returned as true in the response to the access token request ; otherwise, this parameter won't be returned.

Token refresh behavior

If permission is granted and the user's session is active:

  • You can obtain a new access token by making a request to the oauth/v2/auth/refresh endpoint.

If permission is not granted or the user's session has expired/terminated:

Query parameters

Parameter Description
client_id

required

The unique ID of your application. You can find this in the API console .

response_type

required

Should be sent with the value token .

redirect_uri

required

The URI to which the authorization server will redirect the browser back with the access token. It has to be the same URI which is provided when registering the app in the API console. Should start with http:// or https://.

For example: https://www.zylker.com/oauthredirect

scope

required

The scopes to include in the new access token. Only scopes that were previously granted by the user in the oauth/v2/auth request can be included. New scopes cannot be added.

Response parameters

After verifying your app, the access token will be sent to the redirect_uri.

Parameter Description
access_token A token that your app needs to access the resources (as defined by the requested scopes). This token is valid for 1 hour.
api_domain The domain to which your app needs to make API requests, for accessing the protected resources.
location Indicates the data center (DC) location of the user (i.e., where their account is stored).
expires_in Indicates the time (in seconds) in which the access token expires. The lifetime of an access token is 1 hour (3600 seconds).

Error codes

Error Description
client_not_granted
  • User didn't grant permission for the entire session. So, access token can't be refreshed.
  • The session has been terminated.
prompt_required
  • At least one of the scopes in this request was not granted during the initial oauth/v2/auth request. In a refresh request, you can only include scopes that the user has already approved.
OAuthErrorCode.invalid_scope
  • The parameter scope is missing.
general_error
  • At least one of the included scopes doesn't exist.
An error occurred/40 bad request
  • The parameter client_id is spelled incorrectly.
  • The value of the parameter response_type is invalid.
  • The parameter redirect_uri is spelled incorrectly.
  • The HTTP method used is incorrect. It must be GET.
OAuthErrorCode.invalid_client
  • The parameter client_id is missing or its value is invalid.
  • The parameter response_type is missing or its value is incorrect. It must be token .
OAuthErrorCode.invlid_redirect_uri
  • The parameter redirect_uri is missing or the entered URI doesn't match with the one configured in the API console.

Endpoint

CopiedGET        {accounts-server-url}/oauth/v2/auth/refresh

Note: The accounts-server-url is specific to the location (i.e., datacenter) where your app is registered.

Request example

Copiedhttps://accounts.zoho.com/oauth/v2/auth/refresh
?response_type=token
&client_id=1000.GMB0YULZHJK411284S8I5GZ4CHUEX0
&redirect_uri=https://www.zylker.com/oauthredirect
&scope=AaaServer.profile.Read

Response example

Copiedhttps://www.zylker.com/oauthredirect
#access_token=1000.2350e7afbb173426e5fe3e5977db2f69.0cddd2403ee2e6309d44e7007bf21c05
&expires_in=3600
&location=in
&api_domain=https://www.zohoapis.in

Mobile-based Applications

Native mobile applications on different mobile operating systems can gain authorized access to Zoho's APIs via OAuth. The authorization flow is similar to the server-based application flow . The mobile device must additionally provide an app schema, so the redirection can be caught by the mobile application.


Authorization code flow with PKCE

Mobile and desktop-based apps can communicate with Zoho and obtain the access token using the authorization code flow. Since, mobile and desktop apps are public clients , the Proof Key for Code Exchange (PKCE) extension must also be used to obtain the access token.

Note: Previously, PKCE was not mandated for mobile and desktop apps. Apps previously registered with Zoho that haven't supported PKCE can still obtain access tokens. However, it is strongly advised to support the PKCE extension from now on to improve the security of your app.


Why is PKCE needed

When public clients use the authorization code flow, there is a risk of an "authorization code inception attack" due to the following reasons:

  1. Multiple apps can register themselves as a handler for a redirect URL . Hence, a malicious app (by using the same redirect URL as the original app) can intercept the authorization code when the browser returns it from the Zoho server.
  2. A public client cannot store the client credentials securely . Hence, a malicious app will be able to steal the client secret, pose itself as the original app, then exchange the intercepted authorization code for an access token.

PKCE mitigates this attack, and ensures the access token is provided only to the correct app and not to any malicious app.


How PKCE works

Prerequisite: Refer to the authorization code flow to understand the the fundamental workflow of getting access tokens.

In regular authorization code flow, the app will open the browser and initiate the OAuth flow. However, with the PKCE extension, before opening the browser, the app will generate a code_verifier and code_challenge , then proceeds with the OAuth flow.

The PKCE flow will be as follows:

  1. When the app wants to access a Zoho resource, it generates a code_verifier and code_challenge . The code_verifier is a random cryptographically-generated code, and code_challenge is a transformed version of code_verifier .
  2. The app opens the browser and sends a request to Zoho to obtain an authorization code (oauth/v2/auth). The code_challenge and the code_challenge_method (i.e., the method used for the transformation) are included as parameters in this request.
  3. After authenticating the user, Zoho provides an authorization code, and stores the code_challenge and the code_challenge_method .
  4. The browser returns the authorization code to the app via the redirect URL.
  5. The app sends the authorization code to Zoho in exchange for an access token (oauth/v2/token). The code_verifier is included as a parameter in this request.
  6. Zoho will transform the code_verifier using the code_challenge_method , then compares the transformed version with the stored code_challenge .
  7. If both the transformed code_verifier and the stored code_challenge matches, Zoho returns an access token to the app. If not, an error response will be returned.


How to implement authorization code flow with PKCE


Step 1: Generate code_verifier

The code_verifier is a cryptographically-generated random string. The code_verifier must:

  • Be created using the unreserved characters: [A-Z] / [a-z] / [0-9] / "-" / "." / "_" / "~".
  • Have a minimum length of 43 characters and maximum length of 128 characters.
  • Have a high entropy value and must be impossible to guess.


Step 2: Transform code_verifier into code_challenge

The code_verifier can be transformed into code_challenge using the following methods:

  • SHA256 (recommended)
    code_challenge = BASE64URL-ENCODE(SHA256(ASCII(code_verifier)))
  • Plain
    code_challenge = code_verifier

If the client can support the SHA256 method, it is mandatory to use this method. The plain method should be used only if the client is unable to support SHA256.

The issue with the plain method is that it can mitigate the attack if the malicious app can only observe the responses. If a malicious app is able to observe the requests, then the plain method will be ineffective as the app will be able to steal the code_verifier and use it to obtain the access token, since the code_verifier is the same as the code_challenge .


Step 3: Send an authorization request with code_challenge included

Follow this API reference doc to send an authorization request and obtain the authorization code.


Step 4: Send an access token request with code_verifier included

Follow this API reference doc to send an access token request and obtain the access token.

Get authorization code

Request for an authorization code from our authorization server. You will need to mention which scopes you need permission for. We will display the required permissions to the user. If the user grants permission, an authorization code will be sent to the redirect URL, which is valid for 2 minutes.

Query parameters

Parameter Description
client_id

required

The unique ID of your application. You can find this in the API console .

response_type

required

Should be sent with the value code .

redirect_uri

required

The URI to which the authorization server will redirect the browser back with the authorization code. It has to be the same URI which is provided when registering the app in the API console. Should start with http:// or https://.

For example: https://www.zylker.com/oauthredirect

scope

required

The corresponding scope for the resource you want to access from the user's account. The scopes will be displayed to the user when asking for consent.

For example: ZohoCRM.settings.READ

code_challenge_method

required

The method used to transform the code_verifier into code_challenge . Must be either S256 or plain .

Default value: plain

code_challenge

required

A string that is generated when code_verifier is transformed using the code_challenge_method .

access_type

optional

Determines whether your app can refresh the access token on its own once the access token expires (without user intervention). If the value is online , only the access token will be provided and it cannot be refreshed by the app once expired. If the value is offline , a refresh token will also be provided for the first time the app requests for an access token, which the app can store and then use to refresh the access token whenever required.

Default value: online

prompt

optional

If this parameter is included, the user will be prompted for consent every time your app requests access to the resource. If not included, the user will be prompted only the first time. The value must be consent .

Response parameters

After authenticating the user, we will display to the user what are all the permissions your app is requesting. Once the user grants permission, the authorization code will be sent to the redirect_uri .

Parameter Description
code The authorization code that can be exchanged for an access token. Its validity is two minutes and can be used only once.
location Indicates the data center (DC) location of the user (i.e., where their account is stored). If the user's DC is different from that of your app, then you will need to enable multi DC support and make the access token request to the user's DC.

Endpoint

CopiedGET     {accounts-server-url}/oauth/v2/auth 

Note: The accounts-server-url is specific to the location (i.e., datacenter) where your app is registered.

Request example

Copiedhttps://accounts.zoho.com/oauth/v2/auth 
?response_type=code 
&client_id=1000.GMB0YULZHJK411284S8I5GZ4CHUEX0 
&scope=AaaServer.profile.Read 
&redirect_uri=https://www.zylker.com/oauthredirect 
&code_challenge_method=S256
&code_challenge=cyBsZfGoX8dFwP-JVpT4U6MkDLrb8ZWGMdpBQtHsZPY
&access_type=offline 
&prompt=consent

Response example

Copiedhttps://www.zylker.com/oauthredirect
?code=1000.a1110799eac53c491fee9efef8246535.df7da86ff64daa66413e2899e9b7fad7
&location=in

Get access token

Get the access token from our authorization server by exchanging the authorization code.

Query parameters

Parameter Description
client_id

required

The unique ID of your application. You can find this in the API console .

client_secret

required

The unique secret for your app which is known only to your app and Zoho. You can find this in the API console .

grant_type

required

Should be sent with the value authorization_code .

code

required

The authorization code you received after you made the authorization code request.

redirect_uri

required

It has to be the same URI which is provided when registering the app in the API console. Should start with http:// or https://.

For example: https://www.zylker.com/oauthredirect

code_verifier

required

cryptographically-generated random string.

Response parameters

Parameter Description
access_token A token that your app needs to access the resources (as defined by the requested scopes). This token is valid for 1 hour.
refresh_token A special token that can be used by your app to refresh the access token once it is expired. The refresh token will be included in the response if you have passed the parameter access_type with the value offline when making the authorization code request (for the first time).
api_domain The domain to which your app needs to make API requests, for accessing the protected resources.
token_type

Indicates the type of access token that is generated. The access tokens issued by Zoho are Bearer tokens. When your app makes API requests to access the protected resources, access tokens need to be sent using the "Authorization" header.

Syntax:
Authorization: Zoho-oauthtoken {access token}

expires_in Indicates the time (in seconds) in which the access token expires. The lifetime of an access token is 1 hour (3600 seconds).

Endpoint

CopiedPOST     {accounts-server-url}/oauth/v2/token

Note: The accounts-server-url is specific to the location (i.e., datacenter) where the user is present. Mentioned as location in the response of the authorization request.

Request example

Copiedhttps://accounts.zoho.com/oauth/v2/token 
?client_id=1000.GMB0YULZHJK411248S8I5GZ4CHUEX0 
&client_secret=122c324d3496d5d777ceeebc129470715fbb856b7 
&grant_type=authorization_code 
&redirect_uri=https://www.zylker.com/oauthredirect 
&code=1000.86a03ca5dbfccb7445b1889b8215efb0.cad9e1ae4989a1196fe05aa729fcb4e1
&code_verifier=wJJP-KJdoj2iF9ZvjJq9sxf2UgvjPpW_SqowzYsZr_o

Response example

Copied{   
"access_token":"1000.2deaf8d0c268e3c85daa2a013a843b10.703adef2bb337b8ca36cfc5d7b83cf24",
"refresh_token":"1000.18e983526f0ca8575ea9c53b0cd5bb58.1bd83a6f2e22c3a7e1309d96ae439cc1",
"api_domain":"https://api.zoho.com",
"token_type":"Bearer",
"expires_in":3600
}

Non-browser applications

What are non-browser apps

Some apps run on devices that don't have a browser and only have limited input capabilities, such as TVs and printers. Hence, users won't be able to grant permission to the app directly, the regular OAuth flow can't be used. These apps are called Non-browser apps.

For such apps, the "Device Authorization Grant" flow has to be used. To request for permission, the app will need to display a URL and verification code to the user. The user will have to go to the verification URL (in a browser of their mobile device or computer) and enter the code to grant permission. After the permission is granted, an access token and refresh token will be provided to the app.

Device authorization grant flow

Step 1: Client registration

Register your client with the Zoho API console and generate client ID and client secret.


Step 2: Initiation request

The device won't be able to get permission from the user directly, due to the lack of a browser. The device needs to make an initiation request to Zoho Accounts server to get the following:

  • user_code - this will be used to get permission from the user
  • verification_url - this is the URL that the user should access from a browser, and enter the user code in.
  • device_code - this will be used to get the access token (during polling request).

See API reference for initiation request


Step 3: Display the user code and verification URL to user

After the initiation request, the device must display the verification_URL and user_code to the user. The user can grant permission to the device by navigating to the verification_URL from their mobile phone or laptop and entering the user_code . Simultaneously, the device will have to send polling requests to the Zoho server.

When the user navigates to the verification_URL in a browser, the following screen will be shown, where the user needs to enter the user_code and click Verify . After clicking Verify , the required permissions will be shown. The user needs to grant permission by clicking Accept .


Step 4: Polling request

If the user has granted permission, the device can make requests to the Zoho server to get an access token. But the device won't know whether the user has granted permission or not. Hence, the device will have to keep polling requests to the server at a rate of 1 request per 5 seconds. The server will respond with a feedback response depending on the user's action. If the user has granted permission, the server will provide the access token to the device.

See API reference


Step 5: Access resources

Using the access token, the device can access the resources specified in the scope.


Multi DC support

In Zoho, we use different data centers (DC) to store users' information. This information is not shared between data centers. Learn more about data centers

If your app is registered in the a certain DC, to access the data of the users in other DCs, then you need to enable multi DC support for your app. After you enable this support, when you make API calls, you will have to change your endpoint URL depending on the user's DC.

Revoking refresh tokens

Refresh tokens can be revoked programmatically or by the user themselves.

Refresh tokens can be revoked by users in two ways:

  • Users can go to the Connected Apps section in accounts.zoho.com and revoke the access they've granted for an app.
  • Users can choose to revoke access for connected apps when they change their password, or enable multi-factor authentication (MFA).

Programmatically, refresh tokens can be revoked by making a POST request to the endpoint oauth/v2/token/revoke . Refer API reference

Note : Access tokens can also be revoked programmatically. When an access token is revoked, if it is granted via a refresh token, it will also get revoked.

Initiation request

Get the device code, user code, and verification URL from the Zoho Accounts server, which are needed to get the permission from the user and to make the polling request.

Query parameters

Parameter Description
client_id

required

The unique ID of your application. You can find this in the API console .

grant_type

required

Should be sent with the value device_request .

scope

required

The corresponding scope for the resource you want to access from the user's account. The scopes will be displayed to the user when asking for consent.

For example: ZohoCRM.settings.READ

access_type

optional

Determines whether your app can refresh the access token on its own once the access token expires (without user intervention). If the value is online , only the access token will be provided and it cannot be refreshed by the app once expired. If the value is offline , a refresh token will also be provided for the first time the app requests for an access token , which the app can store and then use to refresh the access token whenever required.

Default value: online

prompt

optional

If this parameter is included, the user will be prompted for consent every time your app requests access to the resource. If not included, the user will be prompted only the first time. The value must be consent .

Response parameters

Parameter Description
user_code A unique code that user should enter in a browser to grant permission to the client. This code needs to be displayed to the user.
Validity: 5 minutes
device_code A unique code used to identify the device that is requesting for access token. Needs to be passed as a parameter when making the polling request.
interval The time duration, in milliseconds, the limited input device needs to wait after a polling request before sending another one.
expires_in The validity of the device_code in milliseconds.
verification_url The URL the user must navigate to in a browser in order to grant permission to the requesting client. The user would need to go to this URL and then enter the user_code . This URL needs to be displayed to the user.
verification_uri_complete The verification_url with the device_code appended as query parameter. When the user navigates to this URL, they are taken directly to the consent page without needing to manually enter the device code.

Error codes

Error Reasons
invalid_client
  • The accounts-server URL is invalid. Check if the URL is corresponding to your app's datacenter location. See all URLs
  • The parameter client_id is missing or its value is invalid.
400 bad request
  • The parameters may not be spelled correctly.
  • The HTTP method used is invalid. It must be POST.
invalid_response_type
  • The parameter grant_type is missing or its value is invalid.
invalid_scope
  • The parameter scope is missing.
general_error
  • The entered scope doesn't exist.

Endpoint

CopiedPOST         {accounts-server-url}/oauth/v3/device/code

Note: The accounts-server-url is specific to the location (i.e., datacenter) where your app is registered.

Request example

Copiedhttps://accounts.zoho.com/oauth/v3/device/code
?grant_type=device_request
&client_id=1000.GMB0YULZHJK411284S8I5GZ4CHUEX0
&scope=AaaServer.profile.Read
&access_type=offline
&prompt=consent

Response example

Copied{
"user_code": "ABCD-1234",
"device_code":"1004.c458057b370ec928086e679db8fbf15d.2dbe3e41e18b39e33236fb72ff3b1fd4”,
"interval": 5000,
"verification_uri_complete": "https://accounts.zoho.in/oauth/v3/device/setCode?devcode=XhyYgsfyO",
"expires_in": 300000,
"verification_url": "https://accounts.zoho.in/oauth/v3/device"
}

Polling request

Get the access token from the Zoho Accounts server by exchanging the device code.

Query parameters

Parameter Description
client_id

required

The unique ID of your application. You can find this in the API console .

client_secret

required

The unique secret for your app which is known only to your app and Zoho. You can find this in the API console .

grant_type

required

Should be sent with the value device_token .

code

required

The device_code you received after you made the initiation request .

Polling feedback response

Once a polling request is sent, the authorization server will respond with one of the following messages.

Parameter Description
slow_down Two polling requests have come within 5 seconds. The device must maintain a request rate of only one request per 5 seconds.
authorization_pending The user hasn't entered the user_code in the verification_url and granted the requested permissions.
other_dc The user granted permission, but the user's datacenter is different from the device's datacenter. The datacenter location of the user will also be included in the response ( user_location ). Subsequent polling requests from the device have to be sent to this datacenter. See Multi DC support
access_denied The user has denied permission.
expired The user hasn't done any action within the expires_in duration mentioned in the response of the initiation request, and hence, the request is expired.

Polling success response

If the user grants permission, the server will return the following parameters in the response.

Parameter Description
access_token A token that your app needs to access the resources (as defined by the requested scopes). This token is valid for 1 hour.
refresh_token A special token that can be used by your app to refresh the access token once it is expired. The refresh token will be included in the response if you have passed the parameter access_type with the value offline when making the initiation request (for the first time).
api_domain The domain to which your app needs to make API requests, for accessing the protected resources.
token_type

Indicates the type of access token that is generated. The access tokens issued by Zoho are Bearer tokens. When your app makes API requests to access the protected resources, access tokens need to be sent using the "Authorization" header.

Syntax:
Authorization: Zoho-oauthtoken {access token}

expires_in Indicates the time (in seconds) in which the access token expires. The lifetime of an access token is 1 hour (3600 seconds).

Error codes

Error Reasons
invalid_client
  • The accounts-server URL is invalid. Check if the URL is corresponding to the app's datacenter location. See all URLs
  • The parameter client_id is missing or its value is invalid.
invalid_client_secret
  • The parameter client_secret is missing or its value is invalid.
invalid_response_type
  • The value of the parameter grant_type is incorrect. It must be device_token .
invalid_code
  • The parameter code is missing or its value is either invalid or already used.
400 Bad Request
  • The HTTP method used is incorrect. It must be POST.
  • The parameter may not be spelled correctly.

Endpoint

CopiedPOST         {accounts-server-url}/oauth/v3/device/token

Note: The accounts-server-url is specific to the location (i.e., datacenter) where your app is registered.

Request example

Copiedhttps://accounts.zoho.com/oauth/v3/device/token
?client_id=1004.JNB00640KVIR87109F4XV941E2SY22
&client_secret=215734b0b2ca5f80f058a4be261e29cbbda609c2b6
&grant_type=device_token
&code=1004.71c4b3d036cbcc5ca5e6f26e4ac0ef11.3a141ff0e7fb15cbf8fc83113b10ec6e

Response example

Copied{
"access_token": "1004.ce70fccd3edf901d37859fe5124ae975.f61ca1a9d7979387cc02fb3f279",
"refresh_token": "1004.7ed4fdccd7e68a9b898b6ba9538590af.f19b5b44251826323a5c2bae653fe7eb",
"api_domain": "https://www.zohoapis.com",
"token_type": "Bearer",
"expires_in": 3600
}

Refresh access token

Use the refresh token to generate another access token for the same set of scopes.

Using a refresh token, your app can create up to ten access tokens in a span of ten minutes. If the limit is reached, the access token creation will be blocked for the rest of the ten minutes. For more information, refer to Token limits .

Query parameters

Parameter Description
client_id

required

The unique ID of your application. You can find this in the API console .

client_secret

required

The unique secret for your app which is known only to your app and Zoho. You can find this in the API console .

grant_type

required

Should be sent with the value refresh_token .

refresh_token

required

The refresh token you received after you made the polling request .

Response parameters

Parameter Description
access_token A token that your app needs to access the resources (as defined by the requested scopes). This token is valid for 1 hour.
api_domain The domain to which your app needs to make API requests, for accessing the protected resources.
token_type

Indicates the type of access token that is generated. The access tokens issued by Zoho are Bearer tokens. When your app makes API requests to access the protected resources, access tokens need to be sent using the "Authorization" header.

Syntax:
Authorization: Zoho-oauthtoken {access token}

expires_in Indicates the time (in seconds) in which the access token expires. The lifetime of an access token is 1 hour (3600 seconds).

Error codes

Error Reasons
invalid_client
  • The accounts-server URL is invalid. Check if the URL is corresponding to the user's datacenter location. See all URLs
  • The parameter client_id is missing or its value is invalid.
  • The value of the parameter grant_type is invalid. It must be refresh_token .
invalid_client_secret
  • The parameter client_secret is missing or its value is invalid.
invalid_code
  • The parameter refresh_token is missing or its value is invalid.
  • The value of the parameter grant_type is incorrect. It must be refresh_token .
  • The refresh token used is already revoked. Learn more
400 Bad Request
  • The HTTP method used is incorrect. It must be POST.
  • The parameter grant_type is missing.

Endpoint

CopiedPOST         {accounts-server-url}/oauth/v2/token

Note : The accounts-server-url is specific to the location (i.e., datacenter) where the user is present.

Request example

Copiedhttps://accounts.zoho.com/oauth/v2/token
?grant_type=refresh_token
&client_id=1000.GMB0YULZHJK411284S8I5GZ4CHUEX0
&client_secret=122c324d3496d5d7eeebc129470715fbb856b7
&refresh_token=1000.86a03ca5dbfccb7445889b8215efb0.cad1ae4989a1196fe05aa729fcb4e1

Response example

Copied{
"access_token": "1004.ce70fccd3edf901d37859fe5124ae975.f61ca1a9d7979387cc02fb3f279",
"api_domain": "https://www.zohoapis.com",
"token_type": "Bearer",
"expires_in": 3600
}

Self client

If you want your app to fetch data from your own Zoho account, or set up app-to-app communication in the backend without any user interaction, you can use the Self Client option. In this situation, you will be the resource owner and there will be no end-user authorization required. The client will request access permission on behalf of itself and not any end-user.

Follow the steps to set up Self Client:

Create a self client in API console

  1. Go to the Zoho API console
  2. Click GET STARTED
  3. Hover over the Self Client option and click CREATE NOW
  4. Click CREATE, then click OK. A Client ID and Client Secret will be created and shown under the Client Secret tab. You can copy these.

Get access token

There are two ways in which you can get an access token for your self client:

  • Authorization code grant flow
  • Client credentials grant flow

In the authorization code grant flow, you will need to generate an authorization code from the API console, then exchange it for an access token and refresh token. When the access token expires, you can use the refresh token to get a new access token. See API reference

In the client credentials grant flow, you will need to provide your client credentials to get an access token. A refresh token won't be provided. So, you will need to send the same request again to get a new access token whenever required. See API reference 

Self Client - Authorization code flow

Step 1: Generate an authorization code

  1. Go to the created self client in the API console.
  2. In the Generate Code tab:
    • Enter the scopes your app needs to access. Use commas to separate multiple scopes. You can refer to the respective product's API documentation for the required scopes.
    • Select an expiry time for the authorization code. By default, it is 3 minutes.
    • Enter a description for the required scopes.
  3. Click CREATE
  4. If prompted, select the Zoho app and then select the required portal the app needs to access.
  5. Click CREATE. An authorization code will be generated and displayed.
  6. Copy or download the authorization code.

Step 2: Get access token and refresh token

Exchange the authorization code for an access token and a refresh token.

Query parameters
ParameterDescription
client_id

required

A unique ID displayed under Self Client > Client Secret.

client_secret

required

A unique confidential secret displayed under Self Client > Client Secret.

grant_type

required  

Should be passed with the value authorization_code.

code

required  

The authorization code generated in the previous step.

Response parameters
ParameterDescription
access_tokenAn authorized key that can be used by your application to access the required resource (mentioned in the scope). Validity: 1 hour.
refresh_tokenA special token that can be used by your application to refresh the access token once it is expired. This token won't expire.
api_domainThe domain the app needs to make service API requests to.
token_typeIndicates the type of access token that is generated. The token type that is used in Zoho's OAuth implementation is Bearer.
expires_inIndicates the time (in seconds) in which the access token will expire.

Step 3: Use access token to make API calls

Make request calls to the service you want to access through the api_domain you get from the response of the access token request. Using an access token, you can access the resource for an hour, after which it will expire. To get a new access token, use the refresh token (see Step 4).

Step 4: Refresh the access token when it expires

When an access token expires, get a new access token using the refresh token.

Query parameters
ParameterDescription
client_id

required

A unique ID displayed under Self Client > Client Secret.

client_secret

required

A unique confidential secret displayed under Self Client > Client Secret.

grant_type

required  

Should be passed with the value refresh_token.

refresh_token

required  

The refresh token you've obtained in step 2.

Response parameters
ParameterDescription
access_tokenAn authorized key that can be used by your application to access the required resource (mentioned in the scope). Validity: 1 hour.
api_domainThe domain the app needs to make service API requests to.
token_typeIndicates the type of access token that is generated. The token type that is used in Zoho's OAuth implementation is Bearer.
expires_inIndicates the time (in seconds) in which the access token will expire.

Endpoint

Copied

Note: The accounts-server-url is specific to the location (i.e., datacenter) where the client is registered. See all the server-specific URLs

Request example

Copied

Response example

Copied

Endpoint

Copied

Note: The accounts-server-url is specific to the location (i.e., datacenter) where the client is registered. See all the server-specific URLs

Request example

Copied

Response example

Copied

Self Client - Client credentials flow

Step 1: Use the client credentials to get access token

Query parameters
ParameterDescription
client_id

required

A unique ID displayed under Self Client > Client Secret.

client_secret

required

A unique confidential secret displayed under Self Client > Client Secret.

grant_typeShould be passed with the value client_credentials.
scope

required  

The corresponding scope for the resource you want to access using the access token. 

Eg: ZohoCRM.settings.READ

soid

required based on the Zoho app

This parameter is required only for certain Zoho apps that allow creating multiple portals/organizations. Refer to the respective app's API documentation to check whether this parameter is required.

(Tip: If the request sent without this parameter throws the exception missing_org_info, then this parameter must be sent.)

 

Syntax: {servicename}.{zsoid}

  • servicename: The name of the service the client is making API calls to. All Zoho products have a unique service name such as ZohoCRM, or ZohoRecruit
  • zsoid: The unique ID of the app's instance. It may be referred to as Portal ID or organization ID. You can refer to the respective app's API documentation to get this ID. 

Example: ZohoCRM.600*****434

Response parameters
ParameterDescription
access_tokenAn authorized key that can be used by your application to access the required resource (mentioned in the scope). Validity: 1 hour.
api_domainThe domain the app needs to make service API requests to.
token_typeIndicates the type of access token that is generated. The token type that is used in Zoho's OAuth implementation is Bearer.
expires_inIndicates the time (in seconds) in which the access token will expire.

Step 2: Use the access token to make API calls

Make request calls to the service you want to access through the api_domain you get from the response of the access token request. Using an access token, you can access the resource for an hour, after which it will expire. To get a new access token, repeat Step 1.

Endpoint

Copied

Note: The accounts-server-url is specific to the location (i.e., datacenter) where the client is registered. See all the server-specific URLs

Request example

Copied

Response example

Copied

Instance-level OAuth with administrator consent


What is an app instance?

An app instance refers to a specific environment or container within a Zoho app. Some Zoho apps support having only one instance (for example, Zoho Mail or Zoho Vault), while others allow multiple instances (for example, Zoho CRM or Zoho Books). The instances may be referred to differently across apps, such as “Organizations” in Zoho CRM and Zoho Books, and “Portals" in Zoho Desk and Zoho Projects.


App instance-level OAuth

When you want to set up an integration that needs access to data across an entire app instance, using the regular user-based OAuth flow can be limiting. Each user must give consent individually, and also their tokens stop working if they revoke access or if a user is removed from the app instance.

With the instance-level OAuth flow, an administrator grants consent once on behalf of the entire instance. The integration can then access the required data from the instance as a whole. And the tokens remain valid even if the administrator who authorized it is later removed from the instance.

An example use case: Your app wants to generate an analytical report using the tickets and agents data pulled from Zoho Desk, specifically from a particular instance (that is, a Portal). With user-based OAuth, each user would have to grant access individually, and the access will be limited to only the tickets associated with them. With instance-level OAuth, the department administrator can grant access once at the Portal level, allowing your app to retrieve the required data.

User-based OAuth

Instance-level OAuth

Used to access "per-user" resources.

Used to access "instance-wide" resources.

Consent given by individual users to access their data.

Consent given by an administrator for the data in an instance as a whole.

Tokens are bound to the user and are invalidated if the user revokes it or if the user is removed from the instance.

Tokens are bound to the app instance and are not invalidated even if the admin who set it up is removed from the instance. It will be invalidated only if the instance gets deleted or it's programmatically revoked.


Implementing instance-level OAuth


Create a client for the integration

You need to first create an "ORG" type client for each integration. These clients can be created at the API console. Follow the steps below to create an "ORG" client:

  1. Go to https://api-console.zoho.com/add?client_type=ORG

  2. Sign in with your Zoho account if prompted.

  3. Enter a name for the client.

  4. Enter the Homepage URL and Authorized Redirect URIs of your app.

    INFO:

    • Homepage URL :
      The full URL to your application's home page.

    • Authorized Redirect URI :
      It is the URI of the application to which the authorization server (Zoho Accounts) sends the response back to, with the authorization code after the admin grants permission through consent. The URI should begin with https:// or http://. You can add multiple redirect URIs by clicking [plus]. Example: https://www.zylker.com/oauthredirect

  5. Click CREATE . Client ID and Client Secret will be displayed. You can also view them anytime at the API console.


Get consent from admin and generate tokens


Points to note before

  • Scopes are limited to one Zoho app per refresh token

    The client must request for scopes of only one Zoho app per refresh token. This is because in the integration context, a refresh token defines authorization between your client and a single Zoho app, not multiple apps. The exception to this requirement is the scopes of certain common Zoho services listed below:

    • ZohoContacts
    • ZohoProfile
    • ZohoFiles
    • AaaServer
  • User must be an administrator in at least one instance

    The user granting permission must be an administrator in at least one instance of the Zoho app mentioned in the scope.


Step 1: Get an authorization code after consent

Request for an authorization code. We will display the requested permissions to the administrator. If they are the administrator of multiple instances, they will have to select which instance to grant permission for. If they grant it, an authorization code will be sent to your redirect URL, which is valid for 2 minutes.

See API reference

Choosing an instance

Choosing an instance

Choosing an instance

Granting permission for the app


Step 2: Get access token and a refresh token

Exchange the authorization code to receive an access token and a refresh token. Store this refresh token so you can use it to generate new access tokens whenever your apps wants to access the data.

See API reference


Step 3: Refresh access tokens when needed

Generate new access tokens using your stored refresh token whenever needed. Each access token will be valid for 1 hour.

See API reference

Revoking tokens
If you want to revoke a refresh token created for an integration, you can make a POST request to oauth/v2/token/revoke . For more details, refer to Revoke OAuth tokens .

Get authorization code

Request for an authorization code from our authorization server. You will need to mention which scopes you need permission for. We will display the requested permissions to the administrator. If they are the administrator of multiple instances, they will have to select which instance to grant permission for. If they grant it, an authorization code will be sent to your redirect URL, which is valid for 2 minutes.

Query parameters

Parameter Description
client_id

required

The unique ID of your application. You can find this in the API console .

response_type

required

Should be sent with the value code .

redirect_uri

required

The URI to which the authorization server will redirect the browser back with the authorization code. It has to be the same URI which is provided when registering the app in the API console. Should start with http:// or https://.

For example: https://www.zylker.com/oauthredirect

scope

required

The corresponding scope for the resource you want to access from the user's account. The scopes will be displayed to the administrator when asking for consent.

Eg: ZohoCRMsettings.READ

Refer to points to note for allowed scopes

access_type

optional

Determines whether your app can refresh the access token on its own once the access token expires (without user intervention). If the value is online , only the access token will be provided and it cannot be refreshed by the app once expired. If the value is offline , a refresh token will also be provided for the first time the app requests for an access token , which the app can store and then use to refresh the access token whenever required.

Default value: online

Note: To get a refresh token every time the app requests for an access token, then include access_type=offline and prompt=consent when making the authorization request.

Response parameters

Parameter Description
code The authorization code that can be exchanged for an access token . Its validity is two minutes and can be used only once.
location

Indicates the data center (DC) location of the app instance. If its DC is different from that of your app, then you will need to enable multi DC support and make the access token request to the app instance's DC.

Error codes

Parameter Description
access_denied
  • Administrator rejected the request for access.
  • Reached throttle limit. Refer to OAuth token limits .
Invalid Client
  • The value of the parameter "client_id" is not valid.

  • The value of the parameter "response_type" is incorrect. It must be "code".

  • The client is not an "ORG" type client.

Invalid Response Type
  • The parameter "client_id" is missing.

  • The parameter "response_type" is missing.

Invalid OAuth Scope
  • The parameter "scope" is either missing or the entered scope doesn't exist.

  • Scopes of more than one Zoho app are included in the request (excluding allowed services). Refer to points to note section.

Scope Changes Required
  • A scope of a business Zoho app is not included in request. At least one scope must be requested (other than that of the common services). Refer to points to note section.
Invalid Redirect Uri
  • The parameter "redirect_uri" is either missing or the entered URI doesn't match with the one configured in the API console.
An error occurred/500 server error
  • The value of the parameter "response_type" is invalid. It must be "code".

  • Scopes are not separated properly. Check if they are correctly separated by only commas and with no spaces.

404 not found
  • The HTTP method used is incorrect. It must be GET.

Endpoint

CopiedGET     {accounts-server-url}/oauth/v2/org/auth 

Note: The accounts-server-url is specific to the location (i.e., datacenter) where your app is registered.

Request example

Copiedhttps://accounts.zoho.com/oauth/v2/org/auth
?response_type=code
&client_id=1000.GMB0YULZHJK411284S8I5GZ4CHUEX0
&scope=ZohoCRM.Modules.Read
&redirect_uri=https://www.zylker.com/oauthredirect
&access_type=offline

Response example

Copiedhttps://www.zylker.com/oauthredirect
?code=1000.a1110799eac53c491fee9efef8246535.df7da86ff64daa66413e2899e9b7fad7
&location=in
&accounts-server=https://accounts.zoho.in

Incremental authorization - Overview

Incremental authorization is an OAuth implementation strategy that allows your app to get a required permission from the user only when it is needed and not upfront. It improves the user experience of your app.

It has the following advantages:

  • Your users won’t have to grant permission to the scopes that they don’t have to (i.e., for features that they’re not going to use).
  • Your app doesn’t have to repeatedly ask for permissions that are already granted by the user.

For example, let’s say you’re developing an app that integrates with Zoho Mail. When the user signs in, your app only needs to get the user’s basic profile information and also the permission to display the user’s inbox and emails in your app. Later, user may choose to send emails right from your app (which your app supports). Now, your app can request permission from the user to send emails. At this time, the user will be asked only the permission to send emails and not the already granted permissions such as basic profile information and view emails permission.

How it works

Initially, your app would have got the basic permissions that are needed upfront. Later on, when your app needs to ask for further permissions from the user, follow these steps.

  1. Get a scope enhancement token from Zoho by making a POST request to the oauth/v2/token/scopeenhance endpoint. You will also need to send a refresh token as a parameter. See API reference
  2. Make a scope enhancement request to the oauth/v2/token/addextrascope endpoint with the scope enhancement token. You will need to include what additional scopes are needed. See API reference

User will be prompted with the consent screen asking for the newly required permissions. If the user approves, the refresh token (sent in step 1) and its associated access tokens will be appended with the additional scopes, and a success response will be returned.

Get scope enhancement token

Get a scope enhancement token from our authorization server. You will need to send a refresh token to which the additional scopes are to be appended.

Query parameters

Parameter Description
client_id

required

The unique ID of your application. You can find this in the API console .

client_secret

required

The unique secret for your app which is known only to your app and Zoho. You can find this is the API console .

grant_type

required

Should be sent with the value update_scopes_token .

refresh_token

required

The refresh token to which the additional scopes are to be appended.

Response parameters

Parameter Description
access_token The scope enhancement token that can be used to append additional scopes to a refresh token.
token_type Indicates the type of token that is generated.
expires_in Indicates the time (seconds) in which the scope enhancement token expires.

Error codes

Error Reasons
invalid_client
  • The accounts-server URL is invalid. Check if the URL is corresponding to the user's datacenter location. See all URLs
  • The parameter client_id is missing or its value is invalid.
  • The value of the parameter grant_type is invalid. It must be update_scopes_token .
  • The parameter "grant_type" is missing.
invalid_client_secret
  • The parameter client_secret is missing or its value is invalid.
invalid_code
  • The parameter refresh_token is missing or its value is either invalid or already used.
  • The value of the parameter grant_type is incorrect. It must be update_scopes_token .
400 Bad request
  • The HTTP method used is incorrect. It must be POST.

Endpoint

CopiedPOST     {accounts-server-url}/oauth/v2/token/scopeenhance

Note: The accounts-server-url is specific to the location (i.e., datacenter) where your app is registered.

Request example

Copiedhttps://accounts.zoho.in/oauth/v2/token/scopeenhance
?grant_type=update_scopes_token
&client_id=1000.HRLOVZ0U6LSAZ14OQHYZYTZBTL3SGR
&client_secret=fa10d952be6bd6654cbb6b5fe271042de9546541e781
&refresh_token=1000.0d50a4d6a383005cc1f899968b9f9d97.2183743f8798bea2f71e193e34e37ef0d

Response example

Copied{
"access_token": "1000.f95a0db717f52b825e3f94654f651.ced2cf4e786cf04c0e91daee545jh51cd",
"token_type": "update_scope",
"expires_in": 600
}

Enhance scope

Use the scope enhancement request to append additional scopes to a refresh token.

Query parameters

Parameter Description
client_id

required

The unique ID of your application. You can find this in the API console .

response_type

required

Should be sent with the value update_scopes .

redirect_uri

required

The URI to which the authorization server will redirect the browser back with success or failure response. It has to be the same URI which is provided when registering the app in the API console. Should start with http:// or https://.

For example: https://www.zylker.com/oauthredirect

scope

required

The list of additional scopes for the resource you want to access from the user's account. The scopes will be displayed to the user when asking for consent.

For example: ZohoCRM.settings.READ

enhance_token

required

The scope enhancement token you've received from the previous request (step 1).

logout

required

If you want the user's session to be terminated after they grant/reject the permission, send the value as true .

Response parameters

After authenticating the user, we will display to the user what are all the permissions your app is requesting. Once the user grants permission, the refresh token will be appended with the additional scopes and success response will be returned. If the user rejects them, failure response will be returned.

Endpoint

CopiedGET     {accounts-server-url}/oauth/v2/token/addextrascope 

Note: The accounts-server-url is specific to the location (i.e., datacenter) where your app is registered.

Request example

Copiedhttps://accounts.zoho.in/oauth/v2/token/addextrascope
?response_type=update_scopes
&client_id=1000.HRLOVZ0544JSAZ14OQ1NHYHZBTL3SGR
&redirect_uri=https://zylker.com/oauthredirect
&scope=AaaServer.profile.Read,ZohoCliq.users.read,ZohoCRM.users.READ
&enhance_token=1000.e3b9859da1d36faf1e299889f6354da75.d83c513417fdfsdg514fb9ee38a6775fd50
&logout=true

Response example

Success Response:
https://www.zylker.com/oauthredirect?status=success&scope_enhanced=true

Failure Response:
https://www.zylker.com/oauthredirect?error=access_denied

Multi DC support

Data protection and privacy laws in multiple countries state that user data can only be stored in data centers located on that country's soil. In compliance, Zoho has set up data centers in multiple countries. Each data center only holds the data of users who have registered at that domain. See the available data centers

When is Multi DC support required?

Clients require user data to execute their business logic. Clients such as extension programmers or plugin developers will have a user audience across all the data centers (DC), and will want to reach all of Zoho users. Such clients need to enable Multi DC support at Zoho API console to access Zoho's global user base.

If your app is present in the US data center and your app is going to be used by users present in the EU data center, then you need to enable EU DC support for your app. While making the initial request, you will be provided with the location of the user in the response. Using that, you will need to make the further API calls to the server URL corresponding to the concerned user's location.

The data centers and their respective server URL are given below:

Data Center Server URL
United States (US) https://accounts.zoho.com
Europe (EU) https://accounts.zoho.eu
India (IN) https://accounts.zoho.in
Australia (AU) https://accounts.zoho.com.au
Japan (JP) https://accounts.zoho.jp
Canada (CA) https://accounts.zohocloud.ca
Saudi Arabia (SA) https://accounts.zoho.sa
United Kingdom (UK) https://accounts.zoho.uk

You can receive JSON format server URLs for all the data centers here .

The Client ID will be common for all DCs, but the Client Secret can be either common to all the DCs or unique for each DC depending on your preference.

See how the multi DC flow works in:
Server-based apps | Client-based app s | Non-browser app s

Steps to enable Multi DC support

While enabling Multi DC support, you can either choose to have individual client secrets for separate DCs or use the same client secret for all the enabled DCs.

  1. After you register your client with the Zoho API Console, select the client from the list of Applications.
  2. Go to the Settings tab.
  3. Enable the toggle next to the required DCs.
  4. By default, each enabled DC will have a unique client secret. Click SHOW CODE to view and copy the client secret for a particular DC. However, if you want to use the same client secret for all the DCs:
    1. Select the option Use the same OAuth credentials for all data centers .
    2. Click OK . You can use the default client secret to make requests in all DCs.

Server-based applications

In server-based applications , the Multi DC flow will be as follows:

1. Identify the user location during the authorization request

In the authorization request, you will send calls to the domain https://accounts.zoho.com . In the response, the location of the user's DC will be included as the parameter location. You can view the respective server URL for this location using https://accounts.zoho.com/oauth/serverinfo .

Sample authorization response :

https://oauth.pstmn.io/v1/browser-callback
?code=1000.abbb4c9e0902704b90cc556f32ec0336.5ff4478926a43657280d5cbe1af1917a
&location=in
&accounts-server=https://accounts.zoho.in

In this example, location=in .

2. Make access token request to the server URL associated with user's location

Once you have identified the user's data center, you need to make the access token request to the server URL corresponding to that location. For example, if location=eu, you will need to make access token request to https://accounts.zoho.eu .

Example request :

https://accounts.zoho.eu/oauth/v2/token
?client_id=1000.GMB0YULZHJK411248S8I5GZ4CHUEX0
&grant_type=authorization_code
&client_secret=122c324d3496d5d777ceeebc129470715fbb856b7
&redirect_uri=https://www.zylker.com/oauthredirect
&code=1000.86a03ca5dbfccb7445b1889b8215efb0.cad9e1ae4989a1196fe05aa729fcb4e1

Example response :

{
"access_token":"1000.2deaf8d0c268e3c85daa2a013a843b10.703adef2bb337b 8ca36cfc5d7b83cf24",
"refresh_token":"1000.18e983526f0ca8575ea9c53b0cd5bb58.1bd83a6f2e22c3a7e1309d96ae439cc1",
"api_domain":"https://api.zoho.eu",
"token_type":"Bearer",
"expires_in":3600
}

In the response, you will find api_domain , which is where you will need to make the service API requests.

3. Make service API requests to the api domain associated with user's location

Make request calls to the service you want to access through the api_domain you get from the response of the access token request.

Client-based applications

In client-based applications , the Multi DC flow will be as follows:

1. Identify the user location during the access token request

In the access token request, you will send calls to the domain https://accounts.zoho.com . In the response, the location of the user's DC will be included as the parameter location . You can view the respective server URL for this location using https://accounts.zoho.com/oauth/serverinfo . You will also find api_domain , which is where you will need to make the service API requests.

Sample authorization response :

https://www.zylker.com/oauthredirect#
&access_token=1000.835d578e9a2103d2e87994ae8752074d.4496b74ddde6413f83fe615e8388e488
&expires_in=3600
&location=in
&api_domain=https://www.zohoapis.in


2. Make service API requests to the api domain associated with user's location

Make request calls to the service you want to access through the api_domain you get from the response of the access token request.

Non-browser applications

In non-browser based applications , the Multi DC flow will be as follows:

1. Identify the user's location from the polling request

After getting the device_code from the initiation request, you will poll requests and wait for user's permission. After the user grants permission, if your app and the user are present in the same location (i.e., data center), the server will respond with an access token. However, if your app and the server are present in different DCs, you will get the feedback other_dc from the server along with the actual location of the user.

Example feedback :

{
user_location": "eu",
"error": "other_dc"
}

Now, you will need to send further polling requests to the server URL corresponding to the user's location. In the response, you will get the access_token and the api_domain , which is where you will need to make the service API requests.

Example response :

{
access_token": "1004.a3fdad1f7115c8d00a491938a3650a2f.68485f81304",
"api_domain": "https://api.zoho.com",
"token_type": "Bearer",
"expires_in":3600
}

2. Make service API requests to the api domain associated with user's location

Make request calls to the service you want to access through the api_domain you get from the response of the access token request.

Sign in using Zoho (OIDC)

Although OAuth is primarily used for authorization, it can also be used to sign-in users for a custom application.

The steps involved in the sign-in process are as follows:

  1. Register your application with Zoho.
  2. Send authorization request to Zoho.
  3. Get an ID token from Zoho.
  4. Obtain the user's details from the ID token.
  5. Authenticate users.

This authentication flow is based on the OpenID connect specification. Zoho’s OIDC metadata (or discovery document) can be retrieved through the following URL. You can select the required data center.

Metadata URL for

This endpoint contains details about Zoho’s OIDC configuration including supported endpoints, scopes, claims, public keys, and such.


1. Register your application with Zoho

Register your application with the Zoho API console. You will obtain a client ID and a client secret. These credentials will be used to communicate with Zoho.

2. Send authorization request to Zoho

When the user tries signing in to your app using Zoho (typically via a 'Sign in using Zoho' option), this request needs to be sent to Zoho to obtain the authorization code. The request must include the parameter scope=email .

Query parameters

Parameter Description
client_id

required

The unique ID of your application. Obtained from the Zoho API console when you register your application.

response_type

required

Must be passed with the constant value code .

redirect_uri

required

The URI endpoint that Zoho will redirect the web browser back to, with the authorization code after authorizing the client. The redirect_uri has to be the same URI that is provided when registering the client in the API console. Should start with http:// or https://.
For example: https://www.zylker.com/oauthredirect

scope

required

The value can be email , phone , profile , and openid .

  • email returns the email address of the user and its verified status.
  • phone returns the mobile number of the user and its verified status.
  • profile returns the profile information of the user.
  • openid returns the unique identifier of the user.

Response parameters

After Zoho authenticates the user, a consent page will be shown to the them, and all the permissions your app is requesting will be displayed there. Once the user provides consent, the authorization code will be sent to the redirect_uri of the application.

Parameter Description
code The authorization code that can be exchanged for an id_token by making a request (step 3) to Zoho Accounts server. The lifetime of the authorization code is two minutes and can be used only once.
location Indicates the data center (DC) location of the user (i.e., where their account is stored). If the user's DC is different from that of your app, then you will need to enable multi DC support and make the ID token request to the user's DC. For example, if the location mentioned in the response is in , then the ID token request URL should be https://accounts.zoho. in /oauth/v2/token .

3. Get ID token from Zoho

After receiving the authorization code, this request needs to be sent to Zoho to obtain the ID token. The ID token will contain the details of the user.

Query parameters

Parameter Description
client_id

required

The unique ID of your application. Obtained from the Zoho API console when you register your application.

client_secret

required

The unique secret of your application that is know only to your application and Zoho. Obtained from the Zoho API console when you register your application.

grant_type

required

Indicates the way the application gets the id_token from the authorization server. In this case, it is by providing an authorization code and the value must be authorization_code .

code

required

The authorization code received through the authorization code request (step 2).

redirect_uri

optional

The URI endpoint that Zoho will redirect the web browser back to with the id_token , after authorizing the client and the authorization code. The redirect_uri has to be the same URI which is provided when making the authorization code request. Should start with http:// or https://.

For example: https://www.zylker.com/oauthredirect

Response parameters

Parameter Description
id_token A JWT that contains the details of the user who is to be authenticated.
access_token An authorized key that can be used by your application to access the protected resource (mentioned in the scope) on behalf of the user. Validity: 1 hour.
token_type Indicates the type of access token that is generated and how it must be passed when making API requests to access protected resources. The token type that is used in Zoho OAuth implementation is Bearer .
expires_in Indicates the time (in seconds) after which the access token expires. The lifetime of an access token is 1 hour (3600 seconds).

4. Obtain user's unique identifier ( sub ) from ID token

In the response of the ID token request (step 3), the id_token of the user will be present. The id_token is a JWT and contains the details of the user. The user details returned depends on the requested scope.

As it is a JWT, it will have three sections: Header, Payload, and Signature (each section separated by a period). Your application will need to decrypt it using the Base64 decryption algorithm. The payload part of the id_token will contain the following claims including the user's details. Not all of the following claims will be present, as the user details claims depend on the requested scope (email, phone, profile, openid).

Note: Do not use email as the unique identifier for a user. A user's email address can be changed and hence, won't always be unique. You should use sub as it will be always unique to the user.

Parameter Description
at_hash Access token hash.
It is used to validate that the access token granted is indeed associated with this ID token.
sub Subject.
A unique identifier for the user who is being authenticated. This identifier will always be unique to this user and never reassigned.
aud Audience.
The entity this id_token is intended for, which is your application. The value will be the client_id of your application.
azp Authorized party.
The entity to which the id_token is issued, which is your application. The value will be the client_id of your application.
iss Issuer.
Identifier for the entity that issued this token. Will always be accounts.zoho.com (the ccTLD may vary).
exp Expiry.
The time on or after which the id_token must not be accepted by your application. Represented in the Unix time format.
iat Issued at.
The time at which the id_token was issued. Represented in the Unix time format.
email The primary email address of the user who is being authenticated.
email_verified Indicates whether the email address of the user is verified or not.
phone_number The primary mobile number of the user who is being authenticated, along with country code.
phone_number_verified Indicates whether the mobile number of the user is verified or not.
picture The profile picture of the user.
first_name The first name of the user.
name The display name of the user.
last_name The last name of the user.
gender The gender of the user.

Refer to this specification to learn more about these claims.

5. Authenticate the user

Check if your requirements for authentication are met from the decrypted id_token . Next, query your database to check if the user is already present. If yes, then initiate a session for the user in your app. If the user is not present, then redirect them to your app's sign-up page.

Endpoint

CopiedGET         {accounts-server-url}/oauth/v2/auth

Note: The accounts-server-url is specific to the location (i.e., datacenter) where your app is registered.

Request example

Copiedhttps://accounts.zoho.com/oauth/v2/auth
?response_type=code
&client_id=1000.GMB0YULZHJK411284S8I5GZ4CHUEX0
&scope=email
&redirect_uri=https://www.zylker.com/oauthredirect

Response example

Copiedhttps://www.zylker.com/oauthredirect
?code=1000.a1110799eac53c491fee9efef8246535.df7da86ff64daa66413e2899e9b7fad7
&location=in
&accounts-server=https://accounts.zoho.in

Endpoint

CopiedPOST         {accounts-server-url}/oauth/v2/token

Note : The accounts-server-url is specific to the location (i.e., datacenter) where the user is present. Mentioned as location in the response of the authorization request.

Request example

Copiedhttps://accounts.zoho.com/oauth/v2/token
?client_id=1000.GMB0YULZHJK411248S8I5GZ4CHUEX0
&client_secret=122c324d3496d5d777ceeebc129470715fbb856b7
&grant_type=authorization_code
&redirect_uri=https://www.zylker.com/oauthredirect
&code=1000.86a03ca5dbfccb7445b1889b8215efb0.cad9e1ae4989a1196fe05aa729fcb4e1e

Response example

Copied{
"access_token":"1000.2deaf8d0c268e3c85daa2a013a843b10.703adef2bb337b 8ca36cfc5d7b83cf24",
"id_token":"eyJrZXlfaWQiOiI3NDM5ODNiNDU0NTUyODNlNTQ1Nm2RkNDQxNjBhYSIsInR5cCI6IkpXUyIsImFsZyI6IlJTMjU2In0=.eyJhdF9oYXNoIjoiUlFkWVN3X0t4MzNoa2FoNVI3Q2kzQSIsInN1YiI6IjczMzE4MDE5Mi45NDI2Njk1MjIiLCJhdWQiOiIxMDAwLlI1MFFPRkFNV0FSN0pEU0FTVEU2WDdDTzA2Ukg5SyIsImVtYWlsX3ZlcmlmaWVkIjp0cnVlLCJhenAiOiIxMDAwLlI1MFFPRkFNV0FSN0pEU0FTVEU2WDdDTzA2Ukg5SyIsImlzcyI6ImFjY291bnRzLnpvaG8uY29tIiwiZXhwIjoxNjA4MTQwNzY2LCJpYXQiOjE2MDgxMzc4ODYsImVtYWlsIjoib2F1dGh0ZXN0YWNjbnRAZ21haWwuY29tIn0=.OmuBheTwE2ijpvF4AHZnkDrt5pwOj8jKw0X8ATZ4k8noHHMJHP5B7m1N/DEBxCX2BzBdWChGJZVNtxKT8MIEoKubz95XsCn9Z7Lto6PvFtFSp2iHaKi22exwexcRNBCcEDNVOuUq6mWyp/AsTx2QqYy+55cQHHlrBZA4hltaNoUN3nognIonnzjmBzTjRt6oxi2IcbWgT4tgJUO+cKrhWbyPRmM2nJwXTe2VelXICQsnIZQAi6DMzC4UOniOSAeFI8Qfwk8so9b6kdi66DgH7s18dmh/dKumiMbk73S0ZTfdOvULfmtlZJn4LX ujD0oBSvl3Ai6+Q7GkX5g==",
"api_domain":"https://api.zoho.com",
"token_type":"Bearer",
"expires_in":3600
}

Example of a decrypted token payload

Copied{
"at_hash": "RQdYSw_Kx33hkah5R7Ci3A",
"sub": "733180192.942669522",
"aud": "1000.R50Q*****06RH9K",
"email_verified": true,
"azp": "1000.R50Q*****6RH9K",
"iss": "accounts.zoho.com",
"exp": 1608140766,
"iat": 1608137886,
"email": "johndoe@zylker.com"
}

Revoke OAuth tokens

OAuth tokens can be revoked in two ways:

Users themselves can remove the tokens for the apps they've granted permission to. To revoke:

  1. Sign in at accounts.zoho.com .
  2. Click Sessions in the left menu, then scroll down to Connected Apps .
  3. To revoke token for an app, hover over the app and click Revoke Access .
  4. Click Yes, Proceed .

Programmatically, OAuth tokens can be revoked by making a POST request to the endpoint oauth/v2/token/revoke . Both access tokens and refresh tokens can be revoked. If a refresh token is revoked, all the access tokens that are generated using it also get revoked.

Query parameter

token
required
Refresh token or access token that needs to be revoked.

Response

{"status":"success"} The token is successfully revoked.
400 Bad Request The token passed in the request is invalid.

Endpoint

CopiedPOST         {accounts-server-url}/oauth/v2/token/revoke 

Note: The accounts-server-url is specific to the location (i.e., datacenter) where your app is registered.

Request example

Copiedhttps://accounts.zoho.com/oauth/v2/token/revoke
?token=1000.18e983526f0ca8575ea9c53b0cd5bb58.1bd83a6f2e22c3a7e1309d96ae439cc1

OAuth token limits

When a client wants to generate OAuth tokens (i.e, access tokens and refresh tokens ), we've applied some limits regarding how many tokens can be stored and how many requests can be sent at a time.

These limits are applied for the following reasons:

  • To make it easier for clients to store and maintain the OAuth tokens.
  • To make sure that a malicious client doesn't take up the resources which would otherwise be used for genuine clients.
  • To avoid over-working of our app servers by handling multiple unnecessary requests.

The limits differ for access token, refresh token, and authorization code.

Limits for access token

For access tokens, two types of limits are applied:

1. Max tokens per refresh token

At a time, a maximum of 10 active access tokens can be stored by a client per refresh token. After the count reaches 10, when the client requests for an additional token, a new token will be provided and the oldest token will be invalidated, making sure only 10 tokens remain at a time. When an invalid access token is used, "INVALID_OAUTHTOKEN" exception will be thrown.

2. Time-specific throttle limit

We’ve also applied a throttle limit for the number of times an app can request for an access token within a specific time period. A total of 10 access token requests can be made within 10 minutes.

If the throttle limit is reached, the following exception will be thrown:

JSON response

{
"error_description": "Y ou have made too many requests continuously. Please try again after some time. ",
"error": "Access Denied"
}

Roadblock error page

Access Denied: Maximum request limit reached for your account. Please try again after some time or contact the app's developer.

To avoid this exception, reuse your access tokens until it expires, instead of using different tokens for each request.

Limit for refresh token

At a time, a maximum of 20 active refresh tokens can be stored by a client per user (i.e, 20 refresh tokens for each user). After the count reaches 20 for a user, when the client requests for an additional token, a new token will be provided and the oldest token will be invalidated, making sure only 20 tokens remain at a time.

Limit for authorization code

Within 10 minutes, a client can generate a maximum of 10 authorization codes per user. If the limit is reached, "access_denied" exception will be thrown for the remaining time. Also, the validity of each authorization code is two minutes.

Limit for device token

For non-browser clients, a throttle limit will be applied based on the IP address where the requests are coming from. From a specific IP address, a maximum of 30 device tokens can be requested and generated by a client within 10 minutes. If the limit is reached, “access_denied” exception will be thrown for the remaining time. Also, the validity of each device token is five minutes.

API Collection

What is an API Collection?

The REST API Postman collection is a set of all the API requests. Using these boilerplate requests, you can test and explore the APIs in various environments for multiple organizations.


Why use API collection?

Going through the entire API documentation to set up environments, variables, authorization, and so on every time you need to test an API can be tedious. Using the API Postman collection can make the process of exploring APIs swift and effortless. It also significantly reduces the risk of errors.

Open API Specification (OAS)

Overview

An OpenAPI Specification (OAS) is a standardized way to describe RESTful APIs. It defines API structure, authentication methods, endpoints, request and response formats, in JSON or YAML.

Why use the Open API Specification ?

The Open API Specification is designed to provide:

  • API Endpoints: The request URL and HTTP methods are specified, along with the optional and mandatory parameters required to make an API call request. The response formats for all possible HTTP response codes are available.

  • Authorization: Supports OAuth authentication for secure access.

  • Request and Response formats: Standardized request formats for GET, POST, PUT, and DELETE operations, detailed response schemas to explain returned data structures, and error handling guidelines to help developers debug API requests.

List alert configurations for cost centers

Retrieves Site24x7 monitor alert configurations available for cost account integration in the cost centers module. Use this to populate notification profile selectors when creating or editing budget and anomaly checks.

Request URL

https://www.site24x7.com/cs/api/cost/cost_centers/integration/alert_configs

Scope

CloudSpend.Internal.Read

Response Parameters

- HTTP code 200 Response Body - application/json

- HTTP code 400 Response Body - application/json

object
Show Sub-Attributes
messagestring

Error message

errorstring

Detailed error description

codeinteger

Error code

- HTTP code 401 Response Body - application/json

object
Show Sub-Attributes
messagestring

Error message

errorstring

Authentication error description

codeinteger

Error code

- HTTP code 500 Response Body - application/json

object
Show Sub-Attributes
messagestring

Error message

errorstring

Server error description

codeinteger

Error code

Possible HTTP Status Codes

200HTTP code

Successfully retrieved alert configurations

400HTTP code

Bad request - Invalid parameters or request format

401HTTP code

Unauthorized - Invalid or missing authentication

500HTTP code

Internal server error

Get governance unbilled resource details for rca

Retrieves detailed unbilled resource information for governance violations - resources not yet reflected in billing. Use this as part of the 5-API RCA workflow to get paginated details of unbilled resources causing non-compliance.

Request URL

https://www.site24x7.com/cs/api/cost/governance/checks/rca/unbilled_resource_details

Scope

CloudSpend.Internal.Read

Request Parameters

- Query Parameters
ruleChecksIdstringMandatory

Governance policy identifier associated with the governance check.

incidentTimestringMandatory

Unix timestamp in milliseconds for the governance check period start time.

pageNumberintegerMandatory

Page number for pagination control (0-based indexing).

Response Parameters

- HTTP code 200 Response Body - application/json

object
Show Sub-Attributes
messagestring

Response message

dataobject

Paginated unbilled resource details

Show Sub-Attributes
dataarray

Array of unbilled resource details with cost breakdown

Show Sub-Attributes
coststring

Cost for this resource

cost_account_idstring

Cost account identifier

billed_account_namestring

Name of the billed account

service_namestring

Cloud service name

billed_account_idstring

Billed account identifier

resource_idstring

Resource identifier

region_namestring

Cloud region name

resource_namestring

Name of the resource

page_numberinteger

Current page number (0-based)

has_moreboolean

Indicates if more pages of data are available

codeinteger

Response status code

- HTTP code 400 Response Body - application/json

object
Show Sub-Attributes
messagestring

Error message

errorstring

Detailed error description

codeinteger

Error code

- HTTP code 401 Response Body - application/json

object
Show Sub-Attributes
messagestring

Error message

errorstring

Authentication error description

codeinteger

Error code

- HTTP code 500 Response Body - application/json

object
Show Sub-Attributes
messagestring

Error message

errorstring

Server error description

codeinteger

Error code

Possible HTTP Status Codes

200HTTP code

Successfully retrieved unbilled resource details for governance RCA

400HTTP code

Bad request - Invalid parameters or request format

401HTTP code

Unauthorized - Invalid or missing authentication

500HTTP code

Internal server error

Get custom tagging compliance reports list

Returns user-created tagging compliance reports with ID, name, creation time, starred status, and enabled or disabled state. Use this to populate the custom report selection dropdown for compliance analysis.

Request URL

https://www.site24x7.com/cs/api/cost/reports/compliance/tagging/list

Scope

CloudSpend.Internal.Read

Response Parameters

- HTTP code 200 Response Body - application/json

object
Show Sub-Attributes
messagestring
dataarray
Show Sub-Attributes
creation_timestring

Formatted creation timestamp

STARREDboolean

Whether the report is starred/favorite

IS_DISABLEDboolean

Report availability status

IDstring

Unique identifier for the custom compliance report

NAMEstring

User-defined name for the compliance report

codeinteger

- HTTP code 400 Response Body - application/json

object
Show Sub-Attributes
messagestring

Error message

errorstring

Detailed error description

codeinteger

Error code

- HTTP code 401 Response Body - application/json

object
Show Sub-Attributes
messagestring

Error message

errorstring

Authentication error description

codeinteger

Error code

- HTTP code 403 Response Body - application/json

object
Show Sub-Attributes
messagestring

Error message

errorstring

Forbidden access error description

codeinteger

Error code

- HTTP code 500 Response Body - application/json

object
Show Sub-Attributes
messagestring

Error message

errorstring

Internal server error description

codeinteger

Error code

Possible HTTP Status Codes

200HTTP code

Successfully retrieved custom tagging compliance reports

400HTTP code

Bad request - Invalid parameters or request format

401HTTP code

Unauthorized - Invalid or missing authentication

403HTTP code

Forbidden - Insufficient permissions

500HTTP code

Internal server error

Get cost centers for budget management

Retrieves cost centers for budget management with account associations and cloud type information. Use this to discover available cost centers for BU-level budget policy creation with cloud provider details.

Request URL

https://www.site24x7.com/cs/api/cost/budget/cost_centers

Scope

CloudSpend.Internal.Read

Response Parameters

- HTTP code 200 Response Body - application/json

object
Show Sub-Attributes
messagestring
dataobject
Show Sub-Attributes
business_unitsarray

Available cost centers for budget policy creation

Show Sub-Attributes
namestring

Cost center display name

is_hybridboolean

Whether BU spans multiple cloud providers

cloud_typeinteger

Cloud provider type (-1=Hybrid, 0=AWS, 1=Azure, 2=GCP)

idstring

Cost center identifier for policy creation

cost_account_idarray

Associated cost account IDs within this cost center

codeinteger

- HTTP code 400 Response Body - application/json

object
Show Sub-Attributes
messagestring

Error message

errorstring

Detailed error description

codeinteger

Error code

- HTTP code 401 Response Body - application/json

object
Show Sub-Attributes
messagestring

Error message

errorstring

Authentication error description

codeinteger

Error code

- HTTP code 500 Response Body - application/json

object
Show Sub-Attributes
messagestring

Error message

errorstring

Server error description

codeinteger

Error code

Possible HTTP Status Codes

200HTTP code

Successfully retrieved cost centers for budget policy creation

400HTTP code

Bad request - Invalid parameters or request format

401HTTP code

Unauthorized - Invalid or missing authentication

500HTTP code

Internal server error

Get cloud accounts for anomaly check creation

Retrieves cloud accounts with cost metrics, billing data, and processing status for anomaly check creation. Use this to discover and select target accounts for anomaly monitoring setup with spending trends and status breakdown.

Request URL

https://www.site24x7.com/cs/api/cost/anomaly/accounts

Scope

CloudSpend.Internal.Read

Request Parameters

- Query Parameters
JSONStringstringOptional

Optional filter parameters in JSON format: - account_ids: Array of specific account IDs to retrieve - cloud_type: Filter by cloud provider (0=AWS, 1=Azure, 2=GCP) - status: Filter by processing status

Response Parameters

- HTTP code 200 Response Body - application/json

object
Show Sub-Attributes
messagestring

Response message

dataobject
Show Sub-Attributes
current_month_totalfloat

Total cost across all accounts for current month

previous_month_totalfloat

Total cost across all accounts for previous month

total_accountsinteger

Total number of accounts

all_accountsobject
Show Sub-Attributes
processing_accountsobject

Accounts currently being processed

Show Sub-Attributes
suspended_accountsobject

Accounts that are suspended

Show Sub-Attributes
config_error_accountsobject

Accounts with configuration errors

Show Sub-Attributes
processed_accountsobject

Successfully processed accounts with cost data

Show Sub-Attributes
codeinteger

Response status code

- HTTP code 400 Response Body - application/json

object
Show Sub-Attributes
messagestring

Error message

errorstring

Detailed error description

codeinteger

Error code

- HTTP code 401 Response Body - application/json

object
Show Sub-Attributes
messagestring

Error message

errorstring

Authentication error description

codeinteger

Error code

- HTTP code 403 Response Body - application/json

object
Show Sub-Attributes
messagestring

Error message

errorstring

Forbidden access error description

codeinteger

Error code

- HTTP code 500 Response Body - application/json

object
Show Sub-Attributes
messagestring

Error message

errorstring

Internal server error description

codeinteger

Error code

Possible HTTP Status Codes

200HTTP code

Successfully retrieved accounts data

400HTTP code

Bad request - Invalid parameters or request format

401HTTP code

Unauthorized - Invalid or missing authentication

403HTTP code

Forbidden - Insufficient permissions

500HTTP code

Internal server error

List Account Anomaly History

Provides comprehensive anomaly history with timeline analysis, financial impact details, and status tracking for investigation workflows.

Request URL

https://www.site24x7.com/cs/api/accounts/spend_analysis/anomaly/data

Scope

CloudSpend.Internal.Read

Request Parameters

- Query Parameters
anomaly_idstringMandatory

Anomaly identifier for retrieving historical anomaly data.

start_datedateMandatory

Start date for anomaly history analysis in YYYY-MM-DD format.

end_datedateMandatory

End date for anomaly history analysis in YYYY-MM-DD format.

Response Parameters

- HTTP code 200 Response Body - application/json

object

Response for listAccountAnomalyHistory API - anomaly history timeline

Show Sub-Attributes
messagestring(length <= 255)

Response message

dataobject

Anomaly history container

Show Sub-Attributes
anomaly_namestring

Account/resource name

anomaliesarray

Chronological list of anomaly occurrences

Show Sub-Attributes
updated_timelong
detected_timelong

Detection time (Unix ms) - use for RCA/meta APIs

currency_symbolstring

Currency symbol

deviation_percentagedouble

Percentage deviation

anomaly_levelstring

Severity (Low/Medium/High)

currency_codestring

Currency code

anomaly_statusstring

Status (Open/Closed)

updated_timestampstring
anomaly_status_codeinteger

Numeric status code

anomaly_typestring

Type (upper=spike, lower=drop)

expected_valuedouble

Expected/predicted cost

detected_timestampstring

Human-readable detection timestamp

valuedouble

Actual cost value

codeinteger

Response status code (0 = success)

- HTTP code 400 Response Body - application/json

object
Show Sub-Attributes
messagestring

Error message

errorstring

Detailed error description

codeinteger

Error code

- HTTP code 401 Response Body - application/json

object
Show Sub-Attributes
messagestring

Error message

errorstring

Authentication error description

codeinteger

Error code

- HTTP code 500 Response Body - application/json

object
Show Sub-Attributes
messagestring

Error message

errorstring

Server error description

codeinteger

Error code

Possible HTTP Status Codes

200HTTP code

Anomaly history data for timeline analysis and display.

400HTTP code

Bad request - Invalid parameters or request format

401HTTP code

Unauthorized - Invalid or missing authentication

500HTTP code

Internal server error

Get all available tags for cost account

Retrieves comprehensive tag inventory for a cost account including all tag keys, values, and metadata. Use this for tag compliance rule definition, savings report filtering, and missing tag identification.

Request URL

https://www.site24x7.com/cs/api/cost/reports/tags

Scope

CloudSpend.Internal.Read

Request Parameters

- Query Parameters
JSONStringstringMandatory

URL-encoded JSON object. Must use format {\"cost_account_id\":[\"account_id_1\",\"account_id_2\"]}. A plain array will fail with 'JSON is not well formed'.

Response Parameters

- HTTP code 400 Response Body - application/json

object
Show Sub-Attributes
messagestring

Error message

errorstring

Detailed error description

codeinteger

Error code

- HTTP code 401 Response Body - application/json

object
Show Sub-Attributes
messagestring

Error message

errorstring

Authentication error description

codeinteger

Error code

- HTTP code 403 Response Body - application/json

object
Show Sub-Attributes
messagestring

Error message

errorstring

Forbidden access error description

codeinteger

Error code

- HTTP code 500 Response Body - application/json

object
Show Sub-Attributes
messagestring

Error message

errorstring

Internal server error description

codeinteger

Error code

Possible HTTP Status Codes

200HTTP code

Successfully retrieved account tags

400HTTP code

Bad request - Invalid parameters or request format

401HTTP code

Unauthorized - Invalid or missing authentication

403HTTP code

Forbidden - Insufficient permissions

500HTTP code

Internal server error

Get unbilled resources tagging compliance details

Retrieves detailed unbilled resource information for tagging compliance with pagination support. Use this to display the unbilled/non-compliant resources table in the compliance dashboard.

Request URL

https://www.site24x7.com/cs/api/cost/reports/compliance/unbilled/custom/tagging

Scope

CloudSpend.Internal.Read

Request Parameters

- Query Parameters
business_unit_idstringMandatory

Custom tagging compliance report ID for unbilled resource details

pageNumberintegerOptional

Page number for paginated unbilled resource list (0-based indexing)

Response Parameters

- HTTP code 200 Response Body - application/json

object
Show Sub-Attributes
messagestring
dataobject
Show Sub-Attributes
dataarray
Show Sub-Attributes
cost_account_idstring
billed_account_namestring
service_namestring
billed_account_idstring
resource_idstring
region_namestring
resource_namestring
page_numberinteger
has_moreboolean

Whether more pages are available

codeinteger

- HTTP code 400 Response Body - application/json

object
Show Sub-Attributes
messagestring

Error message

errorstring

Detailed error description

codeinteger

Error code

- HTTP code 401 Response Body - application/json

object
Show Sub-Attributes
messagestring

Error message

errorstring

Authentication error description

codeinteger

Error code

- HTTP code 403 Response Body - application/json

object
Show Sub-Attributes
messagestring

Error message

errorstring

Forbidden access error description

codeinteger

Error code

- HTTP code 500 Response Body - application/json

object
Show Sub-Attributes
messagestring

Error message

errorstring

Internal server error description

codeinteger

Error code

Possible HTTP Status Codes

200HTTP code

Successfully retrieved unbilled compliance details

400HTTP code

Bad request - Invalid parameters or request format

401HTTP code

Unauthorized - Invalid or missing authentication

403HTTP code

Forbidden - Insufficient permissions

500HTTP code

Internal server error

Get Trend Box Data

Provides service-level cost trend analysis with AWS service costs over time, timestamps, month-over-month analysis, and optimization insights.

Request URL

https://www.site24x7.com/cs/api/cost/accounts/trend_box

Scope

CloudSpend.Internal.Create

Request Parameters

- Request Body

application/json
object
Show Sub-Attributes
end_datedateMandatory

End date in YYYY-MM-DD format. CALCULATE: current system date

cost_tagsarrayMandatory

Empty array [] (required constant)

periodintegerMandatory

Period setting: 1 (required constant)

accountsarrayMandatory

Account structure array with cost_account_id and billing_account_ids

Show Sub-Attributes
cost_account_idstringMandatory

Parent account ID

billing_account_idsarrayMandatory

Child billing account IDs. Use billing_account_ids array from the selected parent account's child_accounts structure.

cost_typeintegerMandatory

Cost type: 0 for AWS, 20 for Azure/GCP (from getAccountsMetadata cloud_type field)

start_datedateMandatory

Start date in YYYY-MM-DD format. CALCULATE: first day of previous month

Response Parameters

- HTTP code 200 Response Body - application/json

object
Show Sub-Attributes
messagestring

Response message

dataobject
Show Sub-Attributes
trend_valuesobject
Show Sub-Attributes
modeinteger

Trend mode (1 = standard)

valuesobject

Service-level trend data with timestamps and costs

Show Sub-Attributes
codeinteger

Response code (0 = success)

- HTTP code 400 Response Body - application/json

object
Show Sub-Attributes
messagestring

Error message

errorstring

Detailed error description

codeinteger

Error code

- HTTP code 401 Response Body - application/json

object
Show Sub-Attributes
messagestring

Error message

errorstring

Authentication error description

codeinteger

Error code

- HTTP code 404 Response Body - application/json

object
Show Sub-Attributes
messagestring

Error message

errorstring

Not found error description

codeinteger

Error code

- HTTP code 500 Response Body - application/json

object
Show Sub-Attributes
messagestring

Error message

errorstring

Server error description

codeinteger

Error code

Possible HTTP Status Codes

200HTTP code

Successful response with service-level cost trends

400HTTP code

Bad request - Invalid parameters or request format

401HTTP code

Unauthorized - Invalid or missing authentication

404HTTP code

Not found - Resource does not exist

500HTTP code

Internal server error

Generate resource explorer report

Generates resource exploration reports with cost breakdown by regions, services, accounts, and resource groups.

Request URL

https://www.site24x7.com/cs/api/cost/accounts/resource_explorer/report

Scope

CloudSpend.Internal.Create

Request Parameters

- Request Body

application/json
object
Show Sub-Attributes
cost_idsarrayMandatory

Account ID array

profileobjectMandatory
Show Sub-Attributes
profile_idstringOptional

Profile identifier for report generation

formatintegerMandatory

Report format: 1=PDF, 2=CSV

report_namestringMandatory

User-defined report name

typeintegerMandatory

Report type: 3 (Resource Explorer)

contact_idsarrayMandatory

Array of contact objects for report delivery

Show Sub-Attributes
contact_idstringOptional

Contact identifier for report delivery

contact_typestringOptional

Type of contact (1=user, 2=group)

group_by_typeintegerMandatory

Grouping method: 1=Region, 2=Service, 3=Accounts, 4=Resource Group

frequencyintegerMandatory

Use EXACT frequency value response. Get profile.frequency from API response.

Response Parameters

- HTTP code 200 Response Body - application/json

object

Response for generateResourceExplorerReport API - resource explorer report scheduling confirmation

Show Sub-Attributes
messagestring(length <= 255)

Response message indicating report generation status

dataobject

Report generation result data

Show Sub-Attributes
scheduled_timestring(length <= 255)

Scheduled delivery time for the report

report_idstring(length <= 255)

Unique identifier for the generated report

group_by_typeinteger

Grouping method used: 1=Region, 2=Service, 3=Accounts, 4=Resource Group

statusstring(length <= 50)

Report generation status (scheduled, processing, completed)

codeinteger

Response status code (0 = success)

- HTTP code 400 Response Body - application/json

object
Show Sub-Attributes
messagestring

Error message

errorstring

Detailed error description

codeinteger

Error code

Possible HTTP Status Codes

200HTTP code

Report generation initiated successfully

400HTTP code

Bad request - Invalid parameters or request format

Get spend analysis panel for custom dashboard widgets only

Retrieves spend analysis KPI metrics including total cost, top/bottom accounts, and anomaly counts. Use this to populate spend overview numerical widgets in user-configured custom dashboards.

Request URL

https://www.site24x7.com/cs/api/cost/custom_report/spend_analysis_panel

Scope

CloudSpend.Internal.Read

Request Parameters

- Request Body

application/json
object
Show Sub-Attributes
end_datedateOptional

Analysis end date - map dateRangeId from widget config to actual dates

cost_tagsarrayOptional

Cost tag filters from dashboard widget config params

periodintegerOptional

Period type from dashboard widget config params

accountsarrayOptional

Account configurations for analysis. Get cost_account_id from dashboard widget config params, then get billing_account_ids response.

Show Sub-Attributes
cost_account_idstringOptional

Cost account identifier extracted from dashboard widget config params

billing_account_idsarrayOptional

Billing account IDs array child_accounts

cost_typeintegerOptional

Cost calculation type from dashboard widget config params

start_datedateOptional

Analysis start date - map dateRangeId from widget config to actual dates

Response Parameters

- HTTP code 200 Response Body - application/json

object
Show Sub-Attributes
messagestring

Response status message

dataobject

Spend analysis metrics data

Show Sub-Attributes
return_dataobject

Summary metrics object

Show Sub-Attributes
max_cost_accountstring

Account name with highest cost

max_costnumber

Maximum cost value

total_costnumber

Total cost across all selected accounts

anomaly_widgetobject

Anomaly detection status

Show Sub-Attributes
occurrencesstring

Number of anomaly occurrences

anomaly_last_detected_timestring

Last anomaly detection timestamp

min_costnumber

Minimum cost value

differencenumber

Cost difference calculation

min_cost_accountstring

Account name with lowest cost

codeinteger

Response status code

- HTTP code 400 Response Body - application/json

object
Show Sub-Attributes
messagestring

Error message

errorstring

Detailed error description

codeinteger

Error code

- HTTP code 401 Response Body - application/json

object
Show Sub-Attributes
messagestring

Error message

errorstring

Authentication error description

codeinteger

Error code

- HTTP code 403 Response Body - application/json

object
Show Sub-Attributes
messagestring

Error message

errorstring

Forbidden access error description

codeinteger

Error code

- HTTP code 500 Response Body - application/json

object
Show Sub-Attributes
messagestring

Error message

errorstring

Internal server error description

codeinteger

Error code

Possible HTTP Status Codes

200HTTP code

Successfully retrieved spend analysis metrics

400HTTP code

Bad request - Invalid parameters or request format

401HTTP code

Unauthorized - Invalid or missing authentication

403HTTP code

Forbidden - Insufficient permissions

500HTTP code

Internal server error

Get billing and license details

Retrieves CloudSpend billing records for a date range showing total cost, billed amount, payment status, and cloud provider breakdown per account per month. Use this to display the Licensing page with monthly billing summary chart and cost-per-account breakdown table.

Request URL

https://www.site24x7.com/cs/api/cost/bills

Scope

CloudSpend.Internal.Read

Request Parameters

- Query Parameters
start_datedateMandatory

Start date for billing period (YYYY-MM-DD format). Typically set to last few months for trending analysis or specific month start for detailed view.

end_datedateMandatory

End date for billing period (YYYY-MM-DD format). Can be current date for overall summary or specific month end for detailed analysis.

Response Parameters

- HTTP code 200 Response Body - application/json

object
Show Sub-Attributes
messagestring

Response status message

dataobject
Show Sub-Attributes
dataarray

Array of billing records for the specified date range

Show Sub-Attributes
start_timedate-time

Billing period start timestamp

entry_timedate-time

When the billing entry was processed and recorded

chargeableboolean

Whether this period is currently chargeable: - true: Current active billing period - false: Historical or completed periods

costfloat

Total cost amount for the billing period

billedfloat

Actual billed amount (typically 1% of total cost)

cloud_typestring

Cloud provider for this billing record

cost_account_idstring

Unique identifier for the cost account

cost_account_namestring

Display name of the cost account

unpaidboolean

Payment status indicator (true=unpaid, false=paid)

codeinteger

Response status code

- HTTP code 400 Response Body - application/json

object
Show Sub-Attributes
messagestring

Error message

errorstring

Detailed error description

codeinteger

Error code

- HTTP code 401 Response Body - application/json

object
Show Sub-Attributes
messagestring

Error message

errorstring

Authentication error description

codeinteger

Error code

- HTTP code 403 Response Body - application/json

object
Show Sub-Attributes
messagestring

Error message

errorstring

Forbidden access error description

codeinteger

Error code

- HTTP code 500 Response Body - application/json

object
Show Sub-Attributes
messagestring

Error message

errorstring

Internal server error description

codeinteger

Error code

Possible HTTP Status Codes

200HTTP code

Successfully retrieved billing and license information

400HTTP code

Bad request - Invalid parameters or request format

401HTTP code

Unauthorized - Invalid or missing authentication

403HTTP code

Forbidden - Insufficient permissions

500HTTP code

Internal server error

Get resource inventory report schedule profiles

Retrieves available scheduling profiles for resource inventory report delivery configuration. Use this to get scheduling profiles with frequency, timing, and timezone options before configuring automated resource inventory reports.

Request URL

https://www.site24x7.com/cs/api/cost/reports/resource_inventory/report/profiles

Scope

CloudSpend.Internal.Read

Response Parameters

- HTTP code 200 Response Body - application/json

object
Show Sub-Attributes
messagestring

Response status message

dataobject
Show Sub-Attributes
return_dataobject
Show Sub-Attributes
return_dataarray

Array of available scheduling profiles

Show Sub-Attributes
periodinteger

Report period type

report_hour_meridieminteger

AM/PM indicator (1=AM, 2=PM)

profile_idstring

Unique profile identifier

timezonestring

Timezone for report delivery

report_hourinteger

Delivery hour (1-12)

default_profileinteger

Whether this is default profile (1=default, 0=custom)

namestring

Profile display name

report_hour_meridiem_textstring

AM/PM text representation

frequencyinteger

Delivery frequency in days

codeinteger

Response status code

- HTTP code 400 Response Body - application/json

object
Show Sub-Attributes
messagestring

Error message

errorstring

Detailed error description

codeinteger

Error code

- HTTP code 401 Response Body - application/json

object
Show Sub-Attributes
messagestring

Error message

errorstring

Authentication error description

codeinteger

Error code

- HTTP code 403 Response Body - application/json

object
Show Sub-Attributes
messagestring

Error message

errorstring

Forbidden access error description

codeinteger

Error code

- HTTP code 500 Response Body - application/json

object
Show Sub-Attributes
messagestring

Error message

errorstring

Internal server error description

codeinteger

Error code

Possible HTTP Status Codes

200HTTP code

Successfully retrieved resource inventory schedule profiles

400HTTP code

Bad request - Invalid parameters or request format

401HTTP code

Unauthorized - Invalid or missing authentication

403HTTP code

Forbidden - Insufficient permissions

500HTTP code

Internal server error

Get solution reports metadata - call first to validate report names

Returns solution reports metadata with report names, IDs, and category hierarchy for all cloud providers. Use this as mandatory first step to validate report names and extract business_unit_id before any report-by-name query.

Request URL

https://www.site24x7.com/cs/api/cost/solution_reports_meta

Scope

CloudSpend.Internal.Read

Response Parameters

- HTTP code 200 Response Body - application/json

object
Show Sub-Attributes
messagestring

Response message

dataobject
Show Sub-Attributes
nav_dataarray

Navigation structure with entity counts

Show Sub-Attributes
namestring

Navigation level name

subitemsarray
Show Sub-Attributes
namestring

Account name

subitemsarray
Show Sub-Attributes
namestring

Entity type name

countstring

Number of entities

idstring

Entity type ID

idstring

Account ID

idstring

Cloud provider ID

reports_metaobject

Metadata grouped by account ID

Show Sub-Attributes
reports_cx_preferencesarray

User custom preferences for reports

Show Sub-Attributes
codeinteger

Response status code

- HTTP code 400 Response Body - application/json

object
Show Sub-Attributes
messagestring

Error message

errorstring

Detailed error description

codeinteger

Error code

- HTTP code 401 Response Body - application/json

object
Show Sub-Attributes
messagestring

Error message

errorstring

Authentication error description

codeinteger

Error code

- HTTP code 403 Response Body - application/json

object
Show Sub-Attributes
messagestring

Error message

errorstring

Forbidden access error description

codeinteger

Error code

- HTTP code 500 Response Body - application/json

object
Show Sub-Attributes
messagestring

Error message

errorstring

Internal server error description

codeinteger

Error code

Possible HTTP Status Codes

200HTTP code

Successfully retrieved solution reports metadata

400HTTP code

Bad request - Invalid parameters or request format

401HTTP code

Unauthorized - Invalid or missing authentication

403HTTP code

Forbidden - Insufficient permissions

500HTTP code

Internal server error

Get anomaly budget policies by account type

Retrieves existing anomaly budget policies filtered by account type for anomaly check configuration. Use this to discover available anomaly policies by account type before creating or associating anomaly checks.

Request URL

https://www.site24x7.com/cs/api/cost/anomaly/budget_policys/{account_type}

Scope

CloudSpend.Internal.Read

Request Parameters

- Path Parameters
account_typeintegerMandatory

Account type filter for anomaly budget policies: - 0: Account-level anomaly policies - 1: Cost Center-level anomaly policies - 2: Report-level anomaly policies

Response Parameters

- HTTP code 200 Response Body - application/json

object
Show Sub-Attributes
messagestring
dataobject
Show Sub-Attributes
dataarray

Anomaly policies filtered by account type

Show Sub-Attributes
policy_typestring

Policy type classification

account_typeinteger

Account type (0=Account, 1=Cost Center, 2=Report)

account_idstring

Account, Cost Center, or Report identifier

policy_idstring

Anomaly policy identifier

cost_typeinteger

Cost calculation type (20=Azure/GCP, 0=AWS)

policy_namestring

User-defined anomaly policy name

budget_tags
Show Sub-Attributes
oneOf
string

Empty string when no tags

array

Array of tag objects when tags are present

Show Sub-Attributes
vstring

Tag version

idstring

Tag identifier

integrated_zaaidsarray

List of integrated Zoho Account IDs

budgets_countinteger

Number of budgets associated with this policy

codeinteger

- HTTP code 400 Response Body - application/json

object
Show Sub-Attributes
messagestring

Error message

errorstring

Detailed error description

codeinteger

Error code

- HTTP code 401 Response Body - application/json

object
Show Sub-Attributes
messagestring

Error message

errorstring

Authentication error description

codeinteger

Error code

- HTTP code 500 Response Body - application/json

object
Show Sub-Attributes
messagestring

Error message

errorstring

Server error description

codeinteger

Error code

Possible HTTP Status Codes

200HTTP code

Successfully retrieved anomaly budget policies for the specified account type

400HTTP code

Bad request - Invalid parameters or request format

401HTTP code

Unauthorized - Invalid or missing authentication

500HTTP code

Internal server error

Get accounts cost breakdown for custom dashboard widgets only

Retrieves cost breakdown by billing accounts for custom dashboard widget rendering. Use this to populate the Cost by Subscriptions widget with account-level cost pairs in user-configured dashboards.

Request URL

https://www.site24x7.com/cs/api/cost/custom_report/accounts_splitup

Scope

CloudSpend.Internal.Read

Request Parameters

- Request Body

application/json
object
Show Sub-Attributes
end_datedateOptional

Analysis end date - map dateRangeId from widget config to actual dates

cost_tagsarrayOptional

Cost tag filters from dashboard widget config params

periodintegerOptional

Period type from dashboard widget config params

accountsarrayOptional

Array of account configurations with billing account selections

Show Sub-Attributes
cost_account_idstringOptional

Cost account identifier from widget config

billing_account_idsarrayOptional

Array of billing account IDs from spend_analysis API

cost_typeintegerOptional

Cost calculation type from dashboard widget config params (20=unblended, etc.)

start_datedateOptional

Analysis start date - map dateRangeId from widget config to actual dates

Response Parameters

- HTTP code 200 Response Body - application/json

object
Show Sub-Attributes
messagestring

Response status message

dataobject

Cost breakdown data

Show Sub-Attributes
return_dataarray

Array of subscription cost breakdowns for flexible visualization (pie chart, bar chart, table, etc.)

codeinteger

Response status code

- HTTP code 400 Response Body - application/json

object
Show Sub-Attributes
messagestring

Error message

errorstring

Detailed error description

codeinteger

Error code

- HTTP code 401 Response Body - application/json

object
Show Sub-Attributes
messagestring

Error message

errorstring

Authentication error description

codeinteger

Error code

- HTTP code 403 Response Body - application/json

object
Show Sub-Attributes
messagestring

Error message

errorstring

Forbidden access error description

codeinteger

Error code

- HTTP code 500 Response Body - application/json

object
Show Sub-Attributes
messagestring

Error message

errorstring

Internal server error description

codeinteger

Error code

Possible HTTP Status Codes

200HTTP code

Successfully retrieved accounts cost breakdown

400HTTP code

Bad request - Invalid parameters or request format

401HTTP code

Unauthorized - Invalid or missing authentication

403HTTP code

Forbidden - Insufficient permissions

500HTTP code

Internal server error

Get cost by skus/instance for named solution report

Returns instance/SKU-level cost breakdown with instance types for the named solution report. Use this to display the cost by SKUs/instance widget for AWS named reports.

Request URL

https://www.site24x7.com/cs/api/cost/sol_reports/cost_by_instance

Scope

CloudSpend.Internal.Create

Request Parameters

- Request Body

application/json
object

Standard payload structure for all sol_reports APIs - ensures consistent request format

Show Sub-Attributes
end_datedateMandatory

Analysis end date (typically current date)

cost_tagsarrayOptional

Pass empty array [] for widget APIs (spend_analysis_panel, common_widget_api, cost_by_resource, cost_by_instance, trend_box, accounts_splitup). Only populate cost_tags when calling group_by_property for tag-based filtering. Non-empty cost_tags on widget APIs causes 500 errors.

Show Sub-Attributes
vintegerOptional

Tag version or value reference

idstringOptional

Tag identifier for filtering (from business_unit_tags in bu_spend_analysis response)

periodintegerMandatory

Time granularity (1=daily, 2=weekly, 3=monthly)

business_unit_idstringMandatory

Cost center identifier from getSolutionReportsReports response

cost_typeintegerMandatory

Cost calculation type (0=standard, 1=amortized, 20=Azure resource groups)

accountsarrayMandatory

Account scope for analysis

Show Sub-Attributes
cost_account_idstringOptional

Cost account identifier

billing_account_idsarrayOptional

Associated billing account IDs

bu_typeintegerMandatory

Cost center type classification

start_datedateMandatory

Analysis start date (typically previous month 1st or current billing period start)

Response Parameters

- HTTP code 200 Response Body - application/json

object
Show Sub-Attributes
messagestring
dataobject
Show Sub-Attributes
return_dataarray

Instance cost breakdown (may be empty for serverless services)

Show Sub-Attributes
instance_idstring

Instance identifier

costfloat

Cost amount for this instance

regionstring

Instance deployment region

instance_typestring

Instance type and size

codeinteger

Possible HTTP Status Codes

200HTTP code

Cost by instance data retrieved successfully

400HTTP code

Invalid request parameters

401HTTP code

Authentication required

403HTTP code

Access denied to cost centers or accounts

500HTTP code

Internal server error

Get tagging compliance summary metrics

Retrieves high-level tagging compliance summary metrics including resource counts, cost, and compliance percentages. Use this to display compliance KPIs in the Cost and Resources summary cards on the dashboard.

Request URL

https://www.site24x7.com/cs/api/cost/reports/compliance/summary/tagging

Scope

CloudSpend.Internal.Read

Request Parameters

- Query Parameters
business_unit_idstringMandatory

Custom tagging compliance report ID for summary metrics

Response Parameters

- HTTP code 200 Response Body - application/json

object
Show Sub-Attributes
messagestring
dataobject
Show Sub-Attributes
checks_resourcesstring

Number of resources checked for compliance

total_coststring

Total cost of all resources

total_resourcesstring

Total number of resources in scope

non_compliant_resource_percentagestring

Percentage of non-compliant resources

checks_coststring

Cost of resources checked for compliance

non_compliant_cost_percentagestring

Percentage of non-compliant cost

codeinteger

- HTTP code 400 Response Body - application/json

object
Show Sub-Attributes
messagestring

Error message

errorstring

Detailed error description

codeinteger

Error code

- HTTP code 401 Response Body - application/json

object
Show Sub-Attributes
messagestring

Error message

errorstring

Authentication error description

codeinteger

Error code

- HTTP code 403 Response Body - application/json

object
Show Sub-Attributes
messagestring

Error message

errorstring

Forbidden access error description

codeinteger

Error code

- HTTP code 500 Response Body - application/json

object
Show Sub-Attributes
messagestring

Error message

errorstring

Internal server error description

codeinteger

Error code

Possible HTTP Status Codes

200HTTP code

Successfully retrieved compliance summary metrics

400HTTP code

Bad request - Invalid parameters or request format

401HTTP code

Unauthorized - Invalid or missing authentication

403HTTP code

Forbidden - Insufficient permissions

500HTTP code

Internal server error

Trigger execution of a rule

Triggers execution of a specific rule as a background task that applies configured actions to matching resources.

Request URL

https://www.site24x7.com/cs/api/cost/admin/rule/run

Scope

CloudSpend.Internal.Create

Request Parameters

- Request Body

application/json
object
Show Sub-Attributes
rule_idlongMandatory

Unique identifier of the rule to execute

Response Parameters

- HTTP code 200 Response Body - application/json

- HTTP code 400 Response Body - application/json

object
Show Sub-Attributes
messagestring

Error message

errorstring

Detailed error description

codeinteger

Error code

- HTTP code 401 Response Body - application/json

object
Show Sub-Attributes
messagestring

Error message

errorstring

Authentication error description

codeinteger

Error code

- HTTP code 403 Response Body - application/json

object
Show Sub-Attributes
messagestring

Error message

errorstring

Forbidden access error description

codeinteger

Error code

- HTTP code 500 Response Body - application/json

object
Show Sub-Attributes
messagestring

Error message

errorstring

Internal server error description

codeinteger

Error code

Possible HTTP Status Codes

200HTTP code

Rule execution task scheduled successfully

400HTTP code

Bad request - Invalid parameters or request format

401HTTP code

Unauthorized - Invalid or missing authentication

403HTTP code

Forbidden - Insufficient permissions

500HTTP code

Internal server error

Get schedule profiles for summary report scheduling

Retrieves available scheduling profiles for summary report delivery with daily, weekly, and monthly options. Use this as the first step in summary report scheduling to present profile options for frequency selection.

Request URL

https://www.site24x7.com/cs/api/cost/reports/summary_report/report/profiles

Scope

CloudSpend.Internal.Read

Response Parameters

- HTTP code 200 Response Body - application/json

object
Show Sub-Attributes
messagestring
dataobject
Show Sub-Attributes
return_dataobject
Show Sub-Attributes
return_dataarray
Show Sub-Attributes
periodinteger
report_hour_meridieminteger

1=AM, 2=PM

timezonestring
report_hourinteger
report_hour_meridiem_textstring
frequencyinteger

1=Monthly, 4=Daily, 7=Weekly

report_dayinteger
report_timeinteger
profile_idstring
default_profileinteger

1=Default profile, 0=Custom profile

namestring
report_monthinteger
configstring
codeinteger

- HTTP code 400 Response Body - application/json

object
Show Sub-Attributes
messagestring

Error message

errorstring

Detailed error description

codeinteger

Error code

- HTTP code 401 Response Body - application/json

object
Show Sub-Attributes
messagestring

Error message

errorstring

Authentication error description

codeinteger

Error code

- HTTP code 403 Response Body - application/json

object
Show Sub-Attributes
messagestring

Error message

errorstring

Forbidden access error description

codeinteger

Error code

- HTTP code 500 Response Body - application/json

object
Show Sub-Attributes
messagestring

Error message

errorstring

Internal server error description

codeinteger

Error code

Possible HTTP Status Codes

200HTTP code

Successfully retrieved summary schedule profiles

400HTTP code

Bad request - Invalid parameters or request format

401HTTP code

Unauthorized - Invalid or missing authentication

403HTTP code

Forbidden - Insufficient permissions

500HTTP code

Internal server error

Get all custom user tags

Retrieves all custom user-defined tags across all cost accounts for tag catalog and discovery. Use this to populate tag pickers when adding tags to resources, showing available custom tags for selection.

Request URL

https://www.site24x7.com/cs/api/cost/reports/all_custom_user_tags

Scope

CloudSpend.Internal.Read

Response Parameters

- HTTP code 200 Response Body - application/json

object
Show Sub-Attributes
messagestring

Response status message

dataarray

Array of all custom user-defined tags with complete metadata

Show Sub-Attributes
costAccountIdstring

Cost account ID that owns/created this tag

tagVariationinteger

Tag variation indicator for versioning and changes (negative values indicate user-defined tags)

tagNamestring

Custom tag key name

tagIdstring

Unique identifier for the custom tag

tagValuestring

Custom tag value

codeinteger

Response status code

- HTTP code 400 Response Body - application/json

object
Show Sub-Attributes
messagestring

Error message

errorstring

Detailed error description

codeinteger

Error code

- HTTP code 401 Response Body - application/json

object
Show Sub-Attributes
messagestring

Error message

errorstring

Authentication error description

codeinteger

Error code

- HTTP code 403 Response Body - application/json

object
Show Sub-Attributes
messagestring

Error message

errorstring

Forbidden access error description

codeinteger

Error code

- HTTP code 500 Response Body - application/json

object
Show Sub-Attributes
messagestring

Error message

errorstring

Internal server error description

codeinteger

Error code

Possible HTTP Status Codes

200HTTP code

Successfully retrieved all custom user tags

400HTTP code

Bad request - Invalid parameters or request format

401HTTP code

Unauthorized - Invalid or missing authentication

403HTTP code

Forbidden - Insufficient permissions

500HTTP code

Internal server error

Get resource count for named solution report drill-down

Retrieves resource list with cost breakdown after drilling down by account, region, service, or tag in a solution report. Use after getGroupByPropertyReports to get individual resources under a specific account, region, service, or tag.

Request URL

https://www.site24x7.com/cs/api/cost/sol_reports/resource_count

Scope

CloudSpend.Internal.Create

Request Parameters

- Request Body

application/json
object
Show Sub-Attributes
end_datedateMandatory

Analysis end date (typically current date)

cost_tagsarrayOptional

Global tag filter. Pass [] when no tag filter. Can be populated to filter costs by tag.

Show Sub-Attributes
vintegerOptional

Tag version or value reference

idstringOptional

Tag identifier for filtering

periodintegerMandatory

Time granularity (1=daily, 2=weekly, 3=monthly)

business_unit_idstringMandatory

Cost center identifier

cost_typeintegerMandatory

Cost calculation type (0=standard, 1=amortized)

propertyobjectMandatory

Property object from group_by_property response

Show Sub-Attributes
vintegerMandatory

Property version or type identifier

idstringMandatory

Property identifier from group_by_property

group_by_tagsarrayOptional

Pass same value used in the parent group_by_property call.

Show Sub-Attributes
vintegerOptional

Tag version for filtering

idstringOptional

Tag identifier for grouping

accountsarrayMandatory

Account scope for analysis

Show Sub-Attributes
cost_account_idstringOptional

Cost account identifier

billing_account_idsarrayOptional

Associated billing account IDs

pageintegerMandatory

Page number for pagination (-1 for all resources)

bu_typeintegerMandatory

Cost center type classification

group_by_typestringMandatory

Property type for grouping analysis

start_datedateMandatory

Analysis start date (typically previous month 1st)

Response Parameters

- HTTP code 200 Response Body - application/json

object
Show Sub-Attributes
messagestring
dataobject
Show Sub-Attributes
resourcesarray

List of resources with cost details

Show Sub-Attributes
chartDatastring

Chart data for this resource

regionNamestring

Deployment region for this resource

cloudAccountIdstring

Cloud provider account ID

namestring

Resource name or identifier

extraNameIdentifierstring

Additional resource identifier

idstring

Unique resource identifier

productNamestring

AWS product/service name

variationinteger

Resource variation or type code

totalCostfloat

Total cost for this resource

costObjectstring

Cost calculation details

awsNameTagValuestring

AWS Name tag value if available

timeValueReferencestring

Time reference for cost calculation

codeinteger

Possible HTTP Status Codes

200HTTP code

Resource count data retrieved successfully

400HTTP code

Invalid request parameters

401HTTP code

Authentication required

403HTTP code

Access denied to cost centers or accounts

500HTTP code

Internal server error

Get anomaly detection dashboard

Retrieves anomaly detection dashboard with status categorization for accounts, cost centers, and reports. Use this to list all anomaly checks with occurrence counts, status categories, and filtering by entity type and date range.

Request URL

https://www.site24x7.com/cs/api/cost/anomaly/dashboard

Scope

CloudSpend.Internal.Read

Request Parameters

- Query Parameters
typeintegerMandatory

Anomaly detection type filter: - 2: Standard anomaly detection mode

anomaly_statusintegerMandatory

Anomaly status filter for dashboard results: - 0: All anomalies (including resolved) - 1: Active anomalies only

account_typeintegerMandatory

Entity type for anomaly detection scope: - 0: Account-level anomaly detection - 1: Cost Center-level anomaly detection - 2: Report-level anomaly detection

start_datedateMandatory

Start date for anomaly detection analysis (YYYY-MM-DD)

end_datedateMandatory

End date for anomaly detection analysis (YYYY-MM-DD)

Response Parameters

- HTTP code 200 Response Body - application/json

object
Show Sub-Attributes
messagestring
dataarray
Show Sub-Attributes
namestring

Status category name

valuesarray
Show Sub-Attributes
checks_idstring

Anomaly check identifier

occurrencesinteger

Number of anomaly occurrences

last_detected_timestampstring

Last detection timestamp (formatted)

account_typeinteger

Entity type (0=Account, 1=Cost Center, 2=Report)

anomaly_idstring

Unique anomaly identifier

policy_idstring

Associated policy identifier

last_detected_timestamp_isostring

Last detection timestamp (ISO format)

last_checked_timestamp_isostring

Last check timestamp (ISO format)

account_idstring

Associated account identifier

last_detected_timestring

Last detection time (human readable)

anomaly_statusinteger

Current anomaly status

last_checked_timestampstring

Last check timestamp (formatted)

checks_namestring

Anomaly check name

statusinteger

Check status (1=Active, 0=Inactive)

idinteger

Status category ID

codeinteger

- HTTP code 400 Response Body - application/json

object
Show Sub-Attributes
messagestring

Error message

errorstring

Detailed error description

codeinteger

Error code

- HTTP code 401 Response Body - application/json

object
Show Sub-Attributes
messagestring

Error message

errorstring

Authentication error description

codeinteger

Error code

- HTTP code 500 Response Body - application/json

object
Show Sub-Attributes
messagestring

Error message

errorstring

Server error description

codeinteger

Error code

Possible HTTP Status Codes

200HTTP code

Successfully retrieved anomaly detection dashboard

400HTTP code

Bad request - Invalid parameters or request format

401HTTP code

Unauthorized - Invalid or missing authentication

500HTTP code

Internal server error

Get custom anomaly chart data

Retrieves anomaly chart metadata and configuration including cloud provider details and cost account information. Use this to load anomaly detail widgets with chart configuration parameters from dashboard anomaly selections.

Request URL

https://www.site24x7.com/cs/api/cost/custom_report/chart

Scope

CloudSpend.Internal.Read

Request Parameters

- Query Parameters
anomaly_idintegerMandatory

Unique identifier for the anomaly

start_datedateMandatory

Chart analysis start date

end_datedateMandatory

Chart analysis end date

Response Parameters

- HTTP code 200 Response Body - application/json

object
Show Sub-Attributes
messagestring

Response status message

dataobject

Custom anomaly chart metadata

Show Sub-Attributes
metaobject

Anomaly metadata and configuration

Show Sub-Attributes
anomaly_idstring

Unique anomaly identifier

cloud_type_namestring

Cloud provider name

cloud_typeinteger

Cloud provider type (0=AWS, 1=Azure, 2=GCP)

category_idinteger

Anomaly category identifier

cost_account_namestring

Cost account display name

anomaly_namestring

Anomaly display name

categorystring

Anomaly category description

codeinteger

Response status code

- HTTP code 400 Response Body - application/json

object
Show Sub-Attributes
messagestring

Error message

errorstring

Detailed error description

codeinteger

Error code

- HTTP code 401 Response Body - application/json

object
Show Sub-Attributes
messagestring

Error message

errorstring

Authentication error description

codeinteger

Error code

- HTTP code 403 Response Body - application/json

object
Show Sub-Attributes
messagestring

Error message

errorstring

Forbidden access error description

codeinteger

Error code

- HTTP code 500 Response Body - application/json

object
Show Sub-Attributes
messagestring

Error message

errorstring

Internal server error description

codeinteger

Error code

Possible HTTP Status Codes

200HTTP code

Successfully retrieved custom anomaly chart data

400HTTP code

Bad request - Invalid parameters or request format

401HTTP code

Unauthorized - Invalid or missing authentication

403HTTP code

Forbidden - Insufficient permissions

500HTTP code

Internal server error

Create anomaly check configuration

Creates an anomaly check with policy association, threshold percentage, and user notifications. Use this to set up anomaly detection monitoring with spending deviation thresholds and alert recipients.

Request URL

https://www.site24x7.com/cs/api/cost/checks

Scope

CloudSpend.Internal.Create

Request Parameters

- Request Body

application/json
object
Show Sub-Attributes
budget_namestringMandatory

User-defined anomaly check name for identification

periodstringMandatory

Anomaly monitoring period: - "Monthly": Monthly monitoring - "Daily": Daily monitoring - "Weekly": Weekly monitoring

unitintegerMandatory

Anomaly unit type: - 3: Anomaly detection mode

contact_typeintegerMandatory

Contact notification type (1=individual users)

policy_idstringMandatory

Anomaly policy ID obtained from either: - getAnomalyPoliciesChecks (existing policy selection), OR - createAnomalyBudgetPolicyChecks response (newly created policy_id)

budget_valuefloatMandatory

Anomaly threshold value for detection.

trendintegerMandatory

Trend calculation flag (0=disabled, 1=enabled)

alert_configsarrayMandatory

Alert configuration array (empty for basic anomaly creation)

Show Sub-Attributes
alert_configurationsobjectMandatory

Anomaly alert level configuration settings

Show Sub-Attributes
lowbooleanOptional

Enable low severity anomaly alerts

highbooleanOptional

Enable high severity anomaly alerts

mediumbooleanOptional

Enable medium severity anomaly alerts

unit_codestringMandatory

Currency code for anomaly threshold

contact_idsarrayMandatory

User IDs for anomaly notification recipients (obtained with policy filter - users[].user_id)

Response Parameters

- HTTP code 200 Response Body - application/json

object
Show Sub-Attributes
messagestring
dataobject
Show Sub-Attributes
checks_idstring

Created anomaly check identifier for tracking

datastring

Anomaly creation confirmation message

codeinteger

- HTTP code 400 Response Body - application/json

object
Show Sub-Attributes
messagestring

Error message

errorstring

Detailed error description

codeinteger

Error code

- HTTP code 401 Response Body - application/json

object
Show Sub-Attributes
messagestring

Error message

errorstring

Authentication error description

codeinteger

Error code

- HTTP code 500 Response Body - application/json

object
Show Sub-Attributes
messagestring

Error message

errorstring

Server error description

codeinteger

Error code

Possible HTTP Status Codes

200HTTP code

Anomaly check created successfully

400HTTP code

Bad request - Invalid parameters or request format

401HTTP code

Unauthorized - Invalid or missing authentication

500HTTP code

Internal server error

List alert configurations for reports module

Retrieves Site24x7 monitor alert configurations available for cost account integration in the reports module.

Request URL

https://www.site24x7.com/cs/api/cost/reports/integration/alert_configs

Scope

CloudSpend.Internal.Read

Response Parameters

- HTTP code 200 Response Body - application/json

- HTTP code 400 Response Body - application/json

object
Show Sub-Attributes
messagestring

Error message

errorstring

Detailed error description

codeinteger

Error code

- HTTP code 401 Response Body - application/json

object
Show Sub-Attributes
messagestring

Error message

errorstring

Authentication error description

codeinteger

Error code

- HTTP code 500 Response Body - application/json

object
Show Sub-Attributes
messagestring

Error message

errorstring

Internal server error description

codeinteger

Error code

Possible HTTP Status Codes

200HTTP code

Successfully retrieved alert configurations

400HTTP code

Bad request - Invalid parameters or request format

401HTTP code

Unauthorized - Invalid or missing authentication

500HTTP code

Internal server error

Get governance billed resource details for rca

Retrieves detailed billing for resources causing governance violations with cost breakdown by service and region. Use this as part of the 5-API RCA workflow to get paginated billed resource details with cost, service, and region data.

Request URL

https://www.site24x7.com/cs/api/cost/governance/checks/rca/billed_resource_details

Scope

CloudSpend.Internal.Read

Request Parameters

- Query Parameters
ruleChecksIdstringMandatory

Governance policy identifier associated with the governance check.

incidentTimestringMandatory

Unix timestamp in milliseconds for the governance check period start time.

pageNumberintegerMandatory

Page number for pagination control (0-based indexing).

Response Parameters

- HTTP code 200 Response Body - application/json

object
Show Sub-Attributes
messagestring

Response message

dataobject

Paginated billed resource details

Show Sub-Attributes
dataarray

Array of billed resource details with cost breakdown

Show Sub-Attributes
coststring

Cost for this resource

cost_account_idstring

Cost account identifier

billed_account_namestring

Name of the billed account

service_namestring

Cloud service name

billed_account_idstring

Billed account identifier

resource_idstring

Resource identifier

region_namestring

Cloud region name

resource_namestring

Name of the resource

page_numberinteger

Current page number (0-based)

has_moreboolean

Indicates if more pages of data are available

codeinteger

Response status code

- HTTP code 400 Response Body - application/json

object
Show Sub-Attributes
messagestring

Error message

errorstring

Detailed error description

codeinteger

Error code

- HTTP code 401 Response Body - application/json

object
Show Sub-Attributes
messagestring

Error message

errorstring

Authentication error description

codeinteger

Error code

- HTTP code 500 Response Body - application/json

object
Show Sub-Attributes
messagestring

Error message

errorstring

Server error description

codeinteger

Error code

Possible HTTP Status Codes

200HTTP code

Successfully retrieved billed resource details for governance RCA

400HTTP code

Bad request - Invalid parameters or request format

401HTTP code

Unauthorized - Invalid or missing authentication

500HTTP code

Internal server error

Create a budget, anomaly, or governance policy

Creates a monitoring policy for cost thresholds, anomaly detection, or governance compliance within a specified account scope. Configure the policy using policy_type and the appropriate tags.

Request URL

https://www.site24x7.com/cs/api/cost/admin/budget_policy

Scope

CloudSpend.Internal.Create

Request Parameters

- Request Body

application/json
object
Show Sub-Attributes
governance_tagsarrayOptional

Tag validation rules for Governance policies (policy_type=2). Required nested array Not used for Budget/Anomaly policies.

account_typeintegerMandatory

Resource scope type: - 0: Cloud Accounts (individual AWS/Azure/GCP accounts) - 1: Cost Centers (organizational cost centers) - 2: Solution Reports (regions, services, linked accounts, etc.)

policy_typeintegerMandatory

Policy classification type: - 0: Budget/Anomaly policies (use budget_tags) - 2: Governance policies (use governance_tags and label)

account_idstringMandatory

Target account, cost center, or solution report ID based on account_type: - account_type 0: Cost account ID - account_type 1: Cost center ID - account_type 2: Solution report entity ID

cost_typeintegerMandatory

Cost calculation method based on cloud provider and account type

policy_namestringMandatory

User-defined display name for the budget policy

budget_tagsarrayOptional

Tag filtering for Budget/Anomaly policies (policy_type=0). Use empty array [] for no filtering or tag objects [{id, v}] for specific tags. Not used for Governance policies (use governance_tags instead).

Show Sub-Attributes
vintegerOptional

Tag version or selection indicator

idstringOptional

Tag identifier from available tags API

labelarrayOptional

Label metadata for Governance policies (policy_type=2). Key-value pairs for policy classification and organization. Not used for Budget/Anomaly policies.

Show Sub-Attributes
valuestringOptional

Label value

keystringOptional

Label key name

Response Parameters

- HTTP code 200 Response Body - application/json

object
Show Sub-Attributes
messagestring

Response status message

dataobject
Show Sub-Attributes
policy_idstring

Unique identifier for the newly created budget policy

datastring

Creation status confirmation message

codeinteger

Response status code

- HTTP code 400 Response Body - application/json

object
Show Sub-Attributes
messagestring

Error message

errorstring

Detailed error description

codeinteger

Error code

- HTTP code 401 Response Body - application/json

object
Show Sub-Attributes
messagestring

Error message

errorstring

Authentication error description

codeinteger

Error code

- HTTP code 403 Response Body - application/json

object
Show Sub-Attributes
messagestring

Error message

errorstring

Forbidden access error description

codeinteger

Error code

- HTTP code 500 Response Body - application/json

object
Show Sub-Attributes
messagestring

Error message

errorstring

Internal server error description

codeinteger

Error code

Possible HTTP Status Codes

200HTTP code

Budget policy created successfully

400HTTP code

Bad request - Invalid parameters or request format

401HTTP code

Unauthorized - Invalid or missing authentication

403HTTP code

Forbidden - Insufficient permissions

500HTTP code

Internal server error

Get available data range for custom report widgets

Retrieves min and max date boundaries for cloud cost data availability across all connected accounts. Use this to validate and constrain date picker selections when configuring time-based custom dashboard widgets.

Request URL

https://www.site24x7.com/cs/api/cost/custom_report/cloud_available_range

Scope

CloudSpend.Internal.Read

Response Parameters

- HTTP code 200 Response Body - application/json

object
Show Sub-Attributes
messagestring

Response status message

dataobject

Available data range boundaries

Show Sub-Attributes
max_datedate-time

Latest available data timestamp

min_datedate-time

Earliest available data timestamp

codeinteger

Response status code

- HTTP code 400 Response Body - application/json

object
Show Sub-Attributes
messagestring

Error message

errorstring

Detailed error description

codeinteger

Error code

- HTTP code 401 Response Body - application/json

object
Show Sub-Attributes
messagestring

Error message

errorstring

Authentication error description

codeinteger

Error code

- HTTP code 403 Response Body - application/json

object
Show Sub-Attributes
messagestring

Error message

errorstring

Forbidden access error description

codeinteger

Error code

- HTTP code 500 Response Body - application/json

object
Show Sub-Attributes
messagestring

Error message

errorstring

Internal server error description

codeinteger

Error code

Possible HTTP Status Codes

200HTTP code

Successfully retrieved available data range

400HTTP code

Bad request - Invalid parameters or request format

401HTTP code

Unauthorized - Invalid or missing authentication

403HTTP code

Forbidden - Insufficient permissions

500HTTP code

Internal server error

Get anomaly currency formats

Retrieves available currency formats for anomaly check configuration with formatting examples and localization support. Use this to populate currency selectors when creating anomaly checks, providing proper symbol display and formatting patterns.

Request URL

https://www.site24x7.com/cs/api/cost/anomaly/currencies_format

Scope

CloudSpend.Internal.Read

Response Parameters

- HTTP code 200 Response Body - application/json

object
Show Sub-Attributes
messagestring
dataarray

Available currencies with formatting examples for anomaly checks

Show Sub-Attributes
currencystring

Currency code (ISO 4217)

format_valuestring

Formatted value example showing currency symbol and number formatting

codeinteger

- HTTP code 400 Response Body - application/json

object
Show Sub-Attributes
messagestring

Error message

errorstring

Detailed error description

codeinteger

Error code

- HTTP code 401 Response Body - application/json

object
Show Sub-Attributes
messagestring

Error message

errorstring

Authentication error description

codeinteger

Error code

- HTTP code 500 Response Body - application/json

object
Show Sub-Attributes
messagestring

Error message

errorstring

Server error description

codeinteger

Error code

Possible HTTP Status Codes

200HTTP code

Successfully retrieved available anomaly currencies with formatting

400HTTP code

Bad request - Invalid parameters or request format

401HTTP code

Unauthorized - Invalid or missing authentication

500HTTP code

Internal server error

Get Account Tags

Provides cost allocation tags including usage types, operation types, and resource categories for tag-based cost analysis workflows.

Request URL

https://www.site24x7.com/cs/api/cost/accounts/tags

Scope

CloudSpend.Internal.Read

Request Parameters

- Query Parameters
JSONStringjson(matches: ^\\{.*\\}$)Mandatory

JSON string with account filtering parameters. MUST be valid JSON format.

Response Parameters

- HTTP code 200 Response Body - application/json

object

Response for getAccountTags API - cost allocation tags

Show Sub-Attributes
messagestring(length <= 255)

Response message

dataobject

Container for tags data

Show Sub-Attributes
Tagsarray

Array of cost allocation tags

Show Sub-Attributes
typestring(length <= 255)

Tag type classification

colorstring(length <= 50)

Tag display color (optional)

tagIdstring(length <= 255)

Unique tag identifier

valuestring(length <= 255)

Tag value

keystring(length <= 255)

Tag key name (usageType, operationType, etc.)

vinteger

Tag version/variation number

codeinteger

Response status code (0 = success)

- HTTP code 400 Response Body - application/json

object
Show Sub-Attributes
messagestring

Error message

errorstring

Detailed error description

codeinteger

Error code

- HTTP code 401 Response Body - application/json

object
Show Sub-Attributes
messagestring

Error message

errorstring

Authentication error description

codeinteger

Error code

- HTTP code 404 Response Body - application/json

object
Show Sub-Attributes
messagestring

Error message

errorstring

Not found error description

codeinteger

Error code

- HTTP code 500 Response Body - application/json

object
Show Sub-Attributes
messagestring

Error message

errorstring

Server error description

codeinteger

Error code

Possible HTTP Status Codes

200HTTP code

Successful response

400HTTP code

Bad request - Invalid parameters or request format

401HTTP code

Unauthorized - Invalid or missing authentication

404HTTP code

Not found - Resource does not exist

500HTTP code

Internal server error

Get current display currency setting

Retrieves the currently configured display currency (e.g., USD, CAD, INR) used for cost reporting across CloudSpend. Use this to initialize currency dropdowns and determine which currency format to apply when displaying cost values.

Request URL

https://www.site24x7.com/cs/api/cost/display_currency

Scope

CloudSpend.Internal.Read

Response Parameters

- HTTP code 200 Response Body - application/json

object
Show Sub-Attributes
messagestring

Response status message

dataobject
Show Sub-Attributes
display_currencystring

ISO currency code for current display currency

codeinteger

Response status code

- HTTP code 400 Response Body - application/json

object
Show Sub-Attributes
messagestring

Error message

errorstring

Detailed error description

codeinteger

Error code

- HTTP code 401 Response Body - application/json

object
Show Sub-Attributes
messagestring

Error message

errorstring

Authentication error description

codeinteger

Error code

- HTTP code 403 Response Body - application/json

object
Show Sub-Attributes
messagestring

Error message

errorstring

Forbidden access error description

codeinteger

Error code

- HTTP code 500 Response Body - application/json

object
Show Sub-Attributes
messagestring

Error message

errorstring

Internal server error description

codeinteger

Error code

Possible HTTP Status Codes

200HTTP code

Successfully retrieved display currency

400HTTP code

Bad request - Invalid parameters or request format

401HTTP code

Unauthorized - Invalid or missing authentication

403HTTP code

Forbidden - Insufficient permissions

500HTTP code

Internal server error

Get similar anomaly patterns

Discovers similar anomaly patterns for correlation analysis, trend detection, and pattern recognition. Use this to find related anomalies across services/accounts to identify systemic cost issues or correlated spikes.

Request URL

https://www.site24x7.com/cs/api/checks/anomaly/similar

Scope

CloudSpend.Internal.Read

Request Parameters

- Query Parameters
anomaly_idstringMandatory

Anomaly identifier with occurrences > 0

start_datedateMandatory

Start date for similarity analysis (YYYY-MM-DD)

end_datedateMandatory

End date for similarity analysis (YYYY-MM-DD)

Response Parameters

- HTTP code 200 Response Body - application/json

object
Show Sub-Attributes
messagestring
dataobject
Show Sub-Attributes
similar_anomaliesarray
Show Sub-Attributes
anomaly_namestring

Name of the similar anomaly

categoryinteger

Category classification: 1=Region, 2=Service, 3=Account, 10001=Account Type, 10002=Cost Center, 13=Resource, 15=Resource Group, 32=Instance Type, 33=Tag

anomaly_idstring

Related anomaly identifier

codeinteger

- HTTP code 400 Response Body - application/json

object
Show Sub-Attributes
messagestring

Error message

errorstring

Detailed error description

codeinteger

Error code

- HTTP code 401 Response Body - application/json

object
Show Sub-Attributes
messagestring

Error message

errorstring

Authentication error description

codeinteger

Error code

- HTTP code 500 Response Body - application/json

object
Show Sub-Attributes
messagestring

Error message

errorstring

Server error description

codeinteger

Error code

Possible HTTP Status Codes

200HTTP code

Successfully retrieved similar anomaly patterns

400HTTP code

Bad request - Invalid parameters or request format

401HTTP code

Unauthorized - Invalid or missing authentication

500HTTP code

Internal server error

Get governance compliance dashboard

Retrieves governance compliance dashboard with check status monitoring for accounts, cost centers, and reports. Use this to view all governance checks with compliance status, thresholds, and filtering by entity type and open/closed state.

Request URL

https://www.site24x7.com/cs/api/cost/governance/dashboard

Scope

CloudSpend.Internal.Read

Request Parameters

- Query Parameters
typeintegerMandatory

Governance check type filter.

anomaly_statusintegerMandatory

Governance status filter for dashboard results.

account_typeintegerMandatory

Entity type for governance monitoring scope.

start_datedateMandatory

Start date for governance analysis period.

end_datedateMandatory

End date for governance analysis period.

Response Parameters

- HTTP code 200 Response Body - application/json

object
Show Sub-Attributes
messagestring
dataarray
Show Sub-Attributes
checks_idstring

Governance check identifier

modeinteger

Check mode (5=Governance compliance)

account_typeinteger

Entity type (0=Account, 1=Cost Center, 2=Report)

account_idstring

Associated entity ID

policy_idstring

Governance policy ID

last_checked_timestampstring

Human-readable last check timestamp

last_checked_timestamp_isostring

ISO formatted last check timestamp

thresholdnumber

Governance threshold value

last_checked_timestring

Unix timestamp of last check (milliseconds)

checks_namestring

User-defined governance check name

statusinteger

Compliance status (1=Compliant, 2=Non-Compliant)

current_valuenumber

Current measured value for comparison

codeinteger

- HTTP code 400 Response Body - application/json

object
Show Sub-Attributes
messagestring

Error message

errorstring

Detailed error description

codeinteger

Error code

- HTTP code 401 Response Body - application/json

object
Show Sub-Attributes
messagestring

Error message

errorstring

Authentication error description

codeinteger

Error code

- HTTP code 500 Response Body - application/json

object
Show Sub-Attributes
messagestring

Error message

errorstring

Server error description

codeinteger

Error code

Possible HTTP Status Codes

200HTTP code

Successfully retrieved governance compliance dashboard

400HTTP code

Bad request - Invalid parameters or request format

401HTTP code

Unauthorized - Invalid or missing authentication

500HTTP code

Internal server error

Get users and groups for report delivery

Retrieves users and user groups available for configuring report delivery recipients. Use this to populate recipient selectors when scheduling any report type including anomaly, custom, allocation, savings, or tagging reports.

Request URL

https://www.site24x7.com/cs/api/cost/reports/users

Scope

CloudSpend.Internal.Read

Request Parameters

- Query Parameters
JSONStringstringMandatory

JSON string containing module and report context parameters

Response Parameters

- HTTP code 200 Response Body - application/json

object
Show Sub-Attributes
messagestring

Response status message

dataobject

Users and groups data

Show Sub-Attributes
from_emailstring

System from email for reports

contact_idstring

Current user contact ID

usersarray

Available users for report delivery

Show Sub-Attributes
email_addressstring

User email for delivery

display_namestring

User display name

user_role_namestring

General user role

is_account_contactboolean

Whether user is account contact

user_idstring

Unique user identifier for contact_ids

cloudspend_role_namestring

User role in CloudSpend

user_groupsarray

Available user groups for bulk delivery

Show Sub-Attributes
is_master_groupboolean

Whether this is a master group

display_namestring

Group display name

user_group_idstring

Group identifier for bulk selection

usersarray

User IDs in this group

codeinteger

Response status code

- HTTP code 400 Response Body - application/json

object
Show Sub-Attributes
messagestring

Error message

errorstring

Detailed error description

codeinteger

Error code

- HTTP code 401 Response Body - application/json

object
Show Sub-Attributes
messagestring

Error message

errorstring

Authentication error description

codeinteger

Error code

- HTTP code 403 Response Body - application/json

object
Show Sub-Attributes
messagestring

Error message

errorstring

Forbidden access error description

codeinteger

Error code

- HTTP code 500 Response Body - application/json

object
Show Sub-Attributes
messagestring

Error message

errorstring

Internal server error description

codeinteger

Error code

Possible HTTP Status Codes

200HTTP code

Successfully retrieved users and groups for delivery

400HTTP code

Bad request - Invalid parameters or request format

401HTTP code

Unauthorized - Invalid or missing authentication

403HTTP code

Forbidden - Insufficient permissions

500HTTP code

Internal server error

Get cost centers budget metadata

Retrieves budget and anomaly detection policies for cost centers with status tracking, period types, and account associations. Use this to get budget/anomaly policy IDs for report generation or to display active budget configurations.

Request URL

https://www.site24x7.com/cs/api/cost/cost_centers/budget_meta

Scope

CloudSpend.Internal.Read

Response Parameters

- HTTP code 200 Response Body - application/json

object
Show Sub-Attributes
messagestring

Response message

dataobject
Show Sub-Attributes
budget_dataarray

Array of budget and anomaly policies

Show Sub-Attributes
periodstring

Budget period type

account_typeinteger

Account classification (0=Cost Centers, 1=Cloud Account, 2=Linked Account)

account_idstring

Associated account identifier

policy_idstring

Budget policy identifier

budget_idstring

Budget identifier for report generation

namestring

Budget or anomaly policy name

checks_typestring

Type of monitoring (BUDGET or ANOMALY)

statusinteger

Policy status (1=Active, 5=Suspended, 15=Other)

codeinteger

Status code (0 indicates success)

- HTTP code 400 Response Body - application/json

object
Show Sub-Attributes
messagestring

Error message

errorstring

Detailed error description

codeinteger

Error code

- HTTP code 401 Response Body - application/json

object
Show Sub-Attributes
messagestring

Error message

errorstring

Authentication error description

codeinteger

Error code

- HTTP code 500 Response Body - application/json

object
Show Sub-Attributes
messagestring

Error message

errorstring

Server error description

codeinteger

Error code

Possible HTTP Status Codes

200HTTP code

Successfully retrieved budget metadata

400HTTP code

Bad request - Invalid parameters or request format

401HTTP code

Unauthorized - Invalid or missing authentication

500HTTP code

Internal server error

Get cost center tags for governance profiles

Retrieves tags available within a specific cost center for use as governance compliance rules. Use this when creating a governance profile with Account Type set to Cost Centers, to load which tags can be validated for compliance.

Request URL

https://www.site24x7.com/cs/api/cost/admin/cc_tags

Scope

CloudSpend.Internal.Read

Request Parameters

- Query Parameters
JSONStringstringMandatory

JSON string containing cost center and cost account configuration for tag retrieval

Response Parameters

- HTTP code 200 Response Body - application/json

object
Show Sub-Attributes
messagestring

Response status message

dataobject
Show Sub-Attributes
Tagsarray

Available tags for the cost center

Show Sub-Attributes
typestring

Tag type classification

tagIdstring

Unique identifier for the tag

valuestring

Tag value

keystring

Tag key/name

vinteger

Version or status indicator (can be negative for governance)

codeinteger

Response status code

- HTTP code 400 Response Body - application/json

object
Show Sub-Attributes
messagestring

Error message

errorstring

Detailed error description

codeinteger

Error code

- HTTP code 401 Response Body - application/json

object
Show Sub-Attributes
messagestring

Error message

errorstring

Authentication error description

codeinteger

Error code

- HTTP code 403 Response Body - application/json

object
Show Sub-Attributes
messagestring

Error message

errorstring

Forbidden access error description

codeinteger

Error code

- HTTP code 500 Response Body - application/json

object
Show Sub-Attributes
messagestring

Error message

errorstring

Internal server error description

codeinteger

Error code

Possible HTTP Status Codes

200HTTP code

Successfully retrieved cost center tags

400HTTP code

Bad request - Invalid parameters or request format

401HTTP code

Unauthorized - Invalid or missing authentication

403HTTP code

Forbidden - Insufficient permissions

500HTTP code

Internal server error

Get cloud discounts analysis

Retrieves cloud discount analysis across AWS, Azure, and GCP for custom dashboard widgets. Use this to populate dashboard widgets showing cost savings and discount utilization by cloud provider.

Request URL

https://www.site24x7.com/cs/api/cost/custom_report/cloud_discounts

Scope

CloudSpend.Internal.Read

Request Parameters

- Query Parameters
JSONStringstringMandatory

JSON string containing date range parameters for discount analysis.

Response Parameters

- HTTP code 200 Response Body - application/json

object
Show Sub-Attributes
messagestring

Response status message

dataobject

Cloud discount data organized by provider

Show Sub-Attributes
codeinteger

Response status code (0 = success)

- HTTP code 400 Response Body - application/json

object
Show Sub-Attributes
messagestring

Error message

errorstring

Detailed error description

codeinteger

Error code

- HTTP code 401 Response Body - application/json

object
Show Sub-Attributes
messagestring

Error message

errorstring

Authentication error description

codeinteger

Error code

- HTTP code 403 Response Body - application/json

object
Show Sub-Attributes
messagestring

Error message

errorstring

Forbidden access error description

codeinteger

Error code

- HTTP code 500 Response Body - application/json

object
Show Sub-Attributes
messagestring

Error message

errorstring

Internal server error description

codeinteger

Error code

Possible HTTP Status Codes

200HTTP code

Successfully retrieved cloud discount data

400HTTP code

Bad request - Invalid parameters or request format

401HTTP code

Unauthorized - Invalid or missing authentication

403HTTP code

Forbidden - Insufficient permissions

500HTTP code

Internal server error

Set custom tags for cost accounts

Sets custom tag assignment for CloudSpend accounts with user-defined key-value pairs.

Request URL

https://www.site24x7.com/cs/api/cost/accounts/custom_tags_for_cc_ca

Scope

CloudSpend.Internal.Create

Request Parameters

- Request Body

application/json
object
Show Sub-Attributes
cost_account_idstring(matches: ^[^0]+.*$)Mandatory
typestringMandatory

Tag assignment type

variationintegerMandatory

MUST be -3 for custom account tag assignment

tagsarrayMandatory

Array of tag objects with key-value pairs from USER INPUT ONLY.

Show Sub-Attributes
valuestringMandatory

Tag value from user input.

keystringMandatory

Tag key name from user input.

Response Parameters

- HTTP code 200 Response Body - application/json

object

Response for setCustomTagsForAccount API - tag creation result

Show Sub-Attributes
messagestring(length <= 255)

Response message

dataobject

Tag creation result

Show Sub-Attributes
tagIdlong

Created tag identifier

statusstring(length <= 255)

Operation status message

codeinteger

Response status code (0 = success)

- HTTP code 400 Response Body - application/json

object
Show Sub-Attributes
messagestring

Error message

errorstring

Detailed error description

codeinteger

Error code

Possible HTTP Status Codes

200HTTP code

Successful response

400HTTP code

Bad request - Invalid parameters or request format

Get anomaly historical data and timeline

Retrieves anomaly historical data with financial impact, status tracking, and timeline analysis. Use this to get detailed anomaly occurrence history with cost impact and status for a specific anomaly check.

Request URL

https://www.site24x7.com/cs/api/checks/anomaly/data

Scope

CloudSpend.Internal.Read

Request Parameters

- Query Parameters
anomaly_idstringMandatory

Anomaly identifier with occurrences > 0

start_datedateMandatory

Start date for anomaly historical analysis (YYYY-MM-DD)

end_datedateMandatory

End date for anomaly historical analysis (YYYY-MM-DD)

Response Parameters

- HTTP code 200 Response Body - application/json

object
Show Sub-Attributes
messagestring
dataobject
Show Sub-Attributes
anomaly_namestring

Name of the anomaly check

anomaliesarray
Show Sub-Attributes
updated_timestring

Unix timestamp when anomaly was last updated

detected_timestring

Unix timestamp when anomaly was detected (use for RCA APIs)

currency_symbolstring

Currency symbol for cost values

currency_localestring

Currency locale formatting

deviation_percentagenumber

Percentage deviation from expected value

anomaly_levelstring

Severity level of the anomaly

currency_codestring

ISO currency code

updated_timestampstring

Human-readable update timestamp

anomaly_statusstring

Current status of the anomaly

anomaly_status_codeinteger

Numeric status code

anomaly_typestring

Type of anomaly detected

expected_valuenumber

Expected cost value

detected_timestampstring

Human-readable detection timestamp

valuenumber

Actual cost value that triggered anomaly

codeinteger

- HTTP code 400 Response Body - application/json

object
Show Sub-Attributes
messagestring

Error message

errorstring

Detailed error description

codeinteger

Error code

- HTTP code 401 Response Body - application/json

object
Show Sub-Attributes
messagestring

Error message

errorstring

Authentication error description

codeinteger

Error code

- HTTP code 500 Response Body - application/json

object
Show Sub-Attributes
messagestring

Error message

errorstring

Server error description

codeinteger

Error code

Possible HTTP Status Codes

200HTTP code

Successfully retrieved anomaly historical data

400HTTP code

Bad request - Invalid parameters or request format

401HTTP code

Unauthorized - Invalid or missing authentication

500HTTP code

Internal server error

Create a new tag profile

Creates a tag profile that groups cloud resources by selected tags from specified cost accounts, with a display name and color for identification. Use this when an admin wants to define a reusable tag-based categorization for cost allocation and reporting across selected accounts.

Request URL

https://www.site24x7.com/cs/api/cost/admin/tag_profile

Scope

CloudSpend.Internal.Create

Request Parameters

- Request Body

application/json
object
Show Sub-Attributes
namestringMandatory

Display name for the tag profile

cost_account_idarrayMandatory

List of cost account IDs to associate with this tag profile

colorstringMandatory

Color code for visual identification of the profile

tagsarrayMandatory

Complex tag configuration structure with nested arrays for tag selection

Response Parameters

- HTTP code 200 Response Body - application/json

object
Show Sub-Attributes
messagestring

Response status message

dataobject
Show Sub-Attributes
tagIdstring

Unique identifier for the newly created tag profile

statusstring

Creation status confirmation message

codeinteger

Response status code

- HTTP code 400 Response Body - application/json

object
Show Sub-Attributes
messagestring

Error message

errorstring

Detailed error description

codeinteger

Error code

- HTTP code 401 Response Body - application/json

object
Show Sub-Attributes
messagestring

Error message

errorstring

Authentication error description

codeinteger

Error code

- HTTP code 403 Response Body - application/json

object
Show Sub-Attributes
messagestring

Error message

errorstring

Forbidden access error description

codeinteger

Error code

- HTTP code 500 Response Body - application/json

object
Show Sub-Attributes
messagestring

Error message

errorstring

Internal server error description

codeinteger

Error code

Possible HTTP Status Codes

200HTTP code

Successfully created tag profile

400HTTP code

Bad request - Invalid parameters or request format

401HTTP code

Unauthorized - Invalid or missing authentication

403HTTP code

Forbidden - Insufficient permissions

500HTTP code

Internal server error

Get governance check detailed information

Retrieves detailed governance check information with policy details, status tracking, and configuration metadata. Use this to inspect a specific governance check's policy associations, threshold settings, and compliance status.

Request URL

https://www.site24x7.com/cs/api/cost/governance/budget_info/{governance_id}

Scope

CloudSpend.Internal.Read

Request Parameters

- Path Parameters
governance_idstringMandatory

Governance check identifier.

Response Parameters

- HTTP code 200 Response Body - application/json

object
Show Sub-Attributes
messagestring
dataobject
Show Sub-Attributes
infoobject
Show Sub-Attributes
created_timestring

Governance check creation timestamp

periodstring

Governance monitoring period

forecasted_valnumber

Forecasted governance value

currency_localestring

Currency locale for formatting

forecast_percentnumber

Forecast percentage

notify_viainteger

Notification method (1=email)

budget_percentnumber

Budget percentage utilization

currency_codestring

Currency code for governance thresholds

modestring

Governance mode that determines how values are measured and displayed: - Count: Values represent occurrence counts (not currency). Display as integers without currency symbols. - Percentage: Values represent percentage thresholds.

period_rhstring

Period resource handle

currency_unicodestring

Currency symbol

last_updated_timestring

Last update timestamp

mode_idinteger

Mode identifier that determines value interpretation: - 5 (Count): All values (usage, threshold, deviation) are occurrence COUNTS. Do NOT prefix with currency symbols. - 6 (Percentage): Values are percentage-based thresholds.

namestring

Governance check name

policyobject
Show Sub-Attributes
policy_namestring

Policy name

account_typeinteger

Account type (0=Account, 1=Cost Center, 2=Report)

account_idstring

Account identifier

policy_idstring

Policy identifier

cost_typestring

Cost type configuration

account_namestring

Account name

statusinteger

Governance status (1=Compliant, 2=Non-Compliant)

codeinteger

- HTTP code 400 Response Body - application/json

object
Show Sub-Attributes
messagestring

Error message

errorstring

Detailed error description

codeinteger

Error code

- HTTP code 401 Response Body - application/json

object
Show Sub-Attributes
messagestring

Error message

errorstring

Authentication error description

codeinteger

Error code

- HTTP code 500 Response Body - application/json

object
Show Sub-Attributes
messagestring

Error message

errorstring

Server error description

codeinteger

Error code

Possible HTTP Status Codes

200HTTP code

Successfully retrieved governance check information

400HTTP code

Bad request - Invalid parameters or request format

401HTTP code

Unauthorized - Invalid or missing authentication

500HTTP code

Internal server error

Generate allocation hierarchy report

Generates cost allocation hierarchy reports with organizational structure, cost breakdowns, and allocation distribution.

Request URL

https://www.site24x7.com/cs/api/cost/accounts/hierarchy/report

Scope

CloudSpend.Internal.Create

Request Parameters

- Request Body

application/json
object
Show Sub-Attributes
cost_idsarrayMandatory

Allocation IDs

profileobjectMandatory

Report scheduling profile

Show Sub-Attributes
profile_idstringMandatory

Report profile ID for scheduling

formatintegerMandatory

Report format (1=PDF, 2=CSV)

report_namestringMandatory

Name for the allocation report

typeintegerMandatory

Report type (34 for allocation reports)

contact_idsarrayMandatory

Contact details for report delivery

Show Sub-Attributes
contact_idstringMandatory

User contact ID

contact_typestringMandatory

Contact type (1=user)

frequencyintegerMandatory

Report frequency from profile (use exact profile values)

Response Parameters

- HTTP code 200 Response Body - application/json

object

Response for generateHierarchyReport API - hierarchy report scheduling confirmation

Show Sub-Attributes
messagestring(length <= 255)

Response message indicating report generation status

dataobject

Report generation result

Show Sub-Attributes
scheduled_timestring

Scheduled delivery time with timezone

report_idstring

Generated report identifier

statusstring

Report status (scheduled, processing, etc.)

codeinteger

Response status code (0 = success)

- HTTP code 400 Response Body - application/json

object
Show Sub-Attributes
messagestring

Error message

errorstring

Detailed error description

codeinteger

Error code

Possible HTTP Status Codes

200HTTP code

Report generation initiated successfully

400HTTP code

Bad request - Invalid parameters or request format

Get account tags for budget configuration

Retrieves available tags for accounts to enable tag-based filtering in budget configuration. Use this to discover which tags are available for a specific account before creating tag-filtered budget policies.

Request URL

https://www.site24x7.com/cs/api/cost/budget/tags

Scope

CloudSpend.Internal.Read

Request Parameters

- Query Parameters
JSONStringstringMandatory

JSON string containing account ID for tag retrieval.

Response Parameters

- HTTP code 200 Response Body - application/json

object
Show Sub-Attributes
messagestring
dataobject
Show Sub-Attributes
Tagsarray

Available tags for the account

Show Sub-Attributes
typestring

Tag type classification

tagIdstring

Unique tag identifier for policy configuration

valuestring

Tag value for display and filtering

vinteger

Tag version number

keystring

Tag key name for identification

codeinteger

- HTTP code 400 Response Body - application/json

object
Show Sub-Attributes
messagestring

Error message

errorstring

Detailed error description

codeinteger

Error code

- HTTP code 401 Response Body - application/json

object
Show Sub-Attributes
messagestring

Error message

errorstring

Authentication error description

codeinteger

Error code

- HTTP code 500 Response Body - application/json

object
Show Sub-Attributes
messagestring

Error message

errorstring

Server error description

codeinteger

Error code

Possible HTTP Status Codes

200HTTP code

Successfully retrieved tags for the specified account

400HTTP code

Bad request - Invalid parameters or request format

401HTTP code

Unauthorized - Invalid or missing authentication

500HTTP code

Internal server error

Get tagging compliance unbilled resource count and metadata

Retrieves unbilled and billed resource metadata with data freshness timestamps for compliance analysis. Use this to verify data availability before generating detailed compliance reports.

Request URL

https://www.site24x7.com/cs/api/cost/reports/compliance/tagging/unbilled/count

Scope

CloudSpend.Internal.Read

Request Parameters

- Query Parameters
business_unit_idstringMandatory

Custom tagging compliance report ID for count analysis

is_custom_reportbooleanMandatory

Flag indicating this is a custom report analysis

Response Parameters

- HTTP code 200 Response Body - application/json

object
Show Sub-Attributes
messagestring
dataobject
Show Sub-Attributes
dfs_metaobject
Show Sub-Attributes
unbilledarray
billedarray
codeinteger

- HTTP code 400 Response Body - application/json

object
Show Sub-Attributes
messagestring

Error message

errorstring

Detailed error description

codeinteger

Error code

- HTTP code 401 Response Body - application/json

object
Show Sub-Attributes
messagestring

Error message

errorstring

Authentication error description

codeinteger

Error code

- HTTP code 403 Response Body - application/json

object
Show Sub-Attributes
messagestring

Error message

errorstring

Forbidden access error description

codeinteger

Error code

- HTTP code 500 Response Body - application/json

object
Show Sub-Attributes
messagestring

Error message

errorstring

Internal server error description

codeinteger

Error code

Possible HTTP Status Codes

200HTTP code

Successfully retrieved unbilled count metadata

400HTTP code

Bad request - Invalid parameters or request format

401HTTP code

Unauthorized - Invalid or missing authentication

403HTTP code

Forbidden - Insufficient permissions

500HTTP code

Internal server error

Get anomaly trend chart data

Retrieves time-series anomaly occurrence data by status for trend visualization and pattern analysis. Use this to display anomaly frequency trends over time with status breakdown in the anomaly trend chart view.

Request URL

https://www.site24x7.com/cs/api/reports/anomaly/summary/list/chart

Scope

CloudSpend.Internal.Read

Request Parameters

- Query Parameters
anomaly_idstringMandatory

Unique anomaly identifier for trend chart generation

start_datedateMandatory

Chart analysis start date for trend data

end_datedateMandatory

Chart analysis end date for trend data

Response Parameters

- HTTP code 200 Response Body - application/json

object
Show Sub-Attributes
messagestring
dataobject
Show Sub-Attributes
metaobject

Anomaly metadata for chart context

Show Sub-Attributes
last_detected_timestampdate-time

Last detection timestamp in ISO format

anomaly_idstring

Anomaly identifier

cloud_type_namestring

Cloud provider name

cloud_typeinteger

Cloud provider type (0=AWS, 1=Azure, 2=GCP)

last_detected_timestring

Last detection timestamp (epoch milliseconds)

category_idinteger

Category type identifier

cost_account_namestring

Associated cost account

anomaly_namestring

Anomaly display name

categorystring

Category name (Region, Service, Account, etc.)

total_occurencesstring

Total anomaly occurrences count

chart_dataobject

Chart data grouped by anomaly status

Show Sub-Attributes
1array

Open anomalies trend data

2array

False positive anomalies trend data

3array

Acknowledged anomalies trend data

codeinteger

- HTTP code 400 Response Body - application/json

object
Show Sub-Attributes
messagestring

Error message

errorstring

Detailed error description

codeinteger

Error code

- HTTP code 401 Response Body - application/json

object
Show Sub-Attributes
messagestring

Error message

errorstring

Authentication error description

codeinteger

Error code

- HTTP code 403 Response Body - application/json

object
Show Sub-Attributes
messagestring

Error message

errorstring

Forbidden access error description

codeinteger

Error code

- HTTP code 500 Response Body - application/json

object
Show Sub-Attributes
messagestring

Error message

errorstring

Internal server error description

codeinteger

Error code

Possible HTTP Status Codes

200HTTP code

Successfully retrieved anomaly trend chart data

400HTTP code

Bad request - Invalid parameters or request format

401HTTP code

Unauthorized - Invalid or missing authentication

403HTTP code

Forbidden - Insufficient permissions

500HTTP code

Internal server error

Get savings analysis data

Retrieves savings breakdown by accounts, regions, and services with on-demand, charged, and savings metrics. Use this to display cost savings from Reserved Instances, Savings Plans, and committed use discounts in the savings report.

Request URL

https://www.site24x7.com/cs/api/cost/savings/overall

Scope

CloudSpend.Internal.Read

Request Parameters

- Request Body

application/json
object
Show Sub-Attributes
end_datedateMandatory

End date for savings analysis period

cost_tagsarrayOptional

Cost tags filter (always empty array for savings reports)

periodintegerMandatory

Period identifier (always 1 for savings reports)

accountsarrayMandatory

Selected cost accounts with their billing account IDs for savings analysis

Show Sub-Attributes
cost_account_idstringOptional

Parent cost account ID from accounts data API

billing_account_idsarrayOptional

Child billing account IDs from spend analysis API

cost_typeintegerMandatory

Cost type identifier (always 0 for savings reports)

start_datedateMandatory

Start date for savings analysis period

Response Parameters

- HTTP code 200 Response Body - application/json

object
Show Sub-Attributes
messagestring
dataobject
Show Sub-Attributes
return_dataobject
Show Sub-Attributes
savings_dataarray

Savings analysis data for each billing account. Field names vary by cloud provider (check cloud_type_id).

Show Sub-Attributes
ONDEMAND_COSTnumber

AWS only: On Demand cost without discounts. Maps to UI 'On Demand ($)'

CREDIT_AMOUNTnumber

GCP only: Credits applied (negative value). Savings = -CREDIT_AMOUNT

namestring

Account/subscription display name. Maps to UI 'Display Name' column

PAYG_PRICEnumber

Azure only: Pay-As-You-Go price (On Demand equivalent). Maps to UI 'On Demand ($)'

idstring

Billing account ID

ACTUAL_COSTnumber

Azure/GCP: Actual charged cost after reservations/discounts. Maps to UI 'Charged ($)'

UNBLENDED_COSTnumber

AWS only: Charged cost after RIs/Savings Plans. Maps to UI 'Charged ($)'

cloud_type_idinteger

Cloud provider type (0=AWS, 1=Azure, 2=GCP)

codeinteger

- HTTP code 400 Response Body - application/json

object
Show Sub-Attributes
messagestring

Error message

errorstring

Detailed error description

codeinteger

Error code

- HTTP code 401 Response Body - application/json

object
Show Sub-Attributes
messagestring

Error message

errorstring

Authentication error description

codeinteger

Error code

- HTTP code 403 Response Body - application/json

object
Show Sub-Attributes
messagestring

Error message

errorstring

Forbidden access error description

codeinteger

Error code

- HTTP code 500 Response Body - application/json

object
Show Sub-Attributes
messagestring

Error message

errorstring

Internal server error description

codeinteger

Error code

Possible HTTP Status Codes

200HTTP code

Successfully retrieved savings analysis data

400HTTP code

Bad request - Invalid parameters or request format

401HTTP code

Unauthorized - Invalid or missing authentication

403HTTP code

Forbidden - Insufficient permissions

500HTTP code

Internal server error

Get solution reports metadata for profile configuration

Retrieves solution report entities (regions, services, linked accounts, resource groups, etc.) organized by cost account for report-level profile and boundary configuration. Use this as source data when creating budget profiles with Resource Type set to Reports, or when configuring Permission Boundary source rules.

Request URL

https://www.site24x7.com/cs/api/cost/admin/solution_reports_meta

Scope

CloudSpend.Internal.Read

Response Parameters

- HTTP code 200 Response Body - application/json

object
Show Sub-Attributes
messagestring

Response status message

dataobject
Show Sub-Attributes
nav_dataarray

Navigation structure for organizing report categories by cloud provider

Show Sub-Attributes
namestring

Navigation category name

subitemsarray

Subcategories organized by cost account

Show Sub-Attributes
namestring

Cost account name

subitemsarray

Report categories available for the account

Show Sub-Attributes
namestring

Report category name

countstring

Number of entities in this category

idstring

Report type identifier

idstring

Cost account identifier

idstring

Cloud type identifier

reports_metaobject

Solution reports metadata organized by cost account ID

Show Sub-Attributes
reports_cx_preferencesarray

User customization preferences for report display

Show Sub-Attributes
codeinteger

Response status code

- HTTP code 400 Response Body - application/json

object
Show Sub-Attributes
messagestring

Error message

errorstring

Detailed error description

codeinteger

Error code

- HTTP code 401 Response Body - application/json

object
Show Sub-Attributes
messagestring

Error message

errorstring

Authentication error description

codeinteger

Error code

- HTTP code 403 Response Body - application/json

object
Show Sub-Attributes
messagestring

Error message

errorstring

Forbidden access error description

codeinteger

Error code

- HTTP code 500 Response Body - application/json

object
Show Sub-Attributes
messagestring

Error message

errorstring

Internal server error description

codeinteger

Error code

Possible HTTP Status Codes

200HTTP code

Successfully retrieved solution reports metadata

400HTTP code

Bad request - Invalid parameters or request format

401HTTP code

Unauthorized - Invalid or missing authentication

403HTTP code

Forbidden - Insufficient permissions

500HTTP code

Internal server error

Get governance alert history

Retrieves governance alert history with notification details, timestamps, and metadata. Use this to review chronological governance alert notifications and threshold breach events for a specific check.

Request URL

https://www.site24x7.com/cs/api/cost/governance/budget_alerts/{governance_id}

Scope

CloudSpend.Internal.Read

Request Parameters

- Path Parameters
governance_idstringMandatory

Governance check identifier.

Response Parameters

- HTTP code 200 Response Body - application/json

object
Show Sub-Attributes
messagestring
dataobject
Show Sub-Attributes
metaobject
Show Sub-Attributes
modestring

Governance mode (Count or Percentage)

created_timestring

Governance check creation timestamp

account_typeinteger

Account type (0=Account, 1=Cost Center, 2=Report)

budget_namestring

Governance check name

currency_symbolstring

Currency symbol

mode_idinteger

Mode identifier (5=Count, 6=Percentage)

currency_localestring

Currency locale for formatting

currency_codestring

Currency code

statusinteger

Governance status (1=Compliant, 2=Non-Compliant)

return_dataarray

Recent alerts list

Show Sub-Attributes
notified_viastring

Notification method (Email, SMS, etc.)

periodstring

Alert period

notified_timestring

Notification timestamp (Unix milliseconds)

usage_valnumber

Occurred/usage value

deviationnumber

Deviation from threshold

budgetednumber

Configured threshold

statusinteger

Status (1=Compliant, 2=Non-Compliant)

codeinteger

- HTTP code 400 Response Body - application/json

object
Show Sub-Attributes
messagestring

Error message

errorstring

Detailed error description

codeinteger

Error code

- HTTP code 401 Response Body - application/json

object
Show Sub-Attributes
messagestring

Error message

errorstring

Authentication error description

codeinteger

Error code

- HTTP code 500 Response Body - application/json

object
Show Sub-Attributes
messagestring

Error message

errorstring

Server error description

codeinteger

Error code

Possible HTTP Status Codes

200HTTP code

Successfully retrieved governance alert history

400HTTP code

Bad request - Invalid parameters or request format

401HTTP code

Unauthorized - Invalid or missing authentication

500HTTP code

Internal server error

Get accounts overview with processing status

Retrieves all CloudSpend accounts with their processing status, current and previous month spending, forecast values, and top spending entities. Use this to display the admin accounts dashboard showing which accounts are processed, suspended, or have configuration errors along with cost trends.

Request URL

https://www.site24x7.com/cs/api/cost/admin/accounts

Scope

CloudSpend.Internal.Read

Response Parameters

- HTTP code 200 Response Body - application/json

object
Show Sub-Attributes
messagestring

Response status message

dataobject

Complete accounts overview and status information

Show Sub-Attributes
current_month_totalnumber

Total spending across all accounts for current month

previous_month_totalnumber

Total spending across all accounts for previous month

total_accountsinteger

Total number of accounts configured

all_accountsobject

Categorized account information by processing status

Show Sub-Attributes
processing_accountsobject

Accounts currently being processed

Show Sub-Attributes
suspended_accountsobject

Accounts that have been suspended

Show Sub-Attributes
config_error_accountsobject

Accounts with configuration errors

Show Sub-Attributes
processed_accountsobject

Successfully processed accounts with detailed metrics

Show Sub-Attributes
codeinteger

Response status code

- HTTP code 400 Response Body - application/json

object
Show Sub-Attributes
messagestring

Error message

errorstring

Detailed error description

codeinteger

Error code

- HTTP code 401 Response Body - application/json

object
Show Sub-Attributes
messagestring

Error message

errorstring

Authentication error description

codeinteger

Error code

- HTTP code 403 Response Body - application/json

object
Show Sub-Attributes
messagestring

Error message

errorstring

Forbidden access error description

codeinteger

Error code

- HTTP code 500 Response Body - application/json

object
Show Sub-Attributes
messagestring

Error message

errorstring

Internal server error description

codeinteger

Error code

Possible HTTP Status Codes

200HTTP code

Successfully retrieved accounts overview

400HTTP code

Bad request - Invalid parameters or request format

401HTTP code

Unauthorized - Invalid or missing authentication

403HTTP code

Forbidden - Insufficient permissions

500HTTP code

Internal server error

Get available tags for cost allocation hierarchy

Retrieves available cost tags for selected accounts to enable tag-based hierarchy levels in cost allocations. Use this after account selection to discover system and user-defined tags for building custom allocation hierarchies.

Request URL

https://www.site24x7.com/cs/api/cost/reports/allocations/tags

Scope

CloudSpend.Internal.Read

Request Parameters

- Query Parameters
cost_account_idsstringMandatory

Array of cost account IDs to retrieve tags for (URL-encoded JSON array)

startintegerMandatory

Pagination start index (typically 0)

Response Parameters

- HTTP code 200 Response Body - application/json

object
Show Sub-Attributes
messagestring
dataobject
Show Sub-Attributes
cloud_typesarray

Cloud types present in selected accounts

tag_detailsobject

Tags organized by cost account ID

Show Sub-Attributes
codeinteger

- HTTP code 400 Response Body - application/json

object
Show Sub-Attributes
messagestring

Error message

errorstring

Detailed error description

codeinteger

Error code

- HTTP code 401 Response Body - application/json

object
Show Sub-Attributes
messagestring

Error message

errorstring

Authentication error description

codeinteger

Error code

- HTTP code 403 Response Body - application/json

object
Show Sub-Attributes
messagestring

Error message

errorstring

Forbidden access error description

codeinteger

Error code

- HTTP code 500 Response Body - application/json

object
Show Sub-Attributes
messagestring

Error message

errorstring

Internal server error description

codeinteger

Error code

Possible HTTP Status Codes

200HTTP code

Successfully retrieved tags for allocation hierarchy creation

400HTTP code

Bad request - Invalid parameters or request format

401HTTP code

Unauthorized - Invalid or missing authentication

403HTTP code

Forbidden - Insufficient permissions

500HTTP code

Internal server error

Get governance rca unbilled resource names

Retrieves unbilled resource names for governance analysis - resources not yet reflected in billing. Use this as part of the 5-API RCA workflow to identify non-compliant resources that haven't appeared in billing yet.

Request URL

https://www.site24x7.com/cs/api/cost/governance/checks/rca/unbilled_resource/names

Scope

CloudSpend.Internal.Read

Request Parameters

- Query Parameters
ruleChecksIdstringMandatory

Governance policy identifier associated with the governance check.

incidentTimestringMandatory

Unix timestamp in milliseconds for the governance check period start time.

Response Parameters

- HTTP code 200 Response Body - application/json

object
Show Sub-Attributes
messagestring
dataarray
Show Sub-Attributes
resource_namestring

Name of the resource

resource_idstring

Resource identifier

billed_account_namestring

Name of the account

codeinteger

- HTTP code 400 Response Body - application/json

object
Show Sub-Attributes
messagestring

Error message

errorstring

Authentication error description

codeinteger

Error code

- HTTP code 500 Response Body - application/json

object
Show Sub-Attributes
messagestring

Error message

errorstring

Server error description

codeinteger

Error code

Possible HTTP Status Codes

200HTTP code

Successfully retrieved unbilled resource names for governance RCA

400HTTP code

Unauthorized - Invalid or missing authentication

500HTTP code

Internal server error

Get historical exchange rates by month

Retrieves historical exchange rates organized by month, showing base currency to display currency conversion rates and whether they are system-generated or custom. Use this to display the Exchange Rates table in Currency Management with columns for Base Currency, Display Currency, and Conversion Rate per month.

Request URL

https://www.site24x7.com/cs/api/cost/exchange_rates

Scope

CloudSpend.Internal.Read

Response Parameters

- HTTP code 200 Response Body - application/json

object
Show Sub-Attributes
messagestring

Response status message

dataarray

Historical exchange rates organized by month

Show Sub-Attributes
monthstring

Month and year for the exchange rate period

valuesarray

Exchange rate conversions for this month

Show Sub-Attributes
base_currencystring

Source currency code

display_currencystring

Target currency code for conversion

has_exchange_rateboolean

Whether exchange rate is available/valid

exchange_ratenumber

Conversion rate from base to display currency

is_exchange_rate_inputboolean

Whether this is a manually input custom rate

codeinteger

Response status code

- HTTP code 400 Response Body - application/json

object
Show Sub-Attributes
messagestring

Error message

errorstring

Detailed error description

codeinteger

Error code

- HTTP code 401 Response Body - application/json

object
Show Sub-Attributes
messagestring

Error message

errorstring

Authentication error description

codeinteger

Error code

- HTTP code 403 Response Body - application/json

object
Show Sub-Attributes
messagestring

Error message

errorstring

Forbidden access error description

codeinteger

Error code

- HTTP code 500 Response Body - application/json

object
Show Sub-Attributes
messagestring

Error message

errorstring

Internal server error description

codeinteger

Error code

Possible HTTP Status Codes

200HTTP code

Successfully retrieved exchange rates

400HTTP code

Bad request - Invalid parameters or request format

401HTTP code

Unauthorized - Invalid or missing authentication

403HTTP code

Forbidden - Insufficient permissions

500HTTP code

Internal server error

Get rule group details

Retrieves the detailed rule configuration for a specific rule group, showing which accounts (sourceIds) and variation types are included or excluded. Use this after selecting a permission boundary to load its specific access restriction rules for display or editing.

Request URL

https://www.site24x7.com/cs/api/cost/admin/rule/group/details

Scope

CloudSpend.Internal.Read

Request Parameters

- Query Parameters
rule_group_idstringMandatory

Rule group identifier from virtual tag list

Response Parameters

- HTTP code 200 Response Body - application/json

object
Show Sub-Attributes
messagestring
dataobject
Show Sub-Attributes
ruleGroupIdstring

Rule group identifier

rulesarray

Array of rules defining data access restrictions

Show Sub-Attributes
patternstring

Pattern for matching (NULL for direct ID match)

variationIdstring

Variation type (-1000 for account-based)

ruleIdstring

Individual rule identifier

modeIdstring

Rule mode (1=include)

sourceIdsarray

List of account IDs this rule applies to

ruleGroupNamestring

Rule group display name

codeinteger

- HTTP code 400 Response Body - application/json

object
Show Sub-Attributes
messagestring

Error message

errorstring

Detailed error description

codeinteger

Error code

- HTTP code 401 Response Body - application/json

object
Show Sub-Attributes
messagestring

Error message

errorstring

Authentication error description

codeinteger

Error code

- HTTP code 403 Response Body - application/json

object
Show Sub-Attributes
messagestring

Error message

errorstring

Forbidden access error description

codeinteger

Error code

- HTTP code 500 Response Body - application/json

object
Show Sub-Attributes
messagestring

Error message

errorstring

Internal server error description

codeinteger

Error code

Possible HTTP Status Codes

200HTTP code

Successfully retrieved rule group details

400HTTP code

Bad request - Invalid parameters or request format

401HTTP code

Unauthorized - Invalid or missing authentication

403HTTP code

Forbidden - Insufficient permissions

500HTTP code

Internal server error

Create a new user

Creates a new CloudSpend user with a specified role (Admin, User, Alert Contact, or Custom), job title, and user group assignments, then sends an invitation email. Use this when an admin invites a new team member to CloudSpend with specific access permissions.

Request URL

https://www.site24x7.com/cs/api/cost/users

Scope

CloudSpend.Internal.Create

Request Parameters

- Request Body

application/json
object
Show Sub-Attributes
user_roleintegerMandatory

Site24x7 user role (REQUIRED - must match cloudspend_role): - 0: Alert Contact (with cloudspend_role=0) - 1: Admin (with cloudspend_role=12) - 10: User (with cloudspend_role=11) - Custom: Use role's user_role value (with cloudspend_role=101)

email_addressemailMandatory

User's email address (must be unique)

cloudspend_roleintegerMandatory

CloudSpend role assignment: - 0: Alert Contact (receives alerts only, set user_role=0) - 11: Cost User (standard access, set user_role=10) - 12: Cost Admin (full admin access, set user_role=1) - 101: Custom Role (set user_role from custom role, requires cloudspend_custom_role_id)

cloudspend_custom_role_idstringOptional

Custom role ID (required only when cloudspend_role=101)

display_namestringMandatory

User's display name

job_titleintegerOptional

User's job title category: - 0: None - 1: IT Engineer - 2: Cloud Engineer - 3: DevOps Engineer - 4: Webmaster - 5: Internal IT - 6: Others

user_groupsarrayOptional

List of user group IDs to assign the user to (optional)

Response Parameters

- HTTP code 200 Response Body - application/json

object
Show Sub-Attributes
messagestring

Response status message

dataobject
Show Sub-Attributes
user_idstring

Unique identifier for the newly created user

statusstring

Creation status message

codeinteger

Response status code

- HTTP code 400 Response Body - application/json

object
Show Sub-Attributes
messagestring

Error message

errorstring

Detailed error description

codeinteger

Error code

- HTTP code 401 Response Body - application/json

object
Show Sub-Attributes
messagestring

Error message

errorstring

Authentication error description

codeinteger

Error code

- HTTP code 403 Response Body - application/json

object
Show Sub-Attributes
messagestring

Error message

errorstring

Forbidden access error description

codeinteger

Error code

- HTTP code 500 Response Body - application/json

object
Show Sub-Attributes
messagestring

Error message

errorstring

Internal server error description

codeinteger

Error code

Possible HTTP Status Codes

200HTTP code

User created successfully

400HTTP code

Bad request - Invalid parameters or request format

401HTTP code

Unauthorized - Invalid or missing authentication

403HTTP code

Forbidden - Insufficient permissions

500HTTP code

Internal server error

Get all users and user groups

Retrieves all CloudSpend users (with name, email, role, job title) and user groups (with name, members) for the User Management interface. Use this to populate the Users tab showing individual users and the User Groups tab showing group memberships.

Request URL

https://www.site24x7.com/cs/api/cost/users

Scope

CloudSpend.Internal.Read

Response Parameters

- HTTP code 200 Response Body - application/json

object
Show Sub-Attributes
messagestring

Response status message

dataobject

Users and groups data

Show Sub-Attributes
workspace_migration_infoarray

Workspace migration status information

Show Sub-Attributes
contact_idstring

Current user's contact identifier

usersarray

List of all CloudSpend users

Show Sub-Attributes
user_roleinteger

Site24x7 user role (maps from cloudspend_role)

email_addressemail

User's email address

cloudspend_roleinteger

CloudSpend role assignment: - 0: Alert Contact - 11: Cost User - 12: Cost Admin - 101: Custom Role

cloudspend_custom_role_idstring

Custom role ID if cloudspend_role is 101

user_idstring

Unique user identifier (contact_id)

is_invitedboolean

Whether user has pending invitation

alert_settingsobject

User's alert preferences

Show Sub-Attributes
email_formatinteger

Email format preference (1=HTML, 2=Text)

dont_alert_on_daysarray

Days to suppress alerts (1=Sunday…7=Saturday)

display_namestring

User's display name

job_titleinteger

User's job title: - 0: None - 1: IT Engineer - 2: Cloud Engineer - 3: DevOps Engineer - 4: Webmaster - 5: Internal IT - 6: Others

user_groupsarray

List of user group IDs the user belongs to

user_groupsarray

List of CloudSpend user groups (product_id=2)

Show Sub-Attributes
display_namestring

Group display name

user_group_idstring

Unique group identifier

usersarray

List of user IDs in this group

product_idinteger

Product identifier (2=CloudSpend)

codeinteger

Response status code

- HTTP code 400 Response Body - application/json

object
Show Sub-Attributes
messagestring

Error message

errorstring

Detailed error description

codeinteger

Error code

- HTTP code 401 Response Body - application/json

object
Show Sub-Attributes
messagestring

Error message

errorstring

Authentication error description

codeinteger

Error code

- HTTP code 403 Response Body - application/json

object
Show Sub-Attributes
messagestring

Error message

errorstring

Forbidden access error description

codeinteger

Error code

- HTTP code 500 Response Body - application/json

object
Show Sub-Attributes
messagestring

Error message

errorstring

Internal server error description

codeinteger

Error code

Possible HTTP Status Codes

200HTTP code

Successfully retrieved users and user groups

400HTTP code

Bad request - Invalid parameters or request format

401HTTP code

Unauthorized - Invalid or missing authentication

403HTTP code

Forbidden - Insufficient permissions

500HTTP code

Internal server error

Generate spend analysis report for cost centers

Generates a scheduled spend analysis report for a cost centers with cost breakdowns, trends, and variance analysis. Use this to create scheduled spend analysis reports delivered in PDF or CSV to selected contacts.

Request URL

https://www.site24x7.com/cs/api/cost/cost_centers/spend_analysis/report

Scope

CloudSpend.Internal.Create

Request Parameters

- Request Body

application/json
object
Show Sub-Attributes
cost_idsarrayMandatory

Cost centers ID array user selection

profileobjectMandatory

Profile object for report scheduling

Show Sub-Attributes
profile_idstringMandatory

Profile identifier for report generation

formatintegerMandatory

Report format (1=PDF, 2=CSV)

report_namestringMandatory

User-defined report name

typeintegerMandatory

Report type (4 for Cost Centers Spend Analysis)

bu_idstringMandatory

Cost centers identifier selection

contact_idsarrayMandatory

Array of contact objects for report delivery

Show Sub-Attributes
contact_idstringMandatory

Contact identifier for report delivery

contact_typestringMandatory

Type of contact (1=user, 2=group)

frequencyintegerMandatory

Report frequency from selected profile (1=Monthly, 2=Quarterly, 3=Yearly, 4=Daily, 7=Weekly)

Response Parameters

- HTTP code 200 Response Body - application/json

object
Show Sub-Attributes
messagestring

Response message

dataobject
Show Sub-Attributes
report_idstring

Unique identifier for the generated report

codeinteger

Status code (0 indicates success)

- HTTP code 400 Response Body - application/json

object
Show Sub-Attributes
messagestring

Error message

errorstring

Detailed error description

codeinteger

Error code

- HTTP code 401 Response Body - application/json

object
Show Sub-Attributes
messagestring

Error message

errorstring

Authentication error description

codeinteger

Error code

- HTTP code 500 Response Body - application/json

object
Show Sub-Attributes
messagestring

Error message

errorstring

Server error description

codeinteger

Error code

Possible HTTP Status Codes

200HTTP code

Report generation initiated successfully

400HTTP code

Bad request - Invalid parameters or request format

401HTTP code

Unauthorized - Invalid or missing authentication

500HTTP code

Internal server error

Get cost centers trend box

Retrieves time-series trend data for cost centers spend patterns across services. Use this to visualize spending trends per service over time or compare service costs within a cost centers.

Request URL

https://www.site24x7.com/cs/api/cost/cost_centers/trend_box

Scope

CloudSpend.Internal.Read

Request Parameters

- Request Body

application/json
object
Show Sub-Attributes
end_datedateOptional

End date for the cost aggregation period in YYYY-MM-DD format

periodintegerOptional

Aggregation period in months

Response Parameters

- HTTP code 201 Response Body - application/json

object
Show Sub-Attributes
messagestring
dataobject
Show Sub-Attributes
trend_valuesobject
Show Sub-Attributes
modeinteger
codeinteger

- HTTP code 400 Response Body - application/json

object
Show Sub-Attributes
messagestring

Error message

errorstring

Detailed error description

codeinteger

Error code

- HTTP code 401 Response Body - application/json

object
Show Sub-Attributes
messagestring

Error message

errorstring

Authentication error description

codeinteger

Error code

- HTTP code 500 Response Body - application/json

object
Show Sub-Attributes
messagestring

Error message

errorstring

Server error description

codeinteger

Error code

Possible HTTP Status Codes

201HTTP code

Successful response with trend values for the cost centers.

400HTTP code

Bad request - Invalid parameters or request format

401HTTP code

Unauthorized - Invalid or missing authentication

500HTTP code

Internal server error

Get cloud discounts for summary report

Retrieves discount analysis by cloud provider including RI discounts, savings plans, and committed use discounts. Use this to display total discount utilization across all clouds in the summary report dashboard.

Request URL

https://www.site24x7.com/cs/api/cost/cloud_discounts

Scope

CloudSpend.Internal.Read

Request Parameters

- Query Parameters
JSONStringstringMandatory

URL-encoded JSON: {"start_date":"YYYY-MM-DD","end_date":"YYYY-MM-DD"}

Response Parameters

- HTTP code 200 Response Body - application/json

object
Show Sub-Attributes
messagestring
dataobject

Discount analysis by cloud provider

Show Sub-Attributes
codeinteger

Possible HTTP Status Codes

200HTTP code

Successfully retrieved cloud discounts

Get governance policies by account type

Retrieves available governance policies filtered by account type for governance check creation. Use this to discover existing policies by account type before creating or associating governance checks.

Request URL

https://www.site24x7.com/cs/api/cost/governance/budget_policys/{account_type}

Scope

CloudSpend.Internal.Read

Request Parameters

- Path Parameters
account_typeintegerMandatory

Account type filter for governance policies.

Response Parameters

- HTTP code 200 Response Body - application/json

object
Show Sub-Attributes
messagestring
dataobject
Show Sub-Attributes
dataarray
Show Sub-Attributes
policy_typestring

Policy classification type

account_typeinteger

Entity type (0=Accounts, 1=Cost Centers, 2=Reports)

account_idstring

Associated account identifier

policy_idstring

Unique policy identifier for governance check creation

cost_typeinteger

Cost type classification

policy_namestring

Human-readable policy name

budget_tagsarray

Tag filtering configuration for policy

integrated_zaaidsarray

Integrated Zoho Account IDs

budgets_countinteger

Number of existing governance checks for this policy

codeinteger

- HTTP code 400 Response Body - application/json

object
Show Sub-Attributes
messagestring

Error message

errorstring

Detailed error description

codeinteger

Error code

- HTTP code 401 Response Body - application/json

object
Show Sub-Attributes
messagestring

Error message

errorstring

Authentication error description

codeinteger

Error code

- HTTP code 500 Response Body - application/json

object
Show Sub-Attributes
messagestring

Error message

errorstring

Server error description

codeinteger

Error code

Possible HTTP Status Codes

200HTTP code

Successfully retrieved governance policies

400HTTP code

Bad request - Invalid parameters or request format

401HTTP code

Unauthorized - Invalid or missing authentication

500HTTP code

Internal server error

Get unit economics unit list

Retrieves available usage units for a specific account to populate unit selection in Unit Economics reports. Use this to present measurable usage dimensions like requests, hours, or GB for analysis.

Request URL

https://www.site24x7.com/cs/api/cost/reports/unit/economics/unit/list

Scope

CloudSpend.Internal.Read

Request Parameters

- Query Parameters
accountIdlongMandatory

Cost account ID to retrieve units for

accountTypeintegerMandatory

Account type identifier (0=AWS, 1=Azure, 2=GCP)

Response Parameters

- HTTP code 200 Response Body - application/json

object
Show Sub-Attributes
messagestring

Response status message

dataarray

Array of available units for Unit Economics analysis

Show Sub-Attributes
namestring

Unit display name (e.g., Hrs, GB, Requests)

idstring

Unique unit identifier

regionstring

Associated region

servicestring

Associated cloud service

codeinteger

Response status code

- HTTP code 400 Response Body - application/json

object
Show Sub-Attributes
messagestring

Error message

errorstring

Detailed error description

codeinteger

Error code

- HTTP code 401 Response Body - application/json

object
Show Sub-Attributes
messagestring

Error message

errorstring

Authentication error description

codeinteger

Error code

- HTTP code 403 Response Body - application/json

object
Show Sub-Attributes
messagestring

Error message

errorstring

Forbidden access error description

codeinteger

Error code

- HTTP code 500 Response Body - application/json

object
Show Sub-Attributes
messagestring

Error message

errorstring

Internal server error description

codeinteger

Error code

Possible HTTP Status Codes

200HTTP code

Successfully retrieved unit list for the account

400HTTP code

Bad request - Invalid parameters or request format

401HTTP code

Unauthorized - Invalid or missing authentication

403HTTP code

Forbidden - Insufficient permissions

500HTTP code

Internal server error

Get Account Hierarchy Graph

Retrieves interactive hierarchy drilling for cost allocation analysis.

Request URL

https://www.site24x7.com/cs/api/cost/accounts/hierarchy/report/{reportId}/graph

Scope

CloudSpend.Internal.Read

Request Parameters

- Path Parameters
reportIdstringMandatory

- Query Parameters
nodestringMandatory

Node identifier for hierarchy navigation

levelintegerMandatory

Hierarchy level to retrieve (2=account, 3=region, 4=service, etc.)

start_datedateMandatory

Start date for hierarchy data (YYYY-MM-DD)

end_datedateMandatory

End date for hierarchy data (YYYY-MM-DD)

Response Parameters

- HTTP code 200 Response Body - application/json

object
Show Sub-Attributes
messagestring

Response message

dataobject
Show Sub-Attributes
nodesarray

Hierarchy nodes at requested level

Show Sub-Attributes
namestring

Node display name

business_unit_idstring

Cost center identifier

costfloat

Allocated cost for this node

entityDataIdstring

Entity identifier for next-level navigation

sectorCountinteger

Number of child sectors (0 = leaf node)

actual_costfloat

Actual cost for this node

codeinteger

Response code (0 = success)

- HTTP code 400 Response Body - application/json

object
Show Sub-Attributes
messagestring

Error message

errorstring

Detailed error description

codeinteger

Error code

- HTTP code 401 Response Body - application/json

object
Show Sub-Attributes
messagestring

Error message

errorstring

Authentication error description

codeinteger

Error code

- HTTP code 404 Response Body - application/json

object
Show Sub-Attributes
messagestring

Error message

errorstring

Not found error description

codeinteger

Error code

- HTTP code 500 Response Body - application/json

object
Show Sub-Attributes
messagestring

Error message

errorstring

Server error description

codeinteger

Error code

Possible HTTP Status Codes

200HTTP code

Successful response

400HTTP code

Bad request - Invalid parameters or request format

401HTTP code

Unauthorized - Invalid or missing authentication

404HTTP code

Not found - Resource does not exist

500HTTP code

Internal server error

Get all supported currency formats

Retrieves the full list of supported currencies with their display format examples (e.g., USD shows as 7,000,000.52 with symbol prefix). Use this to show currency options with formatting preview when the admin selects a display currency in Currency Management.

Request URL

https://www.site24x7.com/cs/api/cost/currencies_format

Scope

CloudSpend.Internal.Read

Response Parameters

- HTTP code 200 Response Body - application/json

object
Show Sub-Attributes
messagestring

Response status message

dataarray

List of supported currencies with formatting examples

Show Sub-Attributes
currencystring

ISO currency code

format_valuestring

Example formatted value showing currency symbol and number format

codeinteger

Response status code

- HTTP code 400 Response Body - application/json

object
Show Sub-Attributes
messagestring

Error message

errorstring

Detailed error description

codeinteger

Error code

- HTTP code 401 Response Body - application/json

object
Show Sub-Attributes
messagestring

Error message

errorstring

Authentication error description

codeinteger

Error code

- HTTP code 403 Response Body - application/json

object
Show Sub-Attributes
messagestring

Error message

errorstring

Forbidden access error description

codeinteger

Error code

- HTTP code 500 Response Body - application/json

object
Show Sub-Attributes
messagestring

Error message

errorstring

Internal server error description

codeinteger

Error code

Possible HTTP Status Codes

200HTTP code

Successfully retrieved currency formats

400HTTP code

Bad request - Invalid parameters or request format

401HTTP code

Unauthorized - Invalid or missing authentication

403HTTP code

Forbidden - Insufficient permissions

500HTTP code

Internal server error

Get resource inventory regional distribution for inventory usage table widgets

Retrieves resource count distribution by region with geographic map coordinates for resource inventory widgets. Use this to display regional resource distribution in tables and maps for resource inventory or custom dashboard RI widgets.

Request URL

https://www.site24x7.com/cs/api/cost/custom_report/ri_top_region_list

Scope

CloudSpend.Internal.Read

Request Parameters

- Request Body

application/json
object
Show Sub-Attributes
end_datedateOptional

Analysis end date

cost_tagsarrayOptional

Cost tag filters for resource analysis (empty array for no filtering)

Show Sub-Attributes
periodintegerOptional

Period type for analysis (1=daily)

accountsarrayOptional

Array of account configurations with billing account selections

Show Sub-Attributes
cost_account_idstringOptional

Parent cost account identifier

billing_account_idsarrayOptional

Array of selected billing account IDs

start_datedateOptional

Analysis start date

Response Parameters

- HTTP code 200 Response Body - application/json

object
Show Sub-Attributes
messagestring

Response status message

dataobject

Regional distribution and mapping data

Show Sub-Attributes
mapsDataobject

Geographic mapping data for visualization with cloud provider keys (AWS, AZURE, GCP) Contains region coordinates for map plotting

Show Sub-Attributes
AWSarray

AWS region mapping data with coordinates

Show Sub-Attributes
namestring

AWS region technical name

xstring

Latitude coordinate

ystring

Longitude coordinate

idstring

Region display identifier

AZUREarray

Azure region mapping data with coordinates

Show Sub-Attributes
namestring

Azure region technical name

xstring

Latitude coordinate

ystring

Longitude coordinate

idstring

Region display identifier

GCParray

GCP region mapping data with coordinates

Show Sub-Attributes
namestring

GCP region technical name

xstring

Latitude coordinate

ystring

Longitude coordinate

idstring

Region display identifier

return_dataarray

Regional resource count data for table display Each item is a [region_name, resource_count] pair

codeinteger

Response status code

- HTTP code 400 Response Body - application/json

object
Show Sub-Attributes
messagestring

Error message

errorstring

Detailed error description

codeinteger

Error code

- HTTP code 401 Response Body - application/json

object
Show Sub-Attributes
messagestring

Error message

errorstring

Authentication error description

codeinteger

Error code

- HTTP code 403 Response Body - application/json

object
Show Sub-Attributes
messagestring

Error message

errorstring

Forbidden access error description

codeinteger

Error code

- HTTP code 500 Response Body - application/json

object
Show Sub-Attributes
messagestring

Error message

errorstring

Internal server error description

codeinteger

Error code

Possible HTTP Status Codes

200HTTP code

Successfully retrieved regional resource distribution with mapping data

400HTTP code

Bad request - Invalid parameters or request format

401HTTP code

Unauthorized - Invalid or missing authentication

403HTTP code

Forbidden - Insufficient permissions

500HTTP code

Internal server error

Get custom dashboards and reports list

Retrieves all user-created custom dashboards and custom reports with their type (dashboard vs report), sharing status, and widget configurations. Use this to populate the Custom Report dropdown when creating a scheduled report of type 24 (Custom Report).

Request URL

https://www.site24x7.com/cs/api/cost/admin/dashboard

Scope

CloudSpend.Internal.Read

Request Parameters

- Query Parameters
startintegerMandatory

Pagination start index (0-based). Required parameter.

limitintegerMandatory

Maximum number of results to return (0 for all). Required parameter.

Response Parameters

- HTTP code 200 Response Body - application/json

object
Show Sub-Attributes
messagestring
dataobject
Show Sub-Attributes
return_dataarray

List of custom dashboards/reports

Show Sub-Attributes
public_dashboard_linkstring

Public sharing URL (only for type=0 with encryption_key)

created_timestring

Creation timestamp in milliseconds

updated_timestring

Last update timestamp in milliseconds (empty if never updated)

config_datastring

JSON string with additional configuration

descriptionstring

Description of the dashboard/report

is_default_dashboardboolean

Whether this is the default dashboard

typeinteger

Dashboard type: 0=Dashboard (shareable), 1=Custom Report (private)

widgetsarray

Array of widget configurations

Show Sub-Attributes
sizeinteger

Grid size for dashboard layout

starredboolean

Whether dashboard is marked as favorite

namestring

Display name of the dashboard/report

encryption_keystring

Encryption key for public sharing (empty if private)

themeinteger

Dashboard theme: 0=Light, 1=Dark

idstring

Unique dashboard/report identifier (use in cost_ids for scheduling)

statusinteger

Status: 0=Public/Shared, 1=Private

codeinteger

- HTTP code 400 Response Body - application/json

object
Show Sub-Attributes
messagestring

Error message

errorstring

Detailed error description

codeinteger

Error code

- HTTP code 401 Response Body - application/json

object
Show Sub-Attributes
messagestring

Error message

errorstring

Authentication error description

codeinteger

Error code

- HTTP code 403 Response Body - application/json

object
Show Sub-Attributes
messagestring

Error message

errorstring

Forbidden access error description

codeinteger

Error code

- HTTP code 500 Response Body - application/json

object
Show Sub-Attributes
messagestring

Error message

errorstring

Internal server error description

codeinteger

Error code

Possible HTTP Status Codes

200HTTP code

Successfully retrieved custom dashboards list

400HTTP code

Bad request - Invalid parameters or request format

401HTTP code

Unauthorized - Invalid or missing authentication

403HTTP code

Forbidden - Insufficient permissions

500HTTP code

Internal server error

Get solution reports metadata for budget management

Retrieves solution reports metadata for budget management with account associations and report type classification. Use this to discover available reports organized by account for creating report-level budget policies.

Request URL

https://www.site24x7.com/cs/api/cost/budget/solution_reports_meta

Scope

CloudSpend.Internal.Read

Response Parameters

- HTTP code 200 Response Body - application/json

object
Show Sub-Attributes
messagestring
dataobject
Show Sub-Attributes
nav_dataarray

Navigation structure for report organization

Show Sub-Attributes
namestring

Navigation category name

subitemsarray
Show Sub-Attributes
namestring

Subcategory or account name

subitemsarray
Show Sub-Attributes
namestring

Report category name

countstring

Number of reports in category

idstring

Category identifier

idstring

Account identifier

idstring

Navigation level identifier

reports_metaobject

Reports metadata organized by account configuration

Show Sub-Attributes
reports_cx_preferencesarray

Report customer preferences (typically empty)

Show Sub-Attributes
codeinteger

- HTTP code 400 Response Body - application/json

object
Show Sub-Attributes
messagestring

Error message

errorstring

Detailed error description

codeinteger

Error code

- HTTP code 401 Response Body - application/json

object
Show Sub-Attributes
messagestring

Error message

errorstring

Authentication error description

codeinteger

Error code

- HTTP code 500 Response Body - application/json

object
Show Sub-Attributes
messagestring

Error message

errorstring

Server error description

codeinteger

Error code

Possible HTTP Status Codes

200HTTP code

Successfully retrieved solution reports metadata for budget policy creation

400HTTP code

Bad request - Invalid parameters or request format

401HTTP code

Unauthorized - Invalid or missing authentication

500HTTP code

Internal server error

List cost centers report profiles

Retrieves scheduled report profiles for cost centers with frequency, timezone, and scheduling details. Use this to get profile IDs required by report generation APIs like generateCostCentersReport and generateResourceExplorerReport.

Request URL

https://www.site24x7.com/cs/api/cost/cost_centers/report/profiles

Scope

CloudSpend.Internal.Read

Response Parameters

- HTTP code 200 Response Body - application/json

object
Show Sub-Attributes
messagestring

Response message

dataobject
Show Sub-Attributes
return_dataobject
Show Sub-Attributes
return_dataarray

List of report profiles associated with the cost centers

Show Sub-Attributes
periodinteger

Reporting period identifier: - 1: This period - 5: Last three months - 10: Custom period - 11: Previous period - 14: Current month

report_hour_meridieminteger

Meridiem flag (1=AM, 2=PM)

timezonestring

Timezone of the report schedule

report_hourinteger

Hour at which the report is scheduled (0-23)

report_hour_meridiem_textstring

Text representation of the meridiem

frequencyinteger

Report frequency (1=Monthly, 4=Daily, 7=Weekly)

report_dayinteger

Day of the month/week when the report runs

report_timeinteger

Report time in hours (0-23)

profile_idstring

Unique identifier for the report profile

default_profileinteger

Flag indicating whether the profile is default (1) or custom (0)

namestring

Name of the report profile

report_monthinteger

Month configuration for the report

configstring

Internal configuration string for system use

codeinteger

Status code of the response (0 indicates success)

- HTTP code 400 Response Body - application/json

object
Show Sub-Attributes
messagestring

Error message

errorstring

Detailed error description

codeinteger

Error code

- HTTP code 401 Response Body - application/json

object
Show Sub-Attributes
messagestring

Error message

errorstring

Authentication error description

codeinteger

Error code

- HTTP code 500 Response Body - application/json

object
Show Sub-Attributes
messagestring

Error message

errorstring

Server error description

codeinteger

Error code

Possible HTTP Status Codes

200HTTP code

Successfully retrieved report profiles.

400HTTP code

Bad request - Invalid parameters or request format

401HTTP code

Unauthorized - Invalid or missing authentication

500HTTP code

Internal server error

Get unit economics customer preferences

Retrieves customer-level preference configuration for Unit Economics reports with default entity type settings. Use this to load initial preferences before configuring the Unit Economics dashboard view.

Request URL

https://www.site24x7.com/cs/api/cost/reports/unit/economics/cx_preference

Scope

CloudSpend.Internal.Read

Request Parameters

- Query Parameters
entityTypeintegerMandatory

Entity type identifier for preferences lookup.

Response Parameters

- HTTP code 200 Response Body - application/json

object
Show Sub-Attributes
messagestring

Response status message

dataobject

Customer preferences data for Unit Economics

Show Sub-Attributes
codeinteger

Response status code

- HTTP code 400 Response Body - application/json

object
Show Sub-Attributes
messagestring

Error message

errorstring

Detailed error description

codeinteger

Error code

- HTTP code 401 Response Body - application/json

object
Show Sub-Attributes
messagestring

Error message

errorstring

Authentication error description

codeinteger

Error code

- HTTP code 403 Response Body - application/json

object
Show Sub-Attributes
messagestring

Error message

errorstring

Forbidden access error description

codeinteger

Error code

- HTTP code 500 Response Body - application/json

object
Show Sub-Attributes
messagestring

Error message

errorstring

Internal server error description

codeinteger

Error code

Possible HTTP Status Codes

200HTTP code

Successfully retrieved Unit Economics customer preferences

400HTTP code

Bad request - Invalid parameters or request format

401HTTP code

Unauthorized - Invalid or missing authentication

403HTTP code

Forbidden - Insufficient permissions

500HTTP code

Internal server error

Get aggregated cost widgets for cost centers

Retrieves aggregated cost widget data for a cost centers including regions, services, data transfer, and components breakdown. Use this to populate dashboard widgets showing consolidated cost views across multiple dimensions.

Request URL

https://www.site24x7.com/cs/api/cost/cost_centers/common_widget_api

Scope

CloudSpend.Internal.Read

Request Parameters

- Request Body

application/json
object
Show Sub-Attributes
end_datedateOptional

End date for the cost aggregation period in YYYY-MM-DD format

periodintegerOptional

Period for aggregation in months

Response Parameters

- HTTP code 201 Response Body - application/json

object
Show Sub-Attributes
messagestring
dataobject
Show Sub-Attributes
return_dataobject
Show Sub-Attributes
regionsarray
Show Sub-Attributes
object

Cost entry with a name identifier

Show Sub-Attributes
namestring
servicesarray
Show Sub-Attributes
object

Cost entry with a name identifier

Show Sub-Attributes
namestring
categoriesarray
Show Sub-Attributes
object

Cost entry with a name identifier

Show Sub-Attributes
namestring
cost_typesarray
Show Sub-Attributes
object

Cost breakdown by type

Show Sub-Attributes
namestring

Name of the cost type

valuefloat

Cost value for this type

codeinteger

- HTTP code 400 Response Body - application/json

object
Show Sub-Attributes
messagestring

Error message

errorstring

Detailed error description

codeinteger

Error code

- HTTP code 401 Response Body - application/json

object
Show Sub-Attributes
messagestring

Error message

errorstring

Authentication error description

codeinteger

Error code

- HTTP code 500 Response Body - application/json

object
Show Sub-Attributes
messagestring

Error message

errorstring

Server error description

codeinteger

Error code

Possible HTTP Status Codes

201HTTP code

Aggregated cost data successfully retrieved.

400HTTP code

Bad request - Invalid parameters or request format

401HTTP code

Unauthorized - Invalid or missing authentication

500HTTP code

Internal server error

Get cloud overall cost for summary report

Retrieves multi-cloud cost summary with month-to-date, month-over-month, and year-over-year comparisons and per-cloud breakdown. Use this to display environment-wide cost overview and spending trends in the summary report dashboard.

Request URL

https://www.site24x7.com/cs/api/cost/cloud_overallcost

Scope

CloudSpend.Internal.Read

Request Parameters

- Query Parameters
JSONStringstringMandatory

URL-encoded JSON: {"start_date":"YYYY-MM-DD","end_date":"YYYY-MM-DD"}

Response Parameters

- HTTP code 200 Response Body - application/json

object
Show Sub-Attributes
messagestring
dataobject
Show Sub-Attributes
overall_dataobject
Show Sub-Attributes
current_mtd_costnumber

Current month-to-date total cost

previous_mtd_costnumber

Previous month same period cost

total_accountsinteger

Total cloud accounts

y_o_ynumber

Year-over-Year % change

m_o_mnumber

Month-over-Month % change

cloud_level_dataarray

Per-cloud breakdown (AWS, Azure, GCP)

Show Sub-Attributes
cloudstring
current_mtd_costnumber
m_o_mnumber
codeinteger

Possible HTTP Status Codes

200HTTP code

Successfully retrieved cloud overall cost

Get schedule profiles for tagging compliance report scheduling

Retrieves available scheduling profiles for tagging compliance report delivery with daily, weekly, and monthly options. Use this as the first step in tagging compliance report scheduling to present profile options for frequency selection.

Request URL

https://www.site24x7.com/cs/api/cost/reports/compliance/tagging/report/profiles

Scope

CloudSpend.Internal.Read

Response Parameters

- HTTP code 200 Response Body - application/json

object
Show Sub-Attributes
messagestring
dataobject
Show Sub-Attributes
return_dataobject
Show Sub-Attributes
return_dataarray

Available scheduling profiles

Show Sub-Attributes
periodinteger

Report period - 1=Daily, 7=Weekly, 11=Monthly, 14=Bi-weekly

report_hour_meridieminteger

Hour format - 1=AM, 2=PM

timezonestring

Timezone for report delivery

report_hourinteger

Hour of day for report delivery (1-12)

report_hour_meridiem_textstring

AM/PM text representation

frequencyinteger

Delivery frequency - 1=Monthly, 4=Daily, 7=Weekly

report_dayinteger

Day of week/month for delivery

report_timeinteger

Time configuration

profile_idstring

Unique profile identifier for scheduling

default_profileinteger

Default profile indicator - 0=Custom, 1=Default

namestring

Profile display name

report_monthinteger

Month configuration

configstring

Configuration string

codeinteger

- HTTP code 400 Response Body - application/json

object
Show Sub-Attributes
messagestring

Error message

errorstring

Detailed error description

codeinteger

Error code

- HTTP code 401 Response Body - application/json

object
Show Sub-Attributes
messagestring

Error message

errorstring

Authentication error description

codeinteger

Error code

- HTTP code 403 Response Body - application/json

object
Show Sub-Attributes
messagestring

Error message

errorstring

Forbidden access error description

codeinteger

Error code

- HTTP code 500 Response Body - application/json

object
Show Sub-Attributes
messagestring

Error message

errorstring

Internal server error description

codeinteger

Error code

Possible HTTP Status Codes

200HTTP code

Successfully retrieved tagging compliance schedule profiles

400HTTP code

Bad request - Invalid parameters or request format

401HTTP code

Unauthorized - Invalid or missing authentication

403HTTP code

Forbidden - Insufficient permissions

500HTTP code

Internal server error

Get Account Usage Statistics

Retrieves CloudSpend account usage stats, setup progress, config status for platform overview.

Request URL

https://www.site24x7.com/cs/api/cost/account_usage

Scope

CloudSpend.Internal.Read

Response Parameters

- HTTP code 200 Response Body - application/json

object
Show Sub-Attributes
messagestring

Response message

dataobject
Show Sub-Attributes
cost_accnt_countinteger

Total number of cost accounts configured

setup_stagesinteger

Total number of setup stages (typically 6)

business_unit_countinteger

Number of cost centers configured

tag_profile_countinteger

Number of tag profiles created

user_countinteger

Number of users in the account

progress_stagefloat

Current setup stage (e.g., 5.0 = Stage 5)

budget_countinteger

Number of budgets configured

progressstring

Setup completion percentage as string (e.g., '83')

cost_user_idstring

Primary cost user identifier

scheduled_report_countinteger

Number of scheduled reports configured

codeinteger

Response code (0 = success)

- HTTP code 400 Response Body - application/json

object
Show Sub-Attributes
messagestring

Error message

errorstring

Detailed error description

codeinteger

Error code

- HTTP code 401 Response Body - application/json

object
Show Sub-Attributes
messagestring

Error message

errorstring

Authentication error description

codeinteger

Error code

- HTTP code 404 Response Body - application/json

object
Show Sub-Attributes
messagestring

Error message

errorstring

Not found error description

codeinteger

Error code

- HTTP code 500 Response Body - application/json

object
Show Sub-Attributes
messagestring

Error message

errorstring

Server error description

codeinteger

Error code

Possible HTTP Status Codes

200HTTP code

Account usage statistics with configuration, progress, and usage metrics.

400HTTP code

Bad request - Invalid parameters or request format

401HTTP code

Unauthorized - Invalid or missing authentication

404HTTP code

Not found - Resource does not exist

500HTTP code

Internal server error

Get reserved instance trend chart data

Retrieves time-series resource count data for resource inventory growth trend visualization. Use this to display monthly resource count trends in bar/line charts for resource inventory or custom dashboard RI widgets.

Request URL

https://www.site24x7.com/cs/api/cost/custom_report/ri_trend_chart

Scope

CloudSpend.Internal.Read

Request Parameters

- Request Body

application/json
object
Show Sub-Attributes
end_datedateOptional

Trend analysis end date

cost_tagsarrayOptional

Cost tag filters for RI analysis

periodintegerOptional

Period type for trend granularity (1=daily, etc.)

accountsarrayOptional

Array of account configurations with billing account selections

Show Sub-Attributes
cost_account_idstringOptional

Cost account identifier

billing_account_idsarrayOptional

Array of billing account IDs for RI trend analysis

start_datedateOptional

Trend analysis start date

Response Parameters

- HTTP code 200 Response Body - application/json

object
Show Sub-Attributes
messagestring

Response status message

dataobject

Reserved instance trend chart data

Show Sub-Attributes
return_dataarray

Array of time-series data points

codeinteger

Response status code

- HTTP code 400 Response Body - application/json

object
Show Sub-Attributes
messagestring

Error message

errorstring

Detailed error description

codeinteger

Error code

- HTTP code 401 Response Body - application/json

object
Show Sub-Attributes
messagestring

Error message

errorstring

Authentication error description

codeinteger

Error code

- HTTP code 403 Response Body - application/json

object
Show Sub-Attributes
messagestring

Error message

errorstring

Forbidden access error description

codeinteger

Error code

- HTTP code 500 Response Body - application/json

object
Show Sub-Attributes
messagestring

Error message

errorstring

Internal server error description

codeinteger

Error code

Possible HTTP Status Codes

200HTTP code

Successfully retrieved reserved instance trend data

400HTTP code

Bad request - Invalid parameters or request format

401HTTP code

Unauthorized - Invalid or missing authentication

403HTTP code

Forbidden - Insufficient permissions

500HTTP code

Internal server error

Get governance usage history

Retrieves governance usage history with chart data, timeline analysis, and compliance status tracking. Use this to get historical compliance chart data for trend visualization and to extract incidentTime for RCA workflows.

Request URL

https://www.site24x7.com/cs/api/cost/governance/budget_history/{governance_id}

Scope

CloudSpend.Internal.Read

Request Parameters

- Path Parameters
governance_idstringMandatory

Governance check identifier.

Response Parameters

- HTTP code 200 Response Body - application/json

object
Show Sub-Attributes
messagestring
dataobject
Show Sub-Attributes
metaobject
Show Sub-Attributes
checks_idstring

Governance check identifier

created_timestring

Creation timestamp

budget_namestring

Governance check name

account_typeinteger

Account type (0=Account, 1=Cost Center, 2=Report)

policy_idstring

Policy identifier

currency_symbolstring

Currency symbol

currency_localestring

Currency locale

budget_periodstring

Governance monitoring period

currency_codestring

Currency code

statusinteger

Governance status (1=Compliant, 2=Non-Compliant)

chart_dataobject
Show Sub-Attributes
usage_valuesarray

Usage values with timestamp-value pairs

budget_valuesarray

Budget values with timestamp-value pairs

return_dataarray
Show Sub-Attributes
end_datestring

Period end date

start_timestring

Period start time (Unix timestamp)

checked_timestring

Check execution time (Unix timestamp)

notified_viastring

Notification method (Email, SMS, etc.)

end_timestring

Period end time (Unix timestamp)

usage_valnumber

Usage value for the period. Interpretation depends on governance mode: - Count mode (mode_id=5): This is an occurrence COUNT (integer). Display WITHOUT currency symbol. - Percentage mode: This is a percentage value.

deviationnumber

Deviation from configured threshold. Interpretation depends on governance mode: - Count mode (mode_id=5): This is a COUNT deviation (positive = under threshold, shown with ↓ in UI). - Percentage mode: This is a percentage deviation.

notified_timestring

Notification timestamp (Unix milliseconds, -1 if not notified)

rca_availableboolean

Root cause analysis availability

start_datestring

Period start date

budgetednumber

Configured threshold value for governance check. Interpretation depends on governance mode: - Count mode (mode_id=5): This is a COUNT threshold. Display WITHOUT currency symbol (e.g., "10,000,000,000,000,000,000,000,000"). - Percentage mode: This is a percentage threshold.

codeinteger

- HTTP code 400 Response Body - application/json

object
Show Sub-Attributes
messagestring

Error message

errorstring

Detailed error description

codeinteger

Error code

- HTTP code 401 Response Body - application/json

object
Show Sub-Attributes
messagestring

Error message

errorstring

Authentication error description

codeinteger

Error code

- HTTP code 500 Response Body - application/json

object
Show Sub-Attributes
messagestring

Error message

errorstring

Server error description

codeinteger

Error code

Possible HTTP Status Codes

200HTTP code

Successfully retrieved governance usage history

400HTTP code

Bad request - Invalid parameters or request format

401HTTP code

Unauthorized - Invalid or missing authentication

500HTTP code

Internal server error

Get governance accounts overview

Retrieves comprehensive governance accounts overview with cost data, processing status, and spending trends. Use this to discover available accounts for governance check creation with spending metrics and status breakdown.

Request URL

https://www.site24x7.com/cs/api/cost/governance/accounts

Scope

CloudSpend.Internal.Read

Response Parameters

- HTTP code 200 Response Body - application/json

object
Show Sub-Attributes
messagestring
dataobject
Show Sub-Attributes
current_month_totalnumber

Current month total across all accounts

previous_month_totalnumber

Previous month total across all accounts

total_accountsinteger

Total number of accounts

all_accountsobject
Show Sub-Attributes
processing_accountsobject

Accounts currently being processed

Show Sub-Attributes
suspended_accountsobject

Suspended accounts

Show Sub-Attributes
config_error_accountsobject

Accounts with configuration errors

Show Sub-Attributes
processed_accountsobject

Successfully processed accounts with detailed metrics

Show Sub-Attributes
codeinteger

- HTTP code 400 Response Body - application/json

object
Show Sub-Attributes
messagestring

Error message

errorstring

Detailed error description

codeinteger

Error code

- HTTP code 401 Response Body - application/json

object
Show Sub-Attributes
messagestring

Error message

errorstring

Authentication error description

codeinteger

Error code

- HTTP code 500 Response Body - application/json

object
Show Sub-Attributes
messagestring

Error message

errorstring

Server error description

codeinteger

Error code

Possible HTTP Status Codes

200HTTP code

Successfully retrieved governance accounts overview

400HTTP code

Bad request - Invalid parameters or request format

401HTTP code

Unauthorized - Invalid or missing authentication

500HTTP code

Internal server error

Create new budget policy

Creates a budget policy for cost management supporting accounts, cost centers, and reports with optional tag filtering. Use this to define a new budget policy that groups accounts or resources for budget tracking and threshold alerting.

Request URL

https://www.site24x7.com/cs/api/cost/budget/budget_policy

Scope

CloudSpend.Internal.Create

Request Parameters

- Request Body

application/json
object
Show Sub-Attributes
account_typeintegerMandatory

Resource type (0=Account, 1=Cost Center, 2=Report)

policy_typeintegerMandatory

Policy type for budget management: - 0: Budget policy type

account_idstringMandatory

Account, Cost Center, or Report identifier based on account_type

policy_idstringOptional

Policy ID for updates (optional for new policies)

cost_typeintegerMandatory

Cost calculation type: - AWS: 0=Blended, 1=Unblended, 2=Amortized, 3=Recurring - Azure/GCP: 20 - Cost Center: 0

budget_tagsarrayMandatory

Optional tag filtering for budget policy (empty array if no tags)

Show Sub-Attributes
vintegerOptional

Tag version number

idstringOptional

Tag identifier from tag selection

policy_namestringMandatory

User-defined policy name for identification

Response Parameters

- HTTP code 201 Response Body - application/json

object
Show Sub-Attributes
messagestring
dataobject
Show Sub-Attributes
policy_idstring

Created policy identifier

statusstring

Creation status

codeinteger

- HTTP code 400 Response Body - application/json

object
Show Sub-Attributes
messagestring

Error message

errorstring

Detailed error description

codeinteger

Error code

- HTTP code 401 Response Body - application/json

object
Show Sub-Attributes
messagestring

Error message

errorstring

Authentication error description

codeinteger

Error code

- HTTP code 500 Response Body - application/json

object
Show Sub-Attributes
messagestring

Error message

errorstring

Server error description

codeinteger

Error code

Possible HTTP Status Codes

201HTTP code

Budget policy created successfully

400HTTP code

Bad request - Invalid parameters or request format

401HTTP code

Unauthorized - Invalid or missing authentication

500HTTP code

Internal server error

Create scheduled zia anomaly report (summary and category)

Creates a scheduled anomaly report for automated Zia anomaly detection reporting with summary or category scope. Use this to complete anomaly report scheduling with profile, recipients, and status filtering for summary or category-specific reports.

Request URL

https://www.site24x7.com/cs/api/reports/anomaly/report

Scope

CloudSpend.Internal.Create

Request Parameters

- Request Body

application/json
object
Show Sub-Attributes
cost_idsarrayOptional

Cost account IDs for anomaly filtering (empty array for all accounts)

anomaly_statusintegerMandatory

Filter anomalies by status (1=Open, 2=False Positive, 3=Acknowledged)

profileobjectMandatory

Scheduling profile configuration

Show Sub-Attributes
profile_idstringMandatory

Profile ID from schedule profiles API

formatintegerMandatory

Report delivery format (1=PDF, 2=CSV)

report_namestringMandatory

Display name for the scheduled anomaly report

typeintegerMandatory

Report type identifier (14=Anomaly summary, 15=Anomaly category)

contact_idsarrayMandatory

Recipients for report delivery (users and groups)

Show Sub-Attributes
contact_idstringMandatory

User ID or group ID for report delivery

contact_typestringMandatory

Contact type (1=User, 2=Group)

frequencyintegerMandatory

Report frequency (1=Monthly, 4=Daily, 7=Weekly)

Response Parameters

- HTTP code 200 Response Body - application/json

object
Show Sub-Attributes
messagestring

Response status message

dataobject
Show Sub-Attributes
report_idstring

Created scheduled report identifier

statusstring

Creation status

codeinteger

Response status code

- HTTP code 400 Response Body - application/json

object
Show Sub-Attributes
messagestring

Error message

errorstring

Detailed error description

codeinteger

Error code

- HTTP code 401 Response Body - application/json

object
Show Sub-Attributes
messagestring

Error message

errorstring

Authentication error description

codeinteger

Error code

- HTTP code 403 Response Body - application/json

object
Show Sub-Attributes
messagestring

Error message

errorstring

Forbidden access error description

codeinteger

Error code

- HTTP code 500 Response Body - application/json

object
Show Sub-Attributes
messagestring

Error message

errorstring

Internal server error description

codeinteger

Error code

Possible HTTP Status Codes

200HTTP code

Successfully created scheduled anomaly report

400HTTP code

Bad request - Invalid parameters or request format

401HTTP code

Unauthorized - Invalid or missing authentication

403HTTP code

Forbidden - Insufficient permissions

500HTTP code

Internal server error

List alert configurations for accounts module

Retrieves Site24x7 monitor alert configurations available for cost account integration in the accounts module.

Request URL

https://www.site24x7.com/cs/api/cost/accounts/integration/alert_configs

Scope

CloudSpend.Internal.Read

Response Parameters

- HTTP code 200 Response Body - application/json

- HTTP code 400 Response Body - application/json

object
Show Sub-Attributes
messagestring

Error message

errorstring

Detailed error description

codeinteger

Error code

- HTTP code 401 Response Body - application/json

object
Show Sub-Attributes
messagestring

Error message

errorstring

Authentication error description

codeinteger

Error code

- HTTP code 500 Response Body - application/json

object
Show Sub-Attributes
messagestring

Error message

errorstring

Server error description

codeinteger

Error code

Possible HTTP Status Codes

200HTTP code

Successfully retrieved alert configurations

400HTTP code

Bad request - Invalid parameters or request format

401HTTP code

Unauthorized - Invalid or missing authentication

500HTTP code

Internal server error

Get budget trend analysis

Retrieves time-series trend analysis for a specific budget showing spending patterns across services over time. Use this to visualize service-wise cost trends and monthly spending patterns for a selected budget.

Request URL

https://www.site24x7.com/cs/api/cost/budget/{budget_id}/trend

Scope

CloudSpend.Internal.Read

Request Parameters

- Path Parameters
budget_idstringMandatory

Budget identifier user selection

Response Parameters

- HTTP code 200 Response Body - application/json

object
Show Sub-Attributes
messagestring
dataobject
Show Sub-Attributes
currency_symbolstring

Currency symbol for trend values

trend_valuesobject
Show Sub-Attributes
modeinteger

Trend analysis mode indicator

valuesobject

Service-wise trend data with timestamp-value arrays

Show Sub-Attributes
codeinteger

- HTTP code 400 Response Body - application/json

object
Show Sub-Attributes
messagestring

Error message

errorstring

Detailed error description

codeinteger

Error code

- HTTP code 401 Response Body - application/json

object
Show Sub-Attributes
messagestring

Error message

errorstring

Authentication error description

codeinteger

Error code

- HTTP code 500 Response Body - application/json

object
Show Sub-Attributes
messagestring

Error message

errorstring

Server error description

codeinteger

Error code

Possible HTTP Status Codes

200HTTP code

Successfully retrieved budget trend analysis

400HTTP code

Bad request - Invalid parameters or request format

401HTTP code

Unauthorized - Invalid or missing authentication

500HTTP code

Internal server error

Get accounts splitup for named solution report

Returns account-level cost breakdown sorted by cost for solution report donut chart. Use this to display subscription/project cost distribution in the named solution report.

Request URL

https://www.site24x7.com/cs/api/cost/sol_reports/accounts_splitup

Scope

CloudSpend.Internal.Create

Request Parameters

- Request Body

application/json
object
Show Sub-Attributes
end_datedateMandatory

Analysis end date (typically current date)

cost_tagsarrayOptional

Always pass empty array []. This widget API does not support tag filtering.

Show Sub-Attributes
vintegerOptional

Tag version or value reference

idstringOptional

Tag identifier for filtering

periodintegerMandatory

Time granularity (1=daily, 2=weekly, 3=monthly)

business_unit_idstringMandatory

Cost center identifier

cost_typeintegerMandatory

Cost calculation type (0=standard, 1=amortized)

accountsarrayMandatory

Account scope for analysis

Show Sub-Attributes
cost_account_idstringOptional

Cost account identifier

billing_account_idsarrayOptional

Associated billing account IDs

bu_typeintegerMandatory

Cost center type classification

start_datedateMandatory

Analysis start date (typically previous month 1st)

Response Parameters

- HTTP code 200 Response Body - application/json

object
Show Sub-Attributes
messagestring
dataobject
Show Sub-Attributes
return_dataarray

Account name and cost pairs for split-up analysis

codeinteger

Possible HTTP Status Codes

200HTTP code

Accounts split-up data retrieved successfully

400HTTP code

Invalid request parameters

401HTTP code

Authentication required

403HTTP code

Access denied to cost centers or accounts

500HTTP code

Internal server error

List unit economics custom reports

Retrieves the list of user-created custom reports for Unit Economics analysis. Use this to display custom report selection before drilling into details.

Request URL

https://www.site24x7.com/cs/api/cost/reports/unit/economics/custom/report/list

Scope

CloudSpend.Internal.Read

Response Parameters

- HTTP code 200 Response Body - application/json

object
Show Sub-Attributes
messagestring

Response status message

dataarray

Array of custom Unit Economics reports

Show Sub-Attributes
namestring

User-defined report name

creation_timestring

Formatted creation timestamp

idstring

Unique identifier for the custom report

starredboolean

Whether the report is starred/favorite

is_disabledboolean

Report availability status

codeinteger

Response status code

- HTTP code 400 Response Body - application/json

object
Show Sub-Attributes
messagestring

Error message

errorstring

Detailed error description

codeinteger

Error code

- HTTP code 401 Response Body - application/json

object
Show Sub-Attributes
messagestring

Error message

errorstring

Authentication error description

codeinteger

Error code

- HTTP code 403 Response Body - application/json

object
Show Sub-Attributes
messagestring

Error message

errorstring

Forbidden access error description

codeinteger

Error code

- HTTP code 500 Response Body - application/json

object
Show Sub-Attributes
messagestring

Error message

errorstring

Internal server error description

codeinteger

Error code

Possible HTTP Status Codes

200HTTP code

Successfully retrieved Unit Economics custom reports list

400HTTP code

Bad request - Invalid parameters or request format

401HTTP code

Unauthorized - Invalid or missing authentication

403HTTP code

Forbidden - Insufficient permissions

500HTTP code

Internal server error

Get resource details list

Retrieves detailed resource information with name, service, region, account, tags, and status for inventory browsing. Use this to display paginated resource details after drilling down from the resource inventory dashboard.

Request URL

https://www.site24x7.com/cs/api/cost/ri_list

Scope

CloudSpend.Internal.Read

Request Parameters

- Request Body

application/json
object
Show Sub-Attributes
end_datedateMandatory

Resource details analysis end date

accountsarrayMandatory

Array of account configurations for resource details retrieval

Show Sub-Attributes
cost_account_idstringMandatory

Parent cost account identifier

billing_account_idsarrayMandatory

Array of billing account IDs for resource details

resource_idsarrayMandatory

Array of resource IDs for detailed information retrieval

start_datedateMandatory

Resource details analysis start date

Response Parameters

- HTTP code 200 Response Body - application/json

object
Show Sub-Attributes
messagestring

Response status message

dataobject

Detailed resource metadata indexed by resource ID

Show Sub-Attributes
codeinteger

Response status code

- HTTP code 400 Response Body - application/json

object
Show Sub-Attributes
messagestring

Error message

errorstring

Detailed error description

codeinteger

Error code

- HTTP code 401 Response Body - application/json

object
Show Sub-Attributes
messagestring

Error message

errorstring

Authentication error description

codeinteger

Error code

- HTTP code 403 Response Body - application/json

object
Show Sub-Attributes
messagestring

Error message

errorstring

Forbidden access error description

codeinteger

Error code

- HTTP code 500 Response Body - application/json

object
Show Sub-Attributes
messagestring

Error message

errorstring

Internal server error description

codeinteger

Error code

Possible HTTP Status Codes

200HTTP code

Successfully retrieved detailed resource information

400HTTP code

Bad request - Invalid parameters or request format

401HTTP code

Unauthorized - Invalid or missing authentication

403HTTP code

Forbidden - Insufficient permissions

500HTTP code

Internal server error

Get guidance metadata view configuration

Retrieves guidance metadata view configuration for cost optimization recommendations display. Use this alongside the guidances API to set up the complete guidance recommendation system.

Request URL

https://www.site24x7.com/cs/api/cost/guidance/meta-view

Scope

CloudSpend.Internal.Read

Response Parameters

- HTTP code 200 Response Body - application/json

object
Show Sub-Attributes
messagestring

Response message

dataobject

Guidance metadata configuration

Show Sub-Attributes
codeinteger

Response status code

- HTTP code 400 Response Body - application/json

object
Show Sub-Attributes
messagestring

Error message

errorstring

Detailed error description

codeinteger

Error code

- HTTP code 401 Response Body - application/json

object
Show Sub-Attributes
messagestring

Error message

errorstring

Authentication error description

codeinteger

Error code

- HTTP code 403 Response Body - application/json

object
Show Sub-Attributes
messagestring

Error message

errorstring

Forbidden access error description

codeinteger

Error code

- HTTP code 500 Response Body - application/json

object
Show Sub-Attributes
messagestring

Error message

errorstring

Internal server error description

codeinteger

Error code

Possible HTTP Status Codes

200HTTP code

Successfully retrieved guidance metadata view

400HTTP code

Bad request - Invalid parameters or request format

401HTTP code

Unauthorized - Invalid or missing authentication

403HTTP code

Forbidden - Insufficient permissions

500HTTP code

Internal server error

Get budget information details

Retrieves comprehensive budget details including alert history, usage tracking, and policy configuration for a specific budget. Use this to display budget performance panels with alert history and threshold monitoring in budget management widgets.

Request URL

https://www.site24x7.com/cs/api/cost/custom_report/budget_info/{budget_id}

Scope

CloudSpend.Internal.Read

Request Parameters

- Path Parameters
budget_idintegerMandatory

Unique identifier for the budget

Response Parameters

- HTTP code 200 Response Body - application/json

object
Show Sub-Attributes
messagestring

Response status message

dataobject

Comprehensive budget information

Show Sub-Attributes
alertsarray

Historical budget alerts and notifications

Show Sub-Attributes
end_datedate-time

Alert period end date

start_timestring

Alert period start timestamp

notified_datedate-time

Alert notification timestamp

notified_Timestring

Alert notification timestamp in milliseconds

start_date_numdate-time

Alert period start date

usagenumber

Actual usage amount for the period

end_timestring

Alert period end timestamp

deviationnumber

Deviation from budget (negative = over budget)

thresholdnumber

Budget threshold amount

start_datestring

Human-readable start date

budgetnumber

Budget amount for the period

infoobject

Budget configuration and current status

Show Sub-Attributes
created_timestring

Budget creation timestamp

periodstring

Budget period (Monthly, etc.)

forecasted_valnumber

Forecasted value for current period

currency_localestring

Currency locale setting

forecast_percentinteger

Forecast percentage

notify_viainteger

Notification method

budget_percentnumber

Budget utilization percentage

currency_codestring

Currency code

budgetednumber

Total budgeted amount

modestring

Budget mode (Amount, etc.)

alertsarray

Current alert configuration

Show Sub-Attributes
object

Budget alert configuration and history

Show Sub-Attributes
end_datedate-time

Alert period end date

start_timestring

Alert period start timestamp

notified_datedate-time

Alert notification timestamp

notified_Timestring

Alert notification timestamp in milliseconds

start_date_numdate-time

Alert period start date

usagenumber

Actual usage amount for the period

end_timestring

Alert period end timestamp

deviationnumber

Deviation from budget (negative = over budget)

thresholdnumber

Budget threshold amount

start_datestring

Human-readable start date

budgetnumber

Budget amount for the period

period_rhstring

Period resource handle

currency_unicodestring

Currency symbol

last_updated_timestring

Last update timestamp

mode_idinteger

Budget mode identifier

namestring

Budget name

usage_valuenumber

Current usage value

policyobject

Budget policy configuration

Show Sub-Attributes
account_typeinteger

Account type

account_idstring

Account identifier

policy_idstring

Policy identifier

cost_typestring

Cost type

account_namestring

Account name

policy_namestring

Policy name

tagsobject

Associated tags

Show Sub-Attributes
statusinteger

Budget status

codeinteger

Response status code

- HTTP code 400 Response Body - application/json

object
Show Sub-Attributes
messagestring

Error message

errorstring

Detailed error description

codeinteger

Error code

- HTTP code 401 Response Body - application/json

object
Show Sub-Attributes
messagestring

Error message

errorstring

Authentication error description

codeinteger

Error code

- HTTP code 403 Response Body - application/json

object
Show Sub-Attributes
messagestring

Error message

errorstring

Forbidden access error description

codeinteger

Error code

- HTTP code 500 Response Body - application/json

object
Show Sub-Attributes
messagestring

Error message

errorstring

Internal server error description

codeinteger

Error code

Possible HTTP Status Codes

200HTTP code

Successfully retrieved budget information

400HTTP code

Bad request - Invalid parameters or request format

401HTTP code

Unauthorized - Invalid or missing authentication

403HTTP code

Forbidden - Insufficient permissions

500HTTP code

Internal server error

Get anomaly metadata and summary information

Retrieves anomaly metadata including identity, status, severity, deviation metrics, and cost impact analysis. Use this to load anomaly header information and context for summary displays and status management workflows.

Request URL

https://www.site24x7.com/cs/api/reports/anomaly/summary/list/details/meta

Scope

CloudSpend.Internal.Read

Request Parameters

- Query Parameters
anomaly_idstringMandatory

Unique anomaly identifier for metadata retrieval

detected_timestringMandatory

Specific detection timestamp for anomaly instance metadata (epoch milliseconds)

Response Parameters

- HTTP code 200 Response Body - application/json

object
Show Sub-Attributes
messagestring
dataobject
Show Sub-Attributes
infoobject

Comprehensive anomaly metadata and summary information

Show Sub-Attributes
updated_timestring

Last update timestamp (epoch milliseconds)

anomaly_idstring

Unique anomaly identifier

detected_timestring

Detection timestamp (epoch milliseconds)

cost_account_namestring

Associated cost account name

currency_symbolstring

Currency symbol for cost formatting

currency_localestring

Locale for currency formatting

anomaly_namestring

Anomaly display name (region, service, account)

deviation_percentfloat

Percentage deviation from expected value

anomaly_levelstring

Severity classification

currency_codestring

ISO currency code for cost values

cloud_type_namestring

Cloud provider name

cloud_typeinteger

Cloud provider type (0=AWS, 1=Azure, 2=GCP)

updated_timestampdate-time

Last update timestamp in ISO format

anomaly_statusstring

Current anomaly status

anomaly_status_codeinteger

Status code (1=Open, 2=False Positive, 3=Acknowledged)

anomaly_typestring

Anomaly direction

expected_valuefloat

Expected cost value for comparison

detected_timestampdate-time

Detection timestamp in ISO format

valuefloat

Actual cost value that triggered anomaly

codeinteger

- HTTP code 400 Response Body - application/json

object
Show Sub-Attributes
messagestring

Error message

errorstring

Detailed error description

codeinteger

Error code

- HTTP code 401 Response Body - application/json

object
Show Sub-Attributes
messagestring

Error message

errorstring

Authentication error description

codeinteger

Error code

- HTTP code 403 Response Body - application/json

object
Show Sub-Attributes
messagestring

Error message

errorstring

Forbidden access error description

codeinteger

Error code

- HTTP code 500 Response Body - application/json

object
Show Sub-Attributes
messagestring

Error message

errorstring

Internal server error description

codeinteger

Error code

Possible HTTP Status Codes

200HTTP code

Successfully retrieved anomaly metadata

400HTTP code

Bad request - Invalid parameters or request format

401HTTP code

Unauthorized - Invalid or missing authentication

403HTTP code

Forbidden - Insufficient permissions

500HTTP code

Internal server error

Get budget policies by account type for reports module

Retrieves existing budget policies filtered by account type within the reports module context.

Request URL

https://www.site24x7.com/cs/api/cost/reports/budget_policys/{account_type}

Scope

CloudSpend.Internal.Read

Request Parameters

- Path Parameters
account_typeintegerMandatory

Account type filter for budget policies: - 0: Account-level policies - 1: Cost Centers-level policies - 2: Report-level policies

Response Parameters

- HTTP code 200 Response Body - application/json

object
Show Sub-Attributes
messagestring
dataobject
Show Sub-Attributes
dataarray

Array of budget policies for the specified account type

Show Sub-Attributes
policy_namestring

Policy display name

policy_typestring

Policy type classification

account_typeinteger

Account type (0=Account, 1=BU, 2=Report)

policy_idstring

Unique policy identifier

codeinteger

- HTTP code 400 Response Body - application/json

object
Show Sub-Attributes
messagestring

Error message

errorstring

Detailed error description

codeinteger

Error code

- HTTP code 401 Response Body - application/json

object
Show Sub-Attributes
messagestring

Error message

errorstring

Authentication error description

codeinteger

Error code

- HTTP code 500 Response Body - application/json

object
Show Sub-Attributes
messagestring

Error message

errorstring

Internal server error description

codeinteger

Error code

Possible HTTP Status Codes

200HTTP code

Successfully retrieved budget policies for the specified account type

400HTTP code

Bad request - Invalid parameters or request format

401HTTP code

Unauthorized - Invalid or missing authentication

500HTTP code

Internal server error

Get Account Settings and Configuration

Retrieves account configuration, user profile, organization details, and role assignments for management.

Request URL

https://www.site24x7.com/cs/api/cost/account_settings

Scope

CloudSpend.Internal.Read

Response Parameters

- HTTP code 200 Response Body - application/json

object
Show Sub-Attributes
messagestring

Response message

dataobject
Show Sub-Attributes
account_infoobject

Account contact and identification information

Show Sub-Attributes
account_contact_idstring

Primary account contact email

org_infoobject

Organization information and administrative details

Show Sub-Attributes
org_namestring

Organization name with product identifier

org_adminstring

Organization administrator email address

personal_infoobject

User profile and role information

Show Sub-Attributes
email_idstring

User email address

selection_typeinteger

User selection type (0 = default)

user_idstring

Unique user identifier

role_idinteger

General role identifier

user_namestring

Username for the account

cloudspend_role_idinteger

CloudSpend-specific role identifier

org_roleinteger

Organizational role level (2 = standard admin)

zuidstring

Zoho User ID for internal tracking

mail_admin_cpanelstring

Mail administration control panel URL

subproducts_infoobject

Site24x7 subproduct integration information

Show Sub-Attributes
active_sub_productsarray

Array of active subproduct IDs

codeinteger

Response code (0 = success)

- HTTP code 400 Response Body - application/json

object
Show Sub-Attributes
messagestring

Error message

errorstring

Detailed error description

codeinteger

Error code

- HTTP code 401 Response Body - application/json

object
Show Sub-Attributes
messagestring

Error message

errorstring

Authentication error description

codeinteger

Error code

- HTTP code 404 Response Body - application/json

object
Show Sub-Attributes
messagestring

Error message

errorstring

Not found error description

codeinteger

Error code

- HTTP code 500 Response Body - application/json

object
Show Sub-Attributes
messagestring

Error message

errorstring

Server error description

codeinteger

Error code

Possible HTTP Status Codes

200HTTP code

Account configuration response with organization, user, contact, and integration data.

400HTTP code

Bad request - Invalid parameters or request format

401HTTP code

Unauthorized - Invalid or missing authentication

404HTTP code

Not found - Resource does not exist

500HTTP code

Internal server error

Get reservation utilization chart data for cost analysis (aws/azure)

Returns time-series RI utilization data with daily/monthly usage percentages and trend patterns. Use this to visualize reservation utilization trends and identify underutilization periods.

Request URL

https://www.site24x7.com/cs/api/cost/optimization/{cost_account_id}/utilization/{plan_id}/chart

Scope

CloudSpend.Internal.Read

Request Parameters

- Path Parameters
cost_account_idstringMandatory

Cost account ID from accounts data API (AWS/Azure)

plan_idstringMandatory

Plan ID from utilization list API plan_id field

- Query Parameters
cost_account_idstringMandatory

Cost account ID (matches path parameter)

planIdstringMandatory

Plan ID (matches path parameter)

start_datedateMandatory

Chart data start date for utilization analysis

end_datedateMandatory

Chart data end date for utilization analysis

Response Parameters

- HTTP code 200 Response Body - application/json

object
Show Sub-Attributes
messagestring
dataobject
Show Sub-Attributes
return_dataobject
Show Sub-Attributes
modeinteger

Chart mode (1=utilization percentage, 2=normalized units)

series_dataobject

Time-series data grouped by reservation name

Show Sub-Attributes
codeinteger

- HTTP code 400 Response Body - application/json

object
Show Sub-Attributes
messagestring

Error message

errorstring

Detailed error description

codeinteger

Error code

- HTTP code 401 Response Body - application/json

object
Show Sub-Attributes
messagestring

Error message

errorstring

Authentication error description

codeinteger

Error code

- HTTP code 403 Response Body - application/json

object
Show Sub-Attributes
messagestring

Error message

errorstring

Forbidden access error description

codeinteger

Error code

- HTTP code 500 Response Body - application/json

object
Show Sub-Attributes
messagestring

Error message

errorstring

Internal server error description

codeinteger

Error code

Possible HTTP Status Codes

200HTTP code

Successfully retrieved reservation utilization chart data

400HTTP code

Bad request - Invalid parameters or request format

401HTTP code

Unauthorized - Invalid or missing authentication

403HTTP code

Forbidden - Insufficient permissions

500HTTP code

Internal server error

Get cost by resource for cost centers

Retrieves top 5 highest-cost resources within a cost centers with name, type, cost value, and resource group. Use this for quick resource-level cost identification and optimization targeting.

Request URL

https://www.site24x7.com/cs/api/cost/cost_centers/cost_by_resource

Scope

CloudSpend.Internal.Read

Request Parameters

- Request Body

application/json
object
Show Sub-Attributes
end_datedateOptional

End date for the cost aggregation period in YYYY-MM-DD format

periodintegerOptional

Aggregation period in months

Response Parameters

- HTTP code 201 Response Body - application/json

object
Show Sub-Attributes
messagestring
dataobject
Show Sub-Attributes
return_dataarray

Top 5 highest-cost resources with detailed metadata

Show Sub-Attributes
namestring

Human-readable resource name

idstring

Internal resource identifier

typestring

Cloud service resource type

valuenumber

Total cost incurred for this resource

groupstring

Resource grouping or tag group

codeinteger

- HTTP code 400 Response Body - application/json

object
Show Sub-Attributes
messagestring

Error message

errorstring

Detailed error description

codeinteger

Error code

- HTTP code 401 Response Body - application/json

object
Show Sub-Attributes
messagestring

Error message

errorstring

Authentication error description

codeinteger

Error code

- HTTP code 500 Response Body - application/json

object
Show Sub-Attributes
messagestring

Error message

errorstring

Server error description

codeinteger

Error code

Possible HTTP Status Codes

201HTTP code

Successfully retrieved cost by resource

400HTTP code

Bad request - Invalid parameters or request format

401HTTP code

Unauthorized - Invalid or missing authentication

500HTTP code

Internal server error

Get accounts data for custom report creation

Retrieves all connected cloud accounts organized by cost account with billing account details for custom report creation. Use this as the first step in custom report workflow to present account selection before configuring widgets.

Request URL

https://www.site24x7.com/cs/api/cost/custom_report/accounts_data

Scope

CloudSpend.Internal.Read

Response Parameters

- HTTP code 200 Response Body - application/json

object
Show Sub-Attributes
messagestring

Response status message

dataobject

Accounts data for custom report creation

Show Sub-Attributes
all_accountsarray

All available accounts organized by cost account

Show Sub-Attributes
zaaidstring

Zoho account identifier

cloud_typeinteger

Cloud provider type (0=AWS, 1=Azure, 2=GCP)

child_accountsarray

Billing accounts under this cost account

Show Sub-Attributes
namestring

Account display name

billing_account_idstring

Internal billing account identifier

cloud_typeinteger

Cloud provider type

aws_account_idstring

Cloud account identifier (subscription ID for Azure, account ID for AWS, project ID for GCP)

is_payer_accountboolean

Whether this is a payer account

name_with_entitystring

Account name with entity information

cost_account_idstring

Cost account identifier for grouping

account_namestring

Cost account display name

codeinteger

Response status code

- HTTP code 400 Response Body - application/json

object
Show Sub-Attributes
messagestring

Error message

errorstring

Detailed error description

codeinteger

Error code

- HTTP code 401 Response Body - application/json

object
Show Sub-Attributes
messagestring

Error message

errorstring

Authentication error description

codeinteger

Error code

- HTTP code 403 Response Body - application/json

object
Show Sub-Attributes
messagestring

Error message

errorstring

Forbidden access error description

codeinteger

Error code

- HTTP code 500 Response Body - application/json

object
Show Sub-Attributes
messagestring

Error message

errorstring

Internal server error description

codeinteger

Error code

Possible HTTP Status Codes

200HTTP code

Successfully retrieved accounts data for custom report creation

400HTTP code

Bad request - Invalid parameters or request format

401HTTP code

Unauthorized - Invalid or missing authentication

403HTTP code

Forbidden - Insufficient permissions

500HTTP code

Internal server error

Create custom tags for resources

Creates custom tags for individual resources such as EC2 instances, storage accounts, and other cloud resources.

Request URL

https://www.site24x7.com/cs/api/cost/accounts/resource_explorer/resource_tags

Scope

CloudSpend.Internal.Create

Request Parameters

- Request Body

application/json
object
Show Sub-Attributes
cost_account_idstringMandatory

Parent cost account ID

resource_idstringMandatory

Specific resource ID to tag (from resource explorer APIs)

tagsarrayMandatory

Array of key-value pairs for new custom tags

Show Sub-Attributes
valuestringMandatory

Custom tag value

keystringMandatory

Custom tag key name

Response Parameters

- HTTP code 200 Response Body - application/json

object
Show Sub-Attributes
messagestring
dataobject
Show Sub-Attributes
tagIdstring
statusstring
codeinteger

- HTTP code 400 Response Body - application/json

object
Show Sub-Attributes
messagestring

Error message

errorstring

Detailed error description

codeinteger

Error code

Possible HTTP Status Codes

200HTTP code

Successful response with new tag information

400HTTP code

Bad request - Invalid parameters or request format

Get account-wise cost splitup

Retrieves per-account cost breakdown showing which child accounts drive spending within a cost centers. Use this to identify cost distribution across child accounts for chargeback or cost allocation analysis.

Request URL

https://www.site24x7.com/cs/api/cost/cost_centers/accounts_splitup

Scope

CloudSpend.Internal.Read

Request Parameters

- Request Body

application/json
object
Show Sub-Attributes
end_datedateOptional

End date for the cost aggregation.

periodintegerOptional

Period for aggregation in months.

Response Parameters

- HTTP code 201 Response Body - application/json

object
Show Sub-Attributes
messagestring
dataobject
Show Sub-Attributes
return_dataarray

List of accounts and their respective costs.

Show Sub-Attributes
object

Cost entry for a specific account

Show Sub-Attributes
cost_account_idstring

Unique identifier of the cost account

costfloat

Total cost for this account

account_namestring

Name of the account

codeinteger

- HTTP code 400 Response Body - application/json

object
Show Sub-Attributes
messagestring

Error message

errorstring

Detailed error description

codeinteger

Error code

- HTTP code 401 Response Body - application/json

object
Show Sub-Attributes
messagestring

Error message

errorstring

Authentication error description

codeinteger

Error code

- HTTP code 500 Response Body - application/json

object
Show Sub-Attributes
messagestring

Error message

errorstring

Server error description

codeinteger

Error code

Possible HTTP Status Codes

201HTTP code

Successful response with account-wise cost splitup.

400HTTP code

Bad request - Invalid parameters or request format

401HTTP code

Unauthorized - Invalid or missing authentication

500HTTP code

Internal server error

Get budget usage history

Retrieves budget usage history with chart data and timeline analysis. Use this to get historical usage-vs-budget chart data for trend visualization and deviation tracking.

Request URL

https://www.site24x7.com/cs/api/cost/budget/budget_history/{budget_id}

Scope

CloudSpend.Internal.Read

Request Parameters

- Path Parameters
budget_idstringMandatory

Budget identifier user selection

Response Parameters

- HTTP code 200 Response Body - application/json

object
Show Sub-Attributes
messagestring
dataobject
Show Sub-Attributes
metaobject

Budget history metadata and context

Show Sub-Attributes
checks_idstring

Budget checks identifier

created_timestring

Budget creation timestamp

budget_namestring

Budget display name

account_typeinteger

Account type (0=Account, 1=BU, 2=Report)

policy_idstring

Associated policy identifier

currency_symbolstring

Currency symbol for formatting

currency_localestring

Currency locale for localization

budget_periodstring

Budget monitoring period

currency_codestring

Currency code (USD, INR, etc.)

statusinteger

Budget status (1=active, 0=inactive)

chart_dataobject

Chart visualization data with usage and budget timeline arrays

Show Sub-Attributes
usage_valuesarray

Timeline array of actual usage values

budget_valuesarray

Timeline array of budgeted values

return_dataarray

Detailed budget performance history by period

Show Sub-Attributes
end_datestring

Human-readable period end

start_timestring

Period start time (Unix milliseconds)

checked_timestring

When budget was checked (Unix milliseconds)

end_timestring

Period end time (Unix milliseconds)

usage_valfloat

Actual usage value for period

deviationfloat

Budget deviation (negative = over budget)

notified_timestring

Notification timestamp (Unix milliseconds)

start_datestring

Human-readable period start

budgetedfloat

Budgeted amount for period

codeinteger

- HTTP code 400 Response Body - application/json

object
Show Sub-Attributes
messagestring

Error message

errorstring

Detailed error description

codeinteger

Error code

- HTTP code 401 Response Body - application/json

object
Show Sub-Attributes
messagestring

Error message

errorstring

Authentication error description

codeinteger

Error code

- HTTP code 500 Response Body - application/json

object
Show Sub-Attributes
messagestring

Error message

errorstring

Server error description

codeinteger

Error code

Possible HTTP Status Codes

200HTTP code

Successfully retrieved budget usage history

400HTTP code

Bad request - Invalid parameters or request format

401HTTP code

Unauthorized - Invalid or missing authentication

500HTTP code

Internal server error

List cost centers users and groups

Retrieves all users and user groups associated with cost centers including roles, emails, and group membership. Use this to get contact IDs for report delivery, manage permissions, or audit user roles within cost centers.

Request URL

https://www.site24x7.com/cs/api/cost/cost_centers/users

Scope

CloudSpend.Internal.Read

Request Parameters

- Query Parameters
JSONStringstringOptional

Optional URL-encoded JSON filter with module context.

Response Parameters

- HTTP code 200 Response Body - application/json

object
Show Sub-Attributes
messagestring

Response message

dataobject
Show Sub-Attributes
workspace_migration_infoobject

Information about workspace migration status and details

Show Sub-Attributes
migration_statusstring

Current status of workspace migration

is_migration_enabledboolean

Whether workspace migration is enabled

org_infoobject

Organization information and configuration details

Show Sub-Attributes
creation_timedate-time

Timestamp when the organization was created

service_urluri

Main service URL for the organization

zoho_directory_urluri

URL for Zoho directory services

is_paid_customerboolean

Whether the organization is a paid customer

is_free_userboolean

Whether the user has free tier access

organization_idstring

Unique identifier for the organization

from_emailstring

Primary contact email for notifications or communications

contact_idstring

Contact identifier for the cost centers

usersarray

List of individual users within the cost centers

Show Sub-Attributes
is_account_contactboolean

Indicates if the user is the account contact

cloudspend_roleinteger

Role ID within CloudSpend (8 = CloudSpend Admin, 12 = CloudSpend User)

is_invitedboolean

Whether the user has been invited

invited_bystring

ID of the user who sent the invitation

display_namestring

User's display name

user_role_namestring

Role name of the user in the system

org_roleinteger

Role of the user in the organization (-1 = default, 1 = admin)

cloudspend_role_namestring

CloudSpend specific role name

selection_typeinteger

Type of user selection (0 = individual, 1 = group)

user_roleinteger

User role identifier (matches cloudspend_role)

email_addressemail

User's email address

last_updated_timedate-time

Timestamp of the last update for the user

user_idstring

Unique identifier for the user

mobile_settingsobject

Any mobile-specific settings for the user

Show Sub-Attributes
photo_urlstring

URL of the user's profile photo

notify_mediumarray

Preferred notification channels

user_groupsarray

List of user groups within the cost centers

Show Sub-Attributes
is_master_groupboolean

Indicates if the group is a master group

attribute_group_idstring

Identifier for the attribute group (can be empty for master groups)

display_namestring

Display name of the group

user_group_idstring

Unique identifier for the group

usersarray

List of user_id strings that belong to this group

product_idinteger

Associated product ID (0 = default/all products)

codeinteger

Status code of the response (0 indicates success)

- HTTP code 400 Response Body - application/json

object
Show Sub-Attributes
messagestring

Error message

errorstring

Detailed error description

codeinteger

Error code

- HTTP code 401 Response Body - application/json

object
Show Sub-Attributes
messagestring

Error message

errorstring

Authentication error description

codeinteger

Error code

- HTTP code 500 Response Body - application/json

object
Show Sub-Attributes
messagestring

Error message

errorstring

Server error description

codeinteger

Error code

Possible HTTP Status Codes

200HTTP code

Successfully retrieved users and groups for cost centers

400HTTP code

Bad request - Invalid parameters or request format

401HTTP code

Unauthorized - Invalid or missing authentication

500HTTP code

Internal server error

List all cost centers

Retrieves all cost centers with name, cloud type, hybrid status, and associated cost account IDs. Use this to discover cost centers and extract cost_account_ids for downstream cost analysis APIs.

Request URL

https://www.site24x7.com/cs/api/cost/cost_centers

Scope

CloudSpend.Internal.Read

Response Parameters

- HTTP code 200 Response Body - application/json

object
Show Sub-Attributes
messagestring

Response message

dataobject
Show Sub-Attributes
business_unitsarray

List of cost centers

Show Sub-Attributes
object

Cost centers with associated cost accounts

Show Sub-Attributes
namestring

Name of the cost centers

is_hybridboolean

Indicates if the cost centers spans multiple cloud platforms

idstring

Cost centers ID from listCostCenters selection (use BUSINESS_UNIT_IDENTIFIER field)

cloud_typeinteger

Cloud platform type:

  • -1 = Hybrid (multiple cloud platforms)
  • 0 = AWS
  • 1 = Azure
  • 2 = GCP
cost_account_idarray

List of cost account IDs associated with this cost centers

codeinteger

Response status code

- HTTP code 400 Response Body - application/json

object
Show Sub-Attributes
messagestring

Error message

errorstring

Detailed error description

codeinteger

Error code

- HTTP code 401 Response Body - application/json

object
Show Sub-Attributes
messagestring

Error message

errorstring

Authentication error description

codeinteger

Error code

- HTTP code 500 Response Body - application/json

object
Show Sub-Attributes
messagestring

Error message

errorstring

Server error description

codeinteger

Error code

Possible HTTP Status Codes

200HTTP code

Cost centers retrieved successfully.

400HTTP code

Bad request - Invalid parameters or request format

401HTTP code

Unauthorized - Invalid or missing authentication

500HTTP code

Internal server error

Get accounts data for permission boundary configuration

Retrieves all cost accounts with their child billing accounts (subscriptions, linked accounts, projects) organized by cloud provider for permission boundary source selection. Use this when the admin selects Account as the variation type in Add Permission Boundary to load the hierarchy of selectable source accounts.

Request URL

https://www.site24x7.com/cs/api/cost/admin/accounts_data

Scope

CloudSpend.Internal.Read

Response Parameters

- HTTP code 200 Response Body - application/json

object
Show Sub-Attributes
messagestring
dataobject
Show Sub-Attributes
all_accountsarray

List of all cost accounts by cloud provider

Show Sub-Attributes
zaaidstring

Zoho account application ID

cloud_typeinteger

Cloud provider (0=AWS, 1=Azure, 2=GCP)

child_accountsarray

List of linked/child accounts under this cost account

Show Sub-Attributes
billing_account_idstring

Billing account identifier

namestring

Child account name

cloud_typeinteger

Cloud provider type

aws_account_idstring

Cloud provider account/subscription ID

is_payer_accountboolean

Whether this is a payer/management account

name_with_entitystring

Full name with entity suffix

cost_account_idstring

Cost account identifier

account_namestring

Cost account display name

codeinteger

- HTTP code 400 Response Body - application/json

object
Show Sub-Attributes
messagestring

Error message

errorstring

Detailed error description

codeinteger

Error code

- HTTP code 401 Response Body - application/json

object
Show Sub-Attributes
messagestring

Error message

errorstring

Authentication error description

codeinteger

Error code

- HTTP code 403 Response Body - application/json

object
Show Sub-Attributes
messagestring

Error message

errorstring

Forbidden access error description

codeinteger

Error code

- HTTP code 500 Response Body - application/json

object
Show Sub-Attributes
messagestring

Error message

errorstring

Internal server error description

codeinteger

Error code

Possible HTTP Status Codes

200HTTP code

Successfully retrieved accounts data

400HTTP code

Bad request - Invalid parameters or request format

401HTTP code

Unauthorized - Invalid or missing authentication

403HTTP code

Forbidden - Insufficient permissions

500HTTP code

Internal server error

Get solution reports metadata for anomaly check creation

Retrieves solution reports metadata for anomaly check creation with account associations and report type classification. Use this to discover available reports organized by account for creating report-level anomaly budget policies.

Request URL

https://www.site24x7.com/cs/api/cost/anomaly/solution_reports_meta

Scope

CloudSpend.Internal.Read

Response Parameters

- HTTP code 200 Response Body - application/json

object
Show Sub-Attributes
messagestring

Response message

dataobject
Show Sub-Attributes
nav_dataarray

Navigation structure for report organization

Show Sub-Attributes
reports_metaobject

Reports organized by account ID

Show Sub-Attributes
reports_cx_preferencesarray

Report customer preferences

Show Sub-Attributes
codeinteger

Response status code

- HTTP code 400 Response Body - application/json

object
Show Sub-Attributes
messagestring

Error message

errorstring

Detailed error description

codeinteger

Error code

- HTTP code 401 Response Body - application/json

object
Show Sub-Attributes
messagestring

Error message

errorstring

Authentication error description

codeinteger

Error code

- HTTP code 500 Response Body - application/json

object
Show Sub-Attributes
messagestring

Error message

errorstring

Server error description

codeinteger

Error code

Possible HTTP Status Codes

200HTTP code

Successfully retrieved solution reports metadata for anomaly check creation

400HTTP code

Bad request - Invalid parameters or request format

401HTTP code

Unauthorized - Invalid or missing authentication

500HTTP code

Internal server error

Get governance rca summary metrics

Retrieves governance RCA summary metrics including resource counts, cost totals, and compliance percentages. Use this as the first step in the 5-API RCA workflow to get high-level non-compliance metrics before drilling into resources.

Request URL

https://www.site24x7.com/cs/api/cost/governance/checks/rca/summary

Scope

CloudSpend.Internal.Read

Request Parameters

- Query Parameters
ruleChecksIdstringMandatory

Governance policy identifier associated with the governance check.

incidentTimestringMandatory

Unix timestamp in milliseconds for the governance check period start time.

Response Parameters

- HTTP code 200 Response Body - application/json

object
Show Sub-Attributes
messagestring
dataobject
Show Sub-Attributes
checks_resourcesstring

Number of resources checked for compliance

total_coststring

Total cost of all resources

total_resourcesstring

Total number of resources in scope

non_compliant_resource_percentagestring

Percentage of non-compliant resources

checks_coststring

Cost of resources checked for compliance

non_compliant_cost_percentagestring

Percentage of non-compliant cost

codeinteger

- HTTP code 400 Response Body - application/json

object
Show Sub-Attributes
messagestring

Error message

errorstring

Detailed error description

codeinteger

Error code

- HTTP code 401 Response Body - application/json

object
Show Sub-Attributes
messagestring

Error message

errorstring

Authentication error description

codeinteger

Error code

- HTTP code 500 Response Body - application/json

object
Show Sub-Attributes
messagestring

Error message

errorstring

Server error description

codeinteger

Error code

Possible HTTP Status Codes

200HTTP code

Successfully retrieved governance RCA summary

400HTTP code

Bad request - Invalid parameters or request format

401HTTP code

Unauthorized - Invalid or missing authentication

500HTTP code

Internal server error

Get detailed reservation utilization for multi-cloud services (aws/azure)

Returns reservation details with subscription, terms, payment, utilization rates, and regional data. Use this for RI/reservation contract analysis after selecting a product from the summary.

Request URL

https://www.site24x7.com/cs/api/cost/optimization/{cost_account_id}/utilization/{product_id}/list

Scope

CloudSpend.Internal.Read

Request Parameters

- Path Parameters
cost_account_idstringMandatory

Cost account ID from accounts data API (AWS/Azure)

product_idstringMandatory

Product ID from optimization summary opt_prod_id field

- Query Parameters
cost_account_idstringMandatory

Cost account ID (matches path parameter)

productIdstringMandatory

Product ID (matches path parameter)

start_datedateMandatory

Start date for utilization analysis

end_datedateMandatory

End date for utilization analysis

Response Parameters

- HTTP code 200 Response Body - application/json

object
Show Sub-Attributes
messagestring
dataobject
Show Sub-Attributes
return_dataobject
Show Sub-Attributes
cloud_typeinteger

Cloud provider type - 0=AWS, 1=Azure, 2=GCP

utility_dataarray

Detailed reservation utilization data

Show Sub-Attributes
cl.cst.optimization.offering.typestring

Reservation offering type

cl.cst.optimization.durationstring

Contract duration

cl.cst.optimization.subscription.idstring

AWS reservation subscription ID

cl.cst.optimization.start.timestring

Reservation start timestamp

cl.cst.optimization.zonestring

Availability zone

cl.cst.optimization.upfrontnumber

Upfront payment amount

cl.cst.optimization.end.timestring

Reservation end timestamp

cl.cst.optimization.arnstring

AWS reservation ARN

cl.cst.client.opt.purchase.account.namestring

Account name that purchased the reservation

cl.cst.optimization.rinumber

Reserved instance utilization factor

global.regionstring

AWS region

cl.cst.client.opt.purchase.account.idstring

AWS account ID

plan_idstring

Internal plan identifier

codeinteger

- HTTP code 400 Response Body - application/json

object
Show Sub-Attributes
messagestring

Error message

errorstring

Detailed error description

codeinteger

Error code

- HTTP code 401 Response Body - application/json

object
Show Sub-Attributes
messagestring

Error message

errorstring

Authentication error description

codeinteger

Error code

- HTTP code 403 Response Body - application/json

object
Show Sub-Attributes
messagestring

Error message

errorstring

Forbidden access error description

codeinteger

Error code

- HTTP code 500 Response Body - application/json

object
Show Sub-Attributes
messagestring

Error message

errorstring

Internal server error description

codeinteger

Error code

Possible HTTP Status Codes

200HTTP code

Successfully retrieved reservation utilization details

400HTTP code

Bad request - Invalid parameters or request format

401HTTP code

Unauthorized - Invalid or missing authentication

403HTTP code

Forbidden - Insufficient permissions

500HTTP code

Internal server error

Get schedule profiles for zia anomaly report scheduling

Retrieves available scheduling profiles for Zia anomaly report delivery with daily, weekly, and monthly options. Use this as the first step in anomaly report scheduling to present profile options for frequency selection.

Request URL

https://www.site24x7.com/cs/api/cost/reports/anomaly/report/profiles

Scope

CloudSpend.Internal.Read

Response Parameters

- HTTP code 200 Response Body - application/json

object
Show Sub-Attributes
messagestring
dataobject
Show Sub-Attributes
return_dataobject
Show Sub-Attributes
return_dataarray

Available scheduling profiles for anomaly reports

Show Sub-Attributes
periodinteger

Period configuration for scheduling

report_hour_meridieminteger

AM/PM indicator (1=AM, 2=PM)

timezonestring

Timezone for report delivery

report_hourinteger

Hour for report delivery (0-12)

report_hour_meridiem_textstring

AM/PM text representation

frequencyinteger

Report frequency (1=Monthly, 4=Daily, 7=Weekly)

report_dayinteger

Day configuration for scheduling

report_timeinteger

Time configuration identifier

profile_idstring

Unique profile identifier

default_profileinteger

Default profile flag (0=Custom, 1=Default)

namestring

Profile display name

report_monthinteger

Month configuration for scheduling

configstring

Profile configuration details

codeinteger

- HTTP code 400 Response Body - application/json

object
Show Sub-Attributes
messagestring

Error message

errorstring

Detailed error description

codeinteger

Error code

- HTTP code 401 Response Body - application/json

object
Show Sub-Attributes
messagestring

Error message

errorstring

Authentication error description

codeinteger

Error code

- HTTP code 403 Response Body - application/json

object
Show Sub-Attributes
messagestring

Error message

errorstring

Forbidden access error description

codeinteger

Error code

- HTTP code 500 Response Body - application/json

object
Show Sub-Attributes
messagestring

Error message

errorstring

Internal server error description

codeinteger

Error code

Possible HTTP Status Codes

200HTTP code

Successfully retrieved anomaly schedule profiles

400HTTP code

Bad request - Invalid parameters or request format

401HTTP code

Unauthorized - Invalid or missing authentication

403HTTP code

Forbidden - Insufficient permissions

500HTTP code

Internal server error

Get solution reports listing (level 1 cards) - not for spend analysis

Returns Level 1 solution report cards with summary details. Use this for report listing only - for spend analysis data, use the solution report widget APIs such as getSolSpendAnalysisPanelReports.

Request URL

https://www.site24x7.com/cs/api/cost/sol_reports

Scope

CloudSpend.Internal.Read

Request Parameters

- Query Parameters
JSONStringstringMandatory

URL-encoded JSON with business_unit_id and report_type arrays.

Response Parameters

- HTTP code 200 Response Body - application/json

object
Show Sub-Attributes
messagestring

Response message

dataobject
Show Sub-Attributes
all_accountsobject

Solution reports grouped by cost centers ID

Show Sub-Attributes
codeinteger

Response status code

- HTTP code 400 Response Body - application/json

object
Show Sub-Attributes
messagestring
codeinteger

- HTTP code 401 Response Body - application/json

object
Show Sub-Attributes
messagestring

Error message

errorstring

Authentication error description

codeinteger

Error code

- HTTP code 403 Response Body - application/json

object
Show Sub-Attributes
messagestring

Error message

errorstring

Forbidden access error description

codeinteger

Error code

- HTTP code 500 Response Body - application/json

object
Show Sub-Attributes
messagestring

Error message

errorstring

Internal server error description

codeinteger

Error code

Possible HTTP Status Codes

200HTTP code

Successfully retrieved solution reports

400HTTP code

Bad Request - Invalid JSONString parameter

401HTTP code

Unauthorized - Invalid or missing authentication

403HTTP code

Forbidden - Insufficient permissions

500HTTP code

Internal server error

Get comprehensive resource tags data

Retrieves complete tagging information for a specific resource including tag names, values, and variations. Use this to display resource tag details for governance, compliance monitoring, and metadata analysis on the resource detail page.

Request URL

https://www.site24x7.com/cs/api/cost/resource/{resource_id}/tags

Scope

CloudSpend.Internal.Read

Request Parameters

- Path Parameters
resource_idstringMandatory

Specific resource ID for tag information retrieval

- Request Body

application/json
object
Show Sub-Attributes
cost_account_idstringMandatory

Parent cost account identifier for resource context

resource_idstringMandatory

Specific resource ID for tag retrieval (same as path parameter)

Response Parameters

- HTTP code 200 Response Body - application/json

object
Show Sub-Attributes
messagestring

Response status message

dataobject

Resource tagging information container

Show Sub-Attributes
return_dataarray

Array of comprehensive tag information for the resource

Show Sub-Attributes
namestring

Tag key name

idstring

Unique tag identifier

valuestring

Tag value

variationinteger

Tag variation indicator for versioning and changes

codeinteger

Response status code

- HTTP code 400 Response Body - application/json

object
Show Sub-Attributes
messagestring

Error message

errorstring

Detailed error description

codeinteger

Error code

- HTTP code 401 Response Body - application/json

object
Show Sub-Attributes
messagestring

Error message

errorstring

Authentication error description

codeinteger

Error code

- HTTP code 403 Response Body - application/json

object
Show Sub-Attributes
messagestring

Error message

errorstring

Forbidden access error description

codeinteger

Error code

- HTTP code 500 Response Body - application/json

object
Show Sub-Attributes
messagestring

Error message

errorstring

Internal server error description

codeinteger

Error code

Possible HTTP Status Codes

200HTTP code

Successfully retrieved resource tags data

400HTTP code

Bad request - Invalid parameters or request format

401HTTP code

Unauthorized - Invalid or missing authentication

403HTTP code

Forbidden - Insufficient permissions

500HTTP code

Internal server error

Get available widgets for custom report creation

Retrieves the widget catalog organized by categories for custom dashboard creation and configuration. Use this after account and budget selection to present available widget types for the user to choose from.

Request URL

https://www.site24x7.com/cs/api/cost/widgets

Scope

CloudSpend.Internal.Read

Response Parameters

- HTTP code 200 Response Body - application/json

object
Show Sub-Attributes
messagestring

Response status message

dataobject

Available widgets catalog

Show Sub-Attributes
return_dataobject

Widget catalog data

Show Sub-Attributes
widgetsarray

Complete catalog of available widgets

Show Sub-Attributes
namestring

Widget display name (localization key)

idinteger

Unique widget identifier

categorystring

Widget main category classification

sub_categorystring

Widget sub-category classification

codeinteger

Response status code

- HTTP code 400 Response Body - application/json

object
Show Sub-Attributes
messagestring

Error message

errorstring

Detailed error description

codeinteger

Error code

- HTTP code 401 Response Body - application/json

object
Show Sub-Attributes
messagestring

Error message

errorstring

Authentication error description

codeinteger

Error code

- HTTP code 403 Response Body - application/json

object
Show Sub-Attributes
messagestring

Error message

errorstring

Forbidden access error description

codeinteger

Error code

- HTTP code 500 Response Body - application/json

object
Show Sub-Attributes
messagestring

Error message

errorstring

Internal server error description

codeinteger

Error code

Possible HTTP Status Codes

200HTTP code

Successfully retrieved available widgets catalog

400HTTP code

Bad request - Invalid parameters or request format

401HTTP code

Unauthorized - Invalid or missing authentication

403HTTP code

Forbidden - Insufficient permissions

500HTTP code

Internal server error

Get hierarchical cost allocation data for interactive navigation

Retrieves hierarchical cost allocation nodes for level-by-level drill-down navigation across clouds, accounts, and services. Use this to power cost allocation exploration where each node can be expanded to reveal children from root to service level.

Request URL

https://www.site24x7.com/cs/api/cost/reports/hierarchy/report/{allocation_id}/graph

Scope

CloudSpend.Internal.Read

Request Parameters

- Path Parameters
allocation_idstring(matches: ^\d+$)Mandatory

- Query Parameters
nodestringMandatory

Parent node identifier to retrieve child nodes for. - Level 1: Use same root_node_id value used in path param - Level 2+: Use entityDataId from previous level's response nodes to drill down

levelintegerMandatory

Hierarchy level to retrieve. Level 1=Root summary, 2=Cloud type breakdown (AWS/Azure/GCP), 3=Accounts within cloud type, 4=Account details, 5+=Service/resource breakdown. Start at level 1 and drill down incrementally.

start_datedateMandatory

Cost analysis start date for hierarchy calculation

end_datedateMandatory

Cost analysis end date for hierarchy calculation

Response Parameters

- HTTP code 200 Response Body - application/json

object
Show Sub-Attributes
messagestring

Response status message

dataobject

Hierarchical node data for current level

Show Sub-Attributes
nodesarray

Array of child nodes at requested hierarchy level

Show Sub-Attributes
business_unit_idstring

Cost center/cost account identifier for the node

costfloat

Total cost amount for this node in current period

actual_costfloat

Actual cost amount (typically same as cost)

namestring

Display name of the hierarchy node (cloud type, account name, etc.)

entityDataIdstring

Unique node identifier for subsequent drill-down navigation

sectorCountinteger

Number of child nodes available for further expansion Values: 0=leaf node (no children), >0=expandable with children

tag_coveragefloat

Percentage of costs with proper cost tagging (0-100)

cost_percentage_difffloat

Percentage change in cost from previous period

codeinteger

Response status code

- HTTP code 400 Response Body - application/json

object
Show Sub-Attributes
messagestring

Error message

errorstring

Detailed error description

codeinteger

Error code

- HTTP code 401 Response Body - application/json

object
Show Sub-Attributes
messagestring

Error message

errorstring

Authentication error description

codeinteger

Error code

- HTTP code 403 Response Body - application/json

object
Show Sub-Attributes
messagestring

Error message

errorstring

Forbidden access error description

codeinteger

Error code

- HTTP code 500 Response Body - application/json

object
Show Sub-Attributes
messagestring

Error message

errorstring

Internal server error description

codeinteger

Error code

Possible HTTP Status Codes

200HTTP code

Successfully retrieved hierarchical cost allocation data

400HTTP code

Bad request - Invalid parameters or request format

401HTTP code

Unauthorized - Invalid or missing authentication

403HTTP code

Forbidden - Insufficient permissions

404HTTP code

Allocation hierarchy node not found

500HTTP code

Internal server error

Get similar cost centers anomalies

Discovers similar anomaly patterns across regions, services, accounts, and tags for correlation analysis. Use this to find related anomalies after completing the primary investigation to identify systemic cost issues. Use this to find related anomalies after completing the primary investigation to identify systemic cost issues.

Request URL

https://www.site24x7.com/cs/api/cost/cost_centers/spend_analysis/anomaly/similar

Scope

CloudSpend.Internal.Read

Request Parameters

- Query Parameters
anomaly_idstringMandatory

Anomaly identifier

start_datedateMandatory

Start date for similar anomaly search in YYYY-MM-DD format

end_datedateMandatory

End date for similar anomaly search in YYYY-MM-DD format

Response Parameters

- HTTP code 200 Response Body - application/json

object
Show Sub-Attributes
messagestring
dataobject
Show Sub-Attributes
similar_anomaliesarray

List of similar anomalies with categorization

Show Sub-Attributes
anomaly_namestring

Name of the similar anomaly

categoryinteger

Anomaly category classification: 1=Region, 2=Service, 3=Account, 10001=Account Type, 10002=Cost Centers, 13=Resource, 15=Resource Group, 32=Instance Type, 33=Tag

anomaly_idstring

Unique identifier of similar anomaly

codeinteger

- HTTP code 400 Response Body - application/json

object
Show Sub-Attributes
messagestring

Error message

errorstring

Detailed error description

codeinteger

Error code

- HTTP code 401 Response Body - application/json

object
Show Sub-Attributes
messagestring

Error message

errorstring

Authentication error description

codeinteger

Error code

- HTTP code 500 Response Body - application/json

object
Show Sub-Attributes
messagestring

Error message

errorstring

Server error description

codeinteger

Error code

Possible HTTP Status Codes

200HTTP code

Successfully retrieved similar anomalies

400HTTP code

Bad request - Invalid parameters or request format

401HTTP code

Unauthorized - Invalid or missing authentication

500HTTP code

Internal server error

Get cost by instance type for cost centers

Retrieves top 5 highest-cost instance types within a cost centers with service name, instance type, cost, and availability zone. Use this for instance-level optimization, rightsizing analysis, or identifying expensive compute workloads.

Request URL

https://www.site24x7.com/cs/api/cost/cost_centers/cost_by_instance

Scope

CloudSpend.Internal.Read

Request Parameters

- Request Body

application/json
object
Show Sub-Attributes
end_datedateMandatory

End date for cost analysis (YYYY-MM-DD)

periodintegerMandatory

Period identifier for cost analysis

Response Parameters

- HTTP code 200 Response Body - application/json

object
Show Sub-Attributes
messagestring
dataobject
Show Sub-Attributes
return_dataarray

Top 5 highest-cost instance types with detailed metadata

Show Sub-Attributes
namestring

AWS service name (e.g., AmazonEC2, AmazonES)

instance_typestring

Instance type contributing to the cost

valuenumber

Total cost for this instance type

avalability_zonestring

AWS availability zone of the instance

codeinteger

- HTTP code 400 Response Body - application/json

object
Show Sub-Attributes
messagestring

Error message

errorstring

Detailed error description

codeinteger

Error code

- HTTP code 401 Response Body - application/json

object
Show Sub-Attributes
messagestring

Error message

errorstring

Authentication error description

codeinteger

Error code

- HTTP code 500 Response Body - application/json

object
Show Sub-Attributes
messagestring

Error message

errorstring

Server error description

codeinteger

Error code

Possible HTTP Status Codes

200HTTP code

Successfully retrieved cost by instance data

400HTTP code

Bad request - Invalid parameters or request format

401HTTP code

Unauthorized - Invalid or missing authentication

500HTTP code

Internal server error

List MSP customer alert configurations for accounts module

Retrieves alert configurations for MSP customers within the accounts module context.

Request URL

https://www.site24x7.com/cs/api/cost/accounts/integration/msp_alert_configs

Scope

CloudSpend.Internal.Read

Request Parameters

- Query Parameters
JSONStringstringOptional

JSON string containing MSP customer filter parameters

Response Parameters

- HTTP code 200 Response Body - application/json

- HTTP code 400 Response Body - application/json

object
Show Sub-Attributes
messagestring

Error message

errorstring

Detailed error description

codeinteger

Error code

- HTTP code 401 Response Body - application/json

object
Show Sub-Attributes
messagestring

Error message

errorstring

Authentication error description

codeinteger

Error code

- HTTP code 500 Response Body - application/json

object
Show Sub-Attributes
messagestring

Error message

errorstring

Server error description

codeinteger

Error code

Possible HTTP Status Codes

200HTTP code

Successfully retrieved MSP alert configurations

400HTTP code

Bad request - Invalid parameters or request format

401HTTP code

Unauthorized - Invalid or missing authentication

500HTTP code

Internal server error

Get Account Spend Anomaly Chart Data

Provides anomaly timeline chart data showing occurrence patterns and severity levels over time for anomaly visualization.

Request URL

https://www.site24x7.com/cs/api/accounts/spend_analysis/anomaly/chart

Scope

CloudSpend.Internal.Read

Request Parameters

- Query Parameters
anomaly_idstringMandatory

Anomaly identifier. return_data.anomaly_widget.anomaly_id g., "1", "123", "456")

start_datedateMandatory

Start date for anomaly timeline analysis in YYYY-MM-DD format.

end_datedateMandatory

End date for anomaly timeline analysis in YYYY-MM-DD format.

Response Parameters

- HTTP code 200 Response Body - application/json

object

Response for getAccountSpendAnomalyChart API - anomaly timeline chart data

Show Sub-Attributes
messagestring(length <= 255)

Response message

dataobject

Container for anomaly chart data

Show Sub-Attributes
metaobject

Anomaly metadata

Show Sub-Attributes
last_detected_timestampstring

Human-readable last detection timestamp

anomaly_idstring

Anomaly identifier

cloud_type_namestring

Cloud provider name

cloud_typeinteger

Cloud type (0=AWS, 20=Azure)

last_detected_timelong

Unix milliseconds of last detection

category_idstring

Anomaly category ID

anomaly_namestring

Account/resource name

categorystring

Anomaly category

total_occurencesstring

Total occurrence count

chart_dataobject

Chart data with severity level keys (1, 2, 3)

Show Sub-Attributes
codeinteger

Response status code (0 = success)

- HTTP code 400 Response Body - application/json

object
Show Sub-Attributes
messagestring

Error message

errorstring

Detailed error description

codeinteger

Error code

- HTTP code 401 Response Body - application/json

object
Show Sub-Attributes
messagestring

Error message

errorstring

Authentication error description

codeinteger

Error code

- HTTP code 404 Response Body - application/json

object
Show Sub-Attributes
messagestring

Error message

errorstring

Not found error description

codeinteger

Error code

- HTTP code 500 Response Body - application/json

object
Show Sub-Attributes
messagestring

Error message

errorstring

Server error description

codeinteger

Error code

Possible HTTP Status Codes

200HTTP code

Anomaly timeline chart data with occurrence patterns and metadata.

400HTTP code

Bad request - Invalid parameters or request format

401HTTP code

Unauthorized - Invalid or missing authentication

404HTTP code

Not found - Resource does not exist

500HTTP code

Internal server error

Get schedule profiles for allocation report scheduling

Retrieves available scheduling profiles for cost allocation report delivery with frequency, timing, and timezone options. Use this to present scheduling options before creating automated allocation report delivery configurations.

Request URL

https://www.site24x7.com/cs/api/cost/reports/hierarchy/report/profiles

Scope

CloudSpend.Internal.Read

Response Parameters

- HTTP code 200 Response Body - application/json

object
Show Sub-Attributes
messagestring
dataobject
Show Sub-Attributes
return_dataobject
Show Sub-Attributes
return_dataarray

Available scheduling profiles for allocation reports

Show Sub-Attributes
periodinteger

Report period type (1=current month, 7=last week, 11=last month, 14=current month)

report_dayinteger

Day of week (for weekly) or day of month (for monthly)

report_hour_meridieminteger

AM/PM indicator (1=AM, 2=PM)

profile_idstring

Unique profile identifier for allocation scheduling

timezonestring

Timezone for delivery scheduling

report_hourinteger

Hour of day for delivery (0-23)

default_profileinteger

Whether this is the default profile (1=default, 0=custom)

namestring

Display name for profile selection

report_hour_meridiem_textstring

Text representation of AM/PM

frequencyinteger

Frequency ID (1=monthly, 4=daily, 7=weekly)

codeinteger

- HTTP code 400 Response Body - application/json

object
Show Sub-Attributes
messagestring

Error message

errorstring

Detailed error description

codeinteger

Error code

- HTTP code 401 Response Body - application/json

object
Show Sub-Attributes
messagestring

Error message

errorstring

Authentication error description

codeinteger

Error code

- HTTP code 403 Response Body - application/json

object
Show Sub-Attributes
messagestring

Error message

errorstring

Forbidden access error description

codeinteger

Error code

- HTTP code 500 Response Body - application/json

object
Show Sub-Attributes
messagestring

Error message

errorstring

Internal server error description

codeinteger

Error code

Possible HTTP Status Codes

200HTTP code

Successfully retrieved allocation schedule profiles

400HTTP code

Bad request - Invalid parameters or request format

401HTTP code

Unauthorized - Invalid or missing authentication

403HTTP code

Forbidden - Insufficient permissions

500HTTP code

Internal server error

Get cost by resource for custom dashboard widgets only

Retrieves resource-level cost breakdown with name, type, cost, and classification for custom dashboard widgets. Use this to populate cost by resource table widgets in user-configured custom dashboards with resource group filtering support.

Request URL

https://www.site24x7.com/cs/api/cost/custom_report/cost_by_resource

Scope

CloudSpend.Internal.Read

Request Parameters

- Request Body

application/json
object
Show Sub-Attributes
end_datedateOptional

Analysis end date

cost_tagsarrayOptional

Cost tag filters for resource selection. Supports resource group filtering.

periodintegerOptional

Period type for analysis

accountsarrayOptional

Array of account configurations with billing account selections

Show Sub-Attributes
cost_account_idstringOptional

Cost account identifier

billing_account_idsarrayOptional

Array of billing account IDs

cost_typeintegerOptional

Cost calculation type (20=unblended, etc.)

start_datedateOptional

Analysis start date

Response Parameters

- HTTP code 200 Response Body - application/json

object
Show Sub-Attributes
messagestring

Response status message

dataobject

Cost by resource breakdown data

Show Sub-Attributes
return_dataarray

Array of resource cost data

Show Sub-Attributes
resource_groupstring

Resource group name (e.g., vidyashankar_group)

costnumber

Resource cost value (AWS format)

service_namestring

Cloud service name

account_namestring

Account display name

namestring

Resource name (Azure format)

resource_idstring

Unique resource identifier (AWS format)

idstring

Resource identifier (Azure format)

resource_namestring

Resource display name or ARN (AWS format)

regionstring

Cloud region

typestring

Resource type / service category (Azure format)

valuenumber

Resource cost value (Azure format)

groupstring

Resource group or organizational unit (Azure format)

codeinteger

Response status code

- HTTP code 400 Response Body - application/json

object
Show Sub-Attributes
messagestring

Error message

errorstring

Detailed error description

codeinteger

Error code

- HTTP code 401 Response Body - application/json

object
Show Sub-Attributes
messagestring

Error message

errorstring

Authentication error description

codeinteger

Error code

- HTTP code 403 Response Body - application/json

object
Show Sub-Attributes
messagestring

Error message

errorstring

Forbidden access error description

codeinteger

Error code

- HTTP code 500 Response Body - application/json

object
Show Sub-Attributes
messagestring

Error message

errorstring

Internal server error description

codeinteger

Error code

Possible HTTP Status Codes

200HTTP code

Successfully retrieved cost by resource data

400HTTP code

Bad request - Invalid parameters or request format

401HTTP code

Unauthorized - Invalid or missing authentication

403HTTP code

Forbidden - Insufficient permissions

500HTTP code

Internal server error

Get available tags for cost analysis grouping

Retrieves available tags organized by category for use in tag-based cost grouping within groupAccountsByProperty. Use this to discover which tags are available before constructing group_by_tags arrays for tag-based cost analysis.

Request URL

https://www.site24x7.com/cs/api/cost/show_more_tags

Scope

CloudSpend.Internal.Read

Request Parameters

- Request Body

application/json
object
Show Sub-Attributes
end_datedateMandatory

End date in YYYY-MM-DD format

cost_tagsarrayMandatory

Cost allocation tags filter (typically empty for tag discovery)

periodintegerMandatory

Period type (always 1 for monthly)

cost_typeintegerMandatory

Cost type - 0 for AWS/GCP, 20 for Azure

accountsarrayMandatory

Account structure array with cost_account_id and billing_account_ids

Show Sub-Attributes
cost_account_idstringMandatory

Parent cost account ID

billing_account_idsarrayMandatory

Child billing account IDs

group_by_typestringMandatory

Must be 'tag' for tag-based analysis

start_datedateMandatory

Start date in YYYY-MM-DD format

Response Parameters

- HTTP code 200 Response Body - application/json

object
Show Sub-Attributes
messagestring

Response message

dataobject
Show Sub-Attributes
return_dataobject

Tags organized by category/name with arrays of tag objects

Show Sub-Attributes
codeinteger

Status code (0 indicates success)

- HTTP code 400 Response Body - application/json

object
Show Sub-Attributes
messagestring

Error message

errorstring

Detailed error description

codeinteger

Error code

- HTTP code 401 Response Body - application/json

object
Show Sub-Attributes
messagestring

Error message

errorstring

Authentication error description

codeinteger

Error code

- HTTP code 500 Response Body - application/json

object
Show Sub-Attributes
messagestring

Error message

errorstring

Server error description

codeinteger

Error code

Possible HTTP Status Codes

200HTTP code

Successfully retrieved available tags organized by categories

400HTTP code

Bad request - Invalid parameters or request format

401HTTP code

Unauthorized - Invalid or missing authentication

403HTTP code

Access denied to cost centers or accounts

500HTTP code

Internal server error

Generate dashboard/accounts report

Generates accounts dashboard reports and account overviews with widget visualizations, cost allocation views, and dashboard snapshots.

Request URL

https://www.site24x7.com/cs/api/cost/accounts/report

Scope

CloudSpend.Internal.Create

Request Parameters

- Request Body

application/json
object

Payload structure for ALL report types: Required parameters: cost_ids, report_name, type, format, frequency, contact_ids, profile

Show Sub-Attributes
cost_idsarrayMandatory

Account ID array user selection

report_formatstringOptional

User-readable format selection: ''PDF'' or ''CSV''

profile_idstringOptional

DEPRECATED: Use profile object instead

delivery_schedulestringOptional

Human-readable schedule from selected profile (e.g., 'Daily at 2:00 AM')

profileobjectMandatory

Profile object for ALL report types

Show Sub-Attributes
profile_idstringOptional

Profile identifier for report generation

formatintegerMandatory

Report format: 1=PDF, 2=CSV

contact_idstringOptional

DEPRECATED: Use contact_ids array instead

report_namestringMandatory

User-defined report name

typeintegerMandatory

Report type: 1=Accounts dashboard

contact_idsarrayMandatory

Contact array for ALL report types

Show Sub-Attributes
contact_idstringOptional

Individual contact identifier for report delivery

contact_typestringOptional

Type of contact (1=user, 2=group, etc.)

frequencyintegerMandatory

Report frequency setting from selected profile

Response Parameters

- HTTP code 200 Response Body - application/json

object

Response for generateAccountReport API - dashboard report scheduling confirmation

Show Sub-Attributes
messagestring(length <= 255)

Response message indicating report generation status

dataobject

Report generation result data

Show Sub-Attributes
scheduled_timestring(length <= 255)

Scheduled delivery time for the report

report_idstring(length <= 255)

Unique identifier for the generated report

statusstring(length <= 50)

Report generation status (scheduled, processing, completed)

codeinteger

Response status code (0 = success)

- HTTP code 400 Response Body - application/json

object
Show Sub-Attributes
messagestring

Error message

errorstring

Detailed error description

codeinteger

Error code

Possible HTTP Status Codes

200HTTP code

Successful response

400HTTP code

Bad request - Invalid parameters or request format

Get resources list grouped by service, account, or region

Retrieves resource IDs grouped by service, account, region, or resource group for inventory drilldown. Use this to get resource identifiers organized by category before fetching detailed resource data via getRIListReports.

Request URL

https://www.site24x7.com/cs/api/cost/resources_list

Scope

CloudSpend.Internal.Read

Request Parameters

- Request Body

application/json
object
Show Sub-Attributes
end_datedateMandatory

Trend analysis end date for resource data retrieval

cost_tagsarrayOptional

Cost tag filters for resource selection (empty array for no filtering)

periodintegerOptional

Period type for resource trend analysis granularity

accountsarrayMandatory

Array of account configurations for resource analysis

Show Sub-Attributes
cost_account_idstringMandatory

Parent cost account identifier

billing_account_idsarrayMandatory

Array of billing account IDs for resource analysis

group_by_typestringOptional

Resource grouping strategy for inventory analysis

start_datedateMandatory

Trend analysis start date for resource data retrieval

Response Parameters

- HTTP code 200 Response Body - application/json

object
Show Sub-Attributes
messagestring

Response status message

dataobject

Resources grouped by specified criteria

Show Sub-Attributes
return_dataobject

Container for grouped resource data

Show Sub-Attributes
resources_groupedobject

Resources grouped by service type, account name, or region depending on group_by_type parameter

Show Sub-Attributes
codeinteger

Response status code

- HTTP code 400 Response Body - application/json

object
Show Sub-Attributes
messagestring

Error message

errorstring

Detailed error description

codeinteger

Error code

- HTTP code 401 Response Body - application/json

object
Show Sub-Attributes
messagestring

Error message

errorstring

Authentication error description

codeinteger

Error code

- HTTP code 403 Response Body - application/json

object
Show Sub-Attributes
messagestring

Error message

errorstring

Forbidden access error description

codeinteger

Error code

- HTTP code 500 Response Body - application/json

object
Show Sub-Attributes
messagestring

Error message

errorstring

Internal server error description

codeinteger

Error code

Possible HTTP Status Codes

200HTTP code

Successfully retrieved resources data grouped by service, account, or region

400HTTP code

Bad request - Invalid parameters or request format

401HTTP code

Unauthorized - Invalid or missing authentication

403HTTP code

Forbidden - Insufficient permissions

500HTTP code

Internal server error

Get unbilled resource names for compliance analysis

Retrieves unbilled resource names for tagging compliance analysis within the report scope. Use this to identify non-compliant unbilled resources requiring tagging remediation.

Request URL

https://www.site24x7.com/cs/api/cost/reports/compliance/unbilled/names

Scope

CloudSpend.Internal.Read

Request Parameters

- Query Parameters
business_unit_idstringMandatory

Custom tagging compliance report ID for unbilled resource names

Response Parameters

- HTTP code 200 Response Body - application/json

object
Show Sub-Attributes
messagestring
dataarray
Show Sub-Attributes
resource_namestring

Human-readable resource name

resource_idstring

Unique resource identifier

billed_account_namestring

Cloud account or subscription name

codeinteger

- HTTP code 400 Response Body - application/json

object
Show Sub-Attributes
messagestring

Error message

errorstring

Detailed error description

codeinteger

Error code

- HTTP code 401 Response Body - application/json

object
Show Sub-Attributes
messagestring

Error message

errorstring

Authentication error description

codeinteger

Error code

- HTTP code 403 Response Body - application/json

object
Show Sub-Attributes
messagestring

Error message

errorstring

Forbidden access error description

codeinteger

Error code

- HTTP code 500 Response Body - application/json

object
Show Sub-Attributes
messagestring

Error message

errorstring

Internal server error description

codeinteger

Error code

Possible HTTP Status Codes

200HTTP code

Successfully retrieved unbilled resource names

400HTTP code

Bad request - Invalid parameters or request format

401HTTP code

Unauthorized - Invalid or missing authentication

403HTTP code

Forbidden - Insufficient permissions

500HTTP code

Internal server error

Get anomaly root cause analysis

Retrieves root cause analysis for anomalies with historical patterns, forecast analysis, and resource breakdown. Use this to investigate a specific anomaly incident's cost drivers with historical trends and forecast projections.

Request URL

https://www.site24x7.com/cs/api/checks/anomaly/details/rca

Scope

CloudSpend.Internal.Read

Request Parameters

- Query Parameters
anomaly_idstringMandatory

Anomaly identifier

detected_timestringMandatory

Unix timestamp in milliseconds when specific anomaly instance was detected.

Response Parameters

- HTTP code 200 Response Body - application/json

object
Show Sub-Attributes
messagestring
dataobject
Show Sub-Attributes
anomaly_idstring

Anomaly identifier

currency_symbolstring

Currency symbol for cost formatting

currency_localestring

Currency locale for formatting

resourcesobject

Resource breakdown data (may be empty)

Show Sub-Attributes
historyobject
Show Sub-Attributes
historical_costarray

Array of [timestamp, cost] pairs for historical analysis

forecast_costarray

Array of [timestamp, predicted_cost] pairs for forecasting

currency_code_idstring

Currency code identifier

currency_codestring

ISO currency code

currency_codestring

Currency code for the analysis

anomaly_detected_timestring

Unix timestamp of anomaly detection

codeinteger

- HTTP code 400 Response Body - application/json

object
Show Sub-Attributes
messagestring

Error message

errorstring

Detailed error description

codeinteger

Error code

- HTTP code 401 Response Body - application/json

object
Show Sub-Attributes
messagestring

Error message

errorstring

Authentication error description

codeinteger

Error code

- HTTP code 500 Response Body - application/json

object
Show Sub-Attributes
messagestring

Error message

errorstring

Server error description

codeinteger

Error code

Possible HTTP Status Codes

200HTTP code

Successfully retrieved anomaly root cause analysis

400HTTP code

Bad request - Invalid parameters or request format

401HTTP code

Unauthorized - Invalid or missing authentication

500HTTP code

Internal server error

Get available tags for profile creation

Retrieves the list of tags that exist within the specified cost accounts, for use as selectable options when creating a tag profile. Use this after the admin selects cost accounts in the tag profile creation form to load which tags are available for grouping.

Request URL

https://www.site24x7.com/cs/api/cost/admin/tags

Scope

CloudSpend.Internal.Read

Request Parameters

- Query Parameters
JSONStringstringMandatory

JSON string containing cost account ID filter for tag retrieval

Response Parameters

- HTTP code 200 Response Body - application/json

object
Show Sub-Attributes
messagestring

Response status message

dataobject
Show Sub-Attributes
Tagsarray

Available tags from the specified cost accounts

Show Sub-Attributes
typestring

Tag type classification

tagIdstring

Unique identifier for the tag

valuestring

Tag value

keystring

Tag key/name

vinteger

Version or status indicator

codeinteger

Response status code

- HTTP code 400 Response Body - application/json

object
Show Sub-Attributes
messagestring

Error message

errorstring

Detailed error description

codeinteger

Error code

- HTTP code 401 Response Body - application/json

object
Show Sub-Attributes
messagestring

Error message

errorstring

Authentication error description

codeinteger

Error code

- HTTP code 403 Response Body - application/json

object
Show Sub-Attributes
messagestring

Error message

errorstring

Forbidden access error description

codeinteger

Error code

- HTTP code 500 Response Body - application/json

object
Show Sub-Attributes
messagestring

Error message

errorstring

Internal server error description

codeinteger

Error code

Possible HTTP Status Codes

200HTTP code

Successfully retrieved available tags for the specified accounts

400HTTP code

Bad request - Invalid parameters or request format

401HTTP code

Unauthorized - Invalid or missing authentication

403HTTP code

Forbidden - Insufficient permissions

500HTTP code

Internal server error

Get anomaly profiles by account type

Retrieves anomaly detection profiles filtered by account type, returning policy name, associated account ID, and type classification. Use this to display the Anomaly Profiles table in Admin > Profiles > Anomaly tab. Pass accountType=1 to get all profile types at once.

Request URL

https://www.site24x7.com/cs/api/cost/admin/budget_policys/{accountType}

Scope

CloudSpend.Internal.Read

Request Parameters

- Path Parameters
accountTypeintegerMandatory

Account type filter for anomaly profiles: - 0: Cloud Accounts only - 1: Returns ALL profile types (recommended for Anomaly tab) - 2: Solution Reports only

Response Parameters

- HTTP code 200 Response Body - application/json

object
Show Sub-Attributes
messagestring

Response status message

dataobject
Show Sub-Attributes
dataarray

Array of anomaly policies/profiles

Show Sub-Attributes
policy_typestring

Type classification of the policy (empty for anomaly policies)

account_typeinteger

Account type classification (shown in Type column): - 0: Cost Account - 1: Cost Center - 2: Solution Report

account_idstring

Associated account identifier. Resolve to account_name using getAccountsAdmin (account_type=0), getBusinessUnitsAdmin (account_type=1), or getSolutionReportsMetaAdmin (account_type=2)

policy_idstring

Unique identifier for the anomaly policy

cost_typeinteger

Cost calculation type identifier (0=Standard, 20=Actual Cost)

policy_namestring

Display name of the anomaly policy (shown in Display Name column)

budget_tags
Show Sub-Attributes
oneOf
array

Anomaly tag configurations when present

Show Sub-Attributes
vstring

Tag value

idstring

Tag identifier

string

Empty string when no tags configured

integrated_zaaidsarray

List of integrated Zoho Account Application IDs

budgets_countinteger

Number of active budgets using this policy

codeinteger

Response status code

- HTTP code 400 Response Body - application/json

object
Show Sub-Attributes
messagestring

Error message

errorstring

Detailed error description

codeinteger

Error code

- HTTP code 401 Response Body - application/json

object
Show Sub-Attributes
messagestring

Error message

errorstring

Authentication error description

codeinteger

Error code

- HTTP code 403 Response Body - application/json

object
Show Sub-Attributes
messagestring

Error message

errorstring

Forbidden access error description

codeinteger

Error code

- HTTP code 500 Response Body - application/json

object
Show Sub-Attributes
messagestring

Error message

errorstring

Internal server error description

codeinteger

Error code

Possible HTTP Status Codes

200HTTP code

Successfully retrieved anomaly profiles for the specified account type

400HTTP code

Bad request - Invalid parameters or request format

401HTTP code

Unauthorized - Invalid or missing authentication

403HTTP code

Forbidden - Insufficient permissions

500HTTP code

Internal server error

Get cost centers anomaly chart data

Retrieves anomaly timeline chart data with occurrence patterns and severity levels for visualization. Use this to plot anomaly occurrence frequency over time with severity-coded data points for dashboards.

Request URL

https://www.site24x7.com/cs/api/cost/cost_centers/spend_analysis/anomaly/chart

Scope

CloudSpend.Internal.Read

Request Parameters

- Query Parameters
anomaly_idstringMandatory

Anomaly ID.data.return_data.anomaly_widget.anomaly_id

start_datedateMandatory

Start date for chart data in YYYY-MM-DD format

end_datedateMandatory

End date for chart data in YYYY-MM-DD format

Response Parameters

- HTTP code 200 Response Body - application/json

object
Show Sub-Attributes
messagestring
dataobject
Show Sub-Attributes
metaobject

Anomaly metadata and summary information

Show Sub-Attributes
last_detected_timestampdate-time
anomaly_idstring
cloud_type_namestring
last_detected_timestring

Unix timestamp of last detection

category_idinteger

Anomaly category identifier

anomaly_namestring
categorystring

Anomaly category name

total_occurencesstring

Total number of anomaly occurrences

chart_dataobject

Chart data with severity levels as keys

Show Sub-Attributes
1array

Low severity anomaly occurrences

2array

Medium severity anomaly occurrences

3array

High severity anomaly occurrences

codeinteger

- HTTP code 400 Response Body - application/json

object
Show Sub-Attributes
messagestring

Error message

errorstring

Detailed error description

codeinteger

Error code

- HTTP code 401 Response Body - application/json

object
Show Sub-Attributes
messagestring

Error message

errorstring

Authentication error description

codeinteger

Error code

- HTTP code 500 Response Body - application/json

object
Show Sub-Attributes
messagestring

Error message

errorstring

Server error description

codeinteger

Error code

Possible HTTP Status Codes

200HTTP code

Successfully retrieved anomaly chart data

400HTTP code

Bad request - Invalid parameters or request format

401HTTP code

Unauthorized - Invalid or missing authentication

500HTTP code

Internal server error

Get cost centers spend analysis panel

Retrieves aggregated spend analysis for a cost centers with child account comparison and anomaly ID extraction. Use this as the entry point for anomaly detection workflows - extracts anomaly_id needed by all anomaly investigation APIs.

Request URL

https://www.site24x7.com/cs/api/cost/cost_centers/spend_analysis_panel

Scope

CloudSpend.Internal.Read

Request Parameters

- Request Body

application/json
object
Show Sub-Attributes
end_datedateMandatory

End date for cost aggregation

periodintegerMandatory

Period for aggregation (in months)

Response Parameters

- HTTP code 201 Response Body - application/json

object
Show Sub-Attributes
messagestring
dataobject
Show Sub-Attributes
return_dataobject
Show Sub-Attributes
max_cost_accountstring
max_costfloat
total_costfloat
anomaly_widgetobject
Show Sub-Attributes
occurrencesstring
anomaly_idstring
anomaly_last_detected_timedate-time
min_costfloat
differencefloat
min_cost_accountstring
codeinteger

- HTTP code 400 Response Body - application/json

object
Show Sub-Attributes
messagestring

Error message

errorstring

Detailed error description

codeinteger

Error code

- HTTP code 401 Response Body - application/json

object
Show Sub-Attributes
messagestring

Error message

errorstring

Authentication error description

codeinteger

Error code

- HTTP code 500 Response Body - application/json

object
Show Sub-Attributes
messagestring

Error message

errorstring

Server error description

codeinteger

Error code

Possible HTTP Status Codes

201HTTP code

Successful response with aggregated spend analysis for the cost centers.

400HTTP code

Bad request - Invalid parameters or request format

401HTTP code

Unauthorized - Invalid or missing authentication

500HTTP code

Internal server error

Get resource cost trend chart data

Provides resource-specific cost trend analysis showing monthly cost breakdown for individual resources.

Request URL

https://www.site24x7.com/cs/api/cost/accounts/resource_explorer/ri_resouce_trend_chart

Scope

CloudSpend.Internal.Create

Request Parameters

- Request Body

application/json
object
Show Sub-Attributes
end_datedateMandatory

End date in YYYY-MM-DD format

resource_idstringMandatory

Resource ID results

accountsarrayMandatory

Account structure with parent cost_account_id and all child billing_account_ids

Show Sub-Attributes
cost_account_idstringMandatory

Parent account ID

billing_account_idsarrayMandatory

Child billing account ID of user selected parent ID, use getAccountsMetadata tool to get valid IDs

start_datedateMandatory

Start date in YYYY-MM-DD format

Response Parameters

- HTTP code 200 Response Body - application/json

object
Show Sub-Attributes
messagestring
dataobject
Show Sub-Attributes
resource_costarray

Array of [timestamp, cost] pairs showing monthly resource costs

codeinteger

- HTTP code 400 Response Body - application/json

object
Show Sub-Attributes
messagestring

Error message

errorstring

Detailed error description

codeinteger

Error code

Possible HTTP Status Codes

200HTTP code

Successful response with resource trend data

400HTTP code

Bad request - Invalid parameters or request format

Get cost optimization guidances and recommendations

Retrieves cost optimization guidance settings and recommendations for cloud accounts. Use this to display guidance recommendations and configure optimization settings.

Request URL

https://www.site24x7.com/cs/api/cost/guidances

Scope

CloudSpend.Internal.Read

Response Parameters

- HTTP code 200 Response Body - application/json

object
Show Sub-Attributes
messagestring

Response message

dataobject
Show Sub-Attributes
showGuidanceboolean

Whether to show guidance recommendations

guidanceListarray

Available guidance recommendations

Show Sub-Attributes
userIdstring

User ID for guidance personalization

guidanceNewModeboolean

New guidance UI mode enabled

codeinteger

Response status code

- HTTP code 400 Response Body - application/json

object
Show Sub-Attributes
messagestring

Error message

errorstring

Detailed error description

codeinteger

Error code

- HTTP code 401 Response Body - application/json

object
Show Sub-Attributes
messagestring

Error message

errorstring

Authentication error description

codeinteger

Error code

- HTTP code 403 Response Body - application/json

object
Show Sub-Attributes
messagestring

Error message

errorstring

Forbidden access error description

codeinteger

Error code

- HTTP code 500 Response Body - application/json

object
Show Sub-Attributes
messagestring

Error message

errorstring

Internal server error description

codeinteger

Error code

Possible HTTP Status Codes

200HTTP code

Successfully retrieved guidance settings

400HTTP code

Bad request - Invalid parameters or request format

401HTTP code

Unauthorized - Invalid or missing authentication

403HTTP code

Forbidden - Insufficient permissions

500HTTP code

Internal server error

List cost centers accounts

Retrieves cloud accounts with status breakdown: processed, suspended, and configuration-error accounts plus cost data and forecasts. Use this to get numeric billing_account_ids and account hierarchy required for downstream cost analysis POST APIs.

Request URL

https://www.site24x7.com/cs/api/cost/cost_centers/accounts

Scope

CloudSpend.Internal.Read

Response Parameters

- HTTP code 200 Response Body - application/json

object
Show Sub-Attributes
messagestring

Response message

dataobject
Show Sub-Attributes
current_month_totalfloat

Aggregated spend for the current month

previous_month_totalfloat

Aggregated spend for the previous month

total_accountsinteger

Total number of accounts in the cost centers

all_accountsobject

Categorized list of accounts by status

Show Sub-Attributes
suspended_accountsobject

Accounts temporarily suspended; may have partial data

Show Sub-Attributes
config_error_accountsobject

Accounts with configuration issues that need attention

Show Sub-Attributes
processed_accountsobject

Accounts that are actively processed with complete cost data

Show Sub-Attributes
codeinteger

Status code of the response (0 indicates success)

- HTTP code 400 Response Body - application/json

object
Show Sub-Attributes
messagestring

Error message

errorstring

Detailed error description

codeinteger

Error code

- HTTP code 401 Response Body - application/json

object
Show Sub-Attributes
messagestring

Error message

errorstring

Authentication error description

codeinteger

Error code

- HTTP code 500 Response Body - application/json

object
Show Sub-Attributes
messagestring

Error message

errorstring

Server error description

codeinteger

Error code

Possible HTTP Status Codes

200HTTP code

Successfully retrieved cost centers accounts

400HTTP code

Bad request - Invalid parameters or request format

401HTTP code

Unauthorized - Invalid or missing authentication

500HTTP code

Internal server error

List MSP alert configurations for cost centers

Retrieves alert configurations for MSP customers within the cost centers module context. Use this for MSP admins to fetch per-customer alert configs when managing budget or anomaly checks across customer cost centers.

Request URL

https://www.site24x7.com/cs/api/cost/cost_centers/integration/msp_alert_configs

Scope

CloudSpend.Internal.Read

Request Parameters

- Query Parameters
JSONStringstringOptional

JSON string containing MSP customer filter parameters

Response Parameters

- HTTP code 200 Response Body - application/json

- HTTP code 400 Response Body - application/json

object
Show Sub-Attributes
messagestring

Error message

errorstring

Detailed error description

codeinteger

Error code

- HTTP code 401 Response Body - application/json

object
Show Sub-Attributes
messagestring

Error message

errorstring

Authentication error description

codeinteger

Error code

- HTTP code 500 Response Body - application/json

object
Show Sub-Attributes
messagestring

Error message

errorstring

Server error description

codeinteger

Error code

Possible HTTP Status Codes

200HTTP code

Successfully retrieved MSP alert configurations

400HTTP code

Bad request - Invalid parameters or request format

401HTTP code

Unauthorized - Invalid or missing authentication

500HTTP code

Internal server error

Get Account Hierarchy Node

Provides detailed allocation node analysis with resource breakdown, cost contributors, and anomaly detection for hierarchy nodes.

Request URL

https://www.site24x7.com/cs/api/cost/accounts/hierarchy/report/{reportId}/node

Scope

CloudSpend.Internal.Read

Request Parameters

- Path Parameters
reportIdstringMandatory

- Query Parameters
nodestringMandatory

Node identifier from selected hierarchy node for detailed analysis

business_unit_idstringMandatory

Cost center identifier from selected hierarchy node

start_datedateMandatory

Start date for node analysis (YYYY-MM-DD)

end_datedateMandatory

End date for node analysis (YYYY-MM-DD)

Response Parameters

- HTTP code 200 Response Body - application/json

object
Show Sub-Attributes
messagestring

Response message

dataobject
Show Sub-Attributes
top_n_resourcesarray

Top resources contributing to this node's cost

Show Sub-Attributes
namestring

Resource name

idstring

Resource identifier

typestring

Resource type (e.g., microsoft.compute/virtualmachines)

valuefloat

Cost contribution

groupstring

Resource group

costfloat

Total cost for this allocation node

contributionsobject

Cost contributions by dimension (e.g., region)

Show Sub-Attributes
anomalyobject

Anomaly detection information

Show Sub-Attributes
occurrencesstring

Number of anomalies detected

anomaly_idstring

Anomaly identifier for use with anomaly analysis APIs

anomaly_last_detected_timestring

Timestamp of last anomaly detection

savingsobject

Cost savings information

Show Sub-Attributes
actual_costfloat

Actual cost incurred

charged_costfloat

Cost that would have been charged

savingsfloat

Total savings achieved

resourceCountfloat

Total number of resources in this node

codeinteger

Response code (0 = success)

- HTTP code 400 Response Body - application/json

object
Show Sub-Attributes
messagestring

Error message

errorstring

Detailed error description

codeinteger

Error code

- HTTP code 401 Response Body - application/json

object
Show Sub-Attributes
messagestring

Error message

errorstring

Authentication error description

codeinteger

Error code

- HTTP code 404 Response Body - application/json

object
Show Sub-Attributes
messagestring

Error message

errorstring

Not found error description

codeinteger

Error code

- HTTP code 500 Response Body - application/json

object
Show Sub-Attributes
messagestring

Error message

errorstring

Server error description

codeinteger

Error code

Possible HTTP Status Codes

200HTTP code

Successful response

400HTTP code

Bad request - Invalid parameters or request format

401HTTP code

Unauthorized - Invalid or missing authentication

404HTTP code

Not found - Resource does not exist

500HTTP code

Internal server error

Get daily incurred cost trend for accounts

Provides daily cost trend tracking for detailed day-by-day analysis over custom time periods.

Request URL

https://www.site24x7.com/cs/api/cost/accounts/incurred_cost

Scope

CloudSpend.Internal.Create

Request Parameters

- Request Body

application/json
object
Show Sub-Attributes
cost_typeintegerMandatory

Cost type: 0 for AWS, 20 for Azure/GCP (from getAccountsMetadata cloud_type field)

cost_tagsarrayMandatory

Cost tag structure array for selected billing account

Show Sub-Attributes
vintegerMandatory

Version parameter: 0 (required constant)

idstringMandatory

Selected child billing_account_id (same as in accounts array)

accountsarrayMandatory

Account structure array with parent cost_account_id and selected child billing_account_ids

Show Sub-Attributes
cost_account_idstringMandatory

Parent account ID user selection

billing_account_idsarrayMandatory

Array containing selected child billing account ID

Response Parameters

- HTTP code 200 Response Body - application/json

object
Show Sub-Attributes
messagestring

Response message

dataobject
Show Sub-Attributes
return_dataarray

Array of daily cost data pairs [timestamp, cost_amount]

codeinteger

Response status code (0 for success)

- HTTP code 400 Response Body - application/json

object
Show Sub-Attributes
messagestring

Error message

errorstring

Detailed error description

codeinteger

Error code

Possible HTTP Status Codes

200HTTP code

Successful response with daily cost trend data: - return_data: Array of [timestamp, daily_cost] pairs - Shows cumulative daily costs over the selected time period - Timestamps in ISO format with timezone offset - Cost values as floating point numbers

400HTTP code

Bad request - Invalid parameters or request format

Get trend chart data for custom dashboard widgets only

Retrieves time-series cost data keyed by service name for multi-line trend chart widgets. Use this to display cost trend charts with per-service breakdowns in user-configured custom dashboards.

Request URL

https://www.site24x7.com/cs/api/cost/custom_report/trend_box

Scope

CloudSpend.Internal.Read

Request Parameters

- Request Body

application/json
object
Show Sub-Attributes
end_datedateOptional

Trend analysis end date

cost_tagsarrayOptional

Cost tag filters (empty array for no filtering)

Show Sub-Attributes
periodintegerOptional

Period type for trend granularity (1=daily)

accountsarrayOptional

Array of account configurations with billing account selections

Show Sub-Attributes
cost_account_idstringOptional

Parent cost account identifier

billing_account_idsarrayOptional

Array of selected billing account IDs from child_accounts

cost_typeintegerOptional

Cost calculation type (20=unblended cost)

start_datedateOptional

Trend analysis start date

Response Parameters

- HTTP code 200 Response Body - application/json

object
Show Sub-Attributes
messagestring

Response status message

dataobject

Multi-service trend data for chart visualization

Show Sub-Attributes
trend_valuesobject

Trend data container with mode and service breakdown

Show Sub-Attributes
modeinteger

Trend mode indicator

valuesobject

Service-wise time-series trend data

Show Sub-Attributes
codeinteger

Response status code

- HTTP code 400 Response Body - application/json

object
Show Sub-Attributes
messagestring

Error message

errorstring

Detailed error description

codeinteger

Error code

- HTTP code 401 Response Body - application/json

object
Show Sub-Attributes
messagestring

Error message

errorstring

Authentication error description

codeinteger

Error code

- HTTP code 403 Response Body - application/json

object
Show Sub-Attributes
messagestring

Error message

errorstring

Forbidden access error description

codeinteger

Error code

- HTTP code 500 Response Body - application/json

object
Show Sub-Attributes
messagestring

Error message

errorstring

Internal server error description

codeinteger

Error code

Possible HTTP Status Codes

200HTTP code

Successfully retrieved multi-service trend box data

400HTTP code

Bad request - Invalid parameters or request format

401HTTP code

Unauthorized - Invalid or missing authentication

403HTTP code

Forbidden - Insufficient permissions

500HTTP code

Internal server error

Get Hierarchy Report Profiles

Provides allocation report scheduling profiles with delivery timing, frequency settings, and timezone options for automated allocation report generation.

Request URL

https://www.site24x7.com/cs/api/cost/accounts/hierarchy/report/profiles

Scope

CloudSpend.Internal.Read

Response Parameters

- HTTP code 200 Response Body - application/json

object
Show Sub-Attributes
messagestring
dataobject
Show Sub-Attributes
return_dataobject
Show Sub-Attributes
return_dataarray
Show Sub-Attributes
periodinteger
report_timeinteger
profile_idstring
timezonestring
report_hourinteger
namestring
frequencyinteger
codeinteger

- HTTP code 400 Response Body - application/json

object
Show Sub-Attributes
messagestring

Error message

errorstring

Detailed error description

codeinteger

Error code

- HTTP code 401 Response Body - application/json

object
Show Sub-Attributes
messagestring

Error message

errorstring

Authentication error description

codeinteger

Error code

- HTTP code 404 Response Body - application/json

object
Show Sub-Attributes
messagestring

Error message

errorstring

Not found error description

codeinteger

Error code

- HTTP code 500 Response Body - application/json

object
Show Sub-Attributes
messagestring

Error message

errorstring

Server error description

codeinteger

Error code

Possible HTTP Status Codes

200HTTP code

Successful response with hierarchy report profiles

400HTTP code

Bad request - Invalid parameters or request format

401HTTP code

Unauthorized - Invalid or missing authentication

404HTTP code

Not found - Resource does not exist

500HTTP code

Internal server error

Get budget dashboard data

Retrieves budget dashboard with spending analysis and status tracking. Use this to list all budgets with utilization, remaining amounts, and status for accounts, cost centers, or reports.

Request URL

https://www.site24x7.com/cs/api/cost/budget/dashboard

Scope

CloudSpend.Internal.Read

Request Parameters

- Query Parameters
typeintegerMandatory

Type of check to retrieve: - 1: Budget checks - 2: Anomaly checks - 3: Governance checks

account_typeintegerMandatory

Entity type for budget monitoring: - 0: Account-level budgets - 1: Cost Center-level budgets - 2: Report-level budgets

Response Parameters

- HTTP code 200 Response Body - application/json

object
Show Sub-Attributes
messagestring

Response message

dataarray

Array of budget monitoring entries

Show Sub-Attributes
display_currencystring

Display currency code (USD, INR, EUR, etc.)

budget_namestring

Name of the budget policy

account_typeinteger

Entity type (0=Account, 1=Cost Center, 2=Report)

periodstring

Budget monitoring period

policy_idstring

Associated policy identifier

budget_valuefloat

Budget limit amount

trendinteger

Trend indicator (0=stable, 1=increasing, -1=decreasing)

budget_idstring

Unique budget identifier

currency_localestring

Currency locale for formatting

unit_typeinteger

Unit type for budget calculation

percentinteger

Budget utilization percentage

remainingfloat

Remaining budget amount (negative if over budget)

period_rhstring

Period resource handle for localization

unitinteger

Budget unit identifier

account_idstring

Associated account identifier

spendingfloat

Current spending amount

currency_unicodestring

Currency symbol for display

prev_valfloat

Previous period budget value

statusinteger

Budget status (1=active, 0=inactive)

codeinteger

Response status code (0 indicates success)

- HTTP code 400 Response Body - application/json

object
Show Sub-Attributes
messagestring

Error message

errorstring

Detailed error description

codeinteger

Error code

- HTTP code 401 Response Body - application/json

object
Show Sub-Attributes
messagestring

Error message

errorstring

Authentication error description

codeinteger

Error code

- HTTP code 500 Response Body - application/json

object
Show Sub-Attributes
messagestring

Error message

errorstring

Server error description

codeinteger

Error code

Possible HTTP Status Codes

200HTTP code

Successfully retrieved budget dashboard data

400HTTP code

Bad request - Invalid parameters or request format

401HTTP code

Unauthorized - Invalid or missing authentication

500HTTP code

Internal server error

Create budget configuration

Creates a budget configuration with policy association, notification contacts, and monitoring thresholds. Use this to set up a new budget with spending limits, alert recipients, and currency settings after gathering dependencies.

Request URL

https://www.site24x7.com/cs/api/cost/budget/budget_details

Scope

CloudSpend.Internal.Create

Request Parameters

- Request Body

application/json
object
Show Sub-Attributes
budget_namestringMandatory

User-defined budget name for identification.

periodstringMandatory

Budget monitoring period: - \"MTD\": Month-to-Date tracking - \"Monthly\": Monthly budget cycle - \"Daily\": Daily budget monitoring - \"YTD\": Year-to-Date tracking - \"Forecast_Month\": Forecast-based monthly budget

policy_idstringMandatory

Budget policy ID (from user selection or newly created).

budget_valuefloatMandatory

Budget limit amount.

trendintegerMandatory

Trend calculation flag: - 0: Disabled (default) - 1: Enabled for trend analysis

alert_configsarrayMandatory

Alert configuration array.

Show Sub-Attributes
checks_typeintegerMandatory

Checks type identifier.

unit_typeintegerMandatory

Budget calculation type: - 1: Amount-based calculation (standard)

contact_idsarrayMandatory

User IDs for budget notification recipients.

unitintegerMandatory

Budget unit type: - 1: Amount-based budget - 2: Percentage-based budget

contact_typeintegerMandatory

Contact notification type: - 1: Individual user notifications (standard)

unit_codestringMandatory

Currency code for budget calculations.

policy_account_typeintegerMandatory

Account type from policy configuration.

Response Parameters

- HTTP code 200 Response Body - application/json

object
Show Sub-Attributes
messagestring
dataobject
Show Sub-Attributes
datastring

Budget creation confirmation message

budget_idstring

Created budget identifier for tracking

codeinteger

- HTTP code 400 Response Body - application/json

object
Show Sub-Attributes
messagestring

Error message

errorstring

Detailed error description

codeinteger

Error code

- HTTP code 401 Response Body - application/json

object
Show Sub-Attributes
messagestring

Error message

errorstring

Authentication error description

codeinteger

Error code

- HTTP code 500 Response Body - application/json

object
Show Sub-Attributes
messagestring

Error message

errorstring

Server error description

codeinteger

Error code

Possible HTTP Status Codes

200HTTP code

Budget created successfully

400HTTP code

Bad request - Invalid parameters or request format

401HTTP code

Unauthorized - Invalid or missing authentication

500HTTP code

Internal server error

Get Available Hierarchy Reports

Shows allocation hierarchy overview as a tree structure with total costs and account breakdowns for interactive drilling.

Request URL

https://www.site24x7.com/cs/api/cost/accounts/hierarchy/reports

Scope

CloudSpend.Internal.Read

Request Parameters

- Query Parameters
start_datedateMandatory

Start date for allocation report period (YYYY-MM-DD)

end_datedateMandatory

End date for allocation report period (YYYY-MM-DD)

Response Parameters

- HTTP code 200 Response Body - application/json

object
Show Sub-Attributes
messagestring

Response message

dataobject
Show Sub-Attributes
date_rangeobject
Show Sub-Attributes
end_datestring

Period end date with timezone

start_datestring

Period start date with timezone

allocationsarray

Available allocation reports

Show Sub-Attributes
business_unit_idstring

Cost center identifier

costfloat

Total cost for this allocation

reportIdstring

Report identifier for hierarchy navigation

reportNamestring

Human-readable report name

rootNodeIdstring

Root node ID for hierarchy start

sectorCountinteger

Number of sectors in this allocation

statusinteger

Report status (1 = active)

codeinteger

Response code (0 = success)

- HTTP code 400 Response Body - application/json

object
Show Sub-Attributes
messagestring

Error message

errorstring

Detailed error description

codeinteger

Error code

- HTTP code 401 Response Body - application/json

object
Show Sub-Attributes
messagestring

Error message

errorstring

Authentication error description

codeinteger

Error code

- HTTP code 404 Response Body - application/json

object
Show Sub-Attributes
messagestring

Error message

errorstring

Not found error description

codeinteger

Error code

- HTTP code 500 Response Body - application/json

object
Show Sub-Attributes
messagestring

Error message

errorstring

Server error description

codeinteger

Error code

Possible HTTP Status Codes

200HTTP code

Successful response with available allocation reports

400HTTP code

Bad request - Invalid parameters or request format

401HTTP code

Unauthorized - Invalid or missing authentication

404HTTP code

Not found - Resource does not exist

500HTTP code

Internal server error

Create new custom dashboard

Creates a new custom dashboard with configured widgets and layout for cost analysis and reporting. Use this to save a user-configured dashboard with selected accounts, widgets, and layout after completing the creation workflow.

Request URL

https://www.site24x7.com/cs/api/cost/dashboard

Scope

CloudSpend.Internal.Create

Request Parameters

- Request Body

application/json
object
Show Sub-Attributes
namestringMandatory

Dashboard name for identification and display

make_publicbooleanOptional

Dashboard visibility setting for sharing

descriptionstringMandatory

Dashboard description for user reference

config_datastringMandatory

Global dashboard configuration as JSON string

sizeintegerMandatory

Dashboard grid layout size (width in grid units)

widgetsarrayMandatory

Array of widget configurations for the dashboard

Show Sub-Attributes
namestringMandatory

Widget display name

descriptionstringMandatory

Widget description (optional)

config_datastringMandatory

Widget-specific configuration as JSON string including grid layout and parameters

widget_reference_idstringMandatory

Widget type identifier from widget catalog

deletebooleanOptional

Widget deletion flag for updates (false for new widgets)

Response Parameters

- HTTP code 200 Response Body - application/json

object
Show Sub-Attributes
messagestring

Response status message

dataobject

Created dashboard information

Show Sub-Attributes
return_dataobject

Dashboard details with assigned IDs

Show Sub-Attributes
created_timestring

Dashboard creation timestamp

updated_timestring

Last update timestamp

config_datastring

Dashboard configuration

descriptionstring

Dashboard description

is_default_dashboardboolean

Default dashboard flag

typeinteger

Dashboard type (0=public, 1=private)

widgetsarray

Created widget configurations with assigned IDs

Show Sub-Attributes
namestring

Widget name

descriptionstring

Widget description

idstring

Assigned widget ID

config_datastring

Widget configuration with escaped JSON

widget_reference_idstring

Widget type reference

dashboard_idstring

Parent dashboard ID

sizeinteger

Dashboard grid size

starredboolean

User favorite flag

namestring

Dashboard name

encryption_keystring

Encryption key for secure access

themeinteger

Dashboard theme ID

idstring

Unique dashboard identifier

statusinteger

Dashboard status

codeinteger

Response status code

- HTTP code 400 Response Body - application/json

object
Show Sub-Attributes
messagestring

Error message

errorstring

Detailed error description

codeinteger

Error code

- HTTP code 401 Response Body - application/json

object
Show Sub-Attributes
messagestring

Error message

errorstring

Authentication error description

codeinteger

Error code

- HTTP code 403 Response Body - application/json

object
Show Sub-Attributes
messagestring

Error message

errorstring

Forbidden access error description

codeinteger

Error code

- HTTP code 500 Response Body - application/json

object
Show Sub-Attributes
messagestring

Error message

errorstring

Internal server error description

codeinteger

Error code

Possible HTTP Status Codes

200HTTP code

Successfully created custom dashboard

400HTTP code

Bad request - Invalid parameters or request format

401HTTP code

Unauthorized - Invalid or missing authentication

403HTTP code

Forbidden - Insufficient permissions

500HTTP code

Internal server error

Get custom dashboards list

Retrieves paginated custom dashboards with report configurations, widgets, and visualization settings. Use this to list all available custom dashboards for navigation, selection, or building a reports catalog.

Request URL

https://www.site24x7.com/cs/api/cost/dashboard

Scope

CloudSpend.Internal.Read

Request Parameters

- Query Parameters
startintegerMandatory

Starting index for pagination. Use 0 to get results from the beginning. Combined with limit parameter to control result set size and implement efficient pagination.

limitintegerMandatory

Maximum number of dashboards to return in single request. Use 0 to return all available dashboards without pagination limits.

Response Parameters

- HTTP code 200 Response Body - application/json

object
Show Sub-Attributes
messagestring

Response status message

dataobject

Custom dashboards data container

Show Sub-Attributes
return_dataarray

Array of custom dashboard objects with complete metadata

Show Sub-Attributes
created_timestring

Timestamp when dashboard was created (epoch milliseconds)

updated_timestring

Timestamp of last dashboard modification (epoch milliseconds)

public_dashboard_linkstring

Shareable public link for dashboard access (only for public dashboards)

config_datastring

JSON string containing dashboard configuration and settings

descriptionstring

User-provided description of dashboard purpose and contents

is_default_dashboardboolean

Indicates if this is the user's default dashboard

typeinteger

Dashboard access type (0=public/shared, 1=private)

widgetsarray

Array of widget configurations defining dashboard content and layout

Show Sub-Attributes
starredboolean

Whether dashboard is starred by user for quick access

sizeinteger

Dashboard size configuration affecting layout and widget arrangement

namestring

User-defined name for the dashboard

encryption_keystring

Security key for dashboard access and sharing (present for public dashboards)

themeinteger

Dashboard theme/layout configuration (0=light, 1=dark)

idstring

Unique identifier for the dashboard

statusinteger

Dashboard status (0=inactive/deleted, 1=active)

codeinteger

Response status code

- HTTP code 400 Response Body - application/json

object
Show Sub-Attributes
messagestring

Error message

errorstring

Detailed error description

codeinteger

Error code

- HTTP code 401 Response Body - application/json

object
Show Sub-Attributes
messagestring

Error message

errorstring

Authentication error description

codeinteger

Error code

- HTTP code 403 Response Body - application/json

object
Show Sub-Attributes
messagestring

Error message

errorstring

Forbidden access error description

codeinteger

Error code

- HTTP code 500 Response Body - application/json

object
Show Sub-Attributes
messagestring

Error message

errorstring

Internal server error description

codeinteger

Error code

Possible HTTP Status Codes

200HTTP code

Successfully retrieved custom dashboards list

400HTTP code

Bad request - Invalid parameters or request format

401HTTP code

Unauthorized - Invalid or missing authentication

403HTTP code

Forbidden - Insufficient permissions

500HTTP code

Internal server error

Get billed resources for default tagging compliance report

Retrieves billed resource details for a default (auto-generated) tagging compliance report. Use this after getTaggingComplianceResourceMetaReports to drill down into a specific entity. The business_unit_id should be taken from the resource meta response. Results are paginated using the offset parameter.

Request URL

https://www.site24x7.com/cs/api/cost/reports/compliance/autogenerated/tagging

Scope

CloudSpend.Internal.Read

Request Parameters

- Query Parameters
business_unit_idstringMandatory

Entity ID id field.

offsetintegerOptional

Pagination offset (0-based).

Response Parameters

- HTTP code 200 Response Body - application/json

object
Show Sub-Attributes
messagestring
dataarray
Show Sub-Attributes
coststring

Resource cost

cost_account_idstring
billed_account_namestring
service_namestring
billed_account_idstring
resource_idstring
region_namestring
resource_namestring
codeinteger

- HTTP code 400 Response Body - application/json

object
Show Sub-Attributes
messagestring

Error message

errorstring

Detailed error description

codeinteger

Error code

- HTTP code 401 Response Body - application/json

object
Show Sub-Attributes
messagestring

Error message

errorstring

Authentication error description

codeinteger

Error code

- HTTP code 403 Response Body - application/json

object
Show Sub-Attributes
messagestring

Error message

errorstring

Forbidden access error description

codeinteger

Error code

- HTTP code 500 Response Body - application/json

object
Show Sub-Attributes
messagestring

Error message

errorstring

Internal server error description

codeinteger

Error code

Possible HTTP Status Codes

200HTTP code

Successfully retrieved auto-generated billed resources

400HTTP code

Bad request - Invalid parameters or request format

401HTTP code

Unauthorized - Invalid or missing authentication

403HTTP code

Forbidden - Insufficient permissions

500HTTP code

Internal server error

Get cost centers anomaly details metadata

Retrieves comprehensive anomaly metadata with financial impact analysis, status, and currency formatting for root cause investigation. Use this to get detailed context about a specific anomaly occurrence before performing root cause analysis.

Request URL

https://www.site24x7.com/cs/api/cost/cost_centers/spend_analysis/anomaly/details/meta

Scope

CloudSpend.Internal.Read

Request Parameters

- Query Parameters
anomaly_idstringMandatory

Anomaly identifier

detected_timestringMandatory

Unix timestamp in milliseconds when the specific anomaly instance was detected.

Response Parameters

- HTTP code 200 Response Body - application/json

object
Show Sub-Attributes
messagestring
dataobject
Show Sub-Attributes
infoobject

Comprehensive anomaly metadata

Show Sub-Attributes
updated_timestring

Unix timestamp when last updated

anomaly_idstring
detected_timestring

Unix timestamp when detected

currency_symbolstring
currency_localestring
anomaly_namestring
deviation_percentnumber

Percentage deviation from expected

anomaly_levelstring
currency_codestring
cloud_type_namestring
updated_timestampdate-time
anomaly_statusstring
anomaly_status_codeinteger
anomaly_typestring
expected_valuenumber
detected_timestampdate-time
valuenumber

Actual cost value

codeinteger

- HTTP code 400 Response Body - application/json

object
Show Sub-Attributes
messagestring

Error message

errorstring

Detailed error description

codeinteger

Error code

- HTTP code 401 Response Body - application/json

object
Show Sub-Attributes
messagestring

Error message

errorstring

Authentication error description

codeinteger

Error code

- HTTP code 500 Response Body - application/json

object
Show Sub-Attributes
messagestring

Error message

errorstring

Server error description

codeinteger

Error code

Possible HTTP Status Codes

200HTTP code

Successfully retrieved anomaly metadata

400HTTP code

Bad request - Invalid parameters or request format

401HTTP code

Unauthorized - Invalid or missing authentication

500HTTP code

Internal server error

Create a new scheduled report

Creates a scheduled report with automated delivery by specifying report type, format (CSV/PDF), frequency (daily/weekly/monthly), recipients, and optional profile/scope parameters. Use this when the admin configures a new automated report delivery from the Schedule Report creation form.

Request URL

https://www.site24x7.com/cs/api/cost/report

Scope

CloudSpend.Internal.Create

Request Parameters

- Request Body

application/json
object
Show Sub-Attributes
solutionReportIdstringOptional

Solution Report ID for Tagging Compliance Resource Meta (type 40). Get.

profileobjectOptional

Optional. Custom scheduling profile configuration. If omitted, backend auto-generates a default profile based on frequency and report type.

Show Sub-Attributes
profile_idstringOptional

Existing profile ID. Set to null or omit profile_id to create a new profile with custom time/period/timezone settings.

formatintegerMandatory

Report format: 1=PDF, 2=CSV

billed_account_idarrayOptional

Linked account IDs. Required for Recommendations (type 28) and Optimization (type 35). Get from linked accounts of selected cost account.

typeintegerMandatory

Report type ID determining which report to generate.

contact_idsarrayMandatory

Array of recipients (users or user groups) who will receive the scheduled report.

Show Sub-Attributes
contact_idstringMandatory

User ID or User Group ID

contact_typestringMandatory

Contact type: 1=User, 26=User Group

frequencyintegerMandatory

Delivery frequency: 1=Daily, 2=Weekly, 3=Bi-weekly, 4=Monthly

cost_idsarrayOptional

Array of source entity IDs.

cloud_typeintegerOptional

Cloud provider type. Required for Reservations (type 30-33) as 'cloud_type'. For Tagging Resource Meta (type 40), use 'cloudType' parameter instead. Values: 0=AWS, 1=Azure, 2=GCP

isCustomTaggingCompliancebooleanOptional

Whether the tagging compliance is custom (true) or system-defined (false). Required for type 41.

anomaly_statusintegerOptional

Anomaly status filter. Required for Zia Anomaly (14-17) and Anomaly Checks (25-26). 1=Open, 2=False Positive, 3=Acknowledged

cloudTypeintegerOptional

Cloud type for Tagging Compliance Resource Meta (type 40). 0=AWS, 1=Azure, 2=GCP. Note: This is different from 'cloud_type' used in Reservations.

product_idintegerOptional

Product ID for Reservations reports. Required for Purchases(31), Utility(32), Coverage(33). Get from optimization level data.

taggingComplianceIdstringOptional

Tagging Compliance ID for Tagging Compliance View (type 41). Can be report ID from tagging compliance list.

report_namestringMandatory

Display name for the scheduled report. Must be unique and descriptive.

bu_idstringOptional

Cost Center ID. Required for Cost Centers tab reports (type 4-6). Same value as cost_ids[0].

plan_idintegerOptional

Plan ID for Reservations Utility report. Required only for type 32. Get from optimization level data.

Response Parameters

- HTTP code 200 Response Body - application/json

object
Show Sub-Attributes
messagestring
dataobject
Show Sub-Attributes
report_idstring

Newly created report identifier

codeinteger

- HTTP code 400 Response Body - application/json

object
Show Sub-Attributes
messagestring

Error message

errorstring

Detailed error description

codeinteger

Error code

- HTTP code 401 Response Body - application/json

object
Show Sub-Attributes
messagestring

Error message

errorstring

Authentication error description

codeinteger

Error code

- HTTP code 403 Response Body - application/json

object
Show Sub-Attributes
messagestring

Error message

errorstring

Forbidden access error description

codeinteger

Error code

- HTTP code 500 Response Body - application/json

object
Show Sub-Attributes
messagestring

Error message

errorstring

Internal server error description

codeinteger

Error code

Possible HTTP Status Codes

200HTTP code

Successfully created scheduled report

400HTTP code

Bad request - Invalid parameters or request format

401HTTP code

Unauthorized - Invalid or missing authentication

403HTTP code

Forbidden - Insufficient permissions

500HTTP code

Internal server error

Get default tagging compliance reports by cloud provider

Retrieves default tagging compliance reports organized by cloud provider with account counts and report configurations. Use this to display built-in compliance options for AWS, Azure, and GCP alongside custom reports.

Request URL

https://www.site24x7.com/cs/api/cost/compliance/tagging/cx_preference

Scope

CloudSpend.Internal.Read

Response Parameters

- HTTP code 200 Response Body - application/json

object
Show Sub-Attributes
messagestring
dataobject
Show Sub-Attributes
AWSobject
Show Sub-Attributes
BILLED_ACCOUNTSobject
Show Sub-Attributes
starredboolean
Countstring
Idinteger
accountsinteger

Number of AWS accounts available

GCPobject
Show Sub-Attributes
PROJECTSobject
Show Sub-Attributes
starredboolean
Countstring
Idinteger
accountsinteger

Number of GCP accounts available

AZUREobject
Show Sub-Attributes
accountsinteger

Number of Azure accounts available

codeinteger

- HTTP code 400 Response Body - application/json

object
Show Sub-Attributes
messagestring

Error message

errorstring

Detailed error description

codeinteger

Error code

- HTTP code 401 Response Body - application/json

object
Show Sub-Attributes
messagestring

Error message

errorstring

Authentication error description

codeinteger

Error code

- HTTP code 403 Response Body - application/json

object
Show Sub-Attributes
messagestring

Error message

errorstring

Forbidden access error description

codeinteger

Error code

- HTTP code 500 Response Body - application/json

object
Show Sub-Attributes
messagestring

Error message

errorstring

Internal server error description

codeinteger

Error code

Possible HTTP Status Codes

200HTTP code

Successfully retrieved default tagging compliance preferences

400HTTP code

Bad request - Invalid parameters or request format

401HTTP code

Unauthorized - Invalid or missing authentication

403HTTP code

Forbidden - Insufficient permissions

500HTTP code

Internal server error

Get all available anomalies for details report scheduling

Retrieves complete anomaly inventory organized by cost accounts, cost centers, and individual records for report scheduling. Use this to select specific anomalies for detailed reporting and scheduling configuration.

Request URL

https://www.site24x7.com/cs/api/reports/anomaly/all

Scope

CloudSpend.Internal.Read

Response Parameters

- HTTP code 200 Response Body - application/json

object
Show Sub-Attributes
messagestring
dataobject
Show Sub-Attributes
REPORTSobject

Anomaly records organized by cost account

Show Sub-Attributes
BUarray

Cost centers with anomaly data

Show Sub-Attributes
valuestring

Cost center name

idstring

Cost center identifier

COST_ACCOUNTarray

Cost accounts containing anomalies

Show Sub-Attributes
valuestring

Cost account name

idstring

Cost account identifier

codeinteger

- HTTP code 400 Response Body - application/json

object
Show Sub-Attributes
messagestring

Error message

errorstring

Detailed error description

codeinteger

Error code

- HTTP code 401 Response Body - application/json

object
Show Sub-Attributes
messagestring

Error message

errorstring

Authentication error description

codeinteger

Error code

- HTTP code 403 Response Body - application/json

object
Show Sub-Attributes
messagestring

Error message

errorstring

Forbidden access error description

codeinteger

Error code

- HTTP code 500 Response Body - application/json

object
Show Sub-Attributes
messagestring

Error message

errorstring

Internal server error description

codeinteger

Error code

Possible HTTP Status Codes

200HTTP code

Successfully retrieved all available anomalies

400HTTP code

Bad request - Invalid parameters or request format

401HTTP code

Unauthorized - Invalid or missing authentication

403HTTP code

Forbidden - Insufficient permissions

500HTTP code

Internal server error

Get multi-dimensional cost data for custom dashboard widgets only

Retrieves indexed cost breakdown by location, service, data transfer, and component for custom dashboard widgets. Use this to populate multi-dimensional cost widgets in user-configured custom dashboards with categorized cost arrays.

Request URL

https://www.site24x7.com/cs/api/cost/custom_report/common_widget_api

Scope

CloudSpend.Internal.Read

Request Parameters

- Request Body

application/json
object
Show Sub-Attributes
end_datedateOptional

Analysis end date

cost_tagsarrayOptional

Cost tag filters

periodintegerOptional

Period type for analysis

accountsarrayOptional

Array of account configurations with billing account selections

Show Sub-Attributes
cost_account_idstringOptional

Cost account identifier

billing_account_idsarrayOptional

Array of billing account IDs

cost_typeintegerOptional

Cost calculation type (20=unblended, etc.)

start_datedateOptional

Analysis start date

Response Parameters

- HTTP code 200 Response Body - application/json

object
Show Sub-Attributes
messagestring

Response status message

dataobject

Multi-dimensional cost breakdown data for pie chart widgets

Show Sub-Attributes
return_dataobject

Indexed cost breakdown data by dimension for different pie chart types

Show Sub-Attributes
0array

Cost by Location - Regional cost breakdown for location pie chart

1array

Cost by Service - Service-level cost breakdown for service pie chart

2array

Cost by Data Transfer - Data transfer cost breakdown for transfer pie chart

3array

Cost by Component - Component usage breakdown for component pie chart

Show Sub-Attributes
namestring

Component/usage type name

valuenumber

Cost amount for the component

codeinteger

Response status code

- HTTP code 400 Response Body - application/json

object
Show Sub-Attributes
messagestring

Error message

errorstring

Detailed error description

codeinteger

Error code

- HTTP code 401 Response Body - application/json

object
Show Sub-Attributes
messagestring

Error message

errorstring

Authentication error description

codeinteger

Error code

- HTTP code 403 Response Body - application/json

object
Show Sub-Attributes
messagestring

Error message

errorstring

Forbidden access error description

codeinteger

Error code

- HTTP code 500 Response Body - application/json

object
Show Sub-Attributes
messagestring

Error message

errorstring

Internal server error description

codeinteger

Error code

Possible HTTP Status Codes

200HTTP code

Successfully retrieved common widget data

400HTTP code

Bad request - Invalid parameters or request format

401HTTP code

Unauthorized - Invalid or missing authentication

403HTTP code

Forbidden - Insufficient permissions

500HTTP code

Internal server error

Get governance resource trend chart data

Retrieves resource-specific cost trend data for governance analysis with time-series visualization. Use this to plot cost trends for a specific resource identified during RCA to detect cost spikes and spending patterns.

Request URL

https://www.site24x7.com/cs/api/cost/governance/ri_resouce_trend_chart

Scope

CloudSpend.Internal.Read

Request Parameters

- Request Body

application/json
object
Show Sub-Attributes
end_datedateMandatory

End date for trend analysis (YYYY-MM-DD).

resource_idstringMandatory

Resource identifier for trend analysis.

accountsarrayMandatory

List of accounts for governance analysis.

Show Sub-Attributes
cost_account_idstringOptional

Cost account identifier from governance accounts.

billing_account_idsarrayOptional

Associated billing account IDs from spend analysis.

start_datedateMandatory

Start date for trend analysis (YYYY-MM-DD).

Response Parameters

- HTTP code 200 Response Body - application/json

object
Show Sub-Attributes
messagestring
dataobject
Show Sub-Attributes
resource_costarray

Time-series resource cost data with timestamp-value pairs

codeinteger

- HTTP code 400 Response Body - application/json

object
Show Sub-Attributes
messagestring

Error message

errorstring

Detailed error description

codeinteger

Error code

- HTTP code 401 Response Body - application/json

object
Show Sub-Attributes
messagestring

Error message

errorstring

Authentication error description

codeinteger

Error code

- HTTP code 500 Response Body - application/json

object
Show Sub-Attributes
messagestring

Error message

errorstring

Server error description

codeinteger

Error code

Possible HTTP Status Codes

200HTTP code

Successfully retrieved resource trend data

400HTTP code

Bad request - Invalid parameters or request format

401HTTP code

Unauthorized - Invalid or missing authentication

500HTTP code

Internal server error

Get default tagging compliance resource list by cloud and report type

Retrieves a list of accounts, projects, or subscriptions with their untagged resource counts for default tagging compliance reports. Use this as an intermediate step when viewing default reports, listing entities for a selected cloud provider grouped by report type.

Request URL

https://www.site24x7.com/cs/api/cost/reports/compliance/tagging/resource/meta

Scope

CloudSpend.Internal.Read

Request Parameters

- Query Parameters
cloud_typeintegerMandatory

Cloud provider identifier. 0=AWS, 1=Azure, 2=GCP.

solution_report_idintegerMandatory

Report type ID (e.g., Id field under PROJECTS, REGION, SERVICE, BILLED_ACCOUNTS).

Response Parameters

- HTTP code 200 Response Body - application/json

object
Show Sub-Attributes
messagestring
dataarray
Show Sub-Attributes
untagged_resources_countstring

Number of billed untagged resources

cost_account_idstring

Parent cost account ID

cost_account_namestring

Parent cost account name

untagged_resources_coststring

Total cost of untagged resources

unbilled_untagged_resources_countstring

Number of unbilled untagged resources

namestring

Entity name (project name, account name, subscription name)

idstring

Entity ID used as business_unit_id for drill-down into getTaggingDetailsReports

codeinteger

- HTTP code 400 Response Body - application/json

object
Show Sub-Attributes
messagestring

Error message

errorstring

Detailed error description

codeinteger

Error code

- HTTP code 401 Response Body - application/json

object
Show Sub-Attributes
messagestring

Error message

errorstring

Authentication error description

codeinteger

Error code

- HTTP code 403 Response Body - application/json

object
Show Sub-Attributes
messagestring

Error message

errorstring

Forbidden access error description

codeinteger

Error code

- HTTP code 500 Response Body - application/json

object
Show Sub-Attributes
messagestring

Error message

errorstring

Internal server error description

codeinteger

Error code

Possible HTTP Status Codes

200HTTP code

Successfully retrieved resource meta for default compliance report

400HTTP code

Bad request - Invalid parameters or request format

401HTTP code

Unauthorized - Invalid or missing authentication

403HTTP code

Forbidden - Insufficient permissions

500HTTP code

Internal server error

Create unit economics custom report

Creates a new custom report for Unit Economics analysis with user-defined name, account scope, and tags. Use this to save a custom Unit Economics report configuration for repeated analysis.

Request URL

https://www.site24x7.com/cs/api/cost/reports/unit/economics/custom/report

Scope

CloudSpend.Internal.Create

Request Parameters

- Request Body

application/json
object
Show Sub-Attributes
labels_to_addarrayOptional

New labels to create and associate

Show Sub-Attributes
labels_to_deletearrayOptional

Label IDs to remove from the report

account_typeintegerOptional

Account type identifier

account_idlongOptional

Cost account ID to scope the report

namestringMandatory

User-defined name for the custom report

labelarrayOptional

Labels to associate with the report

Show Sub-Attributes
tagsstringOptional

Tags filter as a JSON-encoded string

Response Parameters

- HTTP code 200 Response Body - application/json

object
Show Sub-Attributes
messagestring

Response status message

dataobject

Created custom report details

Show Sub-Attributes
codeinteger

Response status code

- HTTP code 400 Response Body - application/json

object
Show Sub-Attributes
messagestring

Error message

errorstring

Detailed error description

codeinteger

Error code

- HTTP code 401 Response Body - application/json

object
Show Sub-Attributes
messagestring

Error message

errorstring

Authentication error description

codeinteger

Error code

- HTTP code 403 Response Body - application/json

object
Show Sub-Attributes
messagestring

Error message

errorstring

Forbidden access error description

codeinteger

Error code

- HTTP code 500 Response Body - application/json

object
Show Sub-Attributes
messagestring

Error message

errorstring

Internal server error description

codeinteger

Error code

Possible HTTP Status Codes

200HTTP code

Successfully created Unit Economics custom report

400HTTP code

Bad request - Invalid parameters or request format

401HTTP code

Unauthorized - Invalid or missing authentication

403HTTP code

Forbidden - Insufficient permissions

500HTTP code

Internal server error

Get governance resource inventory list

Retrieves resource inventory for governance analysis with metadata, cost, and tagging information. Use this to get detailed inventory of resources identified during RCA, including cost data and tag classifications.

Request URL

https://www.site24x7.com/cs/api/cost/governance/ri_list

Scope

CloudSpend.Internal.Read

Request Parameters

- Request Body

application/json
object
Show Sub-Attributes
end_datedateMandatory

End date for resource inventory (YYYY-MM-DD).

accountsarrayMandatory

List of accounts for governance analysis.

Show Sub-Attributes
cost_account_idstringOptional

Cost account identifier from governance accounts.

billing_account_idsarrayOptional

Associated billing account IDs from spend analysis.

resource_idsarrayMandatory

List of resource IDs for inventory retrieval.

start_datedateMandatory

Start date for resource inventory (YYYY-MM-DD).

Response Parameters

- HTTP code 200 Response Body - application/json

object
Show Sub-Attributes
messagestring
dataobject

Resource inventory organized by resource ID

Show Sub-Attributes
codeinteger

- HTTP code 400 Response Body - application/json

object
Show Sub-Attributes
messagestring

Error message

errorstring

Detailed error description

codeinteger

Error code

- HTTP code 401 Response Body - application/json

object
Show Sub-Attributes
messagestring

Error message

errorstring

Authentication error description

codeinteger

Error code

- HTTP code 500 Response Body - application/json

object
Show Sub-Attributes
messagestring

Error message

errorstring

Server error description

codeinteger

Error code

Possible HTTP Status Codes

200HTTP code

Successfully retrieved resource inventory

400HTTP code

Bad request - Invalid parameters or request format

401HTTP code

Unauthorized - Invalid or missing authentication

500HTTP code

Internal server error

Generate anomaly details report for cost centers

Generates a scheduled anomaly details report for a cost centers with cost analysis and investigation insights. Use this to create anomaly-focused reports (PDF/CSV) delivered to selected contacts on a scheduled profile.

Request URL

https://www.site24x7.com/cs/api/cost/cost_centers/spend_analysis/anomaly/details/report

Scope

CloudSpend.Internal.Create

Request Parameters

- Request Body

application/json
object
Show Sub-Attributes
cost_idsarrayMandatory

Anomaly budget ID array selection (checks_type="ANOMALY")

profile
Show Sub-Attributes
oneOf
object

Existing profile reference

Show Sub-Attributes
profile_idstringMandatory

Profile identifier

object

Custom profile creation

Show Sub-Attributes
profile_namestringMandatory

Name for the new custom profile

periodintegerMandatory

Reporting period (11=Previous period, 14=Current month, etc.)

hourintegerMandatory

Scheduled hour (0-23)

dayintegerMandatory

Scheduled day

timezonestringMandatory

Timezone for scheduling

formatintegerMandatory

Report format (1=PDF, 2=CSV)

report_namestringMandatory

User-defined report name

typeintegerMandatory

Report type (26 for Anomaly Details)

contact_idsarrayMandatory

Array of contact objects for report delivery

Show Sub-Attributes
contact_idstringMandatory

Contact identifier for report delivery

contact_typestringMandatory

Type of contact (1=user, 2=group)

frequencyintegerMandatory

Report frequency (1=Monthly, 2=Quarterly, 3=Yearly, 4=Daily, 7=Weekly)

Response Parameters

- HTTP code 200 Response Body - application/json

object
Show Sub-Attributes
messagestring

Response message

dataobject
Show Sub-Attributes
report_idstring

Unique identifier for the generated report

codeinteger

Status code (0 indicates success)

- HTTP code 400 Response Body - application/json

object
Show Sub-Attributes
messagestring

Error message

errorstring

Detailed error description

codeinteger

Error code

- HTTP code 401 Response Body - application/json

object
Show Sub-Attributes
messagestring

Error message

errorstring

Authentication error description

codeinteger

Error code

- HTTP code 500 Response Body - application/json

object
Show Sub-Attributes
messagestring

Error message

errorstring

Server error description

codeinteger

Error code

Possible HTTP Status Codes

200HTTP code

Anomaly details report generation initiated successfully

400HTTP code

Bad request - Invalid parameters or request format

401HTTP code

Unauthorized - Invalid or missing authentication

500HTTP code

Internal server error

Get cost by region/service/component for named solution report

Returns cost breakdown by region, service, or component for the named solution report. Use this to display cost by region (key 0), cost by service (key 1), or cost by component (key 2) widgets.

Request URL

https://www.site24x7.com/cs/api/cost/sol_reports/common_widget_api

Scope

CloudSpend.Internal.Create

Request Parameters

- Request Body

application/json
object

Standard payload structure for all sol_reports APIs - ensures consistent request format

Show Sub-Attributes
end_datedateMandatory

Analysis end date (typically current date)

cost_tagsarrayOptional

Pass empty array [] for widget APIs (spend_analysis_panel, common_widget_api, cost_by_resource, cost_by_instance, trend_box, accounts_splitup). Only populate cost_tags when calling group_by_property for tag-based filtering. Non-empty cost_tags on widget APIs causes 500 errors.

Show Sub-Attributes
vintegerOptional

Tag version or value reference

idstringOptional

Tag identifier for filtering (from business_unit_tags in bu_spend_analysis response)

periodintegerMandatory

Time granularity (1=daily, 2=weekly, 3=monthly)

business_unit_idstringMandatory

Cost center identifier from getSolutionReportsReports response

cost_typeintegerMandatory

Cost calculation type (0=standard, 1=amortized, 20=Azure resource groups)

accountsarrayMandatory

Account scope for analysis

Show Sub-Attributes
cost_account_idstringOptional

Cost account identifier

billing_account_idsarrayOptional

Associated billing account IDs

bu_typeintegerMandatory

Cost center type classification

start_datedateMandatory

Analysis start date (typically previous month 1st or current billing period start)

Response Parameters

- HTTP code 200 Response Body - application/json

object
Show Sub-Attributes
messagestring
dataobject
Show Sub-Attributes
return_dataobject
Show Sub-Attributes
0array

Regional cost breakdown data

1array

Service cost breakdown data

2array

Usage type cost breakdown data

3array

Data transfer cost breakdown with named categories

Show Sub-Attributes
namestring
valuenumber
codeinteger

Possible HTTP Status Codes

200HTTP code

Common widget data retrieved successfully

400HTTP code

Invalid request parameters

401HTTP code

Authentication required

403HTTP code

Access denied to cost centers or accounts

500HTTP code

Internal server error

Get zia anomaly detection summary

Retrieves anomaly counts categorized by region, service, account, billing account, and cost centers for the anomaly dashboard. Use this to display the Zia anomaly dashboard overview with category-level occurrence summaries and status filters.

Request URL

https://www.site24x7.com/cs/api/reports/anomaly/summary

Scope

CloudSpend.Internal.Read

Request Parameters

- Query Parameters
statusstringOptional

Filter anomalies by status for focused analysis

start_datedateMandatory

Analysis start date in YYYY-MM-DD format for anomaly detection window

end_datedateMandatory

Analysis end date in YYYY-MM-DD format for anomaly detection window

Response Parameters

- HTTP code 200 Response Body - application/json

object
Show Sub-Attributes
messagestring

Response status message

dataobject
Show Sub-Attributes
summary_dataobject

Anomaly occurrences grouped by classification types

Show Sub-Attributes
1array

Regional anomaly distribution

2array

Service-level anomaly distribution

3array

Account-level anomaly distribution

10001array

Cost account anomaly distribution

10002array

Cost center anomaly distribution

codeinteger

Response status code

- HTTP code 400 Response Body - application/json

object
Show Sub-Attributes
messagestring

Error message

errorstring

Detailed error description

codeinteger

Error code

- HTTP code 401 Response Body - application/json

object
Show Sub-Attributes
messagestring

Error message

errorstring

Authentication error description

codeinteger

Error code

- HTTP code 403 Response Body - application/json

object
Show Sub-Attributes
messagestring

Error message

errorstring

Forbidden access error description

codeinteger

Error code

- HTTP code 500 Response Body - application/json

object
Show Sub-Attributes
messagestring

Error message

errorstring

Internal server error description

codeinteger

Error code

Possible HTTP Status Codes

200HTTP code

Successfully retrieved anomaly summary data

400HTTP code

Bad request - Invalid parameters or request format

401HTTP code

Unauthorized - Invalid or missing authentication

403HTTP code

Forbidden - Insufficient permissions

500HTTP code

Internal server error

Generate resource explorer report for cost centers

Generates a cost centers resource explorer report with cost breakdown by regions, services, or accounts. Use this to create scheduled resource-level cost reports for a specific cost centers with PDF or CSV delivery.

Request URL

https://www.site24x7.com/cs/api/cost/cost_centers/resource_explorer/report

Scope

CloudSpend.Internal.Create

Request Parameters

- Request Body

application/json
object
Show Sub-Attributes
cost_idsarrayMandatory

Cost centers ID array

profile
Show Sub-Attributes
oneOf
object

Use existing profile by ID

Show Sub-Attributes
profile_idstringMandatory

Profile identifier

object

Create new profile inline

Show Sub-Attributes
profile_namestringMandatory

Name for the new profile

periodintegerMandatory

Report frequency: 1=Monthly, 4=Daily, 7=Weekly

hourintegerMandatory

Hour to run report (0-23)

dayintegerMandatory

Day of week (1-7) or month (1-31) when report runs

timezonestringMandatory

Timezone for scheduling

formatintegerMandatory

Report format: 1=PDF, 2=CSV

report_namestringMandatory

User-defined report name

typeintegerMandatory

Report type: 5 (Resource Explorer for Cost Centerss)

bu_idstringMandatory

Cost centers identifier (same as cost_ids value)

contact_idsarrayMandatory

Array of contact objects for report delivery

Show Sub-Attributes
contact_idstringOptional

Contact identifier for report delivery

contact_typestringOptional

Type of contact (1=user, 2=group)

group_by_typeintegerMandatory

Grouping method: 1=Region, 2=Service, 3=Accounts

frequencyintegerMandatory

Report frequency from selected profile

Response Parameters

- HTTP code 200 Response Body - application/json

object
Show Sub-Attributes
messagestring

Response message

dataobject
Show Sub-Attributes
report_idstring

Unique identifier for the generated report

codeinteger

Status code (0 indicates success)

- HTTP code 400 Response Body - application/json

object
Show Sub-Attributes
messagestring

Error message

errorstring

Detailed error description

codeinteger

Error code

- HTTP code 401 Response Body - application/json

object
Show Sub-Attributes
messagestring

Error message

errorstring

Authentication error description

codeinteger

Error code

- HTTP code 500 Response Body - application/json

object
Show Sub-Attributes
messagestring

Error message

errorstring

Server error description

codeinteger

Error code

Possible HTTP Status Codes

200HTTP code

Resource explorer report generation initiated successfully

400HTTP code

Bad request - Invalid parameters or request format

401HTTP code

Unauthorized - Invalid or missing authentication

500HTTP code

Internal server error

List rule groups for permission boundaries

Retrieves all available rule groups (tagId, ruleGroupName, ruleGroupId) that can be linked to permission boundaries. Use this to populate the rule group selection when creating or editing a permission boundary.

Request URL

https://www.site24x7.com/cs/api/cost/admin/rule/group/list

Scope

CloudSpend.Internal.Read

Response Parameters

- HTTP code 200 Response Body - application/json

object
Show Sub-Attributes
messagestring
dataarray

List of available rule groups

Show Sub-Attributes
tagIdstring

Associated virtual tag ID

ruleGroupIdstring

Unique rule group identifier

ruleGroupNamestring

Rule group display name

codeinteger

- HTTP code 400 Response Body - application/json

object
Show Sub-Attributes
messagestring

Error message

errorstring

Detailed error description

codeinteger

Error code

- HTTP code 401 Response Body - application/json

object
Show Sub-Attributes
messagestring

Error message

errorstring

Authentication error description

codeinteger

Error code

- HTTP code 403 Response Body - application/json

object
Show Sub-Attributes
messagestring

Error message

errorstring

Forbidden access error description

codeinteger

Error code

- HTTP code 500 Response Body - application/json

object
Show Sub-Attributes
messagestring

Error message

errorstring

Internal server error description

codeinteger

Error code

Possible HTTP Status Codes

200HTTP code

Successfully retrieved rule groups

400HTTP code

Bad request - Invalid parameters or request format

401HTTP code

Unauthorized - Invalid or missing authentication

403HTTP code

Forbidden - Insufficient permissions

500HTTP code

Internal server error

Get governance rca billed resource names

Retrieves billed resource names causing governance violations with account associations and resource identifiers. Use this as part of the 5-API RCA workflow to identify which billed resources are non-compliant.

Request URL

https://www.site24x7.com/cs/api/cost/governance/checks/rca/billed_resource/names

Scope

CloudSpend.Internal.Read

Request Parameters

- Query Parameters
ruleChecksIdstringMandatory

Governance policy identifier associated with the governance check.

incidentTimestringMandatory

Unix timestamp in milliseconds for the governance check period start time.

Response Parameters

- HTTP code 200 Response Body - application/json

object
Show Sub-Attributes
messagestring
dataarray
Show Sub-Attributes
resource_namestring

Name of the resource

resource_idstring

Resource identifier

billed_account_namestring

Name of the billed account

codeinteger

- HTTP code 400 Response Body - application/json

object
Show Sub-Attributes
messagestring

Error message

errorstring

Detailed error description

codeinteger

Error code

- HTTP code 401 Response Body - application/json

object
Show Sub-Attributes
messagestring

Error message

errorstring

Authentication error description

codeinteger

Error code

- HTTP code 500 Response Body - application/json

object
Show Sub-Attributes
messagestring

Error message

errorstring

Server error description

codeinteger

Error code

Possible HTTP Status Codes

200HTTP code

Successfully retrieved billed resource names for governance RCA

400HTTP code

Bad request - Invalid parameters or request format

401HTTP code

Unauthorized - Invalid or missing authentication

500HTTP code

Internal server error

Get budget currency formats

Retrieves available currency formats for budget configuration with formatting examples and localization support. Use this to populate currency selectors when creating budgets, providing proper symbol display and formatting patterns.

Request URL

https://www.site24x7.com/cs/api/cost/budget/currencies_format

Scope

CloudSpend.Internal.Read

Response Parameters

- HTTP code 200 Response Body - application/json

object
Show Sub-Attributes
messagestring
dataarray

Available currencies with formatting examples

Show Sub-Attributes
currencystring

Currency code (ISO 4217)

format_valuestring

Formatted value example showing currency symbol and number formatting

codeinteger

- HTTP code 400 Response Body - application/json

object
Show Sub-Attributes
messagestring

Error message

errorstring

Detailed error description

codeinteger

Error code

- HTTP code 401 Response Body - application/json

object
Show Sub-Attributes
messagestring

Error message

errorstring

Authentication error description

codeinteger

Error code

- HTTP code 500 Response Body - application/json

object
Show Sub-Attributes
messagestring

Error message

errorstring

Server error description

codeinteger

Error code

Possible HTTP Status Codes

200HTTP code

Successfully retrieved available budget currencies with formatting

400HTTP code

Bad request - Invalid parameters or request format

401HTTP code

Unauthorized - Invalid or missing authentication

500HTTP code

Internal server error

Get cost centers spend analysis

Retrieves detailed account structure and hierarchy for a specific cost centers with child accounts, billing details, and tag associations. Use this to visualize account hierarchy, set up cost allocation, or identify child accounts for chargeback workflows.

Request URL

https://www.site24x7.com/cs/api/cost/cost_centers/cc_spend_analysis

Scope

CloudSpend.Internal.Read

Request Parameters

- Query Parameters
auto_bubooleanOptional

Whether to automatically fetch related cost centers

business_unit_idstringMandatory

Unique identifier of the cost centers to analyze. Obtain from listCostCenters endpoint response.

billed_account_idstringOptional

Optional billing account ID to filter spend analysis to a specific account.

Response Parameters

- HTTP code 200 Response Body - application/json

object
Show Sub-Attributes
messagestring

Response message

dataobject
Show Sub-Attributes
max_datedate-time

Maximum date for the spend data in the response

is_hybrid_accountboolean

Whether the cost centers contains multiple cloud provider accounts

cost_account_idsarray

List of cost account IDs associated with the cost centers

all_accountsarray

List of cost centers with their complete account hierarchy

Show Sub-Attributes
child_accountsarray

Child accounts under this cost centers with detailed information

Show Sub-Attributes
billing_account_idstring

Billing account identifier

namestring

Account display name

aws_account_idstring

AWS account ID, Azure subscription ID, or GCP project ID

cost_account_idstring

Internal cost account identifier

is_payer_accountboolean

Whether this is a payer account

name_with_entitystring

Account name with entity information

account_namestring

Cost centers display name

business_unit_tagsarray

Cost centers level tags with version information

Show Sub-Attributes
vstring

Tag version

idstring

Tag identifier

default_tagsarray

Default tags with key-value pairs

Show Sub-Attributes
tagIdstring

Tag identifier

valuestring

Tag value

vinteger

Tag version number

keystring

Tag key

idstring

Cost centers identifier

integrated_zaaidsarray

Integrated ZAAID information

bu_typeinteger

Cost centers type identifier

min_datedate-time

Minimum date for the spend data in the response

codeinteger

Status code of the response (0 indicates success)

- HTTP code 400 Response Body - application/json

object
Show Sub-Attributes
messagestring

Error message

errorstring

Detailed error description

codeinteger

Error code

- HTTP code 401 Response Body - application/json

object
Show Sub-Attributes
messagestring

Error message

errorstring

Authentication error description

codeinteger

Error code

- HTTP code 500 Response Body - application/json

object
Show Sub-Attributes
messagestring

Error message

errorstring

Server error description

codeinteger

Error code

Possible HTTP Status Codes

200HTTP code

Successful response containing spend analysis and account hierarchy.

400HTTP code

Bad request - Invalid parameters or request format

401HTTP code

Unauthorized - Invalid or missing authentication

500HTTP code

Internal server error

Generate cost centers list report

Generates a scheduled cost centers list report with cost insights delivered to selected contacts. Use this to create multi-CC summary reports in PDF or CSV format with scheduled delivery to users or groups.

Request URL

https://www.site24x7.com/cs/api/cost/cost_centers/report

Scope

CloudSpend.Internal.Create

Request Parameters

- Request Body

application/json
object
Show Sub-Attributes
cost_idsarrayMandatory

Cost centers IDs selection

profile
Show Sub-Attributes
oneOf
object

Use existing profile

Show Sub-Attributes
profile_idstringMandatory

Existing profile ID

object

Create new profile

Show Sub-Attributes
profile_namestringMandatory

Name for the new profile

periodintegerMandatory

Report period (1=This period, 11=Previous period, 14=Current month)

hourintegerMandatory

Delivery hour (0-23)

dayintegerMandatory

Day of month/week for delivery

timezonestringMandatory

Timezone for report scheduling

formatintegerMandatory

Report format (1=PDF, 2=CSV)

report_namestringMandatory

User-defined name for the CC list report

typeintegerMandatory

Report type (6 = Cost Centers List)

contact_idsarrayMandatory

Report delivery contacts (users and/or groups)

Show Sub-Attributes
contact_idstringMandatory

User ID or user group ID

contact_typestringMandatory

Contact type (1=user, 2=user_group)

frequencyintegerMandatory

Report frequency (1=Daily, 7=Weekly, 4=Monthly)

Response Parameters

- HTTP code 200 Response Body - application/json

object
Show Sub-Attributes
messagestring

Response message

dataobject
Show Sub-Attributes
report_idstring

Generated report identifier

statusstring

Report generation status

codeinteger

Status code (0 indicates success)

- HTTP code 400 Response Body - application/json

object
Show Sub-Attributes
messagestring

Error message

errorstring

Detailed error description

codeinteger

Error code

- HTTP code 401 Response Body - application/json

object
Show Sub-Attributes
messagestring

Error message

errorstring

Authentication error description

codeinteger

Error code

- HTTP code 500 Response Body - application/json

object
Show Sub-Attributes
messagestring

Error message

errorstring

Server error description

codeinteger

Error code

Possible HTTP Status Codes

200HTTP code

Successfully generated cost centers dashboard report

400HTTP code

Bad request - Invalid parameters or request format

401HTTP code

Unauthorized - Invalid or missing authentication

500HTTP code

Internal server error

Get all custom user roles

Retrieves all custom-defined user roles with their module-level permissions, permission boundary assignments, and creation metadata. Use this to display the Roles table in Admin > Users > Roles tab for managing custom RBAC configurations.

Request URL

https://www.site24x7.com/cs/api/cost/user_roles

Scope

CloudSpend.Internal.Read

Response Parameters

- HTTP code 200 Response Body - application/json

object
Show Sub-Attributes
messagestring

Response status message

dataobject
Show Sub-Attributes
return_dataarray

List of custom role definitions

Show Sub-Attributes
account_typeinteger

Account type scope for the role

last_updated_timedate-time

Last modification timestamp

product_idinteger

Product identifier (2=CloudSpend)

namestring

Role display name

descriptionstring

Role description

tag_idstring

Associated permission boundary tag ID

idstring

Unique role identifier

created_bystring

User ID who created the role

codeinteger

Response status code

- HTTP code 400 Response Body - application/json

object
Show Sub-Attributes
messagestring

Error message

errorstring

Detailed error description

codeinteger

Error code

- HTTP code 401 Response Body - application/json

object
Show Sub-Attributes
messagestring

Error message

errorstring

Authentication error description

codeinteger

Error code

- HTTP code 403 Response Body - application/json

object
Show Sub-Attributes
messagestring

Error message

errorstring

Forbidden access error description

codeinteger

Error code

- HTTP code 500 Response Body - application/json

object
Show Sub-Attributes
messagestring

Error message

errorstring

Internal server error description

codeinteger

Error code

Possible HTTP Status Codes

200HTTP code

Successfully retrieved custom roles

400HTTP code

Bad request - Invalid parameters or request format

401HTTP code

Unauthorized - Invalid or missing authentication

403HTTP code

Forbidden - Insufficient permissions

500HTTP code

Internal server error

Get budget policies by account type

Retrieves existing budget policies filtered by account type for budget configuration and management. Use this to discover available policies by account type (accounts, cost centers, reports) before creating or associating budgets.

Request URL

https://www.site24x7.com/cs/api/cost/budget/budget_policys/{account_type}

Scope

CloudSpend.Internal.Read

Request Parameters

- Path Parameters
account_typeintegerMandatory

Account type filter for budget policies: - 0: Account-level policies - 1: Cost Center-level policies - 2: Report-level policies

Response Parameters

- HTTP code 200 Response Body - application/json

object
Show Sub-Attributes
messagestring
dataobject
Show Sub-Attributes
dataarray

Array of budget policies for the specified account type

Show Sub-Attributes
policy_typestring

Policy type classification

account_typeinteger

Account type (0=Account, 1=BU, 2=Report)

account_idstring

Associated account identifier

policy_idstring

Unique policy identifier

cost_typeinteger

Cost type (0=AWS Blended, 1=Unblended, 2=Amortized, 3=Recurring, 20=Azure)

policy_namestring

Policy display name

budget_tags
Show Sub-Attributes
oneOf
array
Show Sub-Attributes
vstring

Tag version

idstring

Tag identifier

string

Empty string when no tags

integrated_zaaidsarray

Integrated Zoho Account IDs

budgets_countinteger

Number of budgets using this policy

codeinteger

- HTTP code 400 Response Body - application/json

object
Show Sub-Attributes
messagestring

Error message

errorstring

Detailed error description

codeinteger

Error code

- HTTP code 401 Response Body - application/json

object
Show Sub-Attributes
messagestring

Error message

errorstring

Authentication error description

codeinteger

Error code

- HTTP code 500 Response Body - application/json

object
Show Sub-Attributes
messagestring

Error message

errorstring

Server error description

codeinteger

Error code

Possible HTTP Status Codes

200HTTP code

Successfully retrieved budget policies for the specified account type

400HTTP code

Bad request - Invalid parameters or request format

401HTTP code

Unauthorized - Invalid or missing authentication

500HTTP code

Internal server error

Group cost centers accounts by property

Groups cost centers accounts by dimension: accounts, regions, services, resource type, or tags with time-series cost data. Use this to break down costs by any dimension for chargeback, geographic optimization, or tag-based allocation. Use this to break down costs by any dimension for chargeback, geographic optimization, or tag-based allocation.

Request URL

https://www.site24x7.com/cs/api/cost/cost_centers/group_by_property

Scope

CloudSpend.Internal.Read

Request Parameters

- Request Body

application/json
object
Show Sub-Attributes
end_datedateMandatory

End date for cost analysis (YYYY-MM-DD)

cost_tagsarrayMandatory
Show Sub-Attributes
vintegerMandatory

Tag version number

idstringMandatory

Tag identifier for cost filtering

periodintegerMandatory

Aggregation period (1 = monthly, standard for cost analysis)

business_unit_idstringMandatory

Cost centers ID selection (use BUSINESS_UNIT_IDENTIFIER field)

cost_typeintegerMandatory

Cost type based on cloud provider: - 0: AWS accounts (cloud_type: 0) - 20: Azure accounts (cloud_type: 1) and GCP accounts (cloud_type: 2)

group_by_tagsarrayOptional

REQUIRED Use getAvailableTagsForGrouping first. Format: [{id:tagId, v:version}]

Show Sub-Attributes
vintegerMandatory

Tag version number (typically 0 for grouping).

idstringMandatory

Tag identifier (/cs/api/cost/show_more_tags) response.

accountsarrayMandatory

Account structure. Use NUMERIC billing IDs (NOT subscription names)

Show Sub-Attributes
cost_account_idstringMandatory

Cost account ID selection

billing_account_idsarrayMandatory

Child billing account IDs (NUMERIC values only)

bu_typeintegerMandatory

Cost centers type identifier (0 = standard cost centers)

group_by_typestringMandatory

Property to group accounts by

start_datedateMandatory

Start date for cost analysis (YYYY-MM-DD)

Response Parameters

- HTTP code 200 Response Body - application/json

object
Show Sub-Attributes
messagestring

Response message

dataobject
Show Sub-Attributes
return_dataobject
Show Sub-Attributes
modeinteger

Data mode identifier (1 = chart data mode)

valuesobject

Grouped cost data where keys are account/property names and values contain: - cloud_account_id: Account identifier - chart_data: Time-series cost arrays [timestamp, cost] - property: Object with version (v) and ID for grouping

Show Sub-Attributes
codeinteger

Status code (0 indicates success)

- HTTP code 400 Response Body - application/json

object
Show Sub-Attributes
messagestring

Error message

errorstring

Detailed error description

codeinteger

Error code

- HTTP code 401 Response Body - application/json

object
Show Sub-Attributes
messagestring

Error message

errorstring

Authentication error description

codeinteger

Error code

- HTTP code 500 Response Body - application/json

object
Show Sub-Attributes
messagestring

Error message

errorstring

Server error description

codeinteger

Error code

Possible HTTP Status Codes

200HTTP code

Successfully grouped accounts by the specified property

400HTTP code

Bad request - Invalid parameters or request format

401HTTP code

Unauthorized - Invalid or missing authentication

500HTTP code

Internal server error

Get detailed budget information

Retrieves detailed budget information including alerts, policy details, usage statistics, and configuration metadata. Use this to inspect a specific budget's alert history, policy associations, forecast projections, and notification settings.

Request URL

https://www.site24x7.com/cs/api/cost/budget/budget_info/{budget_id}

Scope

CloudSpend.Internal.Read

Request Parameters

- Path Parameters
budget_idstringMandatory

Budget identifier user selection

Response Parameters

- HTTP code 200 Response Body - application/json

object
Show Sub-Attributes
messagestring
dataobject
Show Sub-Attributes
alertsarray

Array of alert notifications for this budget

Show Sub-Attributes
end_datedate-time
start_timestring

Unix timestamp in milliseconds

notified_datedate-time
notified_Timestring

Unix timestamp in milliseconds

start_date_numdate-time
usagefloat

Actual usage amount

end_timestring

Unix timestamp in milliseconds

deviationfloat

Deviation from budget (negative if over budget)

thresholdfloat

Budget threshold amount

start_datestring

Human-readable start period

budgetfloat

Budgeted amount for period

infoobject

Comprehensive budget information and configuration

Show Sub-Attributes
created_timestring

Budget creation timestamp

periodstring

Budget monitoring period

forecasted_valfloat

Forecasted spending amount

currency_localestring

Currency locale for formatting

forecast_percentinteger

Forecast accuracy percentage

notify_viainteger

Notification method (1=email)

budget_percentfloat

Budget utilization percentage

currency_codestring

Currency code (USD, INR, etc.)

budgetedfloat

Total budgeted amount

modestring

Budget mode (Amount/Percentage)

alertsarray

Duplicate alerts array for info section

Show Sub-Attributes
period_rhstring

Period resource handle for localization

currency_unicodestring

Currency symbol

last_updated_timestring

Last update timestamp

mode_idinteger

Budget mode identifier

namestring

Budget name

usage_valuefloat

Current usage value

policyobject

Associated policy configuration

Show Sub-Attributes
account_typeinteger

Account type (0=Account, 1=BU, 2=Report)

account_idstring

Associated account identifier

policy_idstring

Policy identifier

cost_typestring

Cost calculation type

account_namestring

Account display name

policy_namestring

Policy display name

tagsobject

Associated tags

Show Sub-Attributes
statusinteger

Budget status (1=active, 0=inactive)

codeinteger

- HTTP code 400 Response Body - application/json

object
Show Sub-Attributes
messagestring

Error message

errorstring

Detailed error description

codeinteger

Error code

- HTTP code 401 Response Body - application/json

object
Show Sub-Attributes
messagestring

Error message

errorstring

Authentication error description

codeinteger

Error code

- HTTP code 500 Response Body - application/json

object
Show Sub-Attributes
messagestring

Error message

errorstring

Server error description

codeinteger

Error code

Possible HTTP Status Codes

200HTTP code

Successfully retrieved detailed budget information

400HTTP code

Bad request - Invalid parameters or request format

401HTTP code

Unauthorized - Invalid or missing authentication

500HTTP code

Internal server error

List all permission boundaries

Retrieves all permission boundaries with their display names, associated rule group IDs, and linked custom role IDs. Use this to display the Permission Boundary table in Admin > Access Control where admins manage data scope restrictions for custom roles.

Request URL

https://www.site24x7.com/cs/api/cost/admin/tag/virtual/list

Scope

CloudSpend.Internal.Read

Request Parameters

- Request Body

application/json
object
Show Sub-Attributes
admin_sub_module_idarrayOptional

Optional admin sub-module IDs filter (1-100 items)

report_sub_module_idarrayOptional

Optional report sub-module IDs filter (1-100 items)

module_idarrayMandatory

Required array of module IDs to filter permission boundaries (1-20 items). Module IDs: 1=Accounts, 2=Cost Centers, 3=Budget, 4=Anomaly, 5=Reports, 6=Admin

Response Parameters

- HTTP code 200 Response Body - application/json

object
Show Sub-Attributes
messagestring
dataarray

List of all permission boundaries

Show Sub-Attributes
rulesDeletedstring

Deleted rules tracking (internal use)

tagIdstring

Unique identifier for the permission boundary

tagValuestring

Display Name shown in UI for the permission boundary

rulesAddedstring

Added rules tracking (internal use)

ruleGroupNamestring

Rule group name (may be empty)

rulesstring

Rules JSON (empty when listing, populated in details)

tagNamestring

Tag key name (always "vTag" for permission boundaries)

ruleGroupIdstring

Rule group ID - use with /cs/api/cost/admin/rule/group/details to get rules

costUserIdstring

Cost user who created the boundary

moduleAllowedstring

Allowed modules configuration (may be empty)

tagVariationinteger

Tag variation type (10000 indicates permission boundary)

rulesEditedstring

Edited rules tracking (internal use)

customRoleId
Show Sub-Attributes
oneOf
string

Empty string when no roles use this boundary

array

Array of role IDs using this permission boundary

adminSubModuleAllowedstring

Admin sub-modules allowed (may be empty)

reportSubModuleAllowedstring

Report sub-modules allowed (may be empty)

codeinteger

- HTTP code 400 Response Body - application/json

object
Show Sub-Attributes
messagestring

Error message

errorstring

Detailed error description

codeinteger

Error code

- HTTP code 401 Response Body - application/json

object
Show Sub-Attributes
messagestring

Error message

errorstring

Authentication error description

codeinteger

Error code

- HTTP code 403 Response Body - application/json

object
Show Sub-Attributes
messagestring

Error message

errorstring

Forbidden access error description

codeinteger

Error code

- HTTP code 500 Response Body - application/json

object
Show Sub-Attributes
messagestring

Error message

errorstring

Internal server error description

codeinteger

Error code

Possible HTTP Status Codes

200HTTP code

Successfully retrieved all permission boundaries

400HTTP code

Bad request - Invalid parameters or request format

401HTTP code

Unauthorized - Invalid or missing authentication

403HTTP code

Forbidden - Insufficient permissions

500HTTP code

Internal server error

Get Accounts Metadata

Provides detailed account information including hierarchy, billing structure, metadata, and cloud provider details for multi-account setups and cost analysis integration.

Request URL

https://www.site24x7.com/cs/api/cost/accounts/accounts_data

Scope

CloudSpend.Internal.Read

Response Parameters

- HTTP code 200 Response Body - application/json

object

Response for getAccountsMetadata API - account hierarchy with child accounts

Show Sub-Attributes
messagestring(length <= 255)

Response message

dataobject

Container for account metadata

Show Sub-Attributes
all_accountsarray

Array of all cloud accounts with their hierarchies

Show Sub-Attributes
zaaidstring(length <= 255)

Zoho Analytics account identifier

cloud_typeinteger

Cloud provider type: 0=AWS, 1=Azure, 2=GCP

child_accountsarray

Array of linked/child billing accounts

Show Sub-Attributes
namestring(length <= 255)

Name of the linked account

billing_account_idlong

Billing account identifier

cloud_typeinteger

Cloud provider type: 0=AWS, 1=Azure, 2=GCP

aws_account_idstring(length <= 255)

AWS account ID (for AWS accounts)

is_payer_accountboolean

Whether this is a payer/management account

name_with_entitystring(length <= 255)

Full name including entity identifier

cost_account_idlong

Unique identifier for the cost account

account_namestring(length <= 255)

Display name of the cloud account

codeinteger

Response status code (0 = success)

- HTTP code 400 Response Body - application/json

object
Show Sub-Attributes
messagestring

Error message

errorstring

Detailed error description

codeinteger

Error code

- HTTP code 401 Response Body - application/json

object
Show Sub-Attributes
messagestring

Error message

errorstring

Authentication error description

codeinteger

Error code

- HTTP code 404 Response Body - application/json

object
Show Sub-Attributes
messagestring

Error message

errorstring

Not found error description

codeinteger

Error code

- HTTP code 500 Response Body - application/json

object
Show Sub-Attributes
messagestring

Error message

errorstring

Server error description

codeinteger

Error code

Possible HTTP Status Codes

200HTTP code

Successful response

400HTTP code

Bad request - Invalid parameters or request format

401HTTP code

Unauthorized - Invalid or missing authentication

404HTTP code

Not found - Resource does not exist

500HTTP code

Internal server error

Get anomaly users and groups

Retrieves users and groups for anomaly management with roles, permissions, and notification filtering. Use this to get contact IDs for anomaly notification recipients or to list all users with their CloudSpend roles.

Request URL

https://www.site24x7.com/cs/api/cost/anomaly/users

Scope

CloudSpend.Internal.Read

Request Parameters

- Query Parameters
JSONStringstringOptional

Optional JSON string for filtered notification users by anomaly policy. EXACT

Response Parameters

- HTTP code 200 Response Body - application/json

object
Show Sub-Attributes
messagestring
dataobject
Show Sub-Attributes
workspace_migration_infoarray

Workspace migration information (typically empty)

Show Sub-Attributes
org_infoobject

Organization configuration and admin details

Show Sub-Attributes
zd_securitystring

Zoho Directory security URL

namestring

Organization display name

adminemail

Organization admin email address

zd_usersstring

Zoho Directory users URL

zd_orgstring

Zoho Directory organization URL

is_org_adminboolean

Whether current user is org admin

from_emailemail

Default sender email for anomaly notifications

contact_idstring

Primary contact identifier

usersarray

Complete user directory with permissions and CloudSpend role details

Show Sub-Attributes
is_account_contactboolean

Whether user is account primary contact

cloudspend_roleinteger

CloudSpend role identifier (12=Cost Administrator, 11=Cost User)

last_login_timedate-time

Last user login timestamp

is_invitedboolean

Whether user was invited

invited_bystring

Who invited this user (if invited)

display_namestring

User display name

user_role_namestring

User role display name

org_roleinteger

Organization role identifier (2=Super Admin, -1=Invited User)

cloudspend_role_namestring

CloudSpend role display name

zuidstring

Zoho User ID

statusiq_role_namestring

StatusIQ role display name

selection_typeinteger

User selection type

user_roleinteger

User role identifier (1=Super Admin, 11=Cost User)

statusiq_roleinteger

StatusIQ role identifier

email_addressemail

User email address

last_updated_timedate-time

Last profile update timestamp

user_idstring

Unique user identifier

sitescan_roleinteger

SiteScan role identifier

mobile_settingsobject

Mobile notification settings

Show Sub-Attributes
photo_urlstring

User profile photo URL

sitescan_role_namestring

SiteScan role display name

notify_mediumarray

Notification medium preferences

user_groupsarray

User groups for anomaly notification management

Show Sub-Attributes
is_master_groupboolean

Whether this is a master admin group

attribute_group_idstring

Attribute group identifier

display_namestring

User group display name

user_group_idstring

Unique user group identifier

usersarray

List of user IDs in this group

product_idinteger

Product identifier (0=General, 2=CloudSpend)

codeinteger

- HTTP code 400 Response Body - application/json

object
Show Sub-Attributes
messagestring

Error message

errorstring

Detailed error description

codeinteger

Error code

- HTTP code 401 Response Body - application/json

object
Show Sub-Attributes
messagestring

Error message

errorstring

Authentication error description

codeinteger

Error code

- HTTP code 500 Response Body - application/json

object
Show Sub-Attributes
messagestring

Error message

errorstring

Server error description

codeinteger

Error code

Possible HTTP Status Codes

200HTTP code

Successfully retrieved anomaly users and groups information

400HTTP code

Bad request - Invalid parameters or request format

401HTTP code

Unauthorized - Invalid or missing authentication

500HTTP code

Internal server error

Get budget alert history

Retrieves budget alert history with notification details, usage tracking, and deviation analysis. Use this to review chronological alert notifications, threshold breaches, and usage-vs-budget deviations for a specific budget.

Request URL

https://www.site24x7.com/cs/api/cost/budget/budget_alerts/{budget_id}

Scope

CloudSpend.Internal.Read

Request Parameters

- Path Parameters
budget_idstringMandatory

Budget identifier user selection

Response Parameters

- HTTP code 200 Response Body - application/json

object
Show Sub-Attributes
messagestring
dataobject
Show Sub-Attributes
alertsarray

Chronological alert history for the budget

Show Sub-Attributes
end_datedate-time

Alert period end date

start_timestring

Period start time (Unix milliseconds)

notified_datedate-time

When notification was sent

notified_Timestring

Notification timestamp (Unix milliseconds)

start_date_numdate-time

Period start date numeric

usagefloat

Actual usage amount during period

end_timestring

Period end time (Unix milliseconds)

deviationfloat

Budget deviation (negative = over budget)

thresholdfloat

Budget threshold amount

start_datestring

Human-readable period identifier

budgetfloat

Budgeted amount for period

metaobject

Budget alert metadata and context

Show Sub-Attributes
created_timestring

Budget creation timestamp

account_typeinteger

Account type (0=Account, 1=BU, 2=Report)

budget_namestring

Budget display name

currency_symbolstring

Currency symbol for formatting

currency_localestring

Currency locale for localization

currency_codestring

Currency code (USD, INR, etc.)

statusinteger

Budget status (1=active, 0=inactive)

codeinteger

- HTTP code 400 Response Body - application/json

object
Show Sub-Attributes
messagestring

Error message

errorstring

Detailed error description

codeinteger

Error code

- HTTP code 401 Response Body - application/json

object
Show Sub-Attributes
messagestring

Error message

errorstring

Authentication error description

codeinteger

Error code

- HTTP code 500 Response Body - application/json

object
Show Sub-Attributes
messagestring

Error message

errorstring

Server error description

codeinteger

Error code

Possible HTTP Status Codes

200HTTP code

Successfully retrieved budget alert history

400HTTP code

Bad request - Invalid parameters or request format

401HTTP code

Unauthorized - Invalid or missing authentication

500HTTP code

Internal server error

Get detailed monthly cost breakdown for specific resources

Provides monthly cost breakdowns for specific resources, requiring resource IDs.

Request URL

https://www.site24x7.com/cs/api/cost/accounts/resource_pagination

Scope

CloudSpend.Internal.Create

Request Parameters

- Request Body

application/json
object
Show Sub-Attributes
end_datedateMandatory

End date in YYYY-MM-DD format. CALCULATE: current system date

cost_tagsarrayMandatory

Empty array [] (required constant)

periodintegerMandatory

Period setting: -1 (required constant for pagination)

cost_typeintegerMandatory

Cost type: 0 for AWS, 20 for Azure/GCP (from getAccountsMetadata cloud_type field)

propertyobjectMandatory

Property parameter - ALWAYS object format regardless of group_by_type. FOR group_by_type="tag": Use {v: 1, id: "tag_id_from_group_by_tags"}. FOR OTHER group_by_type: Use {v: 0, id: "billing_account_id"}.

Show Sub-Attributes
vintegerMandatory

Version parameter: 1 for tag grouping, 0 for others

idstringMandatory

Tag ID (for tag grouping) or billing_account_id (for others)

group_by_tagsarrayOptional

Array of tag objects from /cs/api/cost/show_more_tags endpoint for tag-based resource filtering.

Show Sub-Attributes
vintegerMandatory

Tag version number (typically 1 for resource filtering)

idstringMandatory

Tag ID from show_more_tags endpoint

accountsarrayMandatory

Account structure array with cost_account_id and billing_account_ids selected by user

Show Sub-Attributes
cost_account_idstringMandatory

Parent account ID

billing_account_idsarrayMandatory

Child billing account IDs. Use billing_account_ids array from the selected parent account's child_accounts structure.

resource_idsarrayMandatory

Array of resource IDs obtained response

group_by_typestringMandatory

Grouping type: ''accounts'' (default) or user specified

start_datedateMandatory

Start date in YYYY-MM-DD format. CALCULATE: first day of previous month

Response Parameters

- HTTP code 200 Response Body - application/json

object
Show Sub-Attributes
messagestring

Response message

dataobject
Show Sub-Attributes
return_dataobject
Show Sub-Attributes
modeinteger

Response mode (1 = standard)

valuesobject

Resource cost data organized by resource ID

Show Sub-Attributes
codeinteger

Response code (0 = success)

- HTTP code 400 Response Body - application/json

object
Show Sub-Attributes
messagestring

Error message

errorstring

Detailed error description

codeinteger

Error code

Possible HTTP Status Codes

200HTTP code

Paginated resource table with monthly costs from values object.

400HTTP code

Bad request - Invalid parameters or request format

List Account Users and Access

Provides user and group management for report generation workflows with role-based access and contact selection.

Request URL

https://www.site24x7.com/cs/api/cost/accounts/users

Scope

CloudSpend.Internal.Read

Response Parameters

- HTTP code 200 Response Body - application/json

object

Response for listAccountUsersAndAccess API - users and groups for report delivery

Show Sub-Attributes
messagestring(length <= 255)

Response message

dataobject

Container for users and groups data

Show Sub-Attributes
workspace_migration_infoarray

Workspace migration information

Show Sub-Attributes
triggeredMigrationboolean

Whether migration was triggered

contactIdlong

Contact identifier

invitedTimestring(length <= 255)

Time user was invited

confirmedTimestring(length <= 255)

Time user confirmed invitation

org_infoobject

Organization information

Show Sub-Attributes
zd_securitystring(length <= 500)

Zoho Directory security URL

namestring(length <= 255)

Organization name

adminstring(length <= 255)

Admin email address

zd_usersstring(length <= 500)

Zoho Directory users URL

zd_orgstring(length <= 500)

Zoho Directory organization URL

is_org_adminboolean

Whether current user is org admin

from_emailstring(length <= 255)

Default sender email address

contact_idlong

Primary contact identifier

usersarray

List of users with access

Show Sub-Attributes
cloudspend_rolelong

CloudSpend role identifier

is_account_contactboolean

Whether user is account contact

last_login_timestring(length <= 255)

Last login timestamp

is_invitedboolean

Whether user was invited

invited_bystring(length <= 255)

Inviter user ID

display_namestring(length <= 255)

User display name

user_role_namestring(length <= 255)

General user role name

org_roleinteger

Organization role identifier

cloudspend_role_namestring(length <= 255)

CloudSpend role name (Cost Administrator, Cost User, etc.)

zuidstring(length <= 255)

Zoho user identifier

statusiq_role_namestring(length <= 255)

StatusIQ role name

selection_typeinteger

Selection type identifier

user_rolelong

General user role identifier

statusiq_rolelong

StatusIQ role identifier

email_addressstring(length <= 255)

User email address

last_updated_timestring(length <= 255)

Last update timestamp

user_idlong

Unique user identifier

sitescan_rolelong

SiteScan role identifier

mobile_settingsobject

Mobile notification settings

Show Sub-Attributes
photo_urlstring(length <= 500)

User photo URL

sitescan_role_namestring(length <= 255)

SiteScan role name

notify_mediumarray(length <= 255)

Notification medium preferences

user_groupsarray

List of user groups

Show Sub-Attributes
is_master_groupboolean

Whether this is the master group

attribute_group_idlong

Attribute group identifier

display_namestring(length <= 255)

Group display name

user_group_idlong

Unique group identifier

usersarray(length <= 255)

List of user IDs in this group

product_idinteger

Product identifier

codeinteger

Response status code (0 = success)

- HTTP code 400 Response Body - application/json

object
Show Sub-Attributes
messagestring

Error message

errorstring

Detailed error description

codeinteger

Error code

- HTTP code 401 Response Body - application/json

object
Show Sub-Attributes
messagestring

Error message

errorstring

Authentication error description

codeinteger

Error code

- HTTP code 500 Response Body - application/json

object
Show Sub-Attributes
messagestring

Error message

errorstring

Server error description

codeinteger

Error code

Possible HTTP Status Codes

200HTTP code

Successful response

400HTTP code

Bad request - Invalid parameters or request format

401HTTP code

Unauthorized - Invalid or missing authentication

500HTTP code

Internal server error

Get cloud overall cost analysis

Retrieves multi-cloud cost analysis with period comparisons for overall cost dashboard widgets. Use this to load cloud overall cost widget data including month-over-month and year-over-year trends and AWS, Azure, and GCP breakdown.

Request URL

https://www.site24x7.com/cs/api/cost/custom_report/cloud_overallcost

Scope

CloudSpend.Internal.Read

Request Parameters

- Query Parameters
JSONStringstringMandatory

JSON string containing date range parameters for cost analysis.

Response Parameters

- HTTP code 200 Response Body - application/json

object
Show Sub-Attributes
messagestring

Response status message

dataobject

Overall cost analysis data with cloud breakdown

Show Sub-Attributes
overall_dataobject

Aggregated cost metrics across all cloud providers

Show Sub-Attributes
current_mtd_costfloat

Current month-to-date total cost across all clouds

previous_mtd_daterange_enddate-time

End date of previous month comparison period

current_mtd_daterange_enddate-time

End date of current analysis period with timezone

total_costfloat

Total cost for the specified period

previous_year_mtd_costfloat

Previous year same period total cost for year-over-year comparison

m_o_mfloat

Month-over-Month percentage change (negative = decrease)

previous_year_mtd_daterange_startdate-time

Start date of previous year comparison period

previous_mtd_costfloat

Previous month same period total cost for month-over-month comparison

previous_year_mtd_daterange_enddate-time

End date of previous year comparison period

current_mtd_daterange_startdate-time

Start date of current analysis period with timezone

total_accountsinteger

Total number of accounts contributing to costs

y_o_yfloat

Year-over-Year percentage change

previous_mtd_daterange_startdate-time

Start date of previous month comparison period

cloud_level_dataarray

Individual cloud provider cost breakdown and analysis

Show Sub-Attributes
current_mtd_costfloat

Current month-to-date cost for this cloud provider

year_on_year_perctfloat

Year-over-Year percentage change for this cloud provider

cloud_typestring

Cloud provider identifier

total_costfloat

Total cost for this cloud provider in the specified period

previous_year_mtd_costfloat

Previous year same period cost for this cloud provider

month_on_month_perctfloat

Month-over-Month percentage change for this cloud provider

previous_mtd_costfloat

Previous month same period cost for this cloud provider

spending_percentfloat

Percentage of total spending attributed to this cloud provider

codeinteger

Response status code (0 = success)

- HTTP code 400 Response Body - application/json

object
Show Sub-Attributes
messagestring

Error message

errorstring

Detailed error description

codeinteger

Error code

- HTTP code 401 Response Body - application/json

object
Show Sub-Attributes
messagestring

Error message

errorstring

Authentication error description

codeinteger

Error code

- HTTP code 403 Response Body - application/json

object
Show Sub-Attributes
messagestring

Error message

errorstring

Forbidden access error description

codeinteger

Error code

- HTTP code 500 Response Body - application/json

object
Show Sub-Attributes
messagestring

Error message

errorstring

Internal server error description

codeinteger

Error code

Possible HTTP Status Codes

200HTTP code

Successfully retrieved cloud overall cost analysis

400HTTP code

Bad request - Invalid parameters or request format

401HTTP code

Unauthorized - Invalid or missing authentication

403HTTP code

Forbidden - Insufficient permissions

500HTTP code

Internal server error

Get Similar Anomalies for Pattern Analysis

Finds similar anomaly patterns for correlation analysis, trend detection, and pattern recognition across time periods.

Request URL

https://www.site24x7.com/cs/api/accounts/spend_analysis/anomaly/similar

Scope

CloudSpend.Internal.Read

Request Parameters

- Query Parameters
anomaly_idstringMandatory

Anomaly identifier for finding similar patterns. return_data.anomaly_widget.anomaly_id g., "64", "1", "123")

start_datedateMandatory

Start date for similar anomaly search in YYYY-MM-DD format.

end_datedateMandatory

End date for similar anomaly search in YYYY-MM-DD format.

Response Parameters

- HTTP code 200 Response Body - application/json

object
Show Sub-Attributes
messagestring

Response message

dataobject
Show Sub-Attributes
similar_anomaliesarray

Array of similar anomalies with pattern matching

Show Sub-Attributes
anomaly_namestring

Human-readable name of the similar anomaly (account name, service name, region, etc.)

categoryinteger

Category classification: 1=Region, 2=Service, 3=Account, 10001=Account Type, 10002=Cost Center, 13=Resource, 33=Tag. Optional field - may not be present for all anomalies.

anomaly_idstring

Unique identifier for the similar anomaly

codeinteger

Response code (0 = success)

- HTTP code 400 Response Body - application/json

object
Show Sub-Attributes
messagestring

Error message

errorstring

Detailed error description

codeinteger

Error code

- HTTP code 401 Response Body - application/json

object
Show Sub-Attributes
messagestring

Error message

errorstring

Authentication error description

codeinteger

Error code

- HTTP code 404 Response Body - application/json

object
Show Sub-Attributes
messagestring

Error message

errorstring

Not found error description

codeinteger

Error code

- HTTP code 500 Response Body - application/json

object
Show Sub-Attributes
messagestring

Error message

errorstring

Server error description

codeinteger

Error code

Possible HTTP Status Codes

200HTTP code

Response with similar anomaly patterns.

400HTTP code

Bad request - Invalid parameters or request format

401HTTP code

Unauthorized - Invalid or missing authentication

404HTTP code

Not found - Resource does not exist

500HTTP code

Internal server error

Get cost by resource for named solution report

Returns individual resources with name, ID, service type, and cost for the named solution report. Use this to display the cost by resource table in the solution report dashboard.

Request URL

https://www.site24x7.com/cs/api/cost/sol_reports/cost_by_resource

Scope

CloudSpend.Internal.Create

Request Parameters

- Request Body

application/json
object

Standard payload structure for all sol_reports APIs - ensures consistent request format

Show Sub-Attributes
end_datedateMandatory

Analysis end date (typically current date)

cost_tagsarrayOptional

Pass empty array [] for widget APIs (spend_analysis_panel, common_widget_api, cost_by_resource, cost_by_instance, trend_box, accounts_splitup). Only populate cost_tags when calling group_by_property for tag-based filtering. Non-empty cost_tags on widget APIs causes 500 errors.

Show Sub-Attributes
vintegerOptional

Tag version or value reference

idstringOptional

Tag identifier for filtering (from business_unit_tags in bu_spend_analysis response)

periodintegerMandatory

Time granularity (1=daily, 2=weekly, 3=monthly)

business_unit_idstringMandatory

Cost center identifier from getSolutionReportsReports response

cost_typeintegerMandatory

Cost calculation type (0=standard, 1=amortized, 20=Azure resource groups)

accountsarrayMandatory

Account scope for analysis

Show Sub-Attributes
cost_account_idstringOptional

Cost account identifier

billing_account_idsarrayOptional

Associated billing account IDs

bu_typeintegerMandatory

Cost center type classification

start_datedateMandatory

Analysis start date (typically previous month 1st or current billing period start)

Response Parameters

- HTTP code 200 Response Body - application/json

object
Show Sub-Attributes
messagestring
dataobject
Show Sub-Attributes
return_dataarray
Show Sub-Attributes
namestring

Resource name or identifier

idstring

Internal resource ID

typestring

Service type classification

valuefloat

Cost amount for this resource

groupstring

Resource group classification

codeinteger

Possible HTTP Status Codes

200HTTP code

Cost by resource data retrieved successfully

400HTTP code

Invalid request parameters

401HTTP code

Authentication required

403HTTP code

Access denied to cost centers or accounts

500HTTP code

Internal server error

Create scheduled tagging compliance report

Creates a scheduled tagging compliance report delivery for automated custom compliance reporting. Use this to complete tagging compliance scheduling with profile, recipients, and report format preferences.

Request URL

https://www.site24x7.com/cs/api/cost/reports/compliance/tagging/report

Scope

CloudSpend.Internal.Create

Request Parameters

- Request Body

application/json

Response Parameters

- HTTP code 200 Response Body - application/json

object
Show Sub-Attributes
messagestring
dataobject
Show Sub-Attributes
report_idstring

Unique identifier for the created scheduled report

codeinteger

- HTTP code 400 Response Body - application/json

object
Show Sub-Attributes
messagestring

Error message

errorstring

Detailed error description

codeinteger

Error code

- HTTP code 401 Response Body - application/json

object
Show Sub-Attributes
messagestring

Error message

errorstring

Authentication error description

codeinteger

Error code

- HTTP code 403 Response Body - application/json

object
Show Sub-Attributes
messagestring

Error message

errorstring

Forbidden access error description

codeinteger

Error code

- HTTP code 500 Response Body - application/json

object
Show Sub-Attributes
messagestring

Error message

errorstring

Internal server error description

codeinteger

Error code

Possible HTTP Status Codes

200HTTP code

Successfully created scheduled tagging compliance report

400HTTP code

Bad request - Invalid parameters or request format

401HTTP code

Unauthorized - Invalid or missing authentication

403HTTP code

Forbidden - Insufficient permissions

500HTTP code

Internal server error

Get Account Allocations

Provides cost allocation configurations with organizational structures, allocation IDs, and status for allocation report generation.

Request URL

https://www.site24x7.com/cs/api/cost/accounts/allocations

Scope

CloudSpend.Internal.Read

Response Parameters

- HTTP code 200 Response Body - application/json

object
Show Sub-Attributes
messagestring
dataobject
Show Sub-Attributes
allocation_listarray
Show Sub-Attributes
namestring
idinteger
typeinteger
cloud_typesstring
statusinteger
codeinteger

- HTTP code 400 Response Body - application/json

object
Show Sub-Attributes
messagestring

Error message

errorstring

Detailed error description

codeinteger

Error code

- HTTP code 401 Response Body - application/json

object
Show Sub-Attributes
messagestring

Error message

errorstring

Authentication error description

codeinteger

Error code

- HTTP code 404 Response Body - application/json

object
Show Sub-Attributes
messagestring

Error message

errorstring

Not found error description

codeinteger

Error code

- HTTP code 500 Response Body - application/json

object
Show Sub-Attributes
messagestring

Error message

errorstring

Server error description

codeinteger

Error code

Possible HTTP Status Codes

200HTTP code

Successful response with allocation configurations

400HTTP code

Bad request - Invalid parameters or request format

401HTTP code

Unauthorized - Invalid or missing authentication

404HTTP code

Not found - Resource does not exist

500HTTP code

Internal server error

Get comprehensive anomaly root cause analysis

Retrieves root cause analysis including new resources, top contributors, historical patterns, cost history, and forecasts. Use this to investigate cost spike root causes with detailed contributor analysis and resource-level breakdowns.

Request URL

https://www.site24x7.com/cs/api/reports/anomaly/summary/list/details/rca

Scope

CloudSpend.Internal.Read

Request Parameters

- Query Parameters
anomaly_idstringMandatory

Unique anomaly identifier for RCA analysis

detected_timestringMandatory

Specific anomaly detection timestamp for RCA analysis (epoch milliseconds)

Response Parameters

- HTTP code 200 Response Body - application/json

object
Show Sub-Attributes
messagestring
dataobject
Show Sub-Attributes
anomaly_idstring

Anomaly identifier for RCA analysis

currency_symbolstring

Currency symbol for cost formatting

currency_localestring

Locale for currency formatting

resourcesobject

Resource analysis data for RCA investigation

Show Sub-Attributes
new_resourcesobject

Analysis of newly created resources contributing to anomaly

Show Sub-Attributes
total_costfloat

Total cost of new resources in anomaly period

cost_impactfloat

Percentage impact of new resources on total cost

resourcesobject

New resources grouped by cloud account

Show Sub-Attributes
top_resourcesobject

Historical resource analysis with cost impact rankings

Show Sub-Attributes
date_rangearray

Historical analysis date ranges

Show Sub-Attributes
end_datedate
start_time_utcstring

Start time in epoch milliseconds

start_datedate
historical_mtdobject

Month-to-date historical cost data for comparison

Show Sub-Attributes
resourcesobject

Top resource contributors with cost rankings

Show Sub-Attributes
anomaly_monthobject

Current anomaly month analysis

Show Sub-Attributes
mtd_daysfloat

Days in month-to-date calculation

costfloat

Total month cost

mtd_averagefloat

Month-to-date average cost

mtd_costfloat

Month-to-date total cost

historyobject

Historical cost trends and forecast data for pattern analysis

Show Sub-Attributes
historical_costarray

Historical daily cost data for trend analysis

forecast_costarray

Forecasted cost projections for trend prediction

currency_code_idstring

Currency code identifier

currency_codestring

ISO currency code

currency_codestring

ISO currency code for cost values

anomaly_detected_timestring

Anomaly detection timestamp (epoch milliseconds)

codeinteger

- HTTP code 400 Response Body - application/json

object
Show Sub-Attributes
messagestring

Error message

errorstring

Detailed error description

codeinteger

Error code

- HTTP code 401 Response Body - application/json

object
Show Sub-Attributes
messagestring

Error message

errorstring

Authentication error description

codeinteger

Error code

- HTTP code 403 Response Body - application/json

object
Show Sub-Attributes
messagestring

Error message

errorstring

Forbidden access error description

codeinteger

Error code

- HTTP code 500 Response Body - application/json

object
Show Sub-Attributes
messagestring

Error message

errorstring

Internal server error description

codeinteger

Error code

Possible HTTP Status Codes

200HTTP code

Successfully retrieved anomaly root cause analysis

400HTTP code

Bad request - Invalid parameters or request format

401HTTP code

Unauthorized - Invalid or missing authentication

403HTTP code

Forbidden - Insufficient permissions

500HTTP code

Internal server error

Generate spend analysis report

Generates detailed spend analysis reports with cost breakdowns, trends, and variance analysis for accounts.

Request URL

https://www.site24x7.com/cs/api/cost/accounts/spend_analysis/report

Scope

CloudSpend.Internal.Create

Request Parameters

- Request Body

application/json
object
Show Sub-Attributes
cost_idsarrayMandatory

Account ID array user selection

profileobjectMandatory
Show Sub-Attributes
profile_idstringOptional

Profile identifier for report generation

formatintegerMandatory

Report format: 1=PDF, 2=CSV

report_namestringMandatory

User-defined report name

typeintegerMandatory

Report type: 2 (Spend Analysis)

contact_idsarrayMandatory

Array of contact objects for report delivery

Show Sub-Attributes
contact_idstringOptional

Contact identifier for report delivery

contact_typestringOptional

Type of contact (1=user, 2=group)

frequencyintegerMandatory

Report frequency from selected profile

Response Parameters

- HTTP code 200 Response Body - application/json

object

Response for generateSpendAnalysisReport API - report scheduling confirmation

Show Sub-Attributes
messagestring(length <= 255)

Response message indicating report generation status

dataobject

Report generation result data

Show Sub-Attributes
scheduled_timestring(length <= 255)

Scheduled delivery time for the report

report_idstring(length <= 255)

Unique identifier for the generated report

statusstring(length <= 50)

Report generation status (scheduled, processing, completed)

codeinteger

Response status code (0 = success)

- HTTP code 400 Response Body - application/json

object
Show Sub-Attributes
messagestring

Error message

errorstring

Detailed error description

codeinteger

Error code

Possible HTTP Status Codes

200HTTP code

Report generation initiated successfully

400HTTP code

Bad request - Invalid parameters or request format

Get cost centers anomaly root cause analysis

Performs root cause analysis for a specific anomaly with resource breakdown and top contributing factors. Use this to identify which new resources, services, or regions caused the cost spike and their percentage impact. Use this to identify which new resources, services, or regions caused the cost spike and their percentage impact.

Request URL

https://www.site24x7.com/cs/api/cost/cost_centers/spend_analysis/anomaly/details/rca

Scope

CloudSpend.Internal.Read

Request Parameters

- Query Parameters
anomaly_idstringMandatory

Anomaly identifier

detected_timestringMandatory

Unix timestamp in milliseconds when the specific anomaly instance was detected.

Response Parameters

- HTTP code 200 Response Body - application/json

object
Show Sub-Attributes
messagestring
dataobject

Comprehensive root cause analysis data

Show Sub-Attributes
anomaly_idstring
currency_symbolstring
currency_localestring
resourcesobject

Resource analysis breakdown

Show Sub-Attributes
new_resourcesobject

Analysis of new resources contributing to anomaly

Show Sub-Attributes
total_costnumber

Total cost of new resources

cost_impactnumber

Percentage impact of new resources

resourcesobject

Detailed breakdown by account

Show Sub-Attributes
top_resourcesobject

Top contributing resources analysis

Show Sub-Attributes
date_rangearray

Historical date ranges for analysis

historical_mtdobject

Month-to-date historical costs

Show Sub-Attributes
resourcesobject

Top resources with cost differences

Show Sub-Attributes
anomaly_monthobject

Anomaly month summary

Show Sub-Attributes
mtd_daysnumber
costnumber
mtd_averagenumber
mtd_costnumber
historyobject

Historical and forecast cost data

Show Sub-Attributes
historical_costarray

Historical daily cost data

forecast_costarray

Forecasted daily cost data

currency_code_idstring
currency_codestring
currency_codestring
anomaly_detected_timestring

Unix timestamp when anomaly was detected

codeinteger

- HTTP code 400 Response Body - application/json

object
Show Sub-Attributes
messagestring

Error message

errorstring

Detailed error description

codeinteger

Error code

- HTTP code 401 Response Body - application/json

object
Show Sub-Attributes
messagestring

Error message

errorstring

Authentication error description

codeinteger

Error code

- HTTP code 500 Response Body - application/json

object
Show Sub-Attributes
messagestring

Error message

errorstring

Server error description

codeinteger

Error code

Possible HTTP Status Codes

200HTTP code

Successfully retrieved root cause analysis

400HTTP code

Bad request - Invalid parameters or request format

401HTTP code

Unauthorized - Invalid or missing authentication

500HTTP code

Internal server error

Get cost centers for profile configuration

Retrieves all cost centers (organizational cost centers) with their hybrid status and associated cloud accounts. Use this to populate cost center selection dropdowns in budget profile creation and permission boundary configuration forms.

Request URL

https://www.site24x7.com/cs/api/cost/admin/cost_centers

Scope

CloudSpend.Internal.Read

Response Parameters

- HTTP code 200 Response Body - application/json

object
Show Sub-Attributes
messagestring

Response status message

dataobject
Show Sub-Attributes
business_unitsarray

Array of available cost centers for budget policy creation

Show Sub-Attributes
namestring

Cost center display name

is_hybridboolean

Whether cost center spans multiple cloud providers

idstring

Unique cost center identifier

cloud_typeinteger

Cloud provider type or hybrid indicator: - -1: Hybrid (multiple cloud providers) - 0: AWS - 1: Azure - 2: GCP

cost_account_idarray

List of cost account IDs associated with this cost center

codeinteger

Response status code

- HTTP code 400 Response Body - application/json

object
Show Sub-Attributes
messagestring

Error message

errorstring

Detailed error description

codeinteger

Error code

- HTTP code 401 Response Body - application/json

object
Show Sub-Attributes
messagestring

Error message

errorstring

Authentication error description

codeinteger

Error code

- HTTP code 403 Response Body - application/json

object
Show Sub-Attributes
messagestring

Error message

errorstring

Forbidden access error description

codeinteger

Error code

- HTTP code 500 Response Body - application/json

object
Show Sub-Attributes
messagestring

Error message

errorstring

Internal server error description

codeinteger

Error code

Possible HTTP Status Codes

200HTTP code

Successfully retrieved cost centers list

400HTTP code

Bad request - Invalid parameters or request format

401HTTP code

Unauthorized - Invalid or missing authentication

403HTTP code

Forbidden - Insufficient permissions

500HTTP code

Internal server error

Get cost centers resource monthly cost breakdown

Retrieves monthly cost breakdown for specific resources with time-series data and tag values. Use this as step 2 after getCostCentersResourceCount to get detailed monthly trends for selected resources.

Request URL

https://www.site24x7.com/cs/api/cost/cost_centers/resource_pagination

Scope

CloudSpend.Internal.Read

Request Parameters

- Request Body

application/json
object
Show Sub-Attributes
end_datedateMandatory

End date for monthly cost analysis in YYYY-MM-DD format

cost_tagsarrayMandatory

Cost tag filtering array (typically empty [] unless specific filtering)

Show Sub-Attributes
vintegerOptional

Tag version

idstringOptional

Tag identifier

periodintegerMandatory

Period setting (-1 for detailed monthly breakdown, 1 for summary)

business_unit_idstringMandatory

Cost centers ID from workflow

cost_typeintegerMandatory

Cost type based on cloud provider: - 0: AWS accounts (cloud_type: 0) - 20: Azure accounts (cloud_type: 1) and GCP accounts (cloud_type: 2)

propertyobjectMandatory

Property filter object

Show Sub-Attributes
vintegerMandatory

Version parameter from costByResource response: - 0: For account filtering - version_number: For region/service/resourcegroup filtering

idstringMandatory

Filter identifier from costByResource response: - accounts: billing_account_id from accounts array - region/service/resourcegroup: identifier from costByResource

accountsarrayMandatory

Account structure array

Show Sub-Attributes
cost_account_idstringMandatory

Parent account ID

billing_account_idsarrayMandatory

Child billing account IDs

bu_typeintegerMandatory

Cost centers type identifier (always 0)

resource_idsarrayMandatory

Resource IDs

group_by_typestringMandatory

Resource grouping type (should match getCostCentersResourceCount)

start_datedateMandatory

Start date for monthly cost analysis in YYYY-MM-DD format

Response Parameters

- HTTP code 200 Response Body - application/json

object
Show Sub-Attributes
messagestring

Response message

dataobject
Show Sub-Attributes
return_dataobject
Show Sub-Attributes
modeinteger

Analysis mode (1 = monthly breakdown)

valuesobject

Resource cost data keyed by resource ID

Show Sub-Attributes
codeinteger

Status code (0 indicates success)

- HTTP code 400 Response Body - application/json

object
Show Sub-Attributes
messagestring

Error message

errorstring

Detailed error description

codeinteger

Error code

- HTTP code 401 Response Body - application/json

object
Show Sub-Attributes
messagestring

Error message

errorstring

Authentication error description

codeinteger

Error code

- HTTP code 500 Response Body - application/json

object
Show Sub-Attributes
messagestring

Error message

errorstring

Server error description

codeinteger

Error code

Possible HTTP Status Codes

200HTTP code

Successfully retrieved monthly cost breakdown for selected resources

400HTTP code

Bad request - Invalid parameters or request format

401HTTP code

Unauthorized - Invalid or missing authentication

500HTTP code

Internal server error

List account spend details

Displays all CloudSpend accounts with comprehensive cost information, monthly trends, and cost summaries for account selection.

Request URL

https://www.site24x7.com/cs/api/cost/accounts

Scope

CloudSpend.Internal.Read

Response Parameters

- HTTP code 200 Response Body - application/json

object

Response for listAccountSpendDetails API - all CloudSpend accounts with cost info

Show Sub-Attributes
messagestring(length <= 255)

Response message

dataobject

Container for account spend data

Show Sub-Attributes
current_month_totalfloat

Total cost incurred in current month across all accounts

previous_month_totalfloat

Total cost incurred in previous month across all accounts

total_accountsinteger

Total number of accounts in the system

all_accountsobject

Container grouping accounts by processing status

Show Sub-Attributes
processing_accountsobject

Accounts currently being processed

Show Sub-Attributes
suspended_accountsobject

Accounts that are suspended

Show Sub-Attributes
config_error_accountsobject

Accounts with configuration errors

Show Sub-Attributes
processed_accountsobject

Successfully processed accounts (key = cost_account_id)

Show Sub-Attributes
codeinteger

Response status code (0 = success)

- HTTP code 400 Response Body - application/json

object
Show Sub-Attributes
messagestring

Error message

errorstring

Detailed error description

codeinteger

Error code

- HTTP code 401 Response Body - application/json

object
Show Sub-Attributes
messagestring

Error message

errorstring

Authentication error description

codeinteger

Error code

- HTTP code 500 Response Body - application/json

object
Show Sub-Attributes
messagestring

Error message

errorstring

Server error description

codeinteger

Error code

Possible HTTP Status Codes

200HTTP code

Successful response

400HTTP code

Bad request - Invalid parameters or request format

401HTTP code

Unauthorized - Invalid or missing authentication

500HTTP code

Internal server error

Get all virtual tags

Retrieves all custom virtual tags showing tag key, value, type (resource, cost account, cost center, or report), and associated entity name. Use this to display the Virtual Tags management table in Admin > Profiles > Virtual Tags tab.

Request URL

https://www.site24x7.com/cs/api/cost/admin/all_custom_user_tags

Scope

CloudSpend.Internal.Read

Response Parameters

- HTTP code 200 Response Body - application/json

object
Show Sub-Attributes
messagestring

Response status message

dataarray

Array of all virtual tags across accounts and cost centers

Show Sub-Attributes
costAccountIdstring

Associated cost account, cost center, or report identifier

tagVariationinteger

Tag type classification (appears as Tag Type in UI): - -2: Resource Tag / Manual Tag - -3: Cost Account Tag - -4: Cost Center Tag - -5: Report Tag

tagNamestring

Tag key/name (appears as Tag Key in UI)

tagIdstring

Unique identifier for the virtual tag

tagValuestring

Tag value (appears as Tag Value in UI)

codeinteger

Response status code

- HTTP code 400 Response Body - application/json

object
Show Sub-Attributes
messagestring

Error message

errorstring

Detailed error description

codeinteger

Error code

- HTTP code 401 Response Body - application/json

object
Show Sub-Attributes
messagestring

Error message

errorstring

Authentication error description

codeinteger

Error code

- HTTP code 403 Response Body - application/json

object
Show Sub-Attributes
messagestring

Error message

errorstring

Forbidden access error description

codeinteger

Error code

- HTTP code 500 Response Body - application/json

object
Show Sub-Attributes
messagestring

Error message

errorstring

Internal server error description

codeinteger

Error code

Possible HTTP Status Codes

200HTTP code

Successfully retrieved all virtual tags

400HTTP code

Bad request - Invalid parameters or request format

401HTTP code

Unauthorized - Invalid or missing authentication

403HTTP code

Forbidden - Insufficient permissions

500HTTP code

Internal server error

Get all available custom user tags

Retrieves all custom user tags including resource tags and account-level tags.

Request URL

https://www.site24x7.com/cs/api/cost/accounts/resource_explorer/all_custom_user_tags

Scope

CloudSpend.Internal.Read

Response Parameters

- HTTP code 200 Response Body - application/json

object
Show Sub-Attributes
messagestring
dataarray
Show Sub-Attributes
costAccountIdstring
tagVariationinteger
tagNamestring
tagIdstring
tagValuestring
codeinteger

- HTTP code 400 Response Body - application/json

object
Show Sub-Attributes
messagestring

Error message

errorstring

Detailed error description

codeinteger

Error code

Possible HTTP Status Codes

200HTTP code

Successful response with all available custom tags

400HTTP code

Bad request - Invalid parameters or request format

Add a custom exchange rate

Creates a custom exchange rate for a specific base-to-display currency pair during a given month, overriding the system default rate. Use this when the admin needs to manually set exchange rates for billing accuracy or when system rates are unavailable for a currency pair.

Request URL

https://www.site24x7.com/cs/api/cost/exchange_rate

Scope

CloudSpend.Internal.Create

Request Parameters

- Request Body

application/json
object
Show Sub-Attributes
monthstringMandatory

Month and year in MM-YYYY format for the exchange rate period

valuesarrayMandatory

Array of exchange rate entries to add

Show Sub-Attributes
base_currencystringOptional

Source currency code (ISO format)

display_currencystringOptional

Target currency code for conversion (ISO format)

exchange_rate_inputnumberOptional

Custom exchange rate value for conversion

Response Parameters

- HTTP code 200 Response Body - application/json

object
Show Sub-Attributes
messagestring

Response status message

dataobject
Show Sub-Attributes
statusstring

Operation status confirmation

codeinteger

Response status code

- HTTP code 400 Response Body - application/json

object
Show Sub-Attributes
messagestring

Error message

errorstring

Detailed error description

codeinteger

Error code

- HTTP code 401 Response Body - application/json

object
Show Sub-Attributes
messagestring

Error message

errorstring

Authentication error description

codeinteger

Error code

- HTTP code 403 Response Body - application/json

object
Show Sub-Attributes
messagestring

Error message

errorstring

Forbidden access error description

codeinteger

Error code

- HTTP code 500 Response Body - application/json

object
Show Sub-Attributes
messagestring

Error message

errorstring

Internal server error description

codeinteger

Error code

Possible HTTP Status Codes

200HTTP code

Successfully added exchange rate

400HTTP code

Bad request - Invalid parameters or request format

401HTTP code

Unauthorized - Invalid or missing authentication

403HTTP code

Forbidden - Insufficient permissions

500HTTP code

Internal server error

Get anomaly detection list by category

Retrieves anomaly records with IDs, timestamps, accounts, and status for drilling into specific category instances. Use this to display the anomaly list view after clicking a category in the anomaly summary dashboard.

Request URL

https://www.site24x7.com/cs/api/reports/anomaly/summary/list

Scope

CloudSpend.Internal.Read

Request Parameters

- Query Parameters
statusstringMandatory

Anomaly status filter for targeted analysis

start_datedateMandatory

Analysis start date in YYYY-MM-DD format for anomaly detection window

end_datedateMandatory

Analysis end date in YYYY-MM-DD format for anomaly detection window

categorystringMandatory

Classification category for anomaly filtering

Response Parameters

- HTTP code 200 Response Body - application/json

object
Show Sub-Attributes
messagestring
dataobject
Show Sub-Attributes
anomaliesobject

Detected anomalies grouped by anomaly_id

Show Sub-Attributes
datesobject
Show Sub-Attributes
end_datedate-time

Analysis end timestamp

start_datedate-time

Analysis start timestamp

codeinteger

- HTTP code 400 Response Body - application/json

object
Show Sub-Attributes
messagestring

Error message

errorstring

Detailed error description

codeinteger

Error code

- HTTP code 401 Response Body - application/json

object
Show Sub-Attributes
messagestring

Error message

errorstring

Authentication error description

codeinteger

Error code

- HTTP code 403 Response Body - application/json

object
Show Sub-Attributes
messagestring

Error message

errorstring

Forbidden access error description

codeinteger

Error code

- HTTP code 500 Response Body - application/json

object
Show Sub-Attributes
messagestring

Error message

errorstring

Internal server error description

codeinteger

Error code

Possible HTTP Status Codes

200HTTP code

Successfully retrieved anomaly list

400HTTP code

Bad request - Invalid parameters or request format

401HTTP code

Unauthorized - Invalid or missing authentication

403HTTP code

Forbidden - Insufficient permissions

500HTTP code

Internal server error

Get reserved instance splitup

Retrieves resource count distribution by billing accounts for RI analysis widgets. Use this to display resource inventory breakdown across accounts in custom dashboard RI widgets or resource inventory tables.

Request URL

https://www.site24x7.com/cs/api/cost/custom_report/ri_splitup

Scope

CloudSpend.Internal.Read

Request Parameters

- Request Body

application/json
object
Show Sub-Attributes
end_datedateOptional

Analysis end date

cost_tagsarrayOptional

Cost tag filters for RI analysis

periodintegerOptional

Period type for RI analysis

accountsarrayOptional

Array of account configurations with billing account selections

Show Sub-Attributes
cost_account_idstringOptional

Cost account identifier

billing_account_idsarrayOptional

Array of billing account IDs for RI analysis

start_datedateOptional

Analysis start date

Response Parameters

- HTTP code 200 Response Body - application/json

object
Show Sub-Attributes
messagestring

Response status message

dataobject

Reserved instance splitup data

Show Sub-Attributes
return_dataarray

Array of subscription name and RI count pairs

codeinteger

Response status code

- HTTP code 400 Response Body - application/json

object
Show Sub-Attributes
messagestring

Error message

errorstring

Detailed error description

codeinteger

Error code

- HTTP code 401 Response Body - application/json

object
Show Sub-Attributes
messagestring

Error message

errorstring

Authentication error description

codeinteger

Error code

- HTTP code 403 Response Body - application/json

object
Show Sub-Attributes
messagestring

Error message

errorstring

Forbidden access error description

codeinteger

Error code

- HTTP code 500 Response Body - application/json

object
Show Sub-Attributes
messagestring

Error message

errorstring

Internal server error description

codeinteger

Error code

Possible HTTP Status Codes

200HTTP code

Successfully retrieved reserved instance splitup data

400HTTP code

Bad request - Invalid parameters or request format

401HTTP code

Unauthorized - Invalid or missing authentication

403HTTP code

Forbidden - Insufficient permissions

500HTTP code

Internal server error

Get cost centers resource count with cost breakdown

Retrieves resource list with cost breakdown for a cost centers filtered by account, service, region, or resource group. Use this to get detailed resource-level costs for optimization analysis or as step 1 before resource pagination.

Request URL

https://www.site24x7.com/cs/api/cost/cost_centers/resource_count

Scope

CloudSpend.Internal.Read

Request Parameters

- Request Body

application/json
object
Show Sub-Attributes
end_datedateMandatory

End date for resource cost analysis in YYYY-MM-DD format

cost_tagsarrayMandatory

Cost tag filtering array (typically empty [] unless specific tag filtering required).

Show Sub-Attributes
vintegerOptional

Tag version number

idstringOptional

Tag identifier

periodintegerMandatory

Aggregation period (always 1 for monthly analysis)

business_unit_idstringMandatory

Cost centers ID user selection

cost_typeintegerMandatory

Cost type based on cloud provider: - 0: AWS accounts (cloud_type: 0)

service_namestringOptional

Optional: Specific service name when group_by_type="service". Examples: "AmazonEC2", "AmazonRDS", "AmazonS3", "microsoft.compute"

propertyobjectMandatory

Property filter object

Show Sub-Attributes
vintegerMandatory

Version parameter from costByResource API response: - 0: For account filtering only (no API call needed) - Dynamic value: For service/region/resourcegroup (

idstringMandatory

Filter identifier from costByResource API response: - accounts: billing_account_id from accounts array (no API call needed) - service/region/resourcegroup

accountsarrayMandatory

Account structure array

Show Sub-Attributes
cost_account_idstringMandatory

Parent account ID

billing_account_idsarrayMandatory

Child billing account IDs

pageintegerMandatory

Pagination control (-1 for all resources, positive integers for pages)

bu_typeintegerMandatory

Cost centers type identifier (always 0 for standard CC)

group_by_typestringMandatory

Resource grouping type varies by cloud provider

start_datedateMandatory

Start date for resource cost analysis in YYYY-MM-DD format

Response Parameters

- HTTP code 200 Response Body - application/json

object
Show Sub-Attributes
messagestring

Response message

dataobject
Show Sub-Attributes
resourcesarray

List of resources with cost details, sorted by cost (highest first)

Show Sub-Attributes
chartDatastring

Chart data for visualization (typically empty in list view)

regionNamestring

Region where resource is located (may be empty)

cloudAccountIdstring

Cloud account ID where resource belongs

namestring

Resource name or identifier

extraNameIdentifierstring

Additional identifier for the resource

idstring

Unique resource identifier in CloudSpend

productNamestring

Product or service name (may be empty)

variationinteger

Resource variation identifier

totalCostfloat

Total cost for this resource over the specified period

costObjectstring

Cost object information (typically empty)

awsNameTagValuestring

AWS Name tag value if available

timeValueReferencestring

Time reference for cost calculation (typically empty)

codeinteger

Status code (0 indicates success)

- HTTP code 400 Response Body - application/json

object
Show Sub-Attributes
messagestring

Error message

errorstring

Detailed error description

codeinteger

Error code

- HTTP code 401 Response Body - application/json

object
Show Sub-Attributes
messagestring

Error message

errorstring

Authentication error description

codeinteger

Error code

- HTTP code 500 Response Body - application/json

object
Show Sub-Attributes
messagestring

Error message

errorstring

Server error description

codeinteger

Error code

Possible HTTP Status Codes

200HTTP code

Successfully retrieved resource count with cost breakdown

400HTTP code

Bad request - Invalid parameters or request format

401HTTP code

Unauthorized - Invalid or missing authentication

500HTTP code

Internal server error

Get specific custom dashboard

Retrieves a specific custom dashboard configuration with widgets array for complete rendering. Use this to load a selected dashboard's full configuration including widget layout and parameters for data API calls.

Request URL

https://www.site24x7.com/cs/api/cost/dashboard/{id}

Scope

CloudSpend.Internal.Read

Request Parameters

- Path Parameters
idstringMandatory

Dashboard ID from the /cs/api/cost/dashboard list response. Must be a valid dashboard ID that exists and user has access to view.

Response Parameters

- HTTP code 200 Response Body - application/json

object
Show Sub-Attributes
messagestring

Response status message

dataobject

Custom dashboard data container

Show Sub-Attributes
return_dataobject

Complete dashboard configuration with widgets

Show Sub-Attributes
created_timestring

Creation timestamp (epoch milliseconds)

updated_timestring

Last update timestamp (epoch milliseconds)

config_datastring

Dashboard configuration JSON string

descriptionstring

Dashboard description

is_default_dashboardboolean

Whether this is default dashboard

typeinteger

Dashboard access type (0=public, 1=private)

widgetsarray

Array of dashboard widgets with complete configuration

Show Sub-Attributes
namestring

Widget display name

descriptionstring

Widget description

idstring

Widget unique identifier

config_datastring

Widget configuration JSON containing grid_details, chart_data, params, and dateRangeId

widget_reference_idstring

Widget type ID (maps to /cs/api/cost/widgets response)

dashboard_idstring

Parent dashboard ID

starredboolean

Whether dashboard is starred

sizeinteger

Dashboard grid size

namestring

Dashboard name

encryption_keystring

Encryption key for dashboard security

themeinteger

Dashboard theme (0=light, 1=dark)

idstring

Dashboard unique identifier

statusinteger

Dashboard status (0=inactive, 1=active)

codeinteger

Response status code

- HTTP code 400 Response Body - application/json

object
Show Sub-Attributes
messagestring

Error message

errorstring

Detailed error description

codeinteger

Error code

- HTTP code 401 Response Body - application/json

object
Show Sub-Attributes
messagestring

Error message

errorstring

Authentication error description

codeinteger

Error code

- HTTP code 403 Response Body - application/json

object
Show Sub-Attributes
messagestring

Error message

errorstring

Forbidden access error description

codeinteger

Error code

- HTTP code 500 Response Body - application/json

object
Show Sub-Attributes
messagestring

Error message

errorstring

Internal server error description

codeinteger

Error code

Possible HTTP Status Codes

200HTTP code

Successfully retrieved custom dashboard details

400HTTP code

Bad request - Invalid parameters or request format

401HTTP code

Unauthorized - Invalid or missing authentication

403HTTP code

Forbidden - Insufficient permissions

404HTTP code

Dashboard not found

500HTTP code

Internal server error

Get cost allocation report details with hierarchical configuration

Retrieves allocation hierarchy configuration with root node, level definitions, and account mappings for drill-down. Use this after selecting an allocation to get root_node_id and structure before navigating the hierarchy tree.

Request URL

https://www.site24x7.com/cs/api/cost/reports/allocation/{allocation_id}

Scope

CloudSpend.Internal.Read

Request Parameters

- Path Parameters
allocation_idstring(matches: ^\d+$)Mandatory

Allocation report identifier from allocation list API. Must be a positive integer (custom allocation IDs only). Default Allocation (id=-1) is NOT supported -- use the allocation list API response directly for default allocation details.

Response Parameters

- HTTP code 200 Response Body - application/json

object
Show Sub-Attributes
messagestring

Response status message

dataobject

Allocation report configuration and hierarchy setup

Show Sub-Attributes
date_rangeobject

Current date range for allocation analysis

Show Sub-Attributes
end_datedate-time

Analysis end timestamp

start_datedate-time

Analysis start timestamp

business_unit_idstring

Associated cost centers/cost account ID

starredboolean

Whether allocation is starred by user

namestring

Allocation report name

billing_mapperobject

Cost account to billing account mapping for hierarchical cost allocation Key: Cost account ID, Value: Array of billing account IDs

Show Sub-Attributes
ordersarray

Hierarchical organization levels defining cost allocation structure

Show Sub-Attributes
namestring

Display name of the hierarchy level

typeinteger

Hierarchy level type identifier Values: 1=Cloud Type, 2=Accounts, 3=Linked Accounts

variationinteger

Variation identifier for level configuration

orderinteger

Position in hierarchy (1=top level)

idstring

Allocation report identifier

typeinteger

Allocation type (2=Default, 3=Custom)

root_node_idstring

Root node identifier for hierarchy tree

statusinteger

Allocation status (1=active)

codeinteger

Response status code

- HTTP code 400 Response Body - application/json

object
Show Sub-Attributes
messagestring

Error message

errorstring

Detailed error description

codeinteger

Error code

- HTTP code 401 Response Body - application/json

object
Show Sub-Attributes
messagestring

Error message

errorstring

Authentication error description

codeinteger

Error code

- HTTP code 403 Response Body - application/json

object
Show Sub-Attributes
messagestring

Error message

errorstring

Forbidden access error description

codeinteger

Error code

- HTTP code 500 Response Body - application/json

object
Show Sub-Attributes
messagestring

Error message

errorstring

Internal server error description

codeinteger

Error code

Possible HTTP Status Codes

200HTTP code

Successfully retrieved allocation report details

400HTTP code

Bad request - Invalid parameters or request format

401HTTP code

Unauthorized - Invalid or missing authentication

403HTTP code

Forbidden - Insufficient permissions

404HTTP code

Allocation report not found

500HTTP code

Internal server error

Get Account Spend Anomaly Details Metadata

Provides comprehensive anomaly metadata with financial impact analysis, deviation percentages, status tracking, and currency formatting.

Request URL

https://www.site24x7.com/cs/api/accounts/spend_analysis/anomaly/details/meta

Scope

CloudSpend.Internal.Read

Request Parameters

- Query Parameters
anomaly_idstringMandatory

Anomaly identifier for detailed metadata retrieval. return_data.anomaly_widget.anomaly_id g., "1", "123")

detected_timestring(matches: ^[0-9]+$)Mandatory

Unix timestamp in milliseconds when the specific anomaly instance was detected. detected_time g., "1759276800000")

Response Parameters

- HTTP code 200 Response Body - application/json

object

Response for getAccountSpendAnomalyDetailsMeta API - anomaly metadata with financial impact

Show Sub-Attributes
messagestring(length <= 255)

Response message

dataobject

Anomaly metadata container

Show Sub-Attributes
updated_timelong

Update time (Unix milliseconds)

anomaly_idstring

Anomaly identifier

detected_timelong

Detection time (Unix milliseconds)

currency_symbolstring

Currency symbol for display

anomaly_namestring

Account/resource name

deviation_percentdouble

Percentage deviation from expected

anomaly_levelstring

Severity level (Low/Medium/High/Critical)

currency_codestring

Currency code (USD, EUR, etc.)

cloud_type_namestring

Cloud provider name

cloud_typeinteger

Cloud type (0=AWS, 20=Azure)

anomaly_statusstring

Status (OPEN/CLOSED/ACKNOWLEDGED)

updated_timestampstring

Human-readable update timestamp

anomaly_status_codeinteger

Numeric status code

anomaly_typestring

Type (upper=spike, lower=drop)

expected_valuedouble

Predicted/expected cost

valuedouble

Actual cost value

detected_timestampstring

Human-readable detection timestamp

codeinteger

Response status code (0 = success)

- HTTP code 400 Response Body - application/json

object
Show Sub-Attributes
messagestring

Error message

errorstring

Detailed error description

codeinteger

Error code

- HTTP code 401 Response Body - application/json

object
Show Sub-Attributes
messagestring

Error message

errorstring

Authentication error description

codeinteger

Error code

- HTTP code 404 Response Body - application/json

object
Show Sub-Attributes
messagestring

Error message

errorstring

Not found error description

codeinteger

Error code

- HTTP code 500 Response Body - application/json

object
Show Sub-Attributes
messagestring

Error message

errorstring

Server error description

codeinteger

Error code

Possible HTTP Status Codes

200HTTP code

Anomaly metadata with financial impact, timing, status, and cloud context.

400HTTP code

Bad request - Invalid parameters or request format

401HTTP code

Unauthorized - Invalid or missing authentication

404HTTP code

Not found - Resource does not exist

500HTTP code

Internal server error

Create custom tagging compliance report

Creates a custom tagging compliance report with user-defined tag criteria and account scope. Use this to define complex tag compliance rules with nested AND/OR logic for tagging governance.

Request URL

https://www.site24x7.com/cs/api/cost/reports/compliance/tagging

Scope

CloudSpend.Internal.Create

Request Parameters

- Request Body

application/json
object
Show Sub-Attributes
namestringMandatory

User-defined name for the custom compliance report

reportTypeintegerMandatory

Report scope type (0 = accounts, 1 = cost centers)

tagCriteriaarrayMandatory

Triple-nested array defining OR groups containing AND groups containing tag requirements

businessUnitsarrayMandatory

Array of cost centers IDs for scope (used when reportType = 1)

accountsarrayMandatory

Array of account IDs for scope (used when reportType = 0)

Response Parameters

- HTTP code 200 Response Body - application/json

object
Show Sub-Attributes
messagestring

Success message

dataobject
Show Sub-Attributes
tagging_compliance_idstring

Unique ID of the created compliance report

report_namestring

Name of the created report

created_atdate-time

Report creation timestamp

statusstring

Creation status

- HTTP code 400 Response Body - application/json

object
Show Sub-Attributes
messagestring
error_codestring
statusstring

- HTTP code 401 Response Body - application/json

object
Show Sub-Attributes
messagestring

Error message

errorstring

Authentication error description

codeinteger

Error code

- HTTP code 403 Response Body - application/json

object
Show Sub-Attributes
messagestring

Error message

errorstring

Forbidden access error description

codeinteger

Error code

- HTTP code 500 Response Body - application/json

object
Show Sub-Attributes
messagestring

Error message

errorstring

Internal server error description

codeinteger

Error code

Possible HTTP Status Codes

200HTTP code

Successfully created custom tagging compliance report

400HTTP code

Bad Request - Invalid tag criteria or missing parameters

401HTTP code

Unauthorized - Invalid or missing authentication

403HTTP code

Forbidden - Insufficient permissions

500HTTP code

Internal server error

Get tagging compliance report details with resource analysis

Retrieves detailed tagging compliance analysis for a custom report with resource-level compliance metrics. Use this to display the main compliance dashboard showing tagged and untagged resources with cost impact.

Request URL

https://www.site24x7.com/cs/api/cost/reports/compliance/tagging

Scope

CloudSpend.Internal.Read

Request Parameters

- Query Parameters
business_unit_idstringMandatory

Custom tagging compliance report ID for detailed analysis

pageNumberintegerOptional

Page number for paginated resource list (0-based indexing)

Response Parameters

- HTTP code 200 Response Body - application/json

object
Show Sub-Attributes
messagestring

- HTTP code 400 Response Body - application/json

object
Show Sub-Attributes
messagestring

Error message

errorstring

Detailed error description

codeinteger

Error code

- HTTP code 401 Response Body - application/json

object
Show Sub-Attributes
messagestring

Error message

errorstring

Authentication error description

codeinteger

Error code

- HTTP code 403 Response Body - application/json

object
Show Sub-Attributes
messagestring

Error message

errorstring

Forbidden access error description

codeinteger

Error code

- HTTP code 500 Response Body - application/json

object
Show Sub-Attributes
messagestring

Error message

errorstring

Internal server error description

codeinteger

Error code

Possible HTTP Status Codes

200HTTP code

Successfully retrieved tagging compliance details

400HTTP code

Bad request - Invalid parameters or request format

401HTTP code

Unauthorized - Invalid or missing authentication

403HTTP code

Forbidden - Insufficient permissions

500HTTP code

Internal server error

Add custom tags to resource

Adds new custom tags with key-value pairs to a specific resource for governance and cost allocation. Use this to apply custom tagging to resources after selecting from existing tags or creating new key-value pairs. Use this to apply custom tagging to resources after selecting from existing tags or creating new key-value pairs.

Request URL

https://www.site24x7.com/cs/api/cost/reports/resource_tags

Scope

CloudSpend.Internal.Create

Request Parameters

- Request Body

application/json
object
Show Sub-Attributes
cost_account_idstringMandatory

Parent cost account identifier for resource context

resource_idstringMandatory

Specific resource ID to which tags will be applied

tagsarrayMandatory

Array of custom tag key-value pairs to apply to the resource

Show Sub-Attributes
valuestringMandatory

Custom tag value

keystringMandatory

Custom tag key/name

Response Parameters

- HTTP code 200 Response Body - application/json

object
Show Sub-Attributes
messagestring

Response status message

dataobject

Tag creation confirmation data

Show Sub-Attributes
tagIdstring

Unique identifier for the newly created tag assignment

codeinteger

Response status code

- HTTP code 400 Response Body - application/json

object
Show Sub-Attributes
messagestring

Error message

errorstring

Detailed error description

codeinteger

Error code

- HTTP code 401 Response Body - application/json

object
Show Sub-Attributes
messagestring

Error message

errorstring

Authentication error description

codeinteger

Error code

- HTTP code 403 Response Body - application/json

object
Show Sub-Attributes
messagestring

Error message

errorstring

Forbidden access error description

codeinteger

Error code

- HTTP code 500 Response Body - application/json

object
Show Sub-Attributes
messagestring

Error message

errorstring

Internal server error description

codeinteger

Error code

Possible HTTP Status Codes

200HTTP code

Successfully added tags to resource

400HTTP code

Bad request - Invalid parameters or request format

401HTTP code

Unauthorized - Invalid or missing authentication

403HTTP code

Forbidden - Insufficient permissions

500HTTP code

Internal server error

Get cost centers for anomaly check creation

Retrieves cost centers for anomaly check creation with account associations and cloud type information. Use this to discover available cost centers for BU-level anomaly budget policy creation with cloud provider details.

Request URL

https://www.site24x7.com/cs/api/cost/anomaly/cost_centers

Scope

CloudSpend.Internal.Read

Response Parameters

- HTTP code 200 Response Body - application/json

object
Show Sub-Attributes
messagestring

Response message

dataobject
Show Sub-Attributes
business_unitsarray

Available cost centers for anomaly policy creation

Show Sub-Attributes
namestring

Cost center name for identification

is_hybridboolean

Whether cost center spans multiple cloud providers

cloud_typeinteger

Cloud provider type (-1=Hybrid, 0=AWS, 1=Azure, 2=GCP)

idstring

Unique cost center identifier for policy creation

cost_account_idarray

Array of associated cost account IDs

codeinteger

Response status code

- HTTP code 400 Response Body - application/json

object
Show Sub-Attributes
messagestring

Error message

errorstring

Detailed error description

codeinteger

Error code

- HTTP code 401 Response Body - application/json

object
Show Sub-Attributes
messagestring

Error message

errorstring

Authentication error description

codeinteger

Error code

- HTTP code 500 Response Body - application/json

object
Show Sub-Attributes
messagestring

Error message

errorstring

Server error description

codeinteger

Error code

Possible HTTP Status Codes

200HTTP code

Successfully retrieved cost centers for anomaly check creation

400HTTP code

Bad request - Invalid parameters or request format

401HTTP code

Unauthorized - Invalid or missing authentication

500HTTP code

Internal server error

Get cost centers tags configuration

Retrieves tag configuration data for cost accounts including profiles, metadata, and color coding. Use this for tag-based filtering setup and dashboard color configuration in solution reports.

Request URL

https://www.site24x7.com/cs/api/cost/reports/cc_tags

Scope

CloudSpend.Internal.Read

Request Parameters

- Query Parameters
JSONStringstringMandatory

URL-encoded JSON string containing cost account IDs for tag retrieval.

Response Parameters

- HTTP code 200 Response Body - application/json

object
Show Sub-Attributes
messagestring
dataobject
Show Sub-Attributes
metaobject

Mapping of account IDs to display names

Show Sub-Attributes
bu_tag_Dataobject

Tags grouped by account ID with configuration details

Show Sub-Attributes
codeinteger

Possible HTTP Status Codes

200HTTP code

Cost center tags configuration retrieved successfully

400HTTP code

Invalid JSONString parameter format

401HTTP code

Authentication required

403HTTP code

Access denied to cost accounts

500HTTP code

Internal server error

Get budget users and groups

Retrieves users and groups for budget management with roles, permissions, and notification filtering. Use this to get contact IDs for budget notification recipients or to list all users with their CloudSpend roles.

Request URL

https://www.site24x7.com/cs/api/cost/budget/users

Scope

CloudSpend.Internal.Read

Request Parameters

- Query Parameters
JSONStringstringOptional

Optional JSON string for filtered notification users.

Response Parameters

- HTTP code 200 Response Body - application/json

object
Show Sub-Attributes
messagestring
dataobject
Show Sub-Attributes
workspace_migration_infoarray

Workspace migration information (typically empty)

Show Sub-Attributes
org_infoobject

Organization configuration and admin details

Show Sub-Attributes
zd_securitystring

Zoho Directory security URL

namestring

Organization display name

adminemail

Organization admin email address

zd_usersstring

Zoho Directory users URL

zd_orgstring

Zoho Directory organization URL

is_org_adminboolean

Whether current user is org admin

from_emailemail

Default sender email for budget notifications

contact_idstring

Primary contact identifier

usersarray

Complete user directory with permissions and details

Show Sub-Attributes
is_account_contactboolean

Whether user is account primary contact

cloudspend_roleinteger

CloudSpend role identifier

last_login_timedate-time

Last login timestamp (if available)

is_invitedboolean

Whether user was invited

invited_bystring

Who invited this user (if invited)

display_namestring

User display name

user_role_namestring

User role display name

org_roleinteger

Organization role identifier

cloudspend_role_namestring

CloudSpend role display name

zuidstring

Zoho user identifier (if available)

selection_typeinteger

User selection type

user_roleinteger

User role identifier

email_addressemail

User email address

last_updated_timedate-time

Last profile update timestamp

user_idstring

Unique user identifier

mobile_settingsobject

Mobile notification settings

Show Sub-Attributes
photo_urlstring

User profile photo URL

notify_mediumarray

Notification delivery methods

user_groupsarray

User groups with membership details

Show Sub-Attributes
is_master_groupboolean

Whether this is a master group

attribute_group_idstring

Attribute group identifier

display_namestring

Group display name

user_group_idstring

Unique group identifier

usersarray

Array of user IDs in this group

product_idinteger

Associated product identifier

codeinteger

- HTTP code 400 Response Body - application/json

object
Show Sub-Attributes
messagestring

Error message

errorstring

Detailed error description

codeinteger

Error code

- HTTP code 401 Response Body - application/json

object
Show Sub-Attributes
messagestring

Error message

errorstring

Authentication error description

codeinteger

Error code

- HTTP code 500 Response Body - application/json

object
Show Sub-Attributes
messagestring

Error message

errorstring

Server error description

codeinteger

Error code

Possible HTTP Status Codes

200HTTP code

Successfully retrieved budget users and groups information

400HTTP code

Bad request - Invalid parameters or request format

401HTTP code

Unauthorized - Invalid or missing authentication

500HTTP code

Internal server error

Get available accounts for cost reports (allocation and savings)

Retrieves all cloud accounts organized by cost accounts for cost allocation and savings report workflows. Use this as the first step in allocation creation to get account hierarchy with AWS, Azure, and GCP billing details.

Request URL

https://www.site24x7.com/cs/api/cost/reports/accounts_data

Scope

CloudSpend.Internal.Read

Response Parameters

- HTTP code 200 Response Body - application/json

object
Show Sub-Attributes
messagestring
dataobject
Show Sub-Attributes
all_accountsarray

Available cost accounts with billing account details

Show Sub-Attributes
zaaidstring

Organization account identifier

cloud_typeinteger

Cloud provider type (0=AWS, 1=Azure, 2=GCP)

child_accountsarray

Billing accounts within this cost account

Show Sub-Attributes
namestring

Billing account name

billing_account_idstring

Unique billing account identifier

cloud_typeinteger

Cloud provider type

aws_account_idstring

Cloud provider specific account ID

is_payer_accountboolean

Whether this is the primary payer account

name_with_entitystring

Full account name with entity details

cost_account_idstring

Unique cost account identifier

account_namestring

Display name of the cost account

codeinteger

- HTTP code 400 Response Body - application/json

object
Show Sub-Attributes
messagestring

Error message

errorstring

Detailed error description

codeinteger

Error code

- HTTP code 401 Response Body - application/json

object
Show Sub-Attributes
messagestring

Error message

errorstring

Authentication error description

codeinteger

Error code

- HTTP code 403 Response Body - application/json

object
Show Sub-Attributes
messagestring

Error message

errorstring

Forbidden access error description

codeinteger

Error code

- HTTP code 500 Response Body - application/json

object
Show Sub-Attributes
messagestring

Error message

errorstring

Internal server error description

codeinteger

Error code

Possible HTTP Status Codes

200HTTP code

Successfully retrieved accounts data for allocation creation and savings reports

400HTTP code

Bad request - Invalid parameters or request format

401HTTP code

Unauthorized - Invalid or missing authentication

403HTTP code

Forbidden - Insufficient permissions

500HTTP code

Internal server error

Get full configuration details of a rule

Retrieves the full configuration of a specific rule including source, criteria, and action settings for editing.

Request URL

https://www.site24x7.com/cs/api/cost/admin/rule/configuration

Scope

CloudSpend.Internal.Read

Request Parameters

- Query Parameters
rule_idlongMandatory

Unique identifier of the rule to retrieve

Response Parameters

- HTTP code 200 Response Body - application/json

- HTTP code 400 Response Body - application/json

object
Show Sub-Attributes
messagestring

Error message

errorstring

Detailed error description

codeinteger

Error code

- HTTP code 401 Response Body - application/json

object
Show Sub-Attributes
messagestring

Error message

errorstring

Authentication error description

codeinteger

Error code

- HTTP code 403 Response Body - application/json

object
Show Sub-Attributes
messagestring

Error message

errorstring

Forbidden access error description

codeinteger

Error code

- HTTP code 500 Response Body - application/json

object
Show Sub-Attributes
messagestring

Error message

errorstring

Internal server error description

codeinteger

Error code

Possible HTTP Status Codes

200HTTP code

Successfully retrieved rule configuration

400HTTP code

Bad request - Invalid parameters or request format

401HTTP code

Unauthorized - Invalid or missing authentication

403HTTP code

Forbidden - Insufficient permissions

500HTTP code

Internal server error

Download tagging compliance report file

Downloads a ZIP file containing tagging compliance data for a specified month. Use this to power the download button in the History tab of the tagging compliance report view. The available months come from dfs_meta.billed timestamps in getTaggingComplianceUnbilledCountReports response. Response is a binary file download (ZIP), not JSON.

Request URL

https://www.site24x7.com/cs/api/cost/reports/compliance/tagging/download

Scope

CloudSpend.Internal.Read

Request Parameters

- Query Parameters
tagging_compliance_idstringMandatory

Custom tagging compliance report ID.

month_start_timelongMandatory

Epoch milliseconds for the month start. Get from dfs_meta.billed array in getTaggingComplianceUnbilledCountReports response.

typeintegerMandatory

Report type. 1 for billed resources, 2 for unbilled resources.

Response Parameters

- HTTP code 200 Response Body - application/zip

binary

- HTTP code 400 Response Body - application/json

object
Show Sub-Attributes
messagestring

Error message

errorstring

Detailed error description

codeinteger

Error code

- HTTP code 401 Response Body - application/json

object
Show Sub-Attributes
messagestring

Error message

errorstring

Authentication error description

codeinteger

Error code

- HTTP code 403 Response Body - application/json

object
Show Sub-Attributes
messagestring

Error message

errorstring

Forbidden access error description

codeinteger

Error code

- HTTP code 500 Response Body - application/json

object
Show Sub-Attributes
messagestring

Error message

errorstring

Internal server error description

codeinteger

Error code

Possible HTTP Status Codes

200HTTP code

Binary ZIP file download containing tagging compliance data

400HTTP code

Bad request - Invalid parameters or request format

401HTTP code

Unauthorized - Invalid or missing authentication

403HTTP code

Forbidden - Insufficient permissions

500HTTP code

Internal server error

List anomaly report profiles

Retrieves scheduled report profiles specifically for cost centers anomaly details reports. Use this to get profile IDs required by the generateAnomalyDetailsReport API for scheduling anomaly report delivery.

Request URL

https://www.site24x7.com/cs/api/cost/cost_centers/spend_analysis/anomaly/details/report/profiles

Scope

CloudSpend.Internal.Read

Response Parameters

- HTTP code 200 Response Body - application/json

object
Show Sub-Attributes
messagestring

Response message

dataobject
Show Sub-Attributes
return_dataobject
Show Sub-Attributes
return_dataarray

List of anomaly report profiles

Show Sub-Attributes
periodinteger

Reporting period identifier: - 1: This period - 2: Quarterly period - 3: Yearly period - 5: Last three months - 10: Custom period - 11: Previous period - 14: Current month

report_hour_meridieminteger

Meridiem flag (1=AM, 2=PM)

timezonestring

Timezone of the report schedule

report_hourinteger

Hour at which the report is scheduled (0-23)

report_hour_meridiem_textstring

Text representation of the meridiem

frequencyinteger

Report frequency (1=Monthly, 2=Quarterly, 3=Yearly, 4=Daily, 7=Weekly)

report_dayinteger

Day of the month/week when the report runs

report_timeinteger

Report time in hours (0-23)

profile_idstring

Unique identifier for the report profile

default_profileinteger

Flag indicating whether the profile is default (1) or custom (0)

namestring

Name of the report profile

report_monthinteger

Month configuration for the report

configstring

Internal configuration string for system use

codeinteger

Status code of the response (0 indicates success)

- HTTP code 400 Response Body - application/json

object
Show Sub-Attributes
messagestring

Error message

errorstring

Detailed error description

codeinteger

Error code

- HTTP code 401 Response Body - application/json

object
Show Sub-Attributes
messagestring

Error message

errorstring

Authentication error description

codeinteger

Error code

- HTTP code 500 Response Body - application/json

object
Show Sub-Attributes
messagestring

Error message

errorstring

Server error description

codeinteger

Error code

Possible HTTP Status Codes

200HTTP code

Successfully retrieved anomaly report profiles.

400HTTP code

Bad request - Invalid parameters or request format

401HTTP code

Unauthorized - Invalid or missing authentication

500HTTP code

Internal server error

List resource explorer report profiles

Retrieves scheduled report profiles for cost centers resource explorer reports with inline profile creation support. Use this to get existing profile IDs or understand parameters needed to create new inline profiles for resource explorer reports.

Request URL

https://www.site24x7.com/cs/api/cost/cost_centers/resource_explorer/report/profiles

Scope

CloudSpend.Internal.Read

Response Parameters

- HTTP code 200 Response Body - application/json

object
Show Sub-Attributes
messagestring

Response message

dataobject
Show Sub-Attributes
return_dataobject
Show Sub-Attributes
return_dataarray

List of resource explorer report profiles

Show Sub-Attributes
periodinteger

Reporting period identifier: - 1: This period - 5: Last three months - 10: Custom period - 11: Previous period - 14: Current month

report_hour_meridieminteger

Meridiem flag (1=AM, 2=PM)

timezonestring

Timezone of the report schedule

report_hourinteger

Hour at which the report is scheduled (0-23)

report_hour_meridiem_textstring

Text representation of the meridiem

frequencyinteger

Report frequency (1=Monthly, 2=Quarterly, 3=Yearly, 4=Daily, 7=Weekly)

report_dayinteger

Day of the month/week when the report runs

report_timeinteger

Report time in hours (0-23)

profile_idstring

Unique identifier for the report profile

default_profileinteger

Flag indicating whether the profile is default (1) or custom (0)

namestring

Name of the report profile

report_monthinteger

Month configuration for the report

configstring

Internal configuration string for system use

codeinteger

Status code of the response (0 indicates success)

Possible HTTP Status Codes

200HTTP code

Successfully retrieved resource explorer report profiles.

Get available data range for summary report

Retrieves earliest and latest available cost data dates for summary report date range initialization. Use this to set date picker boundaries before loading summary report dashboard widgets.

Request URL

https://www.site24x7.com/cs/api/cost/cloud_available_range

Scope

CloudSpend.Internal.Read

Response Parameters

- HTTP code 200 Response Body - application/json

object
Show Sub-Attributes
messagestring
dataobject
Show Sub-Attributes
max_datedate-time

Latest available data timestamp

min_datedate-time

Earliest available data timestamp

codeinteger

Possible HTTP Status Codes

200HTTP code

Successfully retrieved available data range

Get trend chart for named solution report

Returns time-series cost data for trend visualization in the named solution report. Use this to display the cost trend chart showing daily/monthly spending patterns.

Request URL

https://www.site24x7.com/cs/api/cost/sol_reports/trend_box

Scope

CloudSpend.Internal.Create

Request Parameters

- Request Body

application/json
object

Standard payload structure for all sol_reports APIs - ensures consistent request format

Show Sub-Attributes
end_datedateMandatory

Analysis end date (typically current date)

cost_tagsarrayOptional

Pass empty array [] for widget APIs (spend_analysis_panel, common_widget_api, cost_by_resource, cost_by_instance, trend_box, accounts_splitup). Only populate cost_tags when calling group_by_property for tag-based filtering. Non-empty cost_tags on widget APIs causes 500 errors.

Show Sub-Attributes
vintegerOptional

Tag version or value reference

idstringOptional

Tag identifier for filtering (from business_unit_tags in bu_spend_analysis response)

periodintegerMandatory

Time granularity (1=daily, 2=weekly, 3=monthly)

business_unit_idstringMandatory

Cost center identifier from getSolutionReportsReports response

cost_typeintegerMandatory

Cost calculation type (0=standard, 1=amortized, 20=Azure resource groups)

accountsarrayMandatory

Account scope for analysis

Show Sub-Attributes
cost_account_idstringOptional

Cost account identifier

billing_account_idsarrayOptional

Associated billing account IDs

bu_typeintegerMandatory

Cost center type classification

start_datedateMandatory

Analysis start date (typically previous month 1st or current billing period start)

Response Parameters

- HTTP code 200 Response Body - application/json

object
Show Sub-Attributes
messagestring
dataobject
Show Sub-Attributes
trend_valuesobject
Show Sub-Attributes
modeinteger

Trend calculation mode (1=time-series)

valuesobject

Service-grouped time-series cost data with timestamps and amounts

Show Sub-Attributes
codeinteger

Possible HTTP Status Codes

200HTTP code

Trend analysis data retrieved successfully

400HTTP code

Invalid request parameters

401HTTP code

Authentication required

403HTTP code

Access denied to cost centers or accounts

500HTTP code

Internal server error

Get unit economics schedule profiles

Retrieves available scheduling profiles for Unit Economics report delivery with frequency and timing options. Use this as the first step in Unit Economics report scheduling to present profile options.

Request URL

https://www.site24x7.com/cs/api/cost/reports/unit/economics/schedule/report/profiles

Scope

CloudSpend.Internal.Read

Response Parameters

- HTTP code 200 Response Body - application/json

object
Show Sub-Attributes
messagestring

Response status message

dataobject
Show Sub-Attributes
return_dataobject
Show Sub-Attributes
return_dataarray

Array of available scheduling profiles

Show Sub-Attributes
periodinteger

Report period type

report_hour_meridieminteger

AM/PM indicator (1=AM, 2=PM)

profile_idstring

Unique profile identifier

timezonestring

Timezone for report delivery

report_hourinteger

Delivery hour (1-12)

default_profileinteger

Whether this is default profile (1=default, 0=custom)

namestring

Profile display name

report_hour_meridiem_textstring

AM/PM text representation

frequencyinteger

Delivery frequency in days

codeinteger

Response status code

- HTTP code 400 Response Body - application/json

object
Show Sub-Attributes
messagestring

Error message

errorstring

Detailed error description

codeinteger

Error code

- HTTP code 401 Response Body - application/json

object
Show Sub-Attributes
messagestring

Error message

errorstring

Authentication error description

codeinteger

Error code

- HTTP code 403 Response Body - application/json

object
Show Sub-Attributes
messagestring

Error message

errorstring

Forbidden access error description

codeinteger

Error code

- HTTP code 500 Response Body - application/json

object
Show Sub-Attributes
messagestring

Error message

errorstring

Internal server error description

codeinteger

Error code

Possible HTTP Status Codes

200HTTP code

Successfully retrieved Unit Economics schedule profiles

400HTTP code

Bad request - Invalid parameters or request format

401HTTP code

Unauthorized - Invalid or missing authentication

403HTTP code

Forbidden - Insufficient permissions

500HTTP code

Internal server error

Get comprehensive cost centers cost data

Retrieves comprehensive cost analytics for multiple cost centers with historical trends, forecasting, and detailed breakdowns. Use this for cost dashboards, executive reporting, budget planning, or forecast monitoring across cost centers.

Request URL

https://www.site24x7.com/cs/api/cost/cost_centers/cost

Scope

CloudSpend.Internal.Read

Request Parameters

- Query Parameters
JSONStringstringMandatory

JSON string with cost centers IDs. Format: {"business_unit_id":["id1","id2"]} IDs obtained from listCostCenters endpoint response.

Response Parameters

- HTTP code 200 Response Body - application/json

object
Show Sub-Attributes
messagestring

Response message

dataobject
Show Sub-Attributes
all_accountsobject

Object containing detailed cost data for each requested cost centers. Keys are cost centers IDs, values contain comprehensive cost analytics.

Show Sub-Attributes
codeinteger

Status code (0 indicates success)

- HTTP code 400 Response Body - application/json

object
Show Sub-Attributes
messagestring

Error message

errorstring

Detailed error description

codeinteger

Error code

- HTTP code 401 Response Body - application/json

object
Show Sub-Attributes
messagestring

Error message

errorstring

Authentication error description

codeinteger

Error code

- HTTP code 500 Response Body - application/json

object
Show Sub-Attributes
messagestring

Error message

errorstring

Server error description

codeinteger

Error code

Possible HTTP Status Codes

200HTTP code

Successfully retrieved comprehensive cost data for requested cost centers

400HTTP code

Bad request - Invalid parameters or request format

401HTTP code

Unauthorized - Invalid or missing authentication

500HTTP code

Internal server error

View detailed results of a rule execution

Retrieves detailed results of a specific rule execution including the list of resources that were affected.

Request URL

https://www.site24x7.com/cs/api/cost/admin/rule/history/view

Scope

CloudSpend.Internal.Read

Request Parameters

- Query Parameters
rule_idlongMandatory

Unique identifier of the rule execution to view details for

Response Parameters

- HTTP code 200 Response Body - application/json

- HTTP code 400 Response Body - application/json

object
Show Sub-Attributes
messagestring

Error message

errorstring

Detailed error description

codeinteger

Error code

- HTTP code 401 Response Body - application/json

object
Show Sub-Attributes
messagestring

Error message

errorstring

Authentication error description

codeinteger

Error code

- HTTP code 403 Response Body - application/json

object
Show Sub-Attributes
messagestring

Error message

errorstring

Forbidden access error description

codeinteger

Error code

- HTTP code 500 Response Body - application/json

object
Show Sub-Attributes
messagestring

Error message

errorstring

Internal server error description

codeinteger

Error code

Possible HTTP Status Codes

200HTTP code

Successfully retrieved execution details

400HTTP code

Bad request - Invalid parameters or request format

401HTTP code

Unauthorized - Invalid or missing authentication

403HTTP code

Forbidden - Insufficient permissions

500HTTP code

Internal server error

Get reservation optimization summary for multi-cloud accounts (aws/azure)

Returns RI optimization metrics including active purchases, utilization, coverage, wastage, and expiring reservations. Use this to monitor reservation efficiency and identify optimization opportunities across AWS and Azure.

Request URL

https://www.site24x7.com/cs/api/cost/optimization/{cost_account_id}/summary

Scope

CloudSpend.Internal.Read

Request Parameters

- Path Parameters
cost_account_idstringMandatory

Cost account ID from accounts data API (AWS/Azure)

- Query Parameters
cost_account_idstringMandatory

Cost account ID (matches path parameter)

Response Parameters

- HTTP code 200 Response Body - application/json

object
Show Sub-Attributes
messagestring
dataobject
Show Sub-Attributes
return_dataobject
Show Sub-Attributes
tot_opt_countstring

Total number of active reservations

total_expiry_countstring

Total reservations expiring across all services

opt_listobject

Detailed optimization data by service (AWS/Azure format)

Show Sub-Attributes
payment_typeobject

Overall payment type distribution

Show Sub-Attributes
cl.cst.client.opt.no.upfront.countstring
cl.cst.client.opt.partial.upfront.countstring
cl.cst.client.opt.all.upfront.countstring
codeinteger

- HTTP code 400 Response Body - application/json

object
Show Sub-Attributes
messagestring

Error message

errorstring

Detailed error description

codeinteger

Error code

- HTTP code 401 Response Body - application/json

object
Show Sub-Attributes
messagestring

Error message

errorstring

Authentication error description

codeinteger

Error code

- HTTP code 403 Response Body - application/json

object
Show Sub-Attributes
messagestring

Error message

errorstring

Forbidden access error description

codeinteger

Error code

- HTTP code 500 Response Body - application/json

object
Show Sub-Attributes
messagestring

Error message

errorstring

Internal server error description

codeinteger

Error code

Possible HTTP Status Codes

200HTTP code

Successfully retrieved reservation optimization summary

400HTTP code

Bad request - Invalid parameters or request format

401HTTP code

Unauthorized - Invalid or missing authentication

403HTTP code

Forbidden - Insufficient permissions

500HTTP code

Internal server error

Get detailed resource metadata and tags

Provides comprehensive resource details including metadata, tags, pricing model, and account information.

Request URL

https://www.site24x7.com/cs/api/cost/accounts/resource_explorer/ri_list

Scope

CloudSpend.Internal.Create

Request Parameters

- Request Body

application/json
object
Show Sub-Attributes
end_datedateMandatory

End date in YYYY-MM-DD format

accountsarrayMandatory

Account structure with parent cost_account_id and all child billing_account_ids

Show Sub-Attributes
cost_account_idstringMandatory

Parent account ID

billing_account_idsarrayMandatory

Child billing account ID of user selected parent ID, use getAccountsMetadata tool to get valid IDs

resource_idsarrayMandatory

Array of resource IDs

start_datedateMandatory

Start date in YYYY-MM-DD format

Response Parameters

- HTTP code 200 Response Body - application/json

object
Show Sub-Attributes
messagestring
codeinteger

- HTTP code 400 Response Body - application/json

object
Show Sub-Attributes
messagestring

Error message

errorstring

Detailed error description

codeinteger

Error code

Possible HTTP Status Codes

200HTTP code

Successful response with detailed resource information keyed by resource_id

400HTTP code

Bad request - Invalid parameters or request format

Get spend analysis panel for solution reports

Returns total cost, max/min spending accounts, anomaly count, and cost difference for a named solution report. Use this to display the spend overview card in the solution report dashboard.

Request URL

https://www.site24x7.com/cs/api/cost/sol_reports/spend_analysis_panel

Scope

CloudSpend.Internal.Create

Request Parameters

- Request Body

application/json
object

Standard payload structure for all sol_reports APIs - ensures consistent request format

Show Sub-Attributes
end_datedateMandatory

Analysis end date (typically current date)

cost_tagsarrayOptional

Pass empty array [] for widget APIs (spend_analysis_panel, common_widget_api, cost_by_resource, cost_by_instance, trend_box, accounts_splitup). Only populate cost_tags when calling group_by_property for tag-based filtering. Non-empty cost_tags on widget APIs causes 500 errors.

Show Sub-Attributes
vintegerOptional

Tag version or value reference

idstringOptional

Tag identifier for filtering (from business_unit_tags in bu_spend_analysis response)

periodintegerMandatory

Time granularity (1=daily, 2=weekly, 3=monthly)

business_unit_idstringMandatory

Cost center identifier from getSolutionReportsReports response

cost_typeintegerMandatory

Cost calculation type (0=standard, 1=amortized, 20=Azure resource groups)

accountsarrayMandatory

Account scope for analysis

Show Sub-Attributes
cost_account_idstringOptional

Cost account identifier

billing_account_idsarrayOptional

Associated billing account IDs

bu_typeintegerMandatory

Cost center type classification

start_datedateMandatory

Analysis start date (typically previous month 1st or current billing period start)

Response Parameters

- HTTP code 200 Response Body - application/json

object
Show Sub-Attributes
max_cost_accountobject

Account with highest spend

Show Sub-Attributes
total_costnumber

Total cost for the period

anomaly_widgetobject

Anomaly detection summary (count/timestamp)

Show Sub-Attributes
cost_differenceobject

Cost difference analysis

Show Sub-Attributes

- HTTP code 400 Response Body - application/json

object
Show Sub-Attributes
messagestring

Error message

errorstring

Detailed error description

codeinteger

Error code

- HTTP code 401 Response Body - application/json

object
Show Sub-Attributes
messagestring

Error message

errorstring

Authentication error description

codeinteger

Error code

- HTTP code 500 Response Body - application/json

object
Show Sub-Attributes
messagestring

Error message

errorstring

Internal server error description

codeinteger

Error code

Possible HTTP Status Codes

200HTTP code

Spend analysis panel data retrieved successfully

400HTTP code

Bad request - Invalid parameters or request format

401HTTP code

Unauthorized - Invalid or missing authentication

500HTTP code

Internal server error

Get account processing status

Checks account bill processing status to ensure data availability before governance operations. Use this as the first step before governance dashboard or check creation to verify billing data is ready. Use this as the first step before governance dashboard or check creation to verify billing data is ready.

Request URL

https://www.site24x7.com/cs/api/cost/accounts_status

Scope

CloudSpend.Internal.Read

Response Parameters

- HTTP code 200 Response Body - application/json

object
Show Sub-Attributes
messagestring
dataobject
Show Sub-Attributes
billProcessboolean

Whether bill processing is currently active

codeinteger

- HTTP code 400 Response Body - application/json

object
Show Sub-Attributes
messagestring

Error message

errorstring

Detailed error description

codeinteger

Error code

- HTTP code 401 Response Body - application/json

object
Show Sub-Attributes
messagestring

Error message

errorstring

Authentication error description

codeinteger

Error code

- HTTP code 500 Response Body - application/json

object
Show Sub-Attributes
messagestring

Error message

errorstring

Server error description

codeinteger

Error code

Possible HTTP Status Codes

200HTTP code

Successfully retrieved account processing status

400HTTP code

Bad request - Invalid parameters or request format

401HTTP code

Unauthorized - Invalid or missing authentication

500HTTP code

Internal server error

Create scheduled allocation report

Creates a scheduled allocation report delivery for individual or meta view reports with PDF/CSV format. Use this to complete the allocation report scheduling workflow after selecting profiles and recipients.

Request URL

https://www.site24x7.com/cs/api/cost/reports/hierarchy/report

Scope

CloudSpend.Internal.Create

Request Parameters

- Request Body

application/json
object
Show Sub-Attributes
cost_idsarrayOptional

Array of allocation IDs (empty array for meta view, specific allocation ID for individual reports)

profileobjectMandatory

Selected scheduling profile configuration

Show Sub-Attributes
profile_idstringOptional

Profile ID from allocation profiles API

formatintegerMandatory

Report format (1=PDF, 2=CSV)

report_namestringMandatory

Display name for the scheduled allocation report

typeintegerMandatory

Report type identifier (29 for allocation meta reports, 34 for individual allocation reports)

contact_idsarrayMandatory

Array of recipient configurations with contact IDs and types

Show Sub-Attributes
contact_idstringOptional

User ID or group ID for delivery

contact_typestringOptional

Contact type (1=user, 2=group)

frequencyintegerMandatory

Delivery frequency

Response Parameters

- HTTP code 200 Response Body - application/json

object
Show Sub-Attributes
messagestring

Response message

dataobject
Show Sub-Attributes
report_idstring

Unique identifier for the created scheduled allocation report

codeinteger

Response status code

- HTTP code 400 Response Body - application/json

object
Show Sub-Attributes
messagestring

Error message

errorstring

Detailed error description

codeinteger

Error code

- HTTP code 401 Response Body - application/json

object
Show Sub-Attributes
messagestring

Error message

errorstring

Authentication error description

codeinteger

Error code

- HTTP code 403 Response Body - application/json

object
Show Sub-Attributes
messagestring

Error message

errorstring

Forbidden access error description

codeinteger

Error code

- HTTP code 500 Response Body - application/json

object
Show Sub-Attributes
messagestring

Error message

errorstring

Internal server error description

codeinteger

Error code

Possible HTTP Status Codes

200HTTP code

Successfully created scheduled allocation report

400HTTP code

Bad request - Invalid parameters or request format

401HTTP code

Unauthorized - Invalid or missing authentication

403HTTP code

Forbidden - Insufficient permissions

500HTTP code

Internal server error

Get cost centers user settings

Retrieves cost centers user settings including branding, default email, cost precision digits, and integration flags. Use this to apply consistent branding to dashboards and reports or configure notification emails and display precision.

Request URL

https://www.site24x7.com/cs/api/cost/cost_centers/cost_user_settings

Scope

CloudSpend.Internal.Read

Response Parameters

- HTTP code 200 Response Body - application/json

object
Show Sub-Attributes
messagestring

Response message

dataobject
Show Sub-Attributes
custom_report_settings_dataobject

Custom branding and report settings for the cost centers

Show Sub-Attributes
logo_url_pathstring

URL path to the cost centers logo

bg_colorstring

Background color for reports or dashboards (HEX)

from_emailstring

Default email for sending notifications

font_colorstring

Font color for reports or dashboards (HEX)

company_namestring

Company name to display in reports

image_presentboolean

Whether a custom logo image is present

percision_digitsinteger

Number of digits to show for cost values

general_settings_dataobject

General configuration settings for cost users

Show Sub-Attributes
default_from_mailstring

Default sender email for notifications

monitor_integ_configboolean

Flag indicating whether monitoring integration is configured

az_payg_cost_as_actualboolean

Flag to indicate whether Azure PAYG cost should be treated as actual

codeinteger

Status code of the response (0 indicates success)

- HTTP code 400 Response Body - application/json

object
Show Sub-Attributes
messagestring

Error message

errorstring

Detailed error description

codeinteger

Error code

- HTTP code 401 Response Body - application/json

object
Show Sub-Attributes
messagestring

Error message

errorstring

Authentication error description

codeinteger

Error code

- HTTP code 500 Response Body - application/json

object
Show Sub-Attributes
messagestring

Error message

errorstring

Server error description

codeinteger

Error code

Possible HTTP Status Codes

200HTTP code

Successfully retrieved cost centers cost user settings

400HTTP code

Bad request - Invalid parameters or request format

401HTTP code

Unauthorized - Invalid or missing authentication

500HTTP code

Internal server error

Get detailed anomaly analysis data

Retrieves comprehensive anomaly details including historical data, deviation metrics, expected vs actual values, and severity levels. Use this to investigate a specific anomaly with full analysis data for the Summary and History sections of the anomaly view.

Request URL

https://www.site24x7.com/cs/api/reports/anomaly/summary/list/data

Scope

CloudSpend.Internal.Read

Request Parameters

- Query Parameters
anomaly_idstringMandatory

Unique anomaly identifier from anomaly list API

start_datedateMandatory

Analysis start date for detailed anomaly data retrieval

end_datedateMandatory

Analysis end date for detailed anomaly data retrieval

Response Parameters

- HTTP code 200 Response Body - application/json

object
Show Sub-Attributes
messagestring
dataobject
Show Sub-Attributes
anomaly_namestring

Display name of the anomaly (region, service, account)

anomaliesarray

Historical anomaly records with detailed metrics

Show Sub-Attributes
updated_timestring

Last update timestamp (epoch milliseconds)

detected_timestring

Initial detection timestamp (epoch milliseconds)

currency_symbolstring

Currency symbol for cost values

currency_localestring

Currency locale formatting

deviation_percentagefloat

Percentage deviation from expected value

currency_codestring

ISO currency code

anomaly_levelstring

Severity classification

anomaly_statusstring

Current anomaly status

updated_timestampdate-time

Last update timestamp in ISO format

anomaly_status_codeinteger

Status code (1=Open, 2=False Positive, 3=Acknowledged)

anomaly_typestring

Anomaly direction (upper=above expected, lower=below expected)

expected_valuefloat

Expected cost value for comparison

valuefloat

Actual cost value that triggered anomaly

detected_timestampdate-time

Detection timestamp in ISO format

codeinteger

- HTTP code 400 Response Body - application/json

object
Show Sub-Attributes
messagestring

Error message

errorstring

Detailed error description

codeinteger

Error code

- HTTP code 401 Response Body - application/json

object
Show Sub-Attributes
messagestring

Error message

errorstring

Authentication error description

codeinteger

Error code

- HTTP code 403 Response Body - application/json

object
Show Sub-Attributes
messagestring

Error message

errorstring

Forbidden access error description

codeinteger

Error code

- HTTP code 500 Response Body - application/json

object
Show Sub-Attributes
messagestring

Error message

errorstring

Internal server error description

codeinteger

Error code

Possible HTTP Status Codes

200HTTP code

Successfully retrieved detailed anomaly data

400HTTP code

Bad request - Invalid parameters or request format

401HTTP code

Unauthorized - Invalid or missing authentication

403HTTP code

Forbidden - Insufficient permissions

500HTTP code

Internal server error

Get governance resource tags

Retrieves tag information for a specific governance resource including tag variations and classifications. Use this to inspect complete tag inventory for a resource to verify compliance or investigate governance violations.

Request URL

https://www.site24x7.com/cs/api/cost/governance/resource/{resource_id}/tags

Scope

CloudSpend.Internal.Read

Request Parameters

- Path Parameters
resource_idstringMandatory

Resource identifier from governance inventory or RCA

- Request Body

application/json
object
Show Sub-Attributes
cost_account_idstringMandatory

Cost account identifier for resource.

resource_idstringMandatory

Resource identifier (same as path param).

Response Parameters

- HTTP code 200 Response Body - application/json

object
Show Sub-Attributes
messagestring
dataobject
Show Sub-Attributes
return_dataarray
Show Sub-Attributes
namestring

Tag name

idstring

Tag identifier

valuestring

Tag value

variationinteger

Tag variation type (0=system, -2=manual)

codeinteger

- HTTP code 400 Response Body - application/json

object
Show Sub-Attributes
messagestring

Error message

errorstring

Detailed error description

codeinteger

Error code

- HTTP code 401 Response Body - application/json

object
Show Sub-Attributes
messagestring

Error message

errorstring

Authentication error description

codeinteger

Error code

- HTTP code 500 Response Body - application/json

object
Show Sub-Attributes
messagestring

Error message

errorstring

Server error description

codeinteger

Error code

Possible HTTP Status Codes

200HTTP code

Successfully retrieved resource tags

400HTTP code

Bad request - Invalid parameters or request format

401HTTP code

Unauthorized - Invalid or missing authentication

500HTTP code

Internal server error

Create a new user group

Creates a user group with a display name and member contact IDs for organizing users with similar permissions or access needs. Use this when the admin needs to batch-manage permissions or report delivery by grouping related users together.

Request URL

https://www.site24x7.com/cs/api/cost/user_group

Scope

CloudSpend.Internal.Create

Request Parameters

- Request Body

application/json
object
Show Sub-Attributes
namestringMandatory

Display name for the user group

contact_idsarrayMandatory

List of user contact IDs (user_id from users list) to include in the group

Response Parameters

- HTTP code 200 Response Body - application/json

object
Show Sub-Attributes
messagestring
dataobject
Show Sub-Attributes
user_group_idstring

Unique identifier for the newly created group

codeinteger

- HTTP code 400 Response Body - application/json

object
Show Sub-Attributes
messagestring

Error message

errorstring

Detailed error description

codeinteger

Error code

- HTTP code 401 Response Body - application/json

object
Show Sub-Attributes
messagestring

Error message

errorstring

Authentication error description

codeinteger

Error code

- HTTP code 403 Response Body - application/json

object
Show Sub-Attributes
messagestring

Error message

errorstring

Forbidden access error description

codeinteger

Error code

- HTTP code 500 Response Body - application/json

object
Show Sub-Attributes
messagestring

Error message

errorstring

Internal server error description

codeinteger

Error code

Possible HTTP Status Codes

200HTTP code

User group created successfully

400HTTP code

Bad request - Invalid parameters or request format

401HTTP code

Unauthorized - Invalid or missing authentication

403HTTP code

Forbidden - Insufficient permissions

500HTTP code

Internal server error

Update a user group

Updates an existing user group's display name and member list. Use this when the admin modifies group membership or renames a user group from the User Groups edit form.

Request URL

https://www.site24x7.com/cs/api/cost/user_group

Scope

CloudSpend.Internal.Update

Request Parameters

- Request Body

application/json
object
Show Sub-Attributes
namestringMandatory

Updated display name for the group

contact_idsarrayMandatory

Updated list of user IDs in the group

user_group_idstringMandatory

ID of the user group to update

Response Parameters

- HTTP code 200 Response Body - application/json

object
Show Sub-Attributes
messagestring
dataobject
Show Sub-Attributes
statusstring
codeinteger

- HTTP code 400 Response Body - application/json

object
Show Sub-Attributes
messagestring

Error message

errorstring

Detailed error description

codeinteger

Error code

- HTTP code 401 Response Body - application/json

object
Show Sub-Attributes
messagestring

Error message

errorstring

Authentication error description

codeinteger

Error code

- HTTP code 403 Response Body - application/json

object
Show Sub-Attributes
messagestring

Error message

errorstring

Forbidden access error description

codeinteger

Error code

- HTTP code 500 Response Body - application/json

object
Show Sub-Attributes
messagestring

Error message

errorstring

Internal server error description

codeinteger

Error code

Possible HTTP Status Codes

200HTTP code

User group updated successfully

400HTTP code

Bad request - Invalid parameters or request format

401HTTP code

Unauthorized - Invalid or missing authentication

403HTTP code

Forbidden - Insufficient permissions

500HTTP code

Internal server error

Get billed resource names for compliance analysis

Retrieves billed resource names for tagging compliance analysis within the report scope. Use this for resource discovery and identification in compliance analysis workflows.

Request URL

https://www.site24x7.com/cs/api/cost/reports/compliance/tagging/billed/names

Scope

CloudSpend.Internal.Read

Request Parameters

- Query Parameters
business_unit_idstringMandatory

Custom tagging compliance report ID for billed resource names

Response Parameters

- HTTP code 200 Response Body - application/json

object
Show Sub-Attributes
messagestring
dataarray
Show Sub-Attributes
resource_namestring

Human-readable resource name

resource_idstring

Unique resource identifier

billed_account_namestring

Cloud account or subscription name

codeinteger

- HTTP code 400 Response Body - application/json

object
Show Sub-Attributes
messagestring

Error message

errorstring

Detailed error description

codeinteger

Error code

- HTTP code 401 Response Body - application/json

object
Show Sub-Attributes
messagestring

Error message

errorstring

Authentication error description

codeinteger

Error code

- HTTP code 403 Response Body - application/json

object
Show Sub-Attributes
messagestring

Error message

errorstring

Forbidden access error description

codeinteger

Error code

- HTTP code 500 Response Body - application/json

object
Show Sub-Attributes
messagestring

Error message

errorstring

Internal server error description

codeinteger

Error code

Possible HTTP Status Codes

200HTTP code

Successfully retrieved billed resource names

400HTTP code

Bad request - Invalid parameters or request format

401HTTP code

Unauthorized - Invalid or missing authentication

403HTTP code

Forbidden - Insufficient permissions

500HTTP code

Internal server error

Group accounts by property

Groups account costs by dimensions such as region, service, resource type, tags, and accounts for cost allocation analysis.

Request URL

https://www.site24x7.com/cs/api/cost/accounts/group_by_property

Scope

CloudSpend.Internal.Create

Request Parameters

- Request Body

application/json
object
Show Sub-Attributes
end_datedateMandatory

End date in YYYY-MM-DD format. CALCULATE: today''s date

cost_tagsarrayMandatory

Empty array [] (required constant)

periodintegerMandatory

Period setting: 1 (required constant)

cost_typeintegerMandatory

Cost type: 0 for AWS, 20 for Azure/GCP (from getAccountsMetadata cloud_type field)

group_by_tagsarrayOptional
Show Sub-Attributes
vintegerMandatory

Version field (v field). Example: 0

idstringMandatory

Tag ID (tagId field). Example: "33240000000061639"

accountsarrayMandatory

Account structure array with cost_account_id and billing_account_ids

Show Sub-Attributes
cost_account_idstringMandatory

Parent account ID user selection

billing_account_idsarrayMandatory

Array containing selected child billing account IDs

group_by_typestringMandatory

Type of grouping: ''region'', ''service'', ''accounts'', ''resource_type'', ''tag''. Azure also supports ''resourcegroup''

start_datedateMandatory

Start date in YYYY-MM-DD format. CALCULATE: first day of previous month

Response Parameters

- HTTP code 200 Response Body - application/json

object

Response for groupAccountsByProperty API - grouped cost data by dimension

Show Sub-Attributes
messagestring(length <= 255)

Response message

dataobject

Container for grouped cost data

Show Sub-Attributes
return_dataarray

Array of grouped cost entries by dimension

Show Sub-Attributes
group_namestring

Name of the group (region/service/account/tag value)

costdouble

Total cost for this group

codeinteger

Response status code (0 = success)

- HTTP code 400 Response Body - application/json

object
Show Sub-Attributes
messagestring

Error message

errorstring

Detailed error description

codeinteger

Error code

Possible HTTP Status Codes

200HTTP code

Successful response with grouped cost data by selected dimension

400HTTP code

Bad request - Invalid parameters or request format

Create a custom user role

Creates a custom access role with module-level permissions (Accounts, Cost Centers, Budget, Anomaly, Reports, Admin) and an optional permission boundary for resource-level scoping. Use this when the built-in roles (Admin, User, Alert Contact) are too broad and the admin needs fine-grained control over which modules a user can access.

Request URL

https://www.site24x7.com/cs/api/cost/user_role

Scope

CloudSpend.Internal.Create

Request Parameters

- Request Body

application/json
object
Show Sub-Attributes
descriptionstringOptional

Role description explaining its purpose and scope

permission_settingsarrayMandatory

Main module-level permission configurations. Required for all roles.

Show Sub-Attributes
viewintegerMandatory

Read permission (0=none, 1=partial, 2=full)

module_idintegerMandatory

Module identifier (1-6)

writeintegerMandatory

Write permission (0=none, 1=partial, 2=full)

deleteintegerMandatory

Delete permission (0=none, 1=partial, 2=full)

tag_idintegerOptional

Optional Permission Boundary (virtual tag) ID for data filtering. Restricts role's access to specific accounts, cost centers, or other entities. Use GET /cs/api/cost/admin/rbac_tags to retrieve available tag IDs.

display_namestringMandatory

Display name for the custom role. Must be unique within the account.

sub_module_permission_settingsarrayOptional

Optional granular sub-module permissions for Reports (module_id: 5) and Admin (module_id: 6). Only include this if you need finer control than main module permissions provide. Each item specifies permissions for a specific sub-module within a parent module.

Show Sub-Attributes
sub_module_idintegerMandatory

Sub-module identifier within the parent module

viewintegerMandatory

Read permission for this sub-module

module_idintegerMandatory

Parent module identifier (5 or 6)

writeintegerMandatory

Write permission for this sub-module

deleteintegerMandatory

Delete permission for this sub-module

product_idintegerMandatory

Product identifier. Always use 2 for CloudSpend.

Response Parameters

- HTTP code 200 Response Body - application/json

object
Show Sub-Attributes
messagestring
dataobject
Show Sub-Attributes
permission_settingsarray

Array of module permission configurations

Show Sub-Attributes
viewinteger
module_idinteger
writeinteger
deleteinteger
account_typeinteger

Account type scope

last_updated_timestring

Creation timestamp in milliseconds

role_idstring

Unique identifier for the newly created role

product_idinteger

Product identifier (2=CloudSpend)

descriptionstring

Role description

display_namestring

Role display name

created_bystring

Creator user ID

codeinteger

- HTTP code 400 Response Body - application/json

object
Show Sub-Attributes
messagestring

Error message

errorstring

Detailed error description

codeinteger

Error code

- HTTP code 401 Response Body - application/json

object
Show Sub-Attributes
messagestring

Error message

errorstring

Authentication error description

codeinteger

Error code

- HTTP code 403 Response Body - application/json

object
Show Sub-Attributes
messagestring

Error message

errorstring

Forbidden access error description

codeinteger

Error code

- HTTP code 500 Response Body - application/json

object
Show Sub-Attributes
messagestring

Error message

errorstring

Internal server error description

codeinteger

Error code

Possible HTTP Status Codes

200HTTP code

Custom role created successfully

400HTTP code

Bad request - Invalid parameters or request format

401HTTP code

Unauthorized - Invalid or missing authentication

403HTTP code

Forbidden - Insufficient permissions

500HTTP code

Internal server error

Create custom cost allocation with hierarchical structure

Creates a new custom cost allocation with user-defined hierarchical structure combining accounts, subscriptions, and tag-based levels. Use this to define organizational cost breakdowns for cost center management and departmental allocation.

Request URL

https://www.site24x7.com/cs/api/cost/reports/allocations

Scope

CloudSpend.Internal.Create

Request Parameters

- Request Body

application/json
object
Show Sub-Attributes
namestringMandatory

User-defined name for the allocation

accountsarrayMandatory

Selected accounts with billing account mappings MCP Construction: From accounts_data API response

Show Sub-Attributes
cost_account_idstringOptional

Cost account identifier from accounts_data API MCP Source: all_accounts[].cost_account_id

billing_account_idsarrayOptional

Selected billing accounts within the cost account MCP Source: all_accounts[].child_accounts[].billing_account_id (user selected)

allocation_typeintegerMandatory

Allocation type identifier: 2 = Default allocation 3 = Custom user-defined allocation

orderarrayMandatory

Hierarchical level definitions in top-to-bottom order MCP Construction: User-selected hierarchy from tags API

Show Sub-Attributes
typeintegerOptional

Hierarchy level type: 2 = Account level 3 = Subscription level 5 = Tag-based level

tag_keystringOptional

Level name/identifier MCP Source: - "Accounts"/"Subscriptions": Built-in levels - tag_details[account_id][].name: User-selected tags

tag_variationintegerOptional

Level type identifier MCP Source: - -3335: Accounts level - -3336: Subscriptions level - tag_details[account_id][].variation: Tag-based levels

Response Parameters

- HTTP code 200 Response Body - application/json

object
Show Sub-Attributes
messagestring
dataobject
Show Sub-Attributes
cost_allocation_idstring

Unique identifier for the created allocation

codeinteger

- HTTP code 400 Response Body - application/json

object
Show Sub-Attributes
messagestring

Error message

errorstring

Detailed error description

codeinteger

Error code

- HTTP code 401 Response Body - application/json

object
Show Sub-Attributes
messagestring

Error message

errorstring

Authentication error description

codeinteger

Error code

- HTTP code 403 Response Body - application/json

object
Show Sub-Attributes
messagestring

Error message

errorstring

Forbidden access error description

codeinteger

Error code

- HTTP code 500 Response Body - application/json

object
Show Sub-Attributes
messagestring

Error message

errorstring

Internal server error description

codeinteger

Error code

Possible HTTP Status Codes

200HTTP code

Successfully created cost allocation

400HTTP code

Bad request - Invalid parameters or request format

401HTTP code

Unauthorized - Invalid or missing authentication

403HTTP code

Forbidden - Insufficient permissions

500HTTP code

Internal server error

Get cost allocation reports list

Retrieves list of cost allocation reports with IDs, names, and cloud type associations. Use this to display available allocation reports for user selection before drilling into hierarchy details.

Request URL

https://www.site24x7.com/cs/api/cost/reports/allocations

Scope

CloudSpend.Internal.Read

Response Parameters

- HTTP code 200 Response Body - application/json

object
Show Sub-Attributes
messagestring

Response status message

dataobject

Allocation reports data container

Show Sub-Attributes
allocation_listarray

List of available cost allocation reports

Show Sub-Attributes
namestring

Allocation report name

idstring

Unique allocation identifier

typeinteger

Allocation type (2=Default, 3=Custom)

starredboolean

Whether allocation is starred by user

cloud_typesstring

Supported cloud types ("-1"=All, "0"=AWS, "1"=Azure, "2"=GCP)

codeinteger

Response status code

- HTTP code 400 Response Body - application/json

object
Show Sub-Attributes
messagestring

Error message

errorstring

Detailed error description

codeinteger

Error code

- HTTP code 401 Response Body - application/json

object
Show Sub-Attributes
messagestring

Error message

errorstring

Authentication error description

codeinteger

Error code

- HTTP code 403 Response Body - application/json

object
Show Sub-Attributes
messagestring

Error message

errorstring

Forbidden access error description

codeinteger

Error code

- HTTP code 500 Response Body - application/json

object
Show Sub-Attributes
messagestring

Error message

errorstring

Internal server error description

codeinteger

Error code

Possible HTTP Status Codes

200HTTP code

Successfully retrieved allocation reports list

400HTTP code

Bad request - Invalid parameters or request format

401HTTP code

Unauthorized - Invalid or missing authentication

403HTTP code

Forbidden - Insufficient permissions

500HTTP code

Internal server error

Get resource monthly cost details for named solution report

Provides monthly cost breakdown of individual resource. Use after getResourceCountReports to get monthly cost splits for specific resources.

Request URL

https://www.site24x7.com/cs/api/cost/sol_reports/resource_pagination

Scope

CloudSpend.Internal.Create

Request Parameters

- Request Body

application/json
object
Show Sub-Attributes
end_datedateMandatory

Analysis end date (typically current date)

cost_tagsarrayOptional

Global tag filter. Pass [] when no tag filter. Can be populated to filter costs by tag.

Show Sub-Attributes
vintegerOptional

Tag version or value reference

idstringOptional

Tag identifier for filtering

periodintegerMandatory

Time granularity (-1=monthly splits, 1=daily, 2=weekly)

business_unit_idstringMandatory

Cost center identifier

cost_typeintegerMandatory

Cost calculation type (0=standard, 1=amortized)

propertyobjectMandatory

Property object from group_by_property response

Show Sub-Attributes
vintegerMandatory

Property version or type identifier

idstringMandatory

Property identifier from group_by_property

group_by_tagsarrayOptional

Pass same value used in the parent group_by_property call.

Show Sub-Attributes
vintegerOptional

Tag version for filtering

idstringOptional

Tag identifier for grouping

accountsarrayMandatory

Account scope for analysis

Show Sub-Attributes
cost_account_idstringOptional

Cost account identifier

billing_account_idsarrayOptional

Associated billing account IDs

bu_typeintegerMandatory

Cost center type classification

resource_idsarrayMandatory

Array of resource IDs from resource_count response

group_by_typestringMandatory

Property type for grouping analysis

start_datedateMandatory

Analysis start date (typically previous month 1st)

Response Parameters

- HTTP code 200 Response Body - application/json

object
Show Sub-Attributes
messagestring
dataobject
Show Sub-Attributes
return_dataobject
Show Sub-Attributes
modeinteger

Chart display mode (1=time-series)

valuesobject

Resource-specific cost data with monthly breakdowns

Show Sub-Attributes
codeinteger

Possible HTTP Status Codes

200HTTP code

Resource pagination data retrieved successfully

400HTTP code

Invalid request parameters

401HTTP code

Authentication required

403HTTP code

Access denied to cost centers or accounts

500HTTP code

Internal server error

Get Billed Resource Count by Account

Retrieves the current versus previous month resource count comparison with percentage changes, for infrastructure scaling and optimization.

Request URL

https://www.site24x7.com/cs/api/cost/billed_res_count

Scope

CloudSpend.Internal.Read

Response Parameters

- HTTP code 200 Response Body - application/json

object
Show Sub-Attributes
messagestring

Response message

dataobject
Show Sub-Attributes
dataobject

Resource count data organized by cost account ID

Show Sub-Attributes
codeinteger

Response code (0 = success)

- HTTP code 400 Response Body - application/json

object
Show Sub-Attributes
messagestring

Error message

errorstring

Detailed error description

codeinteger

Error code

- HTTP code 401 Response Body - application/json

object
Show Sub-Attributes
messagestring

Error message

errorstring

Authentication error description

codeinteger

Error code

- HTTP code 404 Response Body - application/json

object
Show Sub-Attributes
messagestring

Error message

errorstring

Not found error description

codeinteger

Error code

- HTTP code 500 Response Body - application/json

object
Show Sub-Attributes
messagestring

Error message

errorstring

Server error description

codeinteger

Error code

Possible HTTP Status Codes

200HTTP code

Resource count comparison response by account with month-over-month analysis.

400HTTP code

Bad request - Invalid parameters or request format

401HTTP code

Unauthorized - Invalid or missing authentication

404HTTP code

Not found - Resource does not exist

500HTTP code

Internal server error

Get cost user settings and configuration

Retrieves all user-configurable settings including email delivery preferences, report branding options, and system integration toggles. Use this to populate the Admin Settings page with current mailer schedules, custom report appearance, and general system configuration.

Request URL

https://www.site24x7.com/cs/api/cost/cost_user_settings

Scope

CloudSpend.Internal.Read

Response Parameters

- HTTP code 200 Response Body - application/json

object
Show Sub-Attributes
messagestring

Response status message

dataobject

Complete user settings configuration

Show Sub-Attributes
custom_report_settings_dataobject

Custom report appearance and branding configuration

Show Sub-Attributes
bg_colorstring

Background color for custom reports (hex format)

from_emailemail

Default sender email for report delivery

image_presentboolean

Whether custom logo image is configured

font_colorstring

Font color for custom reports (hex format)

percision_digitsinteger

Number of decimal places for cost values

company_namestring

Company name for report branding

general_settings_dataobject

General system settings and integration configuration

Show Sub-Attributes
default_from_mailemail

Default from email address for system notifications

monitor_integ_configboolean

Whether Site24x7 monitoring integration is enabled

az_payg_cost_as_actualboolean

Whether to use Azure Pay-as-You-Go cost as actual cost

mailer_settings_dataarray

Email delivery settings and scheduled report configurations

Show Sub-Attributes
report_idstring

Unique identifier for the scheduled report

profileobject

Delivery profile configuration for report scheduling

Show Sub-Attributes
profile_namestring

Display name for the delivery profile

periodinteger

Period type for delivery (0=custom)

hourinteger

Delivery hour in 24-hour format

dayinteger

Day of week or month for delivery

profile_idstring

Profile identifier (-2 for system profiles)

timezonestring

Timezone for delivery scheduling

formatinteger

Report format (1=PDF, 2=CSV)

typeinteger

Report type identifier

report_namestring

Display name for the scheduled report

contact_idsarray

List of recipient contact identifiers

frequencyinteger

Delivery frequency in days

statusinteger

Report status (1=active, 0=inactive)

codeinteger

Response status code

- HTTP code 400 Response Body - application/json

object
Show Sub-Attributes
messagestring

Error message

errorstring

Detailed error description

codeinteger

Error code

- HTTP code 401 Response Body - application/json

object
Show Sub-Attributes
messagestring

Error message

errorstring

Authentication error description

codeinteger

Error code

- HTTP code 403 Response Body - application/json

object
Show Sub-Attributes
messagestring

Error message

errorstring

Forbidden access error description

codeinteger

Error code

- HTTP code 500 Response Body - application/json

object
Show Sub-Attributes
messagestring

Error message

errorstring

Internal server error description

codeinteger

Error code

Possible HTTP Status Codes

200HTTP code

Successfully retrieved user settings

400HTTP code

Bad request - Invalid parameters or request format

401HTTP code

Unauthorized - Invalid or missing authentication

403HTTP code

Forbidden - Insufficient permissions

500HTTP code

Internal server error

Get admin details and workspace information

Retrieves admin workspace details including contact ID, subscription validity range, and workspace migration status. Use this as the first call when initializing the admin dashboard to get the current user context and subscription period.

Request URL

https://www.site24x7.com/cs/api/cost/admin/details

Scope

CloudSpend.Internal.Read

Response Parameters

- HTTP code 200 Response Body - application/json

object
Show Sub-Attributes
messagestring

Response status message

dataobject

Admin details and workspace information

Show Sub-Attributes
workspace_migration_infoarray

Information about workspace migration status and progress

Show Sub-Attributes
contact_idstring

Administrative contact identifier for the current user

subscription_rangeobject

Subscription validity period and access range

Show Sub-Attributes
min_date_stringdate-time

Subscription start date and time

max_date_stringdate-time

Subscription end date and time

codeinteger

Response status code

- HTTP code 400 Response Body - application/json

object
Show Sub-Attributes
messagestring

Error message

errorstring

Detailed error description

codeinteger

Error code

- HTTP code 401 Response Body - application/json

object
Show Sub-Attributes
messagestring

Error message

errorstring

Authentication error description

codeinteger

Error code

- HTTP code 403 Response Body - application/json

object
Show Sub-Attributes
messagestring

Error message

errorstring

Forbidden access error description

codeinteger

Error code

- HTTP code 500 Response Body - application/json

object
Show Sub-Attributes
messagestring

Error message

errorstring

Internal server error description

codeinteger

Error code

Possible HTTP Status Codes

200HTTP code

Successfully retrieved admin details

400HTTP code

Bad request - Invalid parameters or request format

401HTTP code

Unauthorized - Invalid or missing authentication

403HTTP code

Forbidden - Insufficient permissions

500HTTP code

Internal server error

Create unit economics scheduled report

Creates a scheduled Unit Economics report with configurable delivery frequency, timing, and recipients. Use this to automate Unit Economics report generation and distribution.

Request URL

https://www.site24x7.com/cs/api/cost/reports/unit/economics/schedule/report

Scope

CloudSpend.Internal.Create

Request Parameters

- Request Body

application/json
object

Scheduled report configuration using CostReport template (max-len 110000)

Show Sub-Attributes
labels_to_deletearrayOptional

Label IDs to remove from the report (0-10 items)

account_typeintegerOptional

Account type identifier (e.g., 0=AWS, 1=Azure, 2=GCP)

solutionReportIdintegerOptional

Solution report ID for report context

checks_typeintegerOptional

Check type identifier for report filtering

typeintegerMandatory

Report type identifier

frequencyintegerMandatory

Delivery frequency - 1=Monthly, 4=Daily, 7=Weekly

labels_to_addarrayOptional

Labels to add to the report (0-10 items)

Show Sub-Attributes
valuestringOptional

Label value

keystringOptional

Label key

usage_typelongOptional

Usage type filter

cloudTypeintegerOptional

Cloud provider type - 0=AWS, 1=Azure, 2=GCP

product_idlongOptional

Cloud product/service ID for scoping

service_idlongOptional

Service ID to filter the report

bu_idlongOptional

Cost center ID to scope the report

is_multi_stepintegerOptional

Whether this is a multi-step budget report (0=No, 1=Yes)

profileobjectMandatory

Schedule profile configuration defining delivery timing

Show Sub-Attributes
profile_namestring(length <= 249)Optional

Display name for the profile (max 249 chars)

periodintegerOptional

Report period type (1=current month, 7=last week, 11=last month, 14=current month)

hourintegerOptional

Hour for report delivery (0-23)

monthintegerOptional

Month for delivery (0-11)

profile_idlongOptional

Profile ID from schedule profiles API

timezonestring(length <= 50)Optional

Timezone for report delivery

dayintegerOptional

Day of month for delivery (1-31)

frequencyintegerOptional

Profile frequency override - 1=Monthly, 4=Daily, 7=Weekly

formatintegerMandatory

Report output format - 1=PDF

region_idlongOptional

Region ID to filter the report

billed_account_idarrayOptional

Billed account IDs to include (0-100 items)

labelarrayOptional

Labels associated with the report (0-10 items)

Show Sub-Attributes
valuestringOptional

Label value

keystringOptional

Label key

contact_idsarrayMandatory

Recipients for report delivery (1-5000 contacts)

Show Sub-Attributes
contact_idlongMandatory

User/group ID from /cs/api/cost/reports/users API

contact_typeintegerMandatory

Contact type - 1=User, 2=Group

usage_unitlongOptional

Usage unit filter

cost_idsarrayOptional

Cost account IDs included in the report (0-250 items)

isCustomTaggingCompliancebooleanOptional

Whether this uses a custom tagging compliance report

anomaly_statusintegerOptional

Anomaly status filter for report

config_idlongOptional

Configuration ID for report settings

report_idlongOptional

Existing report ID to update. Omit when creating a new scheduled report.

taggingComplianceIdlongOptional

Tagging compliance report ID

categoryintegerOptional

Report category identifier

report_namestringMandatory

Display name for the scheduled report

group_by_typeintegerOptional

Grouping dimension for report data

plan_idlongOptional

Plan ID for reservation/savings plan context

statusintegerOptional

Report status (0=disabled, 1=enabled)

Response Parameters

- HTTP code 200 Response Body - application/json

object
Show Sub-Attributes
messagestring

Response status message

dataobject

Created scheduled report details

Show Sub-Attributes
codeinteger

Response status code

- HTTP code 400 Response Body - application/json

object
Show Sub-Attributes
messagestring

Error message

errorstring

Detailed error description

codeinteger

Error code

- HTTP code 401 Response Body - application/json

object
Show Sub-Attributes
messagestring

Error message

errorstring

Authentication error description

codeinteger

Error code

- HTTP code 403 Response Body - application/json

object
Show Sub-Attributes
messagestring

Error message

errorstring

Forbidden access error description

codeinteger

Error code

- HTTP code 500 Response Body - application/json

object
Show Sub-Attributes
messagestring

Error message

errorstring

Internal server error description

codeinteger

Error code

Possible HTTP Status Codes

200HTTP code

Successfully created Unit Economics scheduled report

400HTTP code

Bad request - Invalid parameters or request format

401HTTP code

Unauthorized - Invalid or missing authentication

403HTTP code

Forbidden - Insufficient permissions

500HTTP code

Internal server error

Get unit economics custom report details

Retrieves full configuration and details of a specific Unit Economics custom report by its ID. Use this to render or edit a selected custom report with its account scope, tags, and settings.

Request URL

https://www.site24x7.com/cs/api/cost/reports/unit/economics/custom/report/details/{report_id}

Scope

CloudSpend.Internal.Read

Request Parameters

- Path Parameters
report_idlongMandatory

Unique identifier of the Unit Economics custom report

Response Parameters

- HTTP code 200 Response Body - application/json

object
Show Sub-Attributes
messagestring

Response status message

dataobject

Full custom report configuration and details

Show Sub-Attributes
namestring

Report name

account_typeinteger

Account type identifier

idstring

Report unique identifier

account_idlong

Associated cost account ID

tagsstring

Tags filter configuration

labelsarray

Associated labels

Show Sub-Attributes
codeinteger

Response status code

- HTTP code 400 Response Body - application/json

object
Show Sub-Attributes
messagestring

Error message

errorstring

Detailed error description

codeinteger

Error code

- HTTP code 401 Response Body - application/json

object
Show Sub-Attributes
messagestring

Error message

errorstring

Authentication error description

codeinteger

Error code

- HTTP code 403 Response Body - application/json

object
Show Sub-Attributes
messagestring

Error message

errorstring

Forbidden access error description

codeinteger

Error code

- HTTP code 500 Response Body - application/json

object
Show Sub-Attributes
messagestring

Error message

errorstring

Internal server error description

codeinteger

Error code

Possible HTTP Status Codes

200HTTP code

Successfully retrieved Unit Economics custom report details

400HTTP code

Bad request - Invalid parameters or request format

401HTTP code

Unauthorized - Invalid or missing authentication

403HTTP code

Forbidden - Insufficient permissions

500HTTP code

Internal server error

Get all scheduled reports by category

Retrieves all scheduled reports grouped by category (Accounts, Cost Centers, Checks, Reports, Licensing) with delivery frequency, format, profile, and recipient details. Use this to display the Schedule Report management table in Admin > User Management > Schedule Report.

Request URL

https://www.site24x7.com/cs/api/cost/reports

Scope

CloudSpend.Internal.Read

Response Parameters

- HTTP code 200 Response Body - application/json

object
Show Sub-Attributes
messagestring
dataobject
Show Sub-Attributes
return_dataobject

Scheduled reports grouped by category name

Show Sub-Attributes
codeinteger

- HTTP code 400 Response Body - application/json

object
Show Sub-Attributes
messagestring

Error message

errorstring

Detailed error description

codeinteger

Error code

- HTTP code 401 Response Body - application/json

object
Show Sub-Attributes
messagestring

Error message

errorstring

Authentication error description

codeinteger

Error code

- HTTP code 403 Response Body - application/json

object
Show Sub-Attributes
messagestring

Error message

errorstring

Forbidden access error description

codeinteger

Error code

- HTTP code 500 Response Body - application/json

object
Show Sub-Attributes
messagestring

Error message

errorstring

Internal server error description

codeinteger

Error code

Possible HTTP Status Codes

200HTTP code

Successfully retrieved all scheduled reports

400HTTP code

Bad request - Invalid parameters or request format

401HTTP code

Unauthorized - Invalid or missing authentication

403HTTP code

Forbidden - Insufficient permissions

500HTTP code

Internal server error

Get anomaly timeline chart data

Retrieves anomaly timeline chart data showing occurrence patterns and severity levels over time. Use this to visualize anomaly occurrence frequency and severity trends for a specific anomaly check.

Request URL

https://www.site24x7.com/cs/api/checks/anomaly/chart

Scope

CloudSpend.Internal.Read

Request Parameters

- Query Parameters
anomaly_idstringMandatory

Anomaly identifier with occurrences > 0

start_datedateMandatory

Start date for chart data analysis (YYYY-MM-DD)

end_datedateMandatory

End date for chart data analysis (YYYY-MM-DD)

Response Parameters

- HTTP code 200 Response Body - application/json

object
Show Sub-Attributes
messagestring
dataobject
Show Sub-Attributes
metaobject
Show Sub-Attributes
last_detected_timestampstring

Last detection timestamp (ISO format)

anomaly_idstring

Anomaly identifier

cloud_type_namestring

Cloud provider name

last_detected_timestring

Last detection Unix timestamp

anomaly_namestring

Name of the anomaly

categorystring

Anomaly category classification

total_occurencesstring

Total number of anomaly occurrences

chart_dataobject

Chart data organized by anomaly categories with timestamp-count pairs

Show Sub-Attributes
codeinteger

- HTTP code 400 Response Body - application/json

object
Show Sub-Attributes
messagestring

Error message

errorstring

Detailed error description

codeinteger

Error code

- HTTP code 401 Response Body - application/json

object
Show Sub-Attributes
messagestring

Error message

errorstring

Authentication error description

codeinteger

Error code

- HTTP code 500 Response Body - application/json

object
Show Sub-Attributes
messagestring

Error message

errorstring

Server error description

codeinteger

Error code

Possible HTTP Status Codes

200HTTP code

Successfully retrieved anomaly chart data

400HTTP code

Bad request - Invalid parameters or request format

401HTTP code

Unauthorized - Invalid or missing authentication

500HTTP code

Internal server error

Get cloud cost grouped by entities (summary report - step 5)

Retrieves cloud cost grouped by entity type for top-N spending analysis with cost rankings. Use this to display the Top N Report widget showing top spending accounts, services, regions, or resource groups.

Request URL

https://www.site24x7.com/cs/api/cost/cloud_group_by_entities

Scope

CloudSpend.Internal.Read

Request Parameters

- Query Parameters
JSONStringstringMandatory

JSON string with date range and grouping params. Must be URL-encoded.

Response Parameters

- HTTP code 200 Response Body - application/json

object
Show Sub-Attributes
messagestring

Response status message

dataobject

Grouped cost data container

Show Sub-Attributes
dataarray

Array of cost entities grouped by specified criteria

Show Sub-Attributes
cloudstring

Cloud provider name

namestring

Entity name (account, service, region, etc. based on group_by_type)

acc_namestring

Account configuration name

costfloat

Cost amount for this entity

codeinteger

Response status code (0 = success)

- HTTP code 400 Response Body - application/json

object
Show Sub-Attributes
messagestring

Error message

errorstring

Detailed error description

codeinteger

Error code

- HTTP code 401 Response Body - application/json

object
Show Sub-Attributes
messagestring

Error message

errorstring

Authentication error description

codeinteger

Error code

- HTTP code 403 Response Body - application/json

object
Show Sub-Attributes
messagestring

Error message

errorstring

Forbidden access error description

codeinteger

Error code

- HTTP code 500 Response Body - application/json

object
Show Sub-Attributes
messagestring

Error message

errorstring

Internal server error description

codeinteger

Error code

Possible HTTP Status Codes

200HTTP code

Successfully retrieved grouped cloud cost data

400HTTP code

Bad request - Invalid parameters or request format

401HTTP code

Unauthorized - Invalid or missing authentication

403HTTP code

Forbidden - Insufficient permissions

500HTTP code

Internal server error

Get tags for specific resource

Retrieves all tags assigned to a specific resource including system tags and custom user tags.

Request URL

https://www.site24x7.com/cs/api/cost/accounts/resource_explorer/resource/{resource_id}/tags

Scope

CloudSpend.Internal.Read

Request Parameters

- Path Parameters
resource_idstringMandatory

Resource ID to retrieve tags for

- Request Body

application/json
object
Show Sub-Attributes
cost_account_idstringMandatory

Cost account ID that owns the resource

Response Parameters

- HTTP code 200 Response Body - application/json

object
Show Sub-Attributes
messagestring
dataobject
Show Sub-Attributes
return_dataarray
Show Sub-Attributes
namestring

Tag key name

idstring

Unique tag identifier

valuestring

Tag value

variationinteger

Tag variation type

codeinteger

- HTTP code 400 Response Body - application/json

object
Show Sub-Attributes
messagestring

Error message

errorstring

Detailed error description

codeinteger

Error code

- HTTP code 401 Response Body - application/json

object
Show Sub-Attributes
messagestring

Error message

errorstring

Authentication error description

codeinteger

Error code

- HTTP code 404 Response Body - application/json

object
Show Sub-Attributes
messagestring

Error message

errorstring

Not found error description

codeinteger

Error code

- HTTP code 500 Response Body - application/json

object
Show Sub-Attributes
messagestring

Error message

errorstring

Server error description

codeinteger

Error code

Possible HTTP Status Codes

200HTTP code

Resource tags with system and custom tag information.

400HTTP code

Bad request - Invalid parameters or request format

401HTTP code

Unauthorized - Invalid or missing authentication

404HTTP code

Not found - Resource does not exist

500HTTP code

Internal server error

Get all tag profiles

Retrieves all tag profiles with their display names, color codes, associated cost accounts, and tag mapping rules. Use this to display the Tag Profiles table in Admin > Profiles > Tag tab for managing tag-based resource categorization.

Request URL

https://www.site24x7.com/cs/api/cost/admin/tag_profiles

Scope

CloudSpend.Internal.Read

Response Parameters

- HTTP code 200 Response Body - application/json

object
Show Sub-Attributes
messagestring

Response status message

dataobject
Show Sub-Attributes
return_dataarray

Array of tag profile configurations

Show Sub-Attributes
colorstring

Color code for visual identification

tagIdstring

Unique identifier for the tag profile

vinteger

Version number

codeinteger

Response status code

- HTTP code 400 Response Body - application/json

object
Show Sub-Attributes
messagestring

Error message

errorstring

Detailed error description

codeinteger

Error code

- HTTP code 401 Response Body - application/json

object
Show Sub-Attributes
messagestring

Error message

errorstring

Authentication error description

codeinteger

Error code

- HTTP code 403 Response Body - application/json

object
Show Sub-Attributes
messagestring

Error message

errorstring

Forbidden access error description

codeinteger

Error code

- HTTP code 500 Response Body - application/json

object
Show Sub-Attributes
messagestring

Error message

errorstring

Internal server error description

codeinteger

Error code

Possible HTTP Status Codes

200HTTP code

Successfully retrieved tag profiles list

400HTTP code

Bad request - Invalid parameters or request format

401HTTP code

Unauthorized - Invalid or missing authentication

403HTTP code

Forbidden - Insufficient permissions

500HTTP code

Internal server error

Get cost centers tags

Retrieves tag mappings for cost accounts within cost centers including system and custom tags per account. Use this to get available tags for cost allocation, filtering, or tag-based grouping in downstream analysis APIs.

Request URL

https://www.site24x7.com/cs/api/cost/cost_centers/cc_tags

Scope

CloudSpend.Internal.Read

Request Parameters

- Query Parameters
JSONStringstringMandatory

JSON string containing array of cost account IDs obtained from listCostCenters response.

Response Parameters

- HTTP code 200 Response Body - application/json

object
Show Sub-Attributes
messagestring

Response message

dataobject
Show Sub-Attributes
metaobject

Maps each cost account ID to its descriptive cloud provider name

Show Sub-Attributes
bu_tag_Dataobject

Maps cost account IDs to comprehensive tag arrays. Each account contains both system-generated and user-defined tags organized by tag categories.

Show Sub-Attributes
codeinteger

Status code of the response (0 indicates success)

- HTTP code 400 Response Body - application/json

object
Show Sub-Attributes
messagestring

Error message

errorstring

Detailed error description

codeinteger

Error code

- HTTP code 401 Response Body - application/json

object
Show Sub-Attributes
messagestring

Error message

errorstring

Authentication error description

codeinteger

Error code

- HTTP code 500 Response Body - application/json

object
Show Sub-Attributes
messagestring

Error message

errorstring

Server error description

codeinteger

Error code

Possible HTTP Status Codes

200HTTP code

Successfully retrieved cost centers tags

400HTTP code

Bad request - Invalid parameters or request format

401HTTP code

Unauthorized - Invalid or missing authentication

500HTTP code

Internal server error

Create or configure cost centers

Creates a new cost centers or configure an existing one with account assignments and optional tags. Use this to set up cost centers by assigning billing_account_ids from child accounts and optional cost tags.

Request URL

https://www.site24x7.com/cs/api/cost/cost_center

Scope

CloudSpend.Internal.Create

Request Parameters

- Request Body

application/json
object
Show Sub-Attributes
business_unit_namestringMandatory

Display name for the cost centers

cost_tagsarrayOptional

Optional tags from BUGetBusinessUnitTags. Format [{id,v}] or empty []

Show Sub-Attributes
vintegerOptional

Tag version

idstringOptional

Tag ID from bu_tags response

integrated_zaaidsarrayOptional

Integrated ZAAID list (usually empty)

billing_account_idsarrayMandatory

Array of child billing account IDs from BUGetBusinessUnitAccountsData.child_accounts[].billing_account_id

Response Parameters

- HTTP code 200 Response Body - application/json

object
Show Sub-Attributes
messagestring

Response message

dataobject
Show Sub-Attributes
business_unit_idstring

Created cost centers identifier

codeinteger

Status code (0 indicates success)

- HTTP code 400 Response Body - application/json

object
Show Sub-Attributes
messagestring

Error message

errorstring

Detailed error description

codeinteger

Error code

- HTTP code 401 Response Body - application/json

object
Show Sub-Attributes
messagestring

Error message

errorstring

Authentication error description

codeinteger

Error code

- HTTP code 500 Response Body - application/json

object
Show Sub-Attributes
messagestring

Error message

errorstring

Server error description

codeinteger

Error code

Possible HTTP Status Codes

200HTTP code

Cost centers created/configured successfully

400HTTP code

Bad request - Invalid parameters or request format

401HTTP code

Unauthorized - Invalid or missing authentication

500HTTP code

Internal server error

Get governance check tags

Retrieves tag information for governance checks including resource identification and compliance tracking tags. Use this to inspect tag key-value pairs associated with a governance check for resource attribution and compliance analysis.

Request URL

https://www.site24x7.com/cs/api/cost/governance/checks/tags

Scope

CloudSpend.Internal.Read

Request Parameters

- Query Parameters
governanceCheckIdstringMandatory

Governance check identifier.

Response Parameters

- HTTP code 200 Response Body - application/json

object
Show Sub-Attributes
messagestring
dataobject
Show Sub-Attributes
tagsobject
Show Sub-Attributes
tagsstring

Tag information with key-value pairs

codeinteger

- HTTP code 400 Response Body - application/json

object
Show Sub-Attributes
messagestring

Error message

errorstring

Detailed error description

codeinteger

Error code

- HTTP code 401 Response Body - application/json

object
Show Sub-Attributes
messagestring

Error message

errorstring

Authentication error description

codeinteger

Error code

- HTTP code 500 Response Body - application/json

object
Show Sub-Attributes
messagestring

Error message

errorstring

Server error description

codeinteger

Error code

Possible HTTP Status Codes

200HTTP code

Successfully retrieved governance check tags

400HTTP code

Bad request - Invalid parameters or request format

401HTTP code

Unauthorized - Invalid or missing authentication

500HTTP code

Internal server error

Get similar anomaly recommendations

Retrieves similar anomalies for comparative analysis and pattern recognition across categories. Use this to find related anomalies that may share root causes with the current anomaly for correlation analysis.

Request URL

https://www.site24x7.com/cs/api/reports/anomaly/summary/list/similar

Scope

CloudSpend.Internal.Read

Request Parameters

- Query Parameters
anomaly_idstringMandatory

Base anomaly identifier for similarity analysis

start_datedateMandatory

Analysis start date for similar anomaly detection

end_datedateMandatory

Analysis end date for similar anomaly detection

Response Parameters

- HTTP code 200 Response Body - application/json

object
Show Sub-Attributes
messagestring
dataobject
Show Sub-Attributes
similar_anomaliesarray

List of related anomalies for comparison analysis

Show Sub-Attributes
anomaly_namestring

Related anomaly name (region, service, account name)

categoryinteger

Category type for the related anomaly

anomaly_idstring

Related anomaly identifier

codeinteger

- HTTP code 400 Response Body - application/json

object
Show Sub-Attributes
messagestring

Error message

errorstring

Detailed error description

codeinteger

Error code

- HTTP code 401 Response Body - application/json

object
Show Sub-Attributes
messagestring

Error message

errorstring

Authentication error description

codeinteger

Error code

- HTTP code 403 Response Body - application/json

object
Show Sub-Attributes
messagestring

Error message

errorstring

Forbidden access error description

codeinteger

Error code

- HTTP code 500 Response Body - application/json

object
Show Sub-Attributes
messagestring

Error message

errorstring

Internal server error description

codeinteger

Error code

Possible HTTP Status Codes

200HTTP code

Successfully retrieved similar anomalies

400HTTP code

Bad request - Invalid parameters or request format

401HTTP code

Unauthorized - Invalid or missing authentication

403HTTP code

Forbidden - Insufficient permissions

500HTTP code

Internal server error

Get all report profiles for scheduled reporting

Retrieves all report delivery profiles containing scheduling templates with frequency, period, timezone, and delivery time configurations. Use this to display the Profiles table under Admin Settings and to populate profile selection dropdowns when scheduling reports.

Request URL

https://www.site24x7.com/cs/api/cost/report/profiles

Scope

CloudSpend.Internal.Read

Response Parameters

- HTTP code 200 Response Body - application/json

object
Show Sub-Attributes
messagestring

Response status message

dataobject

Report profiles data container

Show Sub-Attributes
return_dataobject
Show Sub-Attributes
return_dataarray

Array of report profile configurations

Show Sub-Attributes
periodinteger

Report period/time range - 1: Last Month - 2: Last Quarter - 3: Last Year - 4: Yesterday - 5: Last 3 Months - 6: Last 6 Months - 7: Last Week - 8: Last 7 Days - 9: Last 30 Days - 10: This Week - 11: This Month - 12: This Quarter - 13: This Year - 14: Default

report_hour_meridieminteger

AM/PM indicator (1=AM, 2=PM)

timezonestring

Timezone for report delivery scheduling

report_hourinteger

Hour of day for report delivery (24-hour format)

report_hour_meridiem_textstring

Text representation of AM/PM

frequencyinteger

Report delivery frequency in days - 1: Monthly - 4: Daily - 7: Weekly - 30: Quarterly (every 90 days) - 365: Yearly

report_dayinteger

Day of week (for weekly) or day of month (for monthly)

report_timeinteger

Report time in 24-hour format

profile_idstring

Unique identifier for the profile

default_profileinteger

Whether this is a system default profile (1=default, 0=custom)

namestring

Display name for the profile

report_monthinteger

Month specification for yearly reports

configstring

Additional configuration data (typically timezone)

codeinteger

Response status code

- HTTP code 400 Response Body - application/json

object
Show Sub-Attributes
messagestring

Error message

errorstring

Detailed error description

codeinteger

Error code

- HTTP code 401 Response Body - application/json

object
Show Sub-Attributes
messagestring

Error message

errorstring

Authentication error description

codeinteger

Error code

- HTTP code 403 Response Body - application/json

object
Show Sub-Attributes
messagestring

Error message

errorstring

Forbidden access error description

codeinteger

Error code

- HTTP code 500 Response Body - application/json

object
Show Sub-Attributes
messagestring

Error message

errorstring

Internal server error description

codeinteger

Error code

Possible HTTP Status Codes

200HTTP code

Successfully retrieved report profiles

400HTTP code

Bad request - Invalid parameters or request format

401HTTP code

Unauthorized - Invalid or missing authentication

403HTTP code

Forbidden - Insufficient permissions

500HTTP code

Internal server error

Get cost centers scoped configuration for solution reports

Returns scoped account, cloud type, and date range for a given cost centers across AWS, Azure, or GCP. Use this to retrieve the configuration context required for solution reports.

Request URL

https://www.site24x7.com/cs/api/cost/reports/cc_spend_analysis

Scope

CloudSpend.Internal.Read

Request Parameters

- Query Parameters
auto_bubooleanMandatory

Automatically configure cost centers parameters

business_unit_idstringMandatory

Target cost centers identifier for spend analysis

Response Parameters

- HTTP code 200 Response Body - application/json

object
Show Sub-Attributes
messagestring
dataobject
Show Sub-Attributes
max_datedate-time

Maximum date boundary for analysis

is_hybrid_accountboolean

Whether account spans multiple cloud providers

cost_account_idsarray

List of cost account identifiers

cloud_typeinteger

Primary cloud provider type (0=AWS, 1=Azure, 2=GCP)

all_accountsarray
Show Sub-Attributes
child_accountsarray
Show Sub-Attributes
billing_account_idstring
namestring
aws_account_idstring
cost_account_idstring
is_payer_accountboolean
name_with_entitystring
account_namestring
business_unit_tagsarray
Show Sub-Attributes
vstring
idstring
default_tagsarray
Show Sub-Attributes
tagIdstring
valuestring
vinteger
keystring
idstring
integrated_zaaidsarray
bu_typeinteger

Cost center type classification

min_datedate-time

Minimum date boundary for analysis

codeinteger

Possible HTTP Status Codes

200HTTP code

Cost center spend analysis data retrieved successfully

400HTTP code

Invalid parameters provided

401HTTP code

Authentication required

403HTTP code

Access denied to cost centers

500HTTP code

Internal server error

Get anomaly user settings and configuration

Retrieves user settings for anomaly cost reporting including mailer settings, report appearance, and general preferences. Use this to get current reporting configuration for anomaly notifications, including scheduling, branding, and email settings.

Request URL

https://www.site24x7.com/cs/api/cost/anomaly/cost_user_settings

Scope

CloudSpend.Internal.Read

Response Parameters

- HTTP code 200 Response Body - application/json

object
Show Sub-Attributes
messagestring
dataobject
Show Sub-Attributes
custom_report_settings_dataobject

Custom report appearance and branding configuration

Show Sub-Attributes
bg_colorstring

Background color for custom reports (hex color code)

from_emailemail

Default sender email for custom reports

image_presentboolean

Whether company logo is present in reports

font_colorstring

Font color for custom reports (hex color code)

percision_digitsinteger

Number of decimal places for cost values

company_namestring

Company name for report branding

general_settings_dataobject

General user preferences and configuration settings

Show Sub-Attributes
default_from_mailemail

Default sender email for general notifications

monitor_integ_configboolean

Whether monitoring integration is configured

az_payg_cost_as_actualboolean

Whether to treat Azure Pay-as-you-go cost as actual cost

mailer_settings_dataarray

Cost report mailer configuration with scheduling and contact settings

Show Sub-Attributes
report_idstring

Unique report identifier

profileobject

Report scheduling profile configuration

Show Sub-Attributes
profile_namestring

Display name for the report profile

periodinteger

Report period type (0=weekly)

hourinteger

Hour of day for report generation (24-hour format)

dayinteger

Day of week for report generation (1-7)

profile_idstring

Profile identifier

timezonestring

Timezone for report scheduling

formatinteger

Report format type (1=standard format)

typeinteger

Report type identifier (-2=weekly summary)

report_namestring

Human-readable report name

contact_idsarray

List of contact IDs for report recipients (can be empty)

frequencyinteger

Report frequency in days (7=weekly)

statusinteger

Report status (1=active, 0=inactive)

codeinteger

- HTTP code 400 Response Body - application/json

object
Show Sub-Attributes
messagestring

Error message

errorstring

Detailed error description

codeinteger

Error code

- HTTP code 401 Response Body - application/json

object
Show Sub-Attributes
messagestring

Error message

errorstring

Authentication error description

codeinteger

Error code

- HTTP code 500 Response Body - application/json

object
Show Sub-Attributes
messagestring

Error message

errorstring

Server error description

codeinteger

Error code

Possible HTTP Status Codes

200HTTP code

Successfully retrieved anomaly user settings and configuration

400HTTP code

Bad request - Invalid parameters or request format

401HTTP code

Unauthorized - Invalid or missing authentication

500HTTP code

Internal server error

Get budget metadata for all budgets

Retrieves metadata for all budget, anomaly, and governance policies including their IDs, names, account types, check types, periods, and status. Use this to populate budget selection lists in permission boundary configuration and for displaying the budget policies overview.

Request URL

https://www.site24x7.com/cs/api/cost/admin/budget_meta

Scope

CloudSpend.Internal.Read

Response Parameters

- HTTP code 200 Response Body - application/json

object
Show Sub-Attributes
messagestring
dataobject
Show Sub-Attributes
budget_dataarray

Array of all budget configurations

Show Sub-Attributes
account_typeinteger

Account type: - 0: Cloud Account - 1: Cost Center - 2: Solution Report

periodstring

Budget period (Monthly, Daily, YTD)

account_idstring

Associated account/BU/report ID

policy_idstring

Associated budget policy ID

budget_idstring

Unique budget identifier

namestring

Budget display name

checks_typestring

Budget check type: - BUDGET: Cost threshold checks - ANOMALY: Anomaly detection - GOVERNANCE: Compliance policies

statusinteger

Budget status (1=active, 2=paused)

codeinteger

- HTTP code 400 Response Body - application/json

object
Show Sub-Attributes
messagestring

Error message

errorstring

Detailed error description

codeinteger

Error code

- HTTP code 401 Response Body - application/json

object
Show Sub-Attributes
messagestring

Error message

errorstring

Authentication error description

codeinteger

Error code

- HTTP code 403 Response Body - application/json

object
Show Sub-Attributes
messagestring

Error message

errorstring

Forbidden access error description

codeinteger

Error code

- HTTP code 500 Response Body - application/json

object
Show Sub-Attributes
messagestring

Error message

errorstring

Internal server error description

codeinteger

Error code

Possible HTTP Status Codes

200HTTP code

Successfully retrieved budget metadata

400HTTP code

Bad request - Invalid parameters or request format

401HTTP code

Unauthorized - Invalid or missing authentication

403HTTP code

Forbidden - Insufficient permissions

500HTTP code

Internal server error

Get individual resource trend chart data

Retrieves daily cost trend data points for a specific resource over a date range. Use this to display cost trend charts for individual resources showing how resource cost changes over time.

Request URL

https://www.site24x7.com/cs/api/cost/ri_resouce_trend_chart

Scope

CloudSpend.Internal.Read

Request Parameters

- Request Body

application/json
object
Show Sub-Attributes
end_datedateMandatory

Resource trend analysis end date

resource_idstringMandatory

Specific resource ID for trend analysis

accountsarrayMandatory

Array of account configurations for resource trend analysis

Show Sub-Attributes
cost_account_idstringMandatory

Parent cost account identifier

billing_account_idsarrayMandatory

Array of billing account IDs for resource analysis

start_datedateMandatory

Resource trend analysis start date

Response Parameters

- HTTP code 200 Response Body - application/json

object
Show Sub-Attributes
messagestring

Response status message

dataobject

Resource cost trend data for chart visualization

Show Sub-Attributes
resource_costarray

Array of time-series cost data points for the resource

codeinteger

Response status code

- HTTP code 400 Response Body - application/json

object
Show Sub-Attributes
messagestring

Error message

errorstring

Detailed error description

codeinteger

Error code

- HTTP code 401 Response Body - application/json

object
Show Sub-Attributes
messagestring

Error message

errorstring

Authentication error description

codeinteger

Error code

- HTTP code 403 Response Body - application/json

object
Show Sub-Attributes
messagestring

Error message

errorstring

Forbidden access error description

codeinteger

Error code

- HTTP code 500 Response Body - application/json

object
Show Sub-Attributes
messagestring

Error message

errorstring

Internal server error description

codeinteger

Error code

Possible HTTP Status Codes

200HTTP code

Successfully retrieved resource trend chart data

400HTTP code

Bad request - Invalid parameters or request format

401HTTP code

Unauthorized - Invalid or missing authentication

403HTTP code

Forbidden - Insufficient permissions

500HTTP code

Internal server error

List msp customer alert configurations for reports module

Retrieves alert configurations for MSP customers within the reports module context.

Request URL

https://www.site24x7.com/cs/api/cost/reports/integration/msp_alert_configs

Scope

CloudSpend.Internal.Read

Request Parameters

- Query Parameters
JSONStringstringOptional

JSON string containing MSP customer filter parameters

Response Parameters

- HTTP code 200 Response Body - application/json

- HTTP code 400 Response Body - application/json

object
Show Sub-Attributes
messagestring

Error message

errorstring

Detailed error description

codeinteger

Error code

- HTTP code 401 Response Body - application/json

object
Show Sub-Attributes
messagestring

Error message

errorstring

Authentication error description

codeinteger

Error code

- HTTP code 500 Response Body - application/json

object
Show Sub-Attributes
messagestring

Error message

errorstring

Internal server error description

codeinteger

Error code

Possible HTTP Status Codes

200HTTP code

Successfully retrieved MSP alert configurations

400HTTP code

Bad request - Invalid parameters or request format

401HTTP code

Unauthorized - Invalid or missing authentication

500HTTP code

Internal server error

Get anomaly metadata details

Retrieves anomaly metadata with financial impact analysis, deviation percentages, and status tracking. Use this to get detailed incident metadata including expected vs actual cost, deviation %, and severity for documentation.

Request URL

https://www.site24x7.com/cs/api/checks/anomaly/details/meta

Scope

CloudSpend.Internal.Read

Request Parameters

- Query Parameters
anomaly_idstringMandatory

Anomaly identifier

detected_timestringMandatory

Unix timestamp in milliseconds when specific anomaly instance was detected.

Response Parameters

- HTTP code 200 Response Body - application/json

object
Show Sub-Attributes
messagestring
dataobject
Show Sub-Attributes
infoobject
Show Sub-Attributes
updated_timestring

Unix timestamp when anomaly was last updated

anomaly_idstring

Anomaly identifier

detected_timestring

Unix timestamp when anomaly was detected

currency_symbolstring

Currency symbol for cost values

currency_localestring

Currency locale for formatting

anomaly_namestring

Name of the anomaly

deviation_percentnumber

Percentage deviation from expected value

anomaly_levelstring

Severity level of the anomaly

currency_codestring

ISO currency code

cloud_type_namestring

Cloud provider name

updated_timestampstring

Human-readable update timestamp

anomaly_statusstring

Current status of the anomaly

anomaly_status_codeinteger

Numeric status code

anomaly_typestring

Type of anomaly detected

expected_valuenumber

Expected cost value

detected_timestampstring

Human-readable detection timestamp

valuenumber

Actual cost value that triggered anomaly

codeinteger

- HTTP code 400 Response Body - application/json

object
Show Sub-Attributes
messagestring

Error message

errorstring

Detailed error description

codeinteger

Error code

- HTTP code 401 Response Body - application/json

object
Show Sub-Attributes
messagestring

Error message

errorstring

Authentication error description

codeinteger

Error code

- HTTP code 500 Response Body - application/json

object
Show Sub-Attributes
messagestring

Error message

errorstring

Server error description

codeinteger

Error code

Possible HTTP Status Codes

200HTTP code

Successfully retrieved anomaly metadata

400HTTP code

Bad request - Invalid parameters or request format

401HTTP code

Unauthorized - Invalid or missing authentication

500HTTP code

Internal server error

Get detailed resource list with cost data for specific billing account

Retrieves a detailed resource list with IDs and cost data for a specific billing account.

Request URL

https://www.site24x7.com/cs/api/cost/accounts/resource_count

Scope

CloudSpend.Internal.Create

Request Parameters

- Request Body

application/json
object
Show Sub-Attributes
end_datedateMandatory

End date in YYYY-MM-DD format. CALCULATE: current system date

cost_tagsarrayMandatory

Empty array [] (required constant)

periodintegerMandatory

Period setting: 1 (required constant)

cost_typeintegerMandatory

Cost type: 0 for AWS, 20 for Azure/GCP (from getAccountsMetadata cloud_type field)

service_namestringOptional

OPTIONAL: Specific service name when group_by_type=''service''. Examples: "AmazonEC2" for EC2 instances, "AmazonRDS" for RDS databases, "AmazonS3" for S3 buckets. Use when user requests specific service resources.

property
Show Sub-Attributes
oneOf
object

Standard format for group_by_type: accounts, service, resource_type, region

Show Sub-Attributes
vintegerMandatory

Version parameter: 0 (required constant)

idstringMandatory

Selected child billing_account_id

array

Array format

Show Sub-Attributes
vintegerMandatory

Version parameter: 1 for tag filtering

idstringMandatory

Tag ID from group_by_tags array

group_by_tagsarrayOptional

Array of tag IDs from /cs/api/cost/show_more_tags endpoint for tag-based resource filtering.

accountsarrayMandatory
Show Sub-Attributes
cost_account_idstringMandatory

PARENT account ID

billing_account_idsarrayMandatory

Child billing account IDs

pageintegerMandatory

Page setting: -1 (required constant)

group_by_typestringMandatory

Grouping/filtering type: ''accounts'' (default for all resources), ''service'' (filter by specific service like EC2, RDS, S3), ''resource_type'' (filter by resource type). Use ''service'' when user asks for "EC2 instances", "RDS databases", etc.

start_datedateMandatory

Start date in YYYY-MM-DD format. CALCULATE: first day of previous month

Response Parameters

- HTTP code 200 Response Body - application/json

object
Show Sub-Attributes
messagestring

Response message

dataobject
Show Sub-Attributes
resourcesarray

Array of detailed resource information with cost data

Show Sub-Attributes
regionNamestring

Azure region name (may be empty)

cloudAccountIdstring

Cloud account identifier (may be empty)

productNamestring

Azure product/service name (may be empty)

variationinteger

Resource variation indicator

awsNameTagValuestring

AWS name tag value (empty for Azure resources)

chartDatastring

Chart data reference (may be empty)

tag_valuestring

Tag value for the resource when tag-based filtering is used with group_by_tags parameter. Only present when filtering by tags.

namestring

Resource name (VM names, disks, IPs, storage accounts, etc.)

extraNameIdentifierstring

Additional name identifier (may be empty)

idstring

Unique resource identifier

totalCostfloat

Total cost for this resource in the specified period

costObjectstring

Cost object reference (may be empty)

timeValueReferencestring

Time value reference (may be empty)

codeinteger

Response code (0 = success)

- HTTP code 400 Response Body - application/json

object
Show Sub-Attributes
messagestring

Error message

errorstring

Detailed error description

codeinteger

Error code

Possible HTTP Status Codes

200HTTP code

Response with detailed resource list and cost information

400HTTP code

Bad request - Invalid parameters or request format

Get checks status summary for checks category numerical widgets

Retrieves aggregated status summary for budget monitoring and anomaly detection checks widgets. Use this to populate checks category numerical widgets showing budget alert and anomaly detection status metrics.

Request URL

https://www.site24x7.com/cs/api/cost/custom_report/checks/status

Scope

CloudSpend.Internal.Read

Request Parameters

- Query Parameters
typeintegerMandatory

Check type for widget data retrieval: - 1 = Budget checks - 2 = Anomaly checks

account_typeintegerMandatory

Cloud provider account type filter: - 0 = AWS - 1 = Azure - 2 = GCP

start_datedateOptional

Analysis start date (required for type=2 anomaly checks, optional for type=1 budget checks)

end_datedateOptional

Analysis end date (required for type=2 anomaly checks, optional for type=1 budget checks)

Response Parameters

- HTTP code 200 Response Body - application/json

object
Show Sub-Attributes
messagestring

Response status message

data
Show Sub-Attributes
oneOf
object

Anomaly checks status (type=2)

Show Sub-Attributes
data_typestring

Type of data being checked

totalstring

Total number of anomaly checks

acknowledgedstring

Number of acknowledged anomalies

falsePositivestring

Number of false positive anomalies

suspendedstring

Number of suspended checks

openstring

Number of open anomalies

object

Budget checks status (type=1)

Show Sub-Attributes
breachedinteger

Number of breached budgets

nearingLimitinteger

Number of budgets nearing limit

data_typestring

Type of data being checked

totalstring

Total number of budget checks

inControlinteger

Number of budgets in control

suspendedstring

Number of suspended budget checks

codeinteger

Response status code

- HTTP code 400 Response Body - application/json

object
Show Sub-Attributes
messagestring

Error message

errorstring

Detailed error description

codeinteger

Error code

- HTTP code 401 Response Body - application/json

object
Show Sub-Attributes
messagestring

Error message

errorstring

Authentication error description

codeinteger

Error code

- HTTP code 403 Response Body - application/json

object
Show Sub-Attributes
messagestring

Error message

errorstring

Forbidden access error description

codeinteger

Error code

- HTTP code 500 Response Body - application/json

object
Show Sub-Attributes
messagestring

Error message

errorstring

Internal server error description

codeinteger

Error code

Possible HTTP Status Codes

200HTTP code

Successfully retrieved checks status summary

400HTTP code

Bad request - Invalid parameters or request format

401HTTP code

Unauthorized - Invalid or missing authentication

403HTTP code

Forbidden - Insufficient permissions

500HTTP code

Internal server error

Create scheduled custom report

Creates a scheduled custom report delivery configuration for automated dashboard report generation and distribution. Use this to complete the report scheduling workflow by saving dashboard, profile, recipients, and format into a persistent scheduled report.

Request URL

https://www.site24x7.com/cs/api/cost/reports/custom_report/report

Scope

CloudSpend.Internal.Create

Request Parameters

- Request Body

application/json
object
Show Sub-Attributes
cost_idsarrayMandatory

Array of dashboard IDs to include in scheduled report

profileobjectMandatory

Scheduling profile configuration

Show Sub-Attributes
profile_idstringOptional

Selected profile ID for scheduling configuration

formatintegerMandatory

Report delivery format selection

report_namestringMandatory

Scheduled report name for identification and management

typeintegerMandatory

Report type identifier for custom dashboard reports

contact_idsarrayMandatory

Array of recipient configurations for report delivery

Show Sub-Attributes
contact_idstringOptional

User ID for report delivery

contact_typestringOptional

Contact type for delivery method

frequencyintegerMandatory

Delivery frequency in days

Response Parameters

- HTTP code 200 Response Body - application/json

object
Show Sub-Attributes
messagestring

Response status message

dataobject

Created scheduled report information

Show Sub-Attributes
report_idstring

Unique identifier for the scheduled report

codeinteger

Response status code

- HTTP code 400 Response Body - application/json

object
Show Sub-Attributes
messagestring

Error message

errorstring

Detailed error description

codeinteger

Error code

- HTTP code 401 Response Body - application/json

object
Show Sub-Attributes
messagestring

Error message

errorstring

Authentication error description

codeinteger

Error code

- HTTP code 403 Response Body - application/json

object
Show Sub-Attributes
messagestring

Error message

errorstring

Forbidden access error description

codeinteger

Error code

- HTTP code 500 Response Body - application/json

object
Show Sub-Attributes
messagestring

Error message

errorstring

Internal server error description

codeinteger

Error code

Possible HTTP Status Codes

200HTTP code

Successfully created scheduled report

400HTTP code

Bad request - Invalid parameters or request format

401HTTP code

Unauthorized - Invalid or missing authentication

403HTTP code

Forbidden - Insufficient permissions

500HTTP code

Internal server error

Get custom role details by ID

Retrieves the full definition of a specific custom role including all module-level and sub-module-level permissions and the assigned permission boundary. Use this to populate the role edit form when an admin clicks on a custom role in the Roles table.

Request URL

https://www.site24x7.com/cs/api/cost/user_role/{roleId}

Scope

CloudSpend.Internal.Read

Request Parameters

- Path Parameters
roleIdstringMandatory

Custom role identifier

Response Parameters

- HTTP code 200 Response Body - application/json

object
Show Sub-Attributes
messagestring
dataobject
Show Sub-Attributes
namestring
descriptionstring
permission_settingsarray
Show Sub-Attributes
viewinteger
module_idinteger
writeinteger
deleteinteger
tag_idstring
idstring
codeinteger

- HTTP code 400 Response Body - application/json

object
Show Sub-Attributes
messagestring

Error message

errorstring

Detailed error description

codeinteger

Error code

- HTTP code 401 Response Body - application/json

object
Show Sub-Attributes
messagestring

Error message

errorstring

Authentication error description

codeinteger

Error code

- HTTP code 403 Response Body - application/json

object
Show Sub-Attributes
messagestring

Error message

errorstring

Forbidden access error description

codeinteger

Error code

- HTTP code 500 Response Body - application/json

object
Show Sub-Attributes
messagestring

Error message

errorstring

Internal server error description

codeinteger

Error code

Possible HTTP Status Codes

200HTTP code

Successfully retrieved role details

400HTTP code

Bad request - Invalid parameters or request format

401HTTP code

Unauthorized - Invalid or missing authentication

403HTTP code

Forbidden - Insufficient permissions

404HTTP code

Role not found

500HTTP code

Internal server error

Create scheduled zia anomaly details report

Creates a scheduled anomaly details report for specific selected anomalies with comprehensive analysis and delivery. Use this to schedule detailed anomaly reports targeting individual anomaly records with root cause analysis and trend data.

Request URL

https://www.site24x7.com/cs/api/reports/anomaly/list/details/report

Scope

CloudSpend.Internal.Create

Request Parameters

- Request Body

application/json
object
Show Sub-Attributes
cost_idsarrayMandatory

Selected anomaly IDs for detailed reporting

config_idstringMandatory

Primary anomaly identifier for report configuration

profileobjectMandatory

Scheduling profile configuration

Show Sub-Attributes
profile_idstringMandatory

Profile ID from anomaly details schedule profiles API

formatintegerMandatory

Report delivery format (1=PDF, 2=CSV)

report_namestringMandatory

Display name for the scheduled anomaly details report

typeintegerMandatory

Report type identifier (16=Anomaly details report)

contact_idsarrayMandatory

Recipients for report delivery (users and groups)

Show Sub-Attributes
contact_idstringMandatory

User ID or group ID for report delivery

contact_typestringMandatory

Contact type (1=User, 2=Group)

frequencyintegerMandatory

Report frequency (1=Monthly, 4=Daily, 7=Weekly)

Response Parameters

- HTTP code 200 Response Body - application/json

object
Show Sub-Attributes
messagestring

Response status message

dataobject
Show Sub-Attributes
report_idstring

Created scheduled report identifier

codeinteger

Response status code

- HTTP code 400 Response Body - application/json

object
Show Sub-Attributes
messagestring

Error message

errorstring

Detailed error description

codeinteger

Error code

- HTTP code 401 Response Body - application/json

object
Show Sub-Attributes
messagestring

Error message

errorstring

Authentication error description

codeinteger

Error code

- HTTP code 403 Response Body - application/json

object
Show Sub-Attributes
messagestring

Error message

errorstring

Forbidden access error description

codeinteger

Error code

- HTTP code 500 Response Body - application/json

object
Show Sub-Attributes
messagestring

Error message

errorstring

Internal server error description

codeinteger

Error code

Possible HTTP Status Codes

200HTTP code

Successfully created scheduled anomaly details report

400HTTP code

Bad request - Invalid parameters or request format

401HTTP code

Unauthorized - Invalid or missing authentication

403HTTP code

Forbidden - Insufficient permissions

500HTTP code

Internal server error

List Account Report Profiles

Reports scheduling profiles with delivery timing, frequency settings, timezone options for automated report generation.

Request URL

https://www.site24x7.com/cs/api/cost/accounts/report/profiles

Scope

CloudSpend.Internal.Read

Response Parameters

- HTTP code 200 Response Body - application/json

object

Response for listAccountReportProfiles API - report scheduling profiles

Show Sub-Attributes
messagestring(length <= 255)

Response message

dataobject

Container for report profiles

Show Sub-Attributes
return_dataobject

Nested return data container

Show Sub-Attributes
return_dataarray

Array of report profile objects

Show Sub-Attributes
periodinteger

Report period: 1=This period, 11=Previous period, 14=Current month

report_hour_meridieminteger

Meridiem: 1=AM, 2=PM

timezonestring(length <= 255)

Timezone for report scheduling

report_hourinteger

Hour for report delivery (1-12)

report_hour_meridiem_textstring(length <= 10)

Meridiem text (AM/PM)

frequencyinteger

Report frequency: 1=Daily, 4=Monthly, 7=Weekly

report_dayinteger

Day of week/month for report

report_timeinteger

Report time in 24-hour format

profile_idstring(length <= 255)

Unique profile identifier

default_profileinteger

Whether this is default profile: 0=No, 1=Yes

namestring(length <= 255)

Profile display name

report_monthinteger

Month setting for report

configstring(length <= 255)

Configuration timezone

codeinteger

Response status code (0 = success)

- HTTP code 400 Response Body - application/json

object
Show Sub-Attributes
messagestring

Error message

errorstring

Detailed error description

codeinteger

Error code

- HTTP code 401 Response Body - application/json

object
Show Sub-Attributes
messagestring

Error message

errorstring

Authentication error description

codeinteger

Error code

- HTTP code 500 Response Body - application/json

object
Show Sub-Attributes
messagestring

Error message

errorstring

Server error description

codeinteger

Error code

Possible HTTP Status Codes

200HTTP code

Successful response

400HTTP code

Bad request - Invalid parameters or request format

401HTTP code

Unauthorized - Invalid or missing authentication

500HTTP code

Internal server error

Get Account Anomaly Root Cause Analysis

Provides root cause analysis for cost anomalies with resource breakdown, patterns, and contributing factors.

Request URL

https://www.site24x7.com/cs/api/accounts/spend_analysis/anomaly/details/rca

Scope

CloudSpend.Internal.Read

Request Parameters

- Query Parameters
anomaly_idstringMandatory

Anomaly identifier for comprehensive root cause analysis. return_data.anomaly_widget.anomaly_id g., "1", "123")

detected_timestring(matches: ^[0-9]+$)Mandatory

Unix timestamp in milliseconds when the specific anomaly instance was detected.

Response Parameters

- HTTP code 200 Response Body - application/json

object

Response for getAnomalyRootCause API - root cause analysis data

Show Sub-Attributes
messagestring(length <= 255)

Response message

dataobject

RCA data container

Show Sub-Attributes
resourcesobject

Resource breakdown

Show Sub-Attributes
new_resourcesobject

Newly detected resources with cost impact

Show Sub-Attributes
total_costdouble
cost_impactdouble
resourcesobject

Resources by account ID

Show Sub-Attributes
top_resourcesobject

Top contributing resources

Show Sub-Attributes
anomaly_monthobject
Show Sub-Attributes
mtd_daysinteger
costdouble
mtd_averagedouble
mtd_costdouble
resourcesobject

Top resources by account ID

Show Sub-Attributes
historyobject

Historical cost data

Show Sub-Attributes
historical_costarray

Array of [timestamp, cost] pairs

forecast_costarray

Array of forecast [timestamp, cost] pairs

currency_codestring
currency_codestring

Currency code for display

anomaly_detected_timelong

Anomaly detection time (Unix ms)

codeinteger

Response status code (0 = success)

- HTTP code 400 Response Body - application/json

object
Show Sub-Attributes
messagestring

Error message

errorstring

Detailed error description

codeinteger

Error code

- HTTP code 401 Response Body - application/json

object
Show Sub-Attributes
messagestring

Error message

errorstring

Authentication error description

codeinteger

Error code

- HTTP code 404 Response Body - application/json

object
Show Sub-Attributes
messagestring

Error message

errorstring

Not found error description

codeinteger

Error code

- HTTP code 500 Response Body - application/json

object
Show Sub-Attributes
messagestring

Error message

errorstring

Server error description

codeinteger

Error code

Possible HTTP Status Codes

200HTTP code

RCA response structure .

400HTTP code

Bad request - Invalid parameters or request format

401HTTP code

Unauthorized - Invalid or missing authentication

404HTTP code

Not found - Resource does not exist

500HTTP code

Internal server error

Create new budget policy for anomaly checks

Creates a new budget policy for anomaly check creation supporting accounts, cost centers, and reports with optional tag filtering. Use this to define a new anomaly budget policy with account/BU/report associations before creating anomaly checks.

Request URL

https://www.site24x7.com/cs/api/cost/anomaly/budget_policy

Scope

CloudSpend.Internal.Create

Request Parameters

- Request Body

application/json
object
Show Sub-Attributes
policy_namestringMandatory

Human-readable name for the budget policy

budget_tagsarrayOptional

Tags to include in policy (from getAnomalyTagsChecks response)

Show Sub-Attributes
vintegerMandatory

Tag version (v from tags API response)

idstringMandatory

Tag ID (tagId from tags API response)

account_typeintegerMandatory

Resource type for the budget policy: - 0: Account-level policy (uses account IDs) - 1: Cost Center-level policy (uses cost center IDs) - 2: Report-level policy (uses report IDs)

policy_typeintegerMandatory

Policy type (refer to existing budget policy documentation for valid values)

account_idstringMandatory

Target resource ID based on account_type: - account_type=0: Account ID - account_type=1: Cost center ID - account_type=2: Report ID

cost_typeintegerMandatory

Cost type for the policy based on account_type and cloud provider: - AWS accounts: 0=Blended, 1=Unblended, 2=Amortized, 3=Recurring - Azure/GCP accounts: 20 - Cost Centers: 0 - Reports: 20

Response Parameters

- HTTP code 200 Response Body - application/json

object
Show Sub-Attributes
messagestring

Response message

dataobject
Show Sub-Attributes
datastring

Success message

policy_idstring

Unique identifier for the created policy. Important: Use this policy_id when creating anomaly checks that should use this budget policy.

codeinteger

Response status code

- HTTP code 400 Response Body - application/json

object
Show Sub-Attributes
messagestring
codeinteger

- HTTP code 401 Response Body - application/json

object
Show Sub-Attributes
messagestring

Error message

errorstring

Authentication error description

codeinteger

Error code

- HTTP code 403 Response Body - application/json

object
Show Sub-Attributes
messagestring

Error message

errorstring

Forbidden access error description

codeinteger

Error code

- HTTP code 500 Response Body - application/json

object
Show Sub-Attributes
messagestring

Error message

errorstring

Internal server error description

codeinteger

Error code

Possible HTTP Status Codes

200HTTP code

Budget policy created successfully

400HTTP code

Bad request - Invalid policy configuration

401HTTP code

Unauthorized - Invalid or missing authentication

403HTTP code

Forbidden - Insufficient permissions

500HTTP code

Internal server error

Get unbilled resources for default tagging compliance report

Retrieves a paginated list of unbilled, non-compliant resources for tagging compliance analysis. Use this to populate the "Unbilled Resources (Unbilled)" section in the compliance dashboard.

Request URL

https://www.site24x7.com/cs/api/cost/reports/compliance/unbilled/autogenerated/tagging

Scope

CloudSpend.Internal.Read

Request Parameters

- Query Parameters
business_unit_idstringMandatory

Entity ID id field.

billed_account_idstringMandatory

Specific billed account ID to get unbilled resources for.

offsetintegerOptional

Pagination offset (0-based).

limitintegerOptional

Number of results per page.

Response Parameters

- HTTP code 200 Response Body - application/json

object
Show Sub-Attributes
messagestring
dataobject
Show Sub-Attributes
dataarray
Show Sub-Attributes
cost_account_idstring
billed_account_namestring
service_namestring
billed_account_idstring
resource_idstring
region_namestring
resource_namestring
page_numberinteger
has_moreboolean
codeinteger

- HTTP code 400 Response Body - application/json

object
Show Sub-Attributes
messagestring

Error message

errorstring

Detailed error description

codeinteger

Error code

- HTTP code 401 Response Body - application/json

object
Show Sub-Attributes
messagestring

Error message

errorstring

Authentication error description

codeinteger

Error code

- HTTP code 403 Response Body - application/json

object
Show Sub-Attributes
messagestring

Error message

errorstring

Forbidden access error description

codeinteger

Error code

- HTTP code 500 Response Body - application/json

object
Show Sub-Attributes
messagestring

Error message

errorstring

Internal server error description

codeinteger

Error code

Possible HTTP Status Codes

200HTTP code

Successfully retrieved auto-generated unbilled resources

400HTTP code

Bad request - Invalid parameters or request format

401HTTP code

Unauthorized - Invalid or missing authentication

403HTTP code

Forbidden - Insufficient permissions

500HTTP code

Internal server error

Get multi-cloud spend analysis for specific cost account (aws/azure/gcp)

Retrieves spend analysis for a cost account including date range, account hierarchy, and integrated zone admin IDs. Use this to get billing account IDs required for savings, reservations, and tagging compliance workflows.

Request URL

https://www.site24x7.com/cs/api/cost/reports/spend_analysis

Scope

CloudSpend.Internal.Read

Request Parameters

- Query Parameters
cost_account_idstringMandatory

Cost account ID from /cs/api/cost/reports/accounts_data API (AWS/Azure/GCP)

Response Parameters

- HTTP code 200 Response Body - application/json

object
Show Sub-Attributes
messagestring
dataobject
Show Sub-Attributes
all_accountsarray

Multi-cloud account hierarchy

Show Sub-Attributes
cloud_typeinteger

Cloud provider type (0=AWS, 1=Azure, 2=GCP)

integrated_zaaidsarray

Associated zone admin account IDs

child_accountsarray

Child subscriptions/accounts under this cost account

Show Sub-Attributes
namestring

Account/subscription name

billing_account_idstring

Associated billing account ID

aws_account_idstring

Cloud-specific account ID (AWS account ID, Azure subscription UUID, GCP project ID)

is_payer_accountboolean

Whether this is the primary billing account

name_with_entitystring

Full account name with cloud provider context

cost_account_idstring

Primary cost account identifier

account_namestring

Account display name

max_datestring

Latest available data timestamp

min_datestring

Earliest available data timestamp

codeinteger

- HTTP code 400 Response Body - application/json

object
Show Sub-Attributes
messagestring

Error message

errorstring

Detailed error description

codeinteger

Error code

- HTTP code 401 Response Body - application/json

object
Show Sub-Attributes
messagestring

Error message

errorstring

Authentication error description

codeinteger

Error code

- HTTP code 403 Response Body - application/json

object
Show Sub-Attributes
messagestring

Error message

errorstring

Forbidden access error description

codeinteger

Error code

- HTTP code 500 Response Body - application/json

object
Show Sub-Attributes
messagestring

Error message

errorstring

Internal server error description

codeinteger

Error code

Possible HTTP Status Codes

200HTTP code

Successfully retrieved spend analysis data

400HTTP code

Bad request - Invalid parameters or request format

401HTTP code

Unauthorized - Invalid or missing authentication

403HTTP code

Forbidden - Insufficient permissions

500HTTP code

Internal server error

Get spend analysis panel data

Provides spend analysis dashboard data with cost insights, anomaly detection, and account performance analytics.

Request URL

https://www.site24x7.com/cs/api/cost/accounts/spend_analysis_panel

Scope

CloudSpend.Internal.Create

Request Parameters

- Request Body

application/json
object
Show Sub-Attributes
end_datedateMandatory

End date in YYYY-MM-DD format. CALCULATE: today''s date

cost_tagsarrayMandatory

Empty array [] (required constant)

periodintegerMandatory

Period setting: 1 (required constant)

accountsarrayMandatory

Account structure. Parent NOT EQUAL TO Children IDs.

Show Sub-Attributes
cost_account_idstringMandatory

Parent account ID.

billing_account_idsarrayMandatory

Array containing selected child billing account ID

cost_typeintegerMandatory

0 for AWS, 20 for Azure/GCP. Get cloud_type field.

start_datedateMandatory

Start date in YYYY-MM-DD format. CALCULATE: first day of previous month

Response Parameters

- HTTP code 200 Response Body - application/json

object

Response for getSpendAnalysisPanel API - spend analysis with anomaly detection

Show Sub-Attributes
messagestring(length <= 255)

Response message

dataobject

Container for spend analysis data

Show Sub-Attributes
return_dataobject

Spend analysis metrics

Show Sub-Attributes
max_cost_accountstring

Name of account with highest costs

max_costdouble

Highest cost amount in the period

total_costdouble

Total cost across all accounts

anomaly_widgetobject

Anomaly detection data

Show Sub-Attributes
occurrencesstring

Number of anomaly occurrences

anomaly_idstring

Anomaly ID for dependent APIs

anomaly_last_detected_timestring

Last detected timestamp

min_costdouble

Lowest cost amount in the period

differencedouble

Cost difference/variance

min_cost_accountstring

Name of account with lowest costs

codeinteger

Response status code (0 = success)

- HTTP code 400 Response Body - application/json

object
Show Sub-Attributes
messagestring

Error message

errorstring

Detailed error description

codeinteger

Error code

Possible HTTP Status Codes

200HTTP code

Successful response with comprehensive spend analysis data: - max_cost_account: Name of account with highest costs - max_cost: Highest cost amount in the period - total_cost: Total cost across all accounts - anomaly_widget: Anomaly detection results with occurrences count, anomaly_id for dependent APIs, and last detected timestamp - min_cost: Lowest cost amount in the period - difference: Cost difference/variance indicator - min_cost_account: Name of account with lowest costs

400HTTP code

Bad request - Invalid parameters or request format

Get usage unit resource details

Retrieves resource-level cost and usage details with per-resource cost-per-unit metrics. Use this to drill down from unit cost summary into individual resources filtered by product, region, and usage type.

Request URL

https://www.site24x7.com/cs/api/cost/reports/unit/economics/resource/list

Scope

CloudSpend.Internal.Read

Request Parameters

- Request Body

application/json
object
Show Sub-Attributes
end_datedateMandatory

End date for the analysis period

custom_report_idlongOptional

Custom report ID if viewing resources within a custom report context

cost_tagsarrayOptional

Cost tags filter

periodintegerOptional

Period type identifier

business_unit_idlongOptional

Cost center ID for scoping (optional)

cost_typeintegerOptional

Cost type identifier

usage_unit_idlongOptional

Usage unit ID to filter by specific unit metric

product_idlongOptional

Cloud product/service ID to filter resources

region_idlongOptional

Region ID to filter resources

accountsarrayMandatory

Selected cost accounts with their billing account IDs

Show Sub-Attributes
cost_account_idstringOptional

Parent cost account ID

billing_account_idsarrayOptional

Child billing account IDs

usage_type_idlongOptional

Usage type ID to filter by specific usage type

start_datedateMandatory

Start date for the analysis period

Response Parameters

- HTTP code 200 Response Body - application/json

object
Show Sub-Attributes
messagestring

Response status message

dataobject

Resource-level unit cost breakdown with per-resource metrics

Show Sub-Attributes
codeinteger

Response status code

- HTTP code 400 Response Body - application/json

object
Show Sub-Attributes
messagestring

Error message

errorstring

Detailed error description

codeinteger

Error code

- HTTP code 401 Response Body - application/json

object
Show Sub-Attributes
messagestring

Error message

errorstring

Authentication error description

codeinteger

Error code

- HTTP code 403 Response Body - application/json

object
Show Sub-Attributes
messagestring

Error message

errorstring

Forbidden access error description

codeinteger

Error code

- HTTP code 500 Response Body - application/json

object
Show Sub-Attributes
messagestring

Error message

errorstring

Internal server error description

codeinteger

Error code

Possible HTTP Status Codes

200HTTP code

Successfully retrieved resource-level unit cost details

400HTTP code

Bad request - Invalid parameters or request format

401HTTP code

Unauthorized - Invalid or missing authentication

403HTTP code

Forbidden - Insufficient permissions

500HTTP code

Internal server error

Get cost centers anomaly history data

Retrieves anomaly history with financial impact, expected vs actual costs, and deviation percentages over time. Use this to display anomaly timeline, assess financial impact, and extract detected_time for detailed meta/RCA APIs.

Request URL

https://www.site24x7.com/cs/api/cost/cost_centers/spend_analysis/anomaly/data

Scope

CloudSpend.Internal.Read

Request Parameters

- Query Parameters
anomaly_idstringMandatory

Anomaly ID.data.return_data.anomaly_widget.anomaly_id

start_datedateMandatory

Start date for anomaly timeline analysis in YYYY-MM-DD format.

end_datedateMandatory

End date for anomaly timeline analysis in YYYY-MM-DD format.

Response Parameters

- HTTP code 200 Response Body - application/json

object
Show Sub-Attributes
messagestring

Response message

dataobject
Show Sub-Attributes
anomaly_namestring

Name of the anomaly

anomaliesarray

Array of anomaly occurrences with detailed information

Show Sub-Attributes
updated_timestring

Unix timestamp when anomaly was last updated

detected_timestring

Unix timestamp when anomaly was detected

currency_symbolstring

Currency symbol for cost values

currency_localestring

Locale for currency formatting

deviation_percentagenumber

Percentage deviation from expected value

anomaly_levelstring

Severity level of the anomaly

currency_codestring

Currency code (ISO format)

updated_timestampdate-time

Human-readable timestamp when updated

anomaly_statusstring

Current status of the anomaly

anomaly_status_codeinteger

Status code (1=Open, 2=Closed)

anomaly_typestring

Type of anomaly detection

expected_valuenumber

Expected cost value

detected_timestampdate-time

Human-readable timestamp when detected

valuenumber

Actual cost value that triggered anomaly

codeinteger

Status code (0 indicates success)

- HTTP code 400 Response Body - application/json

object
Show Sub-Attributes
messagestring

Error message

errorstring

Detailed error description

codeinteger

Error code

- HTTP code 401 Response Body - application/json

object
Show Sub-Attributes
messagestring

Error message

errorstring

Authentication error description

codeinteger

Error code

- HTTP code 500 Response Body - application/json

object
Show Sub-Attributes
messagestring

Error message

errorstring

Server error description

codeinteger

Error code

Possible HTTP Status Codes

200HTTP code

Successfully retrieved anomaly history data

400HTTP code

Bad request - Invalid parameters or request format

401HTTP code

Unauthorized - Invalid or missing authentication

500HTTP code

Internal server error

Update user details

Updates an existing user's role, job title, user group assignments, and alert configuration. Use this when an admin modifies a user's access level or organizational details from the user edit form.

Request URL

https://www.site24x7.com/cs/api/cost/users/{userId}

Scope

CloudSpend.Internal.Update

Request Parameters

- Path Parameters
userIdstringMandatory

User's contact ID to update

- Request Body

application/json
object
Show Sub-Attributes
user_roleintegerOptional

Site24x7 role

display_namestringOptional

Updated display name

cloudspend_roleintegerOptional

Updated CloudSpend role

cloudspend_custom_role_idstringOptional

Custom role ID (if cloudspend_role=101)

job_titleintegerOptional

Updated job title ID

user_groupsarrayOptional

Updated list of user group IDs

Response Parameters

- HTTP code 200 Response Body - application/json

object
Show Sub-Attributes
messagestring
dataobject
Show Sub-Attributes
statusstring
codeinteger

- HTTP code 400 Response Body - application/json

object
Show Sub-Attributes
messagestring

Error message

errorstring

Detailed error description

codeinteger

Error code

- HTTP code 401 Response Body - application/json

object
Show Sub-Attributes
messagestring

Error message

errorstring

Authentication error description

codeinteger

Error code

- HTTP code 403 Response Body - application/json

object
Show Sub-Attributes
messagestring

Error message

errorstring

Forbidden access error description

codeinteger

Error code

- HTTP code 500 Response Body - application/json

object
Show Sub-Attributes
messagestring

Error message

errorstring

Internal server error description

codeinteger

Error code

Possible HTTP Status Codes

200HTTP code

User updated successfully

400HTTP code

Bad request - Invalid parameters or request format

401HTTP code

Unauthorized - Invalid or missing authentication

403HTTP code

Forbidden - Insufficient permissions

404HTTP code

User not found

500HTTP code

Internal server error

Get user details by ID

Retrieves complete details for a specific user including their role, job title, group memberships, alert settings, and invitation status. Use this to populate the user edit form when an admin clicks on a user in the Users list.

Request URL

https://www.site24x7.com/cs/api/cost/users/{userId}

Scope

CloudSpend.Internal.Read

Request Parameters

- Path Parameters
userIdstringMandatory

User's contact ID (user_id from users list)

Response Parameters

- HTTP code 200 Response Body - application/json

object
Show Sub-Attributes
messagestring

Response status message

dataobject
Show Sub-Attributes
return_dataobject

User details

Show Sub-Attributes
user_roleinteger
email_addressstring
cloudspend_roleinteger
cloudspend_custom_role_idstring
user_idstring
is_invitedboolean
alert_settingsobject
Show Sub-Attributes
email_formatinteger
dont_alert_on_daysarray
display_namestring
job_titleinteger
user_groupsarray
codeinteger

Response status code

- HTTP code 400 Response Body - application/json

object
Show Sub-Attributes
messagestring

Error message

errorstring

Detailed error description

codeinteger

Error code

- HTTP code 401 Response Body - application/json

object
Show Sub-Attributes
messagestring

Error message

errorstring

Authentication error description

codeinteger

Error code

- HTTP code 403 Response Body - application/json

object
Show Sub-Attributes
messagestring

Error message

errorstring

Forbidden access error description

codeinteger

Error code

- HTTP code 500 Response Body - application/json

object
Show Sub-Attributes
messagestring

Error message

errorstring

Internal server error description

codeinteger

Error code

Possible HTTP Status Codes

200HTTP code

Successfully retrieved user details

400HTTP code

Bad request - Invalid parameters or request format

401HTTP code

Unauthorized - Invalid or missing authentication

403HTTP code

Forbidden - Insufficient permissions

404HTTP code

User not found

500HTTP code

Internal server error

Get resource inventory service distribution for inventory usage table widgets

Retrieves resource count distribution by cloud service for resource inventory service table widgets. Use this to display service-level resource allocation showing which services have the most resources.

Request URL

https://www.site24x7.com/cs/api/cost/custom_report/ri_top_service_list

Scope

CloudSpend.Internal.Read

Request Parameters

- Request Body

application/json
object
Show Sub-Attributes
end_datedateOptional

Analysis end date

cost_tagsarrayOptional

Cost tag filters for resource analysis (empty array for no filtering)

Show Sub-Attributes
periodintegerOptional

Period type for analysis (1=daily)

accountsarrayOptional

Array of account configurations with billing account selections

Show Sub-Attributes
cost_account_idstringOptional

Parent cost account identifier

billing_account_idsarrayOptional

Array of selected billing account IDs

start_datedateOptional

Analysis start date

Response Parameters

- HTTP code 200 Response Body - application/json

object
Show Sub-Attributes
messagestring

Response status message

dataobject

Service distribution data

Show Sub-Attributes
return_dataarray

Array of service resource data for table display

codeinteger

Response status code

- HTTP code 400 Response Body - application/json

object
Show Sub-Attributes
messagestring

Error message

errorstring

Detailed error description

codeinteger

Error code

- HTTP code 401 Response Body - application/json

object
Show Sub-Attributes
messagestring

Error message

errorstring

Authentication error description

codeinteger

Error code

- HTTP code 403 Response Body - application/json

object
Show Sub-Attributes
messagestring

Error message

errorstring

Forbidden access error description

codeinteger

Error code

- HTTP code 500 Response Body - application/json

object
Show Sub-Attributes
messagestring

Error message

errorstring

Internal server error description

codeinteger

Error code

Possible HTTP Status Codes

200HTTP code

Successfully retrieved service-wise resource distribution

400HTTP code

Bad request - Invalid parameters or request format

401HTTP code

Unauthorized - Invalid or missing authentication

403HTTP code

Forbidden - Insufficient permissions

500HTTP code

Internal server error

Get governance users and groups for policy-specific access

Retrieves policy-filtered users and groups for governance check configuration with CloudSpend roles. Use this to get contact IDs for governance notification recipients, filtered by module access and policy permissions.

Request URL

https://www.site24x7.com/cs/api/cost/governance/users

Scope

CloudSpend.Internal.Read

Request Parameters

- Query Parameters
JSONStringstringMandatory

Policy-specific user filtering configuration for governance access.

Response Parameters

- HTTP code 200 Response Body - application/json

object
Show Sub-Attributes
messagestring
dataobject
Show Sub-Attributes
workspace_migration_infoarray

Workspace migration information

Show Sub-Attributes
org_infoobject

Organization configuration details

Show Sub-Attributes
zd_securitystring

Zoho Directory security URL

namestring

Organization display name

adminemail

Organization admin email

zd_usersstring

Zoho Directory users URL

zd_orgstring

Zoho Directory organization URL

is_org_adminboolean

Whether current user is org admin

from_emailemail

Default sender email

contact_idstring

Primary contact identifier

usersarray

Complete user directory with roles and permissions

Show Sub-Attributes
email_addressemail

User email address

is_account_contactboolean

Whether user is account contact

cloudspend_roleinteger

CloudSpend role identifier (12=Admin, 11=User)

last_login_timedate-time

Last login timestamp

user_idstring

Unique user identifier

is_invitedboolean

Whether user was invited

display_namestring

User display name

user_role_namestring

User role display name

org_roleinteger

Organization role identifier

cloudspend_role_namestring

CloudSpend role name

user_groupsarray

User groups for governance management

Show Sub-Attributes
is_master_groupboolean

Whether this is a master group

display_namestring

Group display name

user_group_idstring

Unique group identifier

usersarray

List of user IDs in group

product_idinteger

Product identifier (0=General, 2=CloudSpend)

codeinteger

- HTTP code 400 Response Body - application/json

object
Show Sub-Attributes
messagestring

Error message

errorstring

Detailed error description

codeinteger

Error code

- HTTP code 401 Response Body - application/json

object
Show Sub-Attributes
messagestring

Error message

errorstring

Authentication error description

codeinteger

Error code

- HTTP code 500 Response Body - application/json

object
Show Sub-Attributes
messagestring

Error message

errorstring

Server error description

codeinteger

Error code

Possible HTTP Status Codes

200HTTP code

Successfully retrieved governance users and groups

400HTTP code

Bad request - Invalid parameters or request format

401HTTP code

Unauthorized - Invalid or missing authentication

500HTTP code

Internal server error

Get Cost by Instance Type

Retrieves theAWS instance type cost breakdown across services (DB, search, compute) for rightsizing recommendations.

Request URL

https://www.site24x7.com/cs/api/cost/accounts/cost_by_instance

Scope

CloudSpend.Internal.Create

Request Parameters

- Request Body

application/json
object
Show Sub-Attributes
end_datedateMandatory

End date in YYYY-MM-DD format. CALCULATE: current system date

cost_tagsarrayMandatory

Empty array [] (required constant)

periodintegerMandatory

Period setting: 1 (required constant)

accountsarrayMandatory

Account structure array with cost_account_id and billing_account_ids

Show Sub-Attributes
cost_account_idstringMandatory

Parent account ID

billing_account_idsarrayMandatory

Child billing account IDs. Use billing_account_ids array from the selected parent account's child_accounts structure.

cost_typeintegerMandatory

Cost type: 0 for AWS, 20 for Azure/GCP (from getAccountsMetadata cloud_type field)

start_datedateMandatory

Start date in YYYY-MM-DD format. CALCULATE: first day of previous month

Response Parameters

- HTTP code 200 Response Body - application/json

object
Show Sub-Attributes
messagestring

Response message

dataobject
Show Sub-Attributes
return_dataarray

Array of instance type cost data

Show Sub-Attributes
namestring

AWS service name (e.g., AmazonRDS, AmazonES, AmazonEC2)

instance_typestring

Instance type specification (e.g., db.r5.large, t3.medium.search)

valuefloat

Cost value for this instance type

avalability_zonestring

Availability zone location (e.g., us-east-1, Others)

codeinteger

Response code (0 = success)

- HTTP code 400 Response Body - application/json

object
Show Sub-Attributes
messagestring

Error message

errorstring

Detailed error description

codeinteger

Error code

- HTTP code 401 Response Body - application/json

object
Show Sub-Attributes
messagestring

Error message

errorstring

Authentication error description

codeinteger

Error code

- HTTP code 404 Response Body - application/json

object
Show Sub-Attributes
messagestring

Error message

errorstring

Not found error description

codeinteger

Error code

- HTTP code 500 Response Body - application/json

object
Show Sub-Attributes
messagestring

Error message

errorstring

Server error description

codeinteger

Error code

Possible HTTP Status Codes

200HTTP code

Successful response with instance type cost breakdown

400HTTP code

Bad request - Invalid parameters or request format

401HTTP code

Unauthorized - Invalid or missing authentication

404HTTP code

Not found - Resource does not exist

500HTTP code

Internal server error

Get all available accounts for spend analysis

Retrieves cloud account overview with spending metrics, historical data, forecasts, and processing status. Use this to present account selection for spend analysis with current/previous month costs and percentage changes.

Request URL

https://www.site24x7.com/cs/api/cost/reports/accounts

Scope

CloudSpend.Internal.Read

Response Parameters

- HTTP code 200 Response Body - application/json

object
Show Sub-Attributes
messagestring

Response status message

dataobject

Accounts overview data

Show Sub-Attributes
current_month_totalnumber

Total current month cost across all accounts

previous_month_totalnumber

Total previous month cost across all accounts

total_accountsinteger

Total count of accounts

all_accountsobject

Accounts organized by processing status

Show Sub-Attributes
processing_accountsobject

Accounts currently being processed

Show Sub-Attributes
suspended_accountsobject

Suspended accounts

Show Sub-Attributes
config_error_accountsobject

Accounts with configuration errors

Show Sub-Attributes
processed_accountsobject

Successfully processed accounts with detailed metrics

Show Sub-Attributes
codeinteger

Response status code

- HTTP code 400 Response Body - application/json

object
Show Sub-Attributes
messagestring

Error message

errorstring

Detailed error description

codeinteger

Error code

- HTTP code 401 Response Body - application/json

object
Show Sub-Attributes
messagestring

Error message

errorstring

Authentication error description

codeinteger

Error code

- HTTP code 403 Response Body - application/json

object
Show Sub-Attributes
messagestring

Error message

errorstring

Forbidden access error description

codeinteger

Error code

- HTTP code 500 Response Body - application/json

object
Show Sub-Attributes
messagestring

Error message

errorstring

Internal server error description

codeinteger

Error code

Possible HTTP Status Codes

200HTTP code

Successfully retrieved accounts overview

400HTTP code

Bad request - Invalid parameters or request format

401HTTP code

Unauthorized - Invalid or missing authentication

403HTTP code

Forbidden - Insufficient permissions

500HTTP code

Internal server error

Get budget metadata for custom report creation

Retrieves budget and policy metadata including anomaly, budget, and governance check configurations for custom reports. Use this after account selection to present budget/policy options for monitoring widgets in custom dashboards.

Request URL

https://www.site24x7.com/cs/api/cost/custom_report/budget_meta

Scope

CloudSpend.Internal.Read

Response Parameters

- HTTP code 200 Response Body - application/json

object
Show Sub-Attributes
messagestring

Response status message

dataobject

Budget metadata for custom report creation

Show Sub-Attributes
budget_dataarray

Available budget policies and checks

Show Sub-Attributes
periodstring

Budget monitoring period

account_typeinteger

Account type (0=AWS, 1=Azure, 2=GCP)

account_idstring

Associated account identifier

policy_idstring

Policy identifier

budget_idstring

Budget identifier

namestring

Budget/policy display name

checks_typestring

Type of monitoring check

statusinteger

Budget status (1=active, 2=inactive)

codeinteger

Response status code

- HTTP code 400 Response Body - application/json

object
Show Sub-Attributes
messagestring

Error message

errorstring

Detailed error description

codeinteger

Error code

- HTTP code 401 Response Body - application/json

object
Show Sub-Attributes
messagestring

Error message

errorstring

Authentication error description

codeinteger

Error code

- HTTP code 403 Response Body - application/json

object
Show Sub-Attributes
messagestring

Error message

errorstring

Forbidden access error description

codeinteger

Error code

- HTTP code 500 Response Body - application/json

object
Show Sub-Attributes
messagestring

Error message

errorstring

Internal server error description

codeinteger

Error code

Possible HTTP Status Codes

200HTTP code

Successfully retrieved budget metadata for custom report creation

400HTTP code

Bad request - Invalid parameters or request format

401HTTP code

Unauthorized - Invalid or missing authentication

403HTTP code

Forbidden - Insufficient permissions

500HTTP code

Internal server error

Create a new permission boundary

Creates a permission boundary with data access rules that restrict what resources users with assigned custom roles can see (by account, region, service, linked account, or K8s cluster). Use this when the admin needs to scope a custom role's data visibility to specific accounts or resource segments.

Request URL

https://www.site24x7.com/cs/api/cost/admin/tag/virtual

Scope

CloudSpend.Internal.Create

Request Parameters

- Request Body

application/json
object
Show Sub-Attributes
valuestringMandatory

Display name for the permission boundary (shown in UI)

rule_group_namestringMandatory

Rule group name (typically same as value)

rulesarrayMandatory

Array of rules defining data access restrictions. Each rule needs EITHER source_id (for specific IDs) OR pattern (for regex matching), not both.

Show Sub-Attributes
patternstringOptional

Optional regex pattern for matching. Use this OR source_id, not both.

source_idarrayOptional

Optional array of specific source IDs to include/exclude. Use this OR pattern, not both.

variationintegerMandatory

Variation type ID (see VARIATION TYPES above). Use integer, not variation_id.

mode_idintegerMandatory

Rule mode (1=include, 2=exclude)

Response Parameters

- HTTP code 200 Response Body - application/json

object
Show Sub-Attributes
messagestring
dataobject
Show Sub-Attributes
tagIdstring

Newly created permission boundary tag ID

statusstring

Creation status message

codeinteger

- HTTP code 400 Response Body - application/json

object
Show Sub-Attributes
messagestring

Error message

errorstring

Detailed error description

codeinteger

Error code

- HTTP code 401 Response Body - application/json

object
Show Sub-Attributes
messagestring

Error message

errorstring

Authentication error description

codeinteger

Error code

- HTTP code 403 Response Body - application/json

object
Show Sub-Attributes
messagestring

Error message

errorstring

Forbidden access error description

codeinteger

Error code

- HTTP code 500 Response Body - application/json

object
Show Sub-Attributes
messagestring

Error message

errorstring

Internal server error description

codeinteger

Error code

Possible HTTP Status Codes

200HTTP code

Successfully created permission boundary

400HTTP code

Bad request - Invalid parameters or request format

401HTTP code

Unauthorized - Invalid or missing authentication

403HTTP code

Forbidden - Insufficient permissions

500HTTP code

Internal server error

Delete a permission boundary

Deletes a permission boundary by tag_id, removing its data scope restrictions. Fails if the boundary is currently assigned to any custom role. Use this when the admin removes an unused permission boundary from the Access Control configuration.

Request URL

https://www.site24x7.com/cs/api/cost/admin/tag/virtual

Scope

CloudSpend.Internal.Delete

Request Parameters

- Query Parameters
tag_idstringMandatory

Permission boundary tag ID to delete

Response Parameters

- HTTP code 200 Response Body - application/json

object
Show Sub-Attributes
messagestring
codeinteger

- HTTP code 400 Response Body - application/json

object
Show Sub-Attributes
messagestring
codeinteger

- HTTP code 401 Response Body - application/json

object
Show Sub-Attributes
messagestring

Error message

errorstring

Authentication error description

codeinteger

Error code

- HTTP code 403 Response Body - application/json

object
Show Sub-Attributes
messagestring

Error message

errorstring

Forbidden access error description

codeinteger

Error code

- HTTP code 500 Response Body - application/json

object
Show Sub-Attributes
messagestring

Error message

errorstring

Internal server error description

codeinteger

Error code

Possible HTTP Status Codes

200HTTP code

Successfully deleted permission boundary

400HTTP code

Bad request - boundary is in use by roles

401HTTP code

Unauthorized - Invalid or missing authentication

403HTTP code

Forbidden - Insufficient permissions

500HTTP code

Internal server error

Update an existing permission boundary

Updates a permission boundary's display name and rules by adding new rules, editing existing rules, or deleting rules. Use this when the admin modifies a boundary's data access restrictions from the edit form.

Request URL

https://www.site24x7.com/cs/api/cost/admin/tag/virtual

Scope

CloudSpend.Internal.Update

Request Parameters

- Request Body

application/json
object
Show Sub-Attributes
tag_idstringMandatory

Permission boundary tag ID to update

rules_editedarrayOptional

Existing rules to modify

Show Sub-Attributes
rule_idstringOptional

Rule ID to modify

source_idarrayOptional

Updated source IDs

variationintegerOptional

Updated variation type

mode_idintegerOptional

Updated rule mode

rule_group_namestringOptional

Updated rule group name

rules_addedarrayOptional

New rules to add

Show Sub-Attributes
variationintegerOptional

Variation type ID

mode_idintegerOptional

Rule mode (1=include, 2=exclude)

source_idarrayOptional

Array of source IDs

valuestringOptional

Updated display name

rules_deletedarrayOptional

Rule IDs to delete

Response Parameters

- HTTP code 200 Response Body - application/json

object
Show Sub-Attributes
messagestring
codeinteger

- HTTP code 400 Response Body - application/json

object
Show Sub-Attributes
messagestring

Error message

errorstring

Detailed error description

codeinteger

Error code

- HTTP code 401 Response Body - application/json

object
Show Sub-Attributes
messagestring

Error message

errorstring

Authentication error description

codeinteger

Error code

- HTTP code 403 Response Body - application/json

object
Show Sub-Attributes
messagestring

Error message

errorstring

Forbidden access error description

codeinteger

Error code

- HTTP code 500 Response Body - application/json

object
Show Sub-Attributes
messagestring

Error message

errorstring

Internal server error description

codeinteger

Error code

Possible HTTP Status Codes

200HTTP code

Successfully updated permission boundary

400HTTP code

Bad request - Invalid parameters or request format

401HTTP code

Unauthorized - Invalid or missing authentication

403HTTP code

Forbidden - Insufficient permissions

500HTTP code

Internal server error

Get governance spend analysis by account

Retrieves spend analysis for governance accounts with cloud account hierarchy and integration details. Use this to investigate account-level spending with child account structure for governance violation root cause analysis.

Request URL

https://www.site24x7.com/cs/api/cost/governance/spend_analysis

Scope

CloudSpend.Internal.Read

Request Parameters

- Query Parameters
cost_account_idstringMandatory

Cost account identifier from governance dashboard account associations.

Response Parameters

- HTTP code 200 Response Body - application/json

object
Show Sub-Attributes
messagestring
dataobject
Show Sub-Attributes
all_accountsarray
Show Sub-Attributes
cloud_typeinteger

Cloud provider type (0=AWS, 1=Azure, 2=GCP)

child_accountsarray
Show Sub-Attributes
namestring

Account display name

billing_account_idstring

Associated billing account ID

aws_account_idstring

AWS account identifier

is_payer_accountboolean

Whether this is a payer account

name_with_entitystring

Full name with entity classification

integrated_zaaidsarray

List of integrated Zoho Account IDs

cost_account_idstring

Parent cost account identifier

account_namestring

Parent account name

max_datestring

Maximum available data date with timezone

min_datestring

Minimum available data date

codeinteger

- HTTP code 400 Response Body - application/json

object
Show Sub-Attributes
messagestring

Error message

errorstring

Detailed error description

codeinteger

Error code

- HTTP code 401 Response Body - application/json

object
Show Sub-Attributes
messagestring

Error message

errorstring

Authentication error description

codeinteger

Error code

- HTTP code 500 Response Body - application/json

object
Show Sub-Attributes
messagestring

Error message

errorstring

Server error description

codeinteger

Error code

Possible HTTP Status Codes

200HTTP code

Successfully retrieved governance spend analysis

400HTTP code

Bad request - Invalid parameters or request format

401HTTP code

Unauthorized - Invalid or missing authentication

500HTTP code

Internal server error

List spend analysis report profiles

Retrieves scheduled report profiles specifically for cost centers spend analysis reports. Use this to get profile IDs required by the generateSpendAnalysisReport API for scheduling and delivery.

Request URL

https://www.site24x7.com/cs/api/cost/cost_centers/spend_analysis/report/profiles

Scope

CloudSpend.Internal.Read

Response Parameters

- HTTP code 200 Response Body - application/json

object
Show Sub-Attributes
messagestring

Response message

dataobject
Show Sub-Attributes
return_dataobject
Show Sub-Attributes
return_dataarray

List of spend analysis report profiles

Show Sub-Attributes
periodinteger

Reporting period identifier: - 1: This period - 5: Last three months - 10: Custom period - 11: Previous period - 14: Current month

report_hour_meridieminteger

Meridiem flag (1=AM, 2=PM)

timezonestring

Timezone of the report schedule

report_hourinteger

Hour at which the report is scheduled (0-23)

report_hour_meridiem_textstring

Text representation of the meridiem

frequencyinteger

Report frequency (1=Monthly, 2=Quarterly, 3=Yearly, 4=Daily, 7=Weekly)

report_dayinteger

Day of the month/week when the report runs

report_timeinteger

Report time in hours (0-23)

profile_idstring

Unique identifier for the report profile

default_profileinteger

Flag indicating whether the profile is default (1) or custom (0)

namestring

Name of the report profile

report_monthinteger

Month configuration for the report

configstring

Internal configuration string for system use

codeinteger

Status code of the response (0 indicates success)

- HTTP code 400 Response Body - application/json

object
Show Sub-Attributes
messagestring

Error message

errorstring

Detailed error description

codeinteger

Error code

- HTTP code 401 Response Body - application/json

object
Show Sub-Attributes
messagestring

Error message

errorstring

Authentication error description

codeinteger

Error code

- HTTP code 500 Response Body - application/json

object
Show Sub-Attributes
messagestring

Error message

errorstring

Server error description

codeinteger

Error code

Possible HTTP Status Codes

200HTTP code

Successfully retrieved spend analysis report profiles.

400HTTP code

Bad request - Invalid parameters or request format

401HTTP code

Unauthorized - Invalid or missing authentication

500HTTP code

Internal server error

Get available tags for specific accounts

Retrieves available tags for specified accounts categorized by version for budget policy creation. Use this after account selection to discover tag dimensions for tag-filtered anomaly budget policies.

Request URL

https://www.site24x7.com/cs/api/cost/anomaly/tags

Scope

CloudSpend.Internal.Read

Request Parameters

- Query Parameters
JSONStringstringMandatory

Required JSON string containing account filter: - cost_account_id: Array of account IDs to get tags for

Response Parameters

- HTTP code 200 Response Body - application/json

object
Show Sub-Attributes
messagestring

Response message

dataobject
Show Sub-Attributes
Tagsarray

List of available tags for the specified accounts

Show Sub-Attributes
typestring

Tag type (usually empty for standard tags)

colorstring

Color code for tag visualization (optional)

tagIdstring

Unique identifier for the tag

valuestring

Tag value

keystring

Tag key/name

vinteger

Tag version/category: - -4: Cost center tags - -3: Custom user tags - -2: Manual tags - 0: Resource tags - 1000+: System tags

codeinteger

Response status code

- HTTP code 400 Response Body - application/json

object
Show Sub-Attributes
messagestring
codeinteger

- HTTP code 401 Response Body - application/json

object
Show Sub-Attributes
messagestring

Error message

errorstring

Authentication error description

codeinteger

Error code

- HTTP code 403 Response Body - application/json

object
Show Sub-Attributes
messagestring

Error message

errorstring

Forbidden access error description

codeinteger

Error code

- HTTP code 500 Response Body - application/json

object
Show Sub-Attributes
messagestring

Error message

errorstring

Internal server error description

codeinteger

Error code

Possible HTTP Status Codes

200HTTP code

Successfully retrieved tags for specified accounts

400HTTP code

Bad request - Invalid JSONString parameter

401HTTP code

Unauthorized - Invalid or missing authentication

403HTTP code

Forbidden - Insufficient permissions

500HTTP code

Internal server error

Create scheduled resource inventory list report

Creates a scheduled resource inventory list report with grouping options for automated detailed resource reporting. Use this to schedule inventory list reports grouped by accounts, services, or regions with configurable delivery settings.

Request URL

https://www.site24x7.com/cs/api/cost/reports/resource_inventory/ri_list/report

Scope

CloudSpend.Internal.Create

Request Parameters

- Request Body

application/json
object
Show Sub-Attributes
cost_idsarrayMandatory

Array of cost account IDs for report generation

profileobjectMandatory

Scheduling profile configuration

Show Sub-Attributes
profile_idstringMandatory

Selected scheduling profile identifier

formatintegerMandatory

Report format for delivery

report_namestringMandatory

User-defined name for the scheduled list report

typeintegerMandatory

Report type identifier (always 21 for Resource Inventory List reports)

contact_idsarrayMandatory

Array of recipient configurations for report delivery

Show Sub-Attributes
contact_idstringMandatory

User ID or Group ID for delivery

contact_typestringMandatory

Contact type (1=User, 2=Group)

group_by_typeintegerMandatory

Resource grouping strategy for list report organization

frequencyintegerMandatory

Delivery frequency in days

Response Parameters

- HTTP code 200 Response Body - application/json

object
Show Sub-Attributes
messagestring

Response status message

dataobject
Show Sub-Attributes
report_idstring

Unique identifier for the created scheduled report

codeinteger

Response status code

- HTTP code 400 Response Body - application/json

object
Show Sub-Attributes
messagestring

Error message

errorstring

Detailed error description

codeinteger

Error code

- HTTP code 401 Response Body - application/json

object
Show Sub-Attributes
messagestring

Error message

errorstring

Authentication error description

codeinteger

Error code

- HTTP code 403 Response Body - application/json

object
Show Sub-Attributes
messagestring

Error message

errorstring

Forbidden access error description

codeinteger

Error code

- HTTP code 500 Response Body - application/json

object
Show Sub-Attributes
messagestring

Error message

errorstring

Internal server error description

codeinteger

Error code

Possible HTTP Status Codes

200HTTP code

Successfully created scheduled resource inventory list report

400HTTP code

Bad request - Invalid parameters or request format

401HTTP code

Unauthorized - Invalid or missing authentication

403HTTP code

Forbidden - Insufficient permissions

500HTTP code

Internal server error

Resend user invitation email

Resends the activation invitation email to a user whose original invite expired or was not received. Use this for users with is_invited=true status who need a fresh invitation link to complete account activation.

Request URL

https://www.site24x7.com/cs/api/cost/resend_invite

Scope

CloudSpend.Internal.Create

Request Parameters

- Request Body

application/json
object
Show Sub-Attributes
emailemailMandatory

Email address of the invited user

Response Parameters

- HTTP code 200 Response Body - application/json

object
Show Sub-Attributes
messagestring
dataobject
Show Sub-Attributes
statusstring
codeinteger

- HTTP code 400 Response Body - application/json

object
Show Sub-Attributes
messagestring

Error message

errorstring

Detailed error description

codeinteger

Error code

- HTTP code 401 Response Body - application/json

object
Show Sub-Attributes
messagestring

Error message

errorstring

Authentication error description

codeinteger

Error code

- HTTP code 403 Response Body - application/json

object
Show Sub-Attributes
messagestring

Error message

errorstring

Forbidden access error description

codeinteger

Error code

- HTTP code 500 Response Body - application/json

object
Show Sub-Attributes
messagestring

Error message

errorstring

Internal server error description

codeinteger

Error code

Possible HTTP Status Codes

200HTTP code

Invitation resent successfully

400HTTP code

Bad request - Invalid parameters or request format

401HTTP code

Unauthorized - Invalid or missing authentication

403HTTP code

Forbidden - Insufficient permissions

500HTTP code

Internal server error

Create a new rule in Rule Engine

Creates a new rule that defines criteria to match cloud resources and actions to apply such as tagging.

Request URL

https://www.site24x7.com/cs/api/cost/admin/rule

Scope

CloudSpend.Internal.Create

Request Parameters

- Request Body

application/json
object
Show Sub-Attributes
cost_account_idlongMandatory

Source entity ID (cost account, cost center, or solution report ID)

action_idintegerMandatory

Action type to perform: 1=Apply tags

action_tagsstring(length <= 2000)Mandatory

JSON-stringified array of tag key-value pairs to apply

descriptionstring(length <= 5000)Optional

Optional description of the rule

runintegerOptional

0=Save only, 1=Save and run immediately

run_after_parsingbooleanOptional

Whether to automatically run this rule after data parsing completes

report_typeintegerOptional

Source type: 0=Cost Account, 1=Cost Center, 2=Solution Report

display_namestringMandatory

Display name for the rule

criteria_tagsstringMandatory

JSON-stringified tag criteria array defining resource matching rules

Response Parameters

- HTTP code 200 Response Body - application/json

- HTTP code 400 Response Body - application/json

object
Show Sub-Attributes
messagestring

Error message

errorstring

Detailed error description

codeinteger

Error code

- HTTP code 401 Response Body - application/json

object
Show Sub-Attributes
messagestring

Error message

errorstring

Authentication error description

codeinteger

Error code

- HTTP code 403 Response Body - application/json

object
Show Sub-Attributes
messagestring

Error message

errorstring

Forbidden access error description

codeinteger

Error code

- HTTP code 500 Response Body - application/json

object
Show Sub-Attributes
messagestring

Error message

errorstring

Internal server error description

codeinteger

Error code

Possible HTTP Status Codes

200HTTP code

Rule created successfully

400HTTP code

Bad request - Invalid parameters or request format

401HTTP code

Unauthorized - Invalid or missing authentication

403HTTP code

Forbidden - Insufficient permissions

500HTTP code

Internal server error

List all rules configured in Rule Engine

Retrieves all rules configured in the Rule Engine with their IDs, names, and descriptions.

Request URL

https://www.site24x7.com/cs/api/cost/admin/rule

Scope

CloudSpend.Internal.Read

Response Parameters

- HTTP code 200 Response Body - application/json

- HTTP code 400 Response Body - application/json

object
Show Sub-Attributes
messagestring

Error message

errorstring

Detailed error description

codeinteger

Error code

- HTTP code 401 Response Body - application/json

object
Show Sub-Attributes
messagestring

Error message

errorstring

Authentication error description

codeinteger

Error code

- HTTP code 403 Response Body - application/json

object
Show Sub-Attributes
messagestring

Error message

errorstring

Forbidden access error description

codeinteger

Error code

- HTTP code 500 Response Body - application/json

object
Show Sub-Attributes
messagestring

Error message

errorstring

Internal server error description

codeinteger

Error code

Possible HTTP Status Codes

200HTTP code

Successfully retrieved list of rules

400HTTP code

Bad request - Invalid parameters or request format

401HTTP code

Unauthorized - Invalid or missing authentication

403HTTP code

Forbidden - Insufficient permissions

500HTTP code

Internal server error

Get accounts for budget management

Retrieves cloud accounts for budget management with spending data, status breakdown, and forecasts. Use this to discover accounts for budget policy creation, including processed/suspended/error status and spending metrics.

Request URL

https://www.site24x7.com/cs/api/cost/budget/accounts

Scope

CloudSpend.Internal.Read

Response Parameters

- HTTP code 200 Response Body - application/json

object
Show Sub-Attributes
messagestring
dataobject
Show Sub-Attributes
current_month_totalfloat

Total spending for current month across all accounts

previous_month_totalfloat

Total spending for previous month across all accounts

total_accountsinteger

Total number of accounts

all_accountsobject
Show Sub-Attributes
processing_accountsobject

Accounts currently being processed

Show Sub-Attributes
suspended_accountsobject

Accounts with processing suspended

Show Sub-Attributes
config_error_accountsobject

Accounts with configuration errors

Show Sub-Attributes
processed_accountsobject

Successfully processed accounts with full data

Show Sub-Attributes
codeinteger

- HTTP code 400 Response Body - application/json

object
Show Sub-Attributes
messagestring

Error message

errorstring

Detailed error description

codeinteger

Error code

- HTTP code 401 Response Body - application/json

object
Show Sub-Attributes
messagestring

Error message

errorstring

Authentication error description

codeinteger

Error code

- HTTP code 500 Response Body - application/json

object
Show Sub-Attributes
messagestring

Error message

errorstring

Server error description

codeinteger

Error code

Possible HTTP Status Codes

200HTTP code

Successfully retrieved account information for budget policy creation

400HTTP code

Bad request - Invalid parameters or request format

401HTTP code

Unauthorized - Invalid or missing authentication

500HTTP code

Internal server error

Create governance policy profile

Creates a custom governance policy profile with tag-based filtering for governance check configuration. Use this to define governance rules with specific account associations and tag filtering criteria before creating governance checks.

Request URL

https://www.site24x7.com/cs/api/cost/governance/budget_policy

Scope

CloudSpend.Internal.Create

Request Parameters

- Request Body

application/json
object
Show Sub-Attributes
governance_tagsarrayMandatory

Tag-based filtering rules for governance policy.

policy_namestringMandatory

Name for the governance policy profile.

account_typeintegerMandatory

Account type for policy scope definition.

policy_typeintegerMandatory

Policy type specification for governance rules: - 2: Governance policy type

account_idstringMandatory

Account identifier for policy association.

Response Parameters

- HTTP code 200 Response Body - application/json

object
Show Sub-Attributes
messagestring

Response message

dataobject

Policy creation response data

Show Sub-Attributes
datastring

Policy creation confirmation message

policy_idstring

Generated policy identifier for governance check configuration

codeinteger

Response status code

- HTTP code 400 Response Body - application/json

object
Show Sub-Attributes
messagestring

Error message

errorstring

Detailed error description

codeinteger

Error code

- HTTP code 401 Response Body - application/json

object
Show Sub-Attributes
messagestring

Error message

errorstring

Authentication error description

codeinteger

Error code

- HTTP code 500 Response Body - application/json

object
Show Sub-Attributes
messagestring

Error message

errorstring

Server error description

codeinteger

Error code

Possible HTTP Status Codes

200HTTP code

Governance policy created successfully

400HTTP code

Bad request - Invalid parameters or request format

401HTTP code

Unauthorized - Invalid or missing authentication

500HTTP code

Internal server error

Create a new report profile

Creates a report scheduling profile with delivery frequency, period, timezone, and reporting hour for automated report generation. Use this when an admin defines a reusable schedule template attachable to any report type for periodic delivery.

Request URL

https://www.site24x7.com/cs/api/cost/report/profile

Scope

CloudSpend.Internal.Create

Request Parameters

- Request Body

application/json
object
Show Sub-Attributes
profile_namestringMandatory

Display name for the new report profile

periodintegerMandatory

Report period/time range for the profile - 1: Last Month - 2: Last Quarter - 3: Last Year - 4: Yesterday - 5: Last 3 Months - 6: Last 6 Months - 7: Last Week - 8: Last 7 Days - 9: Last 30 Days - 10: This Week - 11: This Month (most common) - 12: This Quarter - 13: This Year - 14: Default

hourintegerMandatory

Hour of day for report delivery (0-23 in 24-hour format)

monthintegerOptional

Month for report delivery. Required for Quarterly and Yearly frequencies only. - For Quarterly (frequency=2): Month within quarter (0=1st month, 1=2nd month, 2=3rd month) - For Yearly (frequency=3): Month of year (0=January, 1=February, …, 11=December)

timezonestringMandatory

Timezone for report delivery scheduling

dayintegerOptional

Day for report delivery. Required for non-Daily frequencies. - For Weekly frequency (7): Day of week (1=Sunday, 2=Monday, …, 7=Saturday) - For Monthly/Quarterly/Yearly: Day of month (1-31)

frequencyintegerMandatory

Report delivery frequency in days - 1: Monthly (every 30 days) - 4: Daily (every day) - 7: Weekly (every 7 days) - 30: Quarterly (every 90 days) - 365: Yearly (every 365 days)

Response Parameters

- HTTP code 200 Response Body - application/json

object
Show Sub-Attributes
messagestring

Response status message

dataobject
Show Sub-Attributes
profile_idstring

Unique identifier for the newly created profile

codeinteger

Response status code

- HTTP code 400 Response Body - application/json

object
Show Sub-Attributes
messagestring

Error message

errorstring

Detailed error description

codeinteger

Error code

- HTTP code 401 Response Body - application/json

object
Show Sub-Attributes
messagestring

Error message

errorstring

Authentication error description

codeinteger

Error code

- HTTP code 403 Response Body - application/json

object
Show Sub-Attributes
messagestring

Error message

errorstring

Forbidden access error description

codeinteger

Error code

- HTTP code 500 Response Body - application/json

object
Show Sub-Attributes
messagestring

Error message

errorstring

Internal server error description

codeinteger

Error code

Possible HTTP Status Codes

200HTTP code

Successfully created report profile

400HTTP code

Bad request - Invalid parameters or request format

401HTTP code

Unauthorized - Invalid or missing authentication

403HTTP code

Forbidden - Insufficient permissions

500HTTP code

Internal server error

Get schedule profiles for zia anomaly details report scheduling

Retrieves available scheduling profiles for anomaly details report delivery with individual anomaly selection support. Use this to present scheduling options before creating detailed anomaly reports targeting specific anomaly records.

Request URL

https://www.site24x7.com/cs/api/reports/anomaly/list/details/report/profiles

Scope

CloudSpend.Internal.Read

Response Parameters

- HTTP code 200 Response Body - application/json

object
Show Sub-Attributes
messagestring
dataobject
Show Sub-Attributes
return_dataobject
Show Sub-Attributes
return_dataarray

Available scheduling profiles for anomaly details reports

Show Sub-Attributes
object

Schedule profile configuration for report delivery

Show Sub-Attributes
periodinteger

Period configuration for scheduling

report_hour_meridieminteger

AM/PM indicator (1=AM, 2=PM)

timezonestring

Timezone for report delivery

report_hourinteger

Hour for report delivery (0-12)

report_hour_meridiem_textstring

AM/PM text representation

frequencyinteger

Report frequency (1=Monthly, 4=Daily, 7=Weekly)

report_dayinteger

Day configuration for scheduling

report_timeinteger

Time configuration identifier

profile_idstring

Unique profile identifier

default_profileinteger

Default profile flag (0=Custom, 1=Default)

namestring

Profile display name

report_monthinteger

Month configuration for scheduling

configstring

Profile configuration details

codeinteger

- HTTP code 400 Response Body - application/json

object
Show Sub-Attributes
messagestring

Error message

errorstring

Detailed error description

codeinteger

Error code

- HTTP code 401 Response Body - application/json

object
Show Sub-Attributes
messagestring

Error message

errorstring

Authentication error description

codeinteger

Error code

- HTTP code 403 Response Body - application/json

object
Show Sub-Attributes
messagestring

Error message

errorstring

Forbidden access error description

codeinteger

Error code

- HTTP code 500 Response Body - application/json

object
Show Sub-Attributes
messagestring

Error message

errorstring

Internal server error description

codeinteger

Error code

Possible HTTP Status Codes

200HTTP code

Successfully retrieved anomaly details schedule profiles

400HTTP code

Bad request - Invalid parameters or request format

401HTTP code

Unauthorized - Invalid or missing authentication

403HTTP code

Forbidden - Insufficient permissions

500HTTP code

Internal server error

Generate anomaly details report

Generates anomaly detection reports with spending patterns, variance analysis, and alert details for accounts with detected anomalies.

Request URL

https://www.site24x7.com/cs/api/cost/accounts/spend_analysis/anomaly/details/report

Scope

CloudSpend.Internal.Create

Request Parameters

- Request Body

application/json
object
Show Sub-Attributes
cost_idsarrayMandatory

Account ID array

profileobjectMandatory
Show Sub-Attributes
profile_idstringOptional

Profile identifier for report generation

formatintegerMandatory

Report format: 1=PDF, 2=CSV

report_namestringMandatory

User-defined report name

typeintegerMandatory

Report type: 26 (Anomaly Details)

contact_idsarrayMandatory

Array of contact objects for report delivery

Show Sub-Attributes
contact_idstringOptional

Contact identifier for report delivery

contact_typestringOptional

Type of contact (1=user, 2=group)

frequencyintegerMandatory

Use EXACT frequency value response. Get profile.frequency from API response.

Response Parameters

- HTTP code 200 Response Body - application/json

object

Response for generateAnomalyDetailsReport API - anomaly detection report scheduling confirmation

Show Sub-Attributes
messagestring(length <= 255)

Response message indicating report generation status

dataobject

Report generation result data

Show Sub-Attributes
anomaly_countinteger

Number of anomalies included in the report

scheduled_timestring(length <= 255)

Scheduled delivery time for the report

report_idstring(length <= 255)

Unique identifier for the generated anomaly report

statusstring(length <= 50)

Report generation status (scheduled, processing, completed)

codeinteger

Response status code (0 = success)

- HTTP code 400 Response Body - application/json

object
Show Sub-Attributes
messagestring

Error message

errorstring

Detailed error description

codeinteger

Error code

Possible HTTP Status Codes

200HTTP code

Report generation initiated successfully

400HTTP code

Bad request - Invalid parameters or request format

Get unit cost details

Retrieves unit cost breakdown data showing cost-per-unit metrics across services, regions, and usage types. Use this to display the main unit cost summary for the selected account and date range.

Request URL

https://www.site24x7.com/cs/api/cost/reports/unit/economics/list

Scope

CloudSpend.Internal.Read

Request Parameters

- Request Body

application/json
object
Show Sub-Attributes
end_datedateMandatory

End date for the analysis period

cost_tagsarrayOptional

Cost tags filter

periodintegerOptional

Period type identifier

unit_economics_typeintegerMandatory

Unit economics entity type

business_unit_idlongOptional

Cost center ID for scoping (optional)

unit_economics_idlongMandatory

Unit economics entity ID for filtering

cost_typeintegerOptional

Cost type identifier

accountsarrayMandatory

Selected cost accounts with their billing account IDs

Show Sub-Attributes
cost_account_idstringOptional

Parent cost account ID

billing_account_idsarrayOptional

Child billing account IDs

start_datedateMandatory

Start date for the analysis period

Response Parameters

- HTTP code 200 Response Body - application/json

object
Show Sub-Attributes
messagestring

Response status message

dataobject

Unit cost breakdown data with cost-per-unit metrics

Show Sub-Attributes
codeinteger

Response status code

- HTTP code 400 Response Body - application/json

object
Show Sub-Attributes
messagestring

Error message

errorstring

Detailed error description

codeinteger

Error code

- HTTP code 401 Response Body - application/json

object
Show Sub-Attributes
messagestring

Error message

errorstring

Authentication error description

codeinteger

Error code

- HTTP code 403 Response Body - application/json

object
Show Sub-Attributes
messagestring

Error message

errorstring

Forbidden access error description

codeinteger

Error code

- HTTP code 500 Response Body - application/json

object
Show Sub-Attributes
messagestring

Error message

errorstring

Internal server error description

codeinteger

Error code

Possible HTTP Status Codes

200HTTP code

Successfully retrieved unit cost details

400HTTP code

Bad request - Invalid parameters or request format

401HTTP code

Unauthorized - Invalid or missing authentication

403HTTP code

Forbidden - Insufficient permissions

500HTTP code

Internal server error

Get cost centers accounts configuration data

Retrieves account hierarchy data for cost centers configuration with cloud types, parent-child relationships, and billing IDs. Use this as step 2 in cost centers configuration to discover available accounts for assignment.

Request URL

https://www.site24x7.com/cs/api/cost/cost_centers/accounts_data

Scope

CloudSpend.Internal.Read

Response Parameters

- HTTP code 200 Response Body - application/json

object
Show Sub-Attributes
messagestring

Response message

dataobject
Show Sub-Attributes
all_accountsarray

Array of all available accounts for cost centers configuration

Show Sub-Attributes
zaaidstring

Zoho account administrator ID

cloud_typeinteger

Cloud provider type: 0=AWS, 1=Azure, 2=GCP

child_accountsarray

Array of child billing accounts

Show Sub-Attributes
namestring

Account name

billing_account_idstring

CloudSpend billing account identifier

cloud_typeinteger

Cloud provider type: 0=AWS, 1=Azure, 2=GCP

aws_account_idstring

Cloud provider account ID (AWS account ID, Azure subscription ID, or GCP project ID)

is_payer_accountboolean

Whether this account is responsible for billing

name_with_entitystring

Full account name with entity type

cost_account_idstring

Parent cost account identifier

account_namestring

Display name for the account

codeinteger

Status code (0 indicates success)

- HTTP code 400 Response Body - application/json

object
Show Sub-Attributes
messagestring

Error message

errorstring

Detailed error description

codeinteger

Error code

- HTTP code 401 Response Body - application/json

object
Show Sub-Attributes
messagestring

Error message

errorstring

Authentication error description

codeinteger

Error code

- HTTP code 500 Response Body - application/json

object
Show Sub-Attributes
messagestring

Error message

errorstring

Server error description

codeinteger

Error code

Possible HTTP Status Codes

200HTTP code

Successfully retrieved cost centers accounts configuration data

400HTTP code

Bad request - Invalid parameters or request format

401HTTP code

Unauthorized - Invalid or missing authentication

500HTTP code

Internal server error

Get cost breakdown data by dimensions for dashboard widgets

Provides dashboard cost breakdown by components, regions, services, and data transfer for account cost analysis.

Request URL

https://www.site24x7.com/cs/api/cost/accounts/common_widget_api

Scope

CloudSpend.Internal.Create

Request Parameters

- Request Body

application/json
object
Show Sub-Attributes
end_datedateMandatory

End date in YYYY-MM-DD format

cost_tagsarrayMandatory

Empty array [] (required constant)

periodintegerMandatory

Period setting: 1 (required constant)

accountsarrayMandatory

Account structure array with cost_account_id and billing_account_ids

Show Sub-Attributes
cost_account_idstringOptional

Parent account ID

billing_account_idsarrayOptional

Array of child billing account IDs

cost_typeintegerMandatory

0 for AWS, 20 for Azure/GCP. Get cloud_type field.

start_datedateMandatory

Start date in YYYY-MM-DD format. CALCULATE: first day of previous month

Response Parameters

- HTTP code 200 Response Body - application/json

object

Response for getAccountsCommonWidget API - cost breakdown by dimensions

Show Sub-Attributes
messagestring(length <= 255)

Response message

dataobject

Container for cost breakdown data

Show Sub-Attributes
return_dataarray

Array of 4 dimension breakdowns: [0]=Region, [1]=Service, [2]=Data Transfer, [3]=Components

codeinteger

Response status code (0 = success)

- HTTP code 400 Response Body - application/json

object
Show Sub-Attributes
messagestring

Error message

errorstring

Detailed error description

codeinteger

Error code

Possible HTTP Status Codes

200HTTP code

Successful response with cost breakdown data by dimensions: - return_data[0]: Cost by Region (region_name, cost_amount) - return_data[1]: Cost by Service (service_name, cost_amount) - return_data[2]: Cost by Data Transfer (transfer_type, cost_amount) - return_data[3]: Cost by Components (usage_type, cost_amount)

400HTTP code

Bad request - Invalid parameters or request format

Create governance check configuration

Creates a governance check with policy association, threshold value, and user notifications. Use this to set up compliance monitoring with spending thresholds and alert recipients for accounts, cost centers, or reports.

Request URL

https://www.site24x7.com/cs/api/cost/governance/checks

Scope

CloudSpend.Internal.Create

Request Parameters

- Request Body

application/json
object
Show Sub-Attributes
account_typeintegerMandatory

Type: 0=Account, 1=Cost Center, 2=Report

budget_namestringMandatory

Governance check name

account_idstringMandatory

Account/BU/Report ID

budget_valuenumberMandatory

Threshold value for governance compliance

alert_configsarrayMandatory

Alert thresholds. Use [{"notify_percentage": 80}, {"notify_percentage": 100}] for 80% and 100% alerts.

Show Sub-Attributes
notify_percentageintegerOptional

Alert at this percentage of threshold (e.g., 80, 100)

checks_typeintegerMandatory

Always 3 for governance checks

contact_idsarrayMandatory

User IDs for notifications (from getGovernanceUsersChecks). Empty array [] if no notifications.

Response Parameters

- HTTP code 200 Response Body - application/json

object
Show Sub-Attributes
messagestring
dataobject
Show Sub-Attributes
checks_idstring

Unique identifier for the created governance check

datastring

Creation confirmation message

codeinteger

- HTTP code 400 Response Body - application/json

object
Show Sub-Attributes
messagestring

Error message

errorstring

Detailed error description

codeinteger

Error code

- HTTP code 401 Response Body - application/json

object
Show Sub-Attributes
messagestring

Error message

errorstring

Authentication error description

codeinteger

Error code

- HTTP code 500 Response Body - application/json

object
Show Sub-Attributes
messagestring

Error message

errorstring

Server error description

codeinteger

Error code

Possible HTTP Status Codes

200HTTP code

Governance check created successfully

400HTTP code

Bad request - Invalid parameters or request format

401HTTP code

Unauthorized - Invalid or missing authentication

500HTTP code

Internal server error

Get available schedule profiles for report scheduling

Retrieves available scheduling profiles for custom report delivery configuration with frequency and timing options. Use this to present scheduling profile options when setting up automated custom report delivery.

Request URL

https://www.site24x7.com/cs/api/cost/reports/custom_report/report/profiles

Scope

CloudSpend.Internal.Read

Response Parameters

- HTTP code 200 Response Body - application/json

object
Show Sub-Attributes
messagestring

Response status message

dataobject

Schedule profiles data container

Show Sub-Attributes
return_dataobject

Nested return data structure

Show Sub-Attributes
return_dataarray

Array of available schedule profiles

Show Sub-Attributes
periodinteger

Report period type (1=current month, 7=last week, 11=last month, 14=current month)

report_hour_meridieminteger

AM/PM indicator (1=AM, 2=PM)

timezonestring

Timezone for delivery scheduling

report_hourinteger

Hour of delivery (1-12)

report_hour_meridiem_textstring

AM/PM text representation

frequencyinteger

Days between report deliveries (1=monthly, 4=daily, 7=weekly)

report_dayinteger

Day of week (1-7) for weekly or day of month for monthly

report_timeinteger

Hour in 24-hour format

profile_idstring

Unique identifier for the profile

default_profileinteger

Whether this is the default profile (1=default, 0=custom)

namestring

Display name of the profile

report_monthinteger

Month specification (0=current)

configstring

Configuration string (typically timezone)

codeinteger

Response status code

- HTTP code 400 Response Body - application/json

object
Show Sub-Attributes
messagestring

Error message

errorstring

Detailed error description

codeinteger

Error code

- HTTP code 401 Response Body - application/json

object
Show Sub-Attributes
messagestring

Error message

errorstring

Authentication error description

codeinteger

Error code

- HTTP code 403 Response Body - application/json

object
Show Sub-Attributes
messagestring

Error message

errorstring

Forbidden access error description

codeinteger

Error code

- HTTP code 500 Response Body - application/json

object
Show Sub-Attributes
messagestring

Error message

errorstring

Internal server error description

codeinteger

Error code

Possible HTTP Status Codes

200HTTP code

Successfully retrieved schedule profiles

400HTTP code

Bad request - Invalid parameters or request format

401HTTP code

Unauthorized - Invalid or missing authentication

403HTTP code

Forbidden - Insufficient permissions

500HTTP code

Internal server error

Get schedule profiles for savings report scheduling

Retrieves available scheduling profiles for savings report delivery with frequency, timing, and timezone options. Use this to present scheduling profile options when setting up automated savings report delivery.

Request URL

https://www.site24x7.com/cs/api/cost/reports/savings_report/report/profiles

Scope

CloudSpend.Internal.Read

Response Parameters

- HTTP code 200 Response Body - application/json

object
Show Sub-Attributes
messagestring
dataobject
Show Sub-Attributes
return_dataobject
Show Sub-Attributes
return_dataarray

Available scheduling profiles for savings reports

Show Sub-Attributes
periodinteger

Report period type (1=current period, 11=last month, 14=current month)

report_hour_meridieminteger

AM/PM indicator (1=AM, 2=PM)

timezonestring

Timezone for delivery scheduling

report_hourinteger

Hour of day for delivery (0-23)

report_hour_meridiem_textstring

Text representation of AM/PM

frequencyinteger

Frequency ID (1=monthly, 4=daily, 7=weekly)

report_dayinteger

Day of week (for weekly) or day of month (for monthly)

report_timeinteger

Time configuration for delivery

profile_idstring

Unique profile identifier for savings scheduling

default_profileinteger

Whether this is the default profile (1=default, 0=custom)

namestring

Display name for profile selection

report_monthinteger

Month configuration (typically 0)

configstring

Configuration timezone setting

codeinteger

- HTTP code 400 Response Body - application/json

object
Show Sub-Attributes
messagestring

Error message

errorstring

Detailed error description

codeinteger

Error code

- HTTP code 401 Response Body - application/json

object
Show Sub-Attributes
messagestring

Error message

errorstring

Authentication error description

codeinteger

Error code

- HTTP code 403 Response Body - application/json

object
Show Sub-Attributes
messagestring

Error message

errorstring

Forbidden access error description

codeinteger

Error code

- HTTP code 500 Response Body - application/json

object
Show Sub-Attributes
messagestring

Error message

errorstring

Internal server error description

codeinteger

Error code

Possible HTTP Status Codes

200HTTP code

Successfully retrieved savings schedule profiles

400HTTP code

Bad request - Invalid parameters or request format

401HTTP code

Unauthorized - Invalid or missing authentication

403HTTP code

Forbidden - Insufficient permissions

500HTTP code

Internal server error

Check MSP admin status

Validate whether the current user has MSP (Managed Service Provider) admin privileges for cost centers configuration. Use this as the first step in cost centers configuration workflows to determine available options.

Request URL

https://www.site24x7.com/cs/api/cost/integration/msp_customers

Scope

CloudSpend.Internal.Read

Response Parameters

- HTTP code 200 Response Body - application/json

object
Show Sub-Attributes
messagestring

Response message

dataobject
Show Sub-Attributes
isMSPAdminboolean

Whether the user has MSP admin privileges

codeinteger

Status code (0 indicates success)

- HTTP code 400 Response Body - application/json

object
Show Sub-Attributes
messagestring

Error message

errorstring

Detailed error description

codeinteger

Error code

- HTTP code 401 Response Body - application/json

object
Show Sub-Attributes
messagestring

Error message

errorstring

Authentication error description

codeinteger

Error code

- HTTP code 500 Response Body - application/json

object
Show Sub-Attributes
messagestring

Error message

errorstring

Server error description

codeinteger

Error code

Possible HTTP Status Codes

200HTTP code

Successfully retrieved MSP admin status

400HTTP code

Bad request - Invalid parameters or request format

401HTTP code

Unauthorized - Invalid or missing authentication

500HTTP code

Internal server error

Create scheduled summary report

Creates a scheduled summary report delivery for automated summary dashboard generation and distribution. Use this to complete summary report scheduling with profile, recipients, and format preferences.

Request URL

https://www.site24x7.com/cs/api/cost/reports/summary_report/report

Scope

CloudSpend.Internal.Create

Request Parameters

- Request Body

application/json
object
Show Sub-Attributes
cost_idsarrayMandatory

Empty array for summary reports (all accounts included)

profileobjectMandatory

Schedule profile configuration

Show Sub-Attributes
profile_idstringMandatory

Profile ID from schedule profiles API

formatintegerMandatory

Report format - 1=PDF, 2=CSV

report_namestringMandatory

Name for the scheduled summary report

typeintegerMandatory

Report type - 18 for Summary Report

contact_idsarrayMandatory

Array of contact objects for report delivery

Show Sub-Attributes
contact_idstringOptional

User ID from /cs/api/cost/reports/users API

contact_typestringOptional

Contact type - 1=User, 2=Group

frequencyintegerMandatory

Report frequency - 1=Monthly, 4=Daily, 7=Weekly

Response Parameters

- HTTP code 200 Response Body - application/json

object
Show Sub-Attributes
messagestring
dataobject
Show Sub-Attributes
report_idstring

Unique identifier for the created scheduled report

codeinteger

- HTTP code 400 Response Body - application/json

object
Show Sub-Attributes
messagestring

Error message

errorstring

Detailed error description

codeinteger

Error code

- HTTP code 401 Response Body - application/json

object
Show Sub-Attributes
messagestring

Error message

errorstring

Authentication error description

codeinteger

Error code

- HTTP code 403 Response Body - application/json

object
Show Sub-Attributes
messagestring

Error message

errorstring

Forbidden access error description

codeinteger

Error code

- HTTP code 500 Response Body - application/json

object
Show Sub-Attributes
messagestring

Error message

errorstring

Internal server error description

codeinteger

Error code

Possible HTTP Status Codes

200HTTP code

Successfully created scheduled summary report

400HTTP code

Bad request - Invalid parameters or request format

401HTTP code

Unauthorized - Invalid or missing authentication

403HTTP code

Forbidden - Insufficient permissions

500HTTP code

Internal server error

Get Account Cost Splitup by Billing Accounts

Provides cost distribution across billing accounts with provider breakdowns for chargeback and allocation.

Request URL

https://www.site24x7.com/cs/api/cost/accounts/accounts_splitup

Scope

CloudSpend.Internal.Create

Request Parameters

- Request Body

application/json
object
Show Sub-Attributes
end_datedateMandatory

End date in YYYY-MM-DD format. CALCULATE: current system date

cost_tagsarrayMandatory

Empty array [] (required constant)

periodintegerMandatory

Period setting: 1 (required constant)

accountsarrayMandatory

Account structure array with cost_account_id and billing_account_ids

Show Sub-Attributes
cost_account_idstringMandatory

Parent account ID

billing_account_idsarrayMandatory

Child billing account IDs. Use billing_account_ids array from the selected parent account's child_accounts structure.

cost_typeintegerMandatory

Cost type: 0 for AWS, 20 for Azure/GCP (from getAccountsMetadata cloud_type field)

start_datedateMandatory

Start date in YYYY-MM-DD format. CALCULATE: first day of previous month

Response Parameters

- HTTP code 200 Response Body - application/json

object
Show Sub-Attributes
messagestring

Response message

dataobject
Show Sub-Attributes
return_dataarray

Array of billing account cost breakdowns

codeinteger

Response code (0 = success)

- HTTP code 400 Response Body - application/json

object
Show Sub-Attributes
messagestring

Error message

errorstring

Detailed error description

codeinteger

Error code

- HTTP code 401 Response Body - application/json

object
Show Sub-Attributes
messagestring

Error message

errorstring

Authentication error description

codeinteger

Error code

- HTTP code 404 Response Body - application/json

object
Show Sub-Attributes
messagestring

Error message

errorstring

Not found error description

codeinteger

Error code

- HTTP code 500 Response Body - application/json

object
Show Sub-Attributes
messagestring

Error message

errorstring

Server error description

codeinteger

Error code

Possible HTTP Status Codes

200HTTP code

Splitup analysis response with billing account cost breakdown.

400HTTP code

Bad request - Invalid parameters or request format

401HTTP code

Unauthorized - Invalid or missing authentication

404HTTP code

Not found - Resource does not exist

500HTTP code

Internal server error

Get execution history of all rules

Retrieves the execution history of all rules showing run times, durations, statuses, and execution types.

Request URL

https://www.site24x7.com/cs/api/cost/admin/rule/history

Scope

CloudSpend.Internal.Read

Response Parameters

- HTTP code 200 Response Body - application/json

- HTTP code 400 Response Body - application/json

object
Show Sub-Attributes
messagestring

Error message

errorstring

Detailed error description

codeinteger

Error code

- HTTP code 401 Response Body - application/json

object
Show Sub-Attributes
messagestring

Error message

errorstring

Authentication error description

codeinteger

Error code

- HTTP code 403 Response Body - application/json

object
Show Sub-Attributes
messagestring

Error message

errorstring

Forbidden access error description

codeinteger

Error code

- HTTP code 500 Response Body - application/json

object
Show Sub-Attributes
messagestring

Error message

errorstring

Internal server error description

codeinteger

Error code

Possible HTTP Status Codes

200HTTP code

Successfully retrieved execution history

400HTTP code

Bad request - Invalid parameters or request format

401HTTP code

Unauthorized - Invalid or missing authentication

403HTTP code

Forbidden - Insufficient permissions

500HTTP code

Internal server error

Set custom tags for cost centers cost account

Creates custom key-value tags for a cost centers cost account for organization and cost allocation. Use this to assign custom metadata like Environment, Department, or Project to cost accounts within a cost centers.

Request URL

https://www.site24x7.com/cs/api/cost/cost_centers/custom_tags_for_cc_ca

Scope

CloudSpend.Internal.Create

Request Parameters

- Request Body

application/json
object
Show Sub-Attributes
cost_account_idstringMandatory

Cost centers cost account ID selection (use cost_account_id field NOT id field)

typestringMandatory

Tag assignment type for cost centers

variationintegerMandatory

Variation identifier for cost centers custom tags (must be -4)

tagsarrayMandatory

Array of custom tag key-value pairs to create for the cost centers

Show Sub-Attributes
valuestringMandatory

Custom tag value (user-defined)

keystringMandatory

Custom tag key name (user-defined)

Response Parameters

- HTTP code 200 Response Body - application/json

object
Show Sub-Attributes
messagestring

Response message

dataobject
Show Sub-Attributes
tagIdstring

Generated tag identifier (may be empty for batch operations)

statusstring

Tag creation status message

codeinteger

Status code (0 indicates success)

- HTTP code 400 Response Body - application/json

object
Show Sub-Attributes
messagestring

Error message

errorstring

Detailed error description

codeinteger

Error code

- HTTP code 401 Response Body - application/json

object
Show Sub-Attributes
messagestring

Error message

errorstring

Authentication error description

codeinteger

Error code

- HTTP code 500 Response Body - application/json

object
Show Sub-Attributes
messagestring

Error message

errorstring

Server error description

codeinteger

Error code

Possible HTTP Status Codes

200HTTP code

Custom tags created successfully for cost centers

400HTTP code

Bad request - Invalid parameters or request format

401HTTP code

Unauthorized - Invalid or missing authentication

500HTTP code

Internal server error

Create scheduled savings report

Creates a scheduled savings report delivery for automated cost savings reporting with PDF/CSV format. Use this to complete savings report scheduling with account context, delivery profile, and recipient configuration.

Request URL

https://www.site24x7.com/cs/api/cost/reports/savings_report/report

Scope

CloudSpend.Internal.Create

Request Parameters

- Request Body

application/json
object
Show Sub-Attributes
cost_idsarrayMandatory

Array of selected cost account IDs for savings analysis

profileobjectMandatory

Selected scheduling profile configuration

Show Sub-Attributes
profile_idstringOptional

Profile ID from savings profiles API

formatintegerMandatory

Report format (1=PDF, 2=CSV)

report_namestringMandatory

Display name for the scheduled savings report

typeintegerMandatory

Report type identifier (23 for savings reports)

contact_idsarrayMandatory

Array of recipient configurations with contact IDs and types

Show Sub-Attributes
contact_idstringOptional

User ID or group ID for delivery

contact_typestringOptional

Contact type (1=user, 2=group)

frequencyintegerMandatory

Delivery frequency from selected profile (1=monthly, 4=daily, 7=weekly)

Response Parameters

- HTTP code 200 Response Body - application/json

object
Show Sub-Attributes
messagestring

Response message

dataobject
Show Sub-Attributes
report_idstring

Unique identifier for the created scheduled savings report

codeinteger

Response status code

- HTTP code 400 Response Body - application/json

object
Show Sub-Attributes
messagestring

Error message

errorstring

Detailed error description

codeinteger

Error code

- HTTP code 401 Response Body - application/json

object
Show Sub-Attributes
messagestring

Error message

errorstring

Authentication error description

codeinteger

Error code

- HTTP code 403 Response Body - application/json

object
Show Sub-Attributes
messagestring

Error message

errorstring

Forbidden access error description

codeinteger

Error code

- HTTP code 500 Response Body - application/json

object
Show Sub-Attributes
messagestring

Error message

errorstring

Internal server error description

codeinteger

Error code

Possible HTTP Status Codes

200HTTP code

Successfully created scheduled savings report

400HTTP code

Bad request - Invalid parameters or request format

401HTTP code

Unauthorized - Invalid or missing authentication

403HTTP code

Forbidden - Insufficient permissions

500HTTP code

Internal server error

Get Cost by Resource

Retrieves top cost-driving resources with costs, usage metrics, and optimization recommendations for quick analysis.

Request URL

https://www.site24x7.com/cs/api/cost/accounts/cost_by_resource

Scope

CloudSpend.Internal.Create

Request Parameters

- Request Body

application/json
object
Show Sub-Attributes
end_datedateMandatory

End date in YYYY-MM-DD format. CALCULATE: current system date

cost_tagsarrayMandatory

Empty array [] (required constant)

periodintegerMandatory

Period setting: 1 (required constant)

accountsarrayMandatory

Account structure array with cost_account_id and billing_account_ids

Show Sub-Attributes
cost_account_idstringMandatory

Parent account ID

billing_account_idsarrayMandatory

Child billing account IDs. Use billing_account_ids array from the selected parent account's child_accounts structure.

cost_typeintegerMandatory

Cost type: 0 for AWS, 20 for Azure/GCP (from getAccountsMetadata cloud_type field)

start_datedateMandatory

Start date in YYYY-MM-DD format. CALCULATE: first day of previous month

Response Parameters

- HTTP code 200 Response Body - application/json

object
Show Sub-Attributes
messagestring

Response message

dataobject
Show Sub-Attributes
return_dataarray

Array of top cost resources

Show Sub-Attributes
namestring

Resource name

idstring

Resource ID

typestring

AWS service type (e.g., AmazonCloudWatch, AmazonRDS)

valuefloat

Cost value

groupstring

Resource group classification

codeinteger

Response code (0 = success)

- HTTP code 400 Response Body - application/json

object
Show Sub-Attributes
messagestring

Error message

errorstring

Detailed error description

codeinteger

Error code

- HTTP code 401 Response Body - application/json

object
Show Sub-Attributes
messagestring

Error message

errorstring

Authentication error description

codeinteger

Error code

- HTTP code 404 Response Body - application/json

object
Show Sub-Attributes
messagestring

Error message

errorstring

Not found error description

codeinteger

Error code

- HTTP code 500 Response Body - application/json

object
Show Sub-Attributes
messagestring

Error message

errorstring

Server error description

codeinteger

Error code

Possible HTTP Status Codes

200HTTP code

Successful response with top cost resources

400HTTP code

Bad request - Invalid parameters or request format

401HTTP code

Unauthorized - Invalid or missing authentication

404HTTP code

Not found - Resource does not exist

500HTTP code

Internal server error

Get governance resource data transfer details

Retrieves detailed data transfer information for a specific governance resource with cost breakdown and transfer patterns. Use this after resource trend analysis to investigate data transfer costs driving governance violations.

Request URL

https://www.site24x7.com/cs/api/cost/governance/resource/{resource_id}/data_transfer

Scope

CloudSpend.Internal.Read

Request Parameters

- Path Parameters
resource_idstringMandatory

Resource identifier for data transfer analysis.

- Request Body

application/json
object
Show Sub-Attributes
end_datedateMandatory

End date for data transfer analysis (YYYY-MM-DD).

cost_tagsarrayMandatory

Cost tags for filtering

periodintegerMandatory

Period type for analysis

cost_typeintegerMandatory

Cost type for analysis (0=Blended, 20=Azure/GCP)

resource_idstringMandatory

Resource identifier (same as path param)

accountsarrayMandatory

List of accounts for governance analysis.

Show Sub-Attributes
cost_account_idstringOptional

Cost account identifier

billing_account_idsarrayOptional

Associated billing account IDs

start_datedateMandatory

Start date for data transfer analysis (YYYY-MM-DD).

Response Parameters

- HTTP code 200 Response Body - application/json

object
Show Sub-Attributes
messagestring
dataobject
Show Sub-Attributes
return_dataobject
Show Sub-Attributes
valuesarray

Data transfer values and metrics

Show Sub-Attributes
codeinteger

- HTTP code 400 Response Body - application/json

object
Show Sub-Attributes
messagestring

Error message

errorstring

Detailed error description

codeinteger

Error code

- HTTP code 401 Response Body - application/json

object
Show Sub-Attributes
messagestring

Error message

errorstring

Authentication error description

codeinteger

Error code

- HTTP code 500 Response Body - application/json

object
Show Sub-Attributes
messagestring

Error message

errorstring

Server error description

codeinteger

Error code

Possible HTTP Status Codes

200HTTP code

Successfully retrieved resource data transfer details

400HTTP code

Bad request - Invalid parameters or request format

401HTTP code

Unauthorized - Invalid or missing authentication

500HTTP code

Internal server error

Create scheduled resource inventory report

Creates a scheduled resource inventory report with delivery configuration for automated report generation and distribution. Use this to complete the resource inventory report scheduling workflow with report name, recipients, and format preferences.

Request URL

https://www.site24x7.com/cs/api/cost/reports/resource_inventory/report

Scope

CloudSpend.Internal.Create

Request Parameters

- Request Body

application/json
object
Show Sub-Attributes
cost_idsarrayMandatory

Array of cost account IDs for report generation

profileobjectMandatory

Scheduling profile configuration

Show Sub-Attributes
profile_idstringMandatory

Selected scheduling profile identifier

formatintegerMandatory

Report format for delivery

report_namestringMandatory

User-defined name for the scheduled report

typeintegerMandatory

Report type identifier (always 20 for Resource Inventory reports)

contact_idsarrayMandatory

Array of recipient configurations for report delivery

Show Sub-Attributes
contact_idstringMandatory

User ID or Group ID for delivery

contact_typestringMandatory

Contact type (1=User, 2=Group)

frequencyintegerMandatory

Delivery frequency in days

Response Parameters

- HTTP code 200 Response Body - application/json

object
Show Sub-Attributes
messagestring

Response status message

dataobject
Show Sub-Attributes
report_idstring

Unique identifier for the created scheduled report

codeinteger

Response status code

- HTTP code 400 Response Body - application/json

object
Show Sub-Attributes
messagestring

Error message

errorstring

Detailed error description

codeinteger

Error code

- HTTP code 401 Response Body - application/json

object
Show Sub-Attributes
messagestring

Error message

errorstring

Authentication error description

codeinteger

Error code

- HTTP code 403 Response Body - application/json

object
Show Sub-Attributes
messagestring

Error message

errorstring

Forbidden access error description

codeinteger

Error code

- HTTP code 500 Response Body - application/json

object
Show Sub-Attributes
messagestring

Error message

errorstring

Internal server error description

codeinteger

Error code

Possible HTTP Status Codes

200HTTP code

Successfully created scheduled resource inventory report

400HTTP code

Bad request - Invalid parameters or request format

401HTTP code

Unauthorized - Invalid or missing authentication

403HTTP code

Forbidden - Insufficient permissions

500HTTP code

Internal server error

Get usage unit resource trend details

Retrieves cost-per-unit trend data over time for resource-level Unit Economics analysis. Use this to visualize how unit costs change over time for filtered resources.

Request URL

https://www.site24x7.com/cs/api/cost/reports/unit/economics/resource/trend

Scope

CloudSpend.Internal.Read

Request Parameters

- Request Body

application/json
object
Show Sub-Attributes
end_datedateMandatory

End date for the trend period

custom_report_idlongOptional

Custom report ID if viewing trend within a custom report context

cost_tagsarrayOptional

Cost tags filter

periodintegerOptional

Period type identifier

business_unit_idlongOptional

Cost center ID for scoping (optional)

cost_typeintegerOptional

Cost type identifier

usage_unit_idlongOptional

Usage unit ID to filter by specific unit metric

product_idlongOptional

Cloud product/service ID to filter resources

region_idlongOptional

Region ID to filter resources

accountsarrayMandatory

Selected cost accounts with their billing account IDs

Show Sub-Attributes
cost_account_idstringOptional

Parent cost account ID

billing_account_idsarrayOptional

Child billing account IDs

usage_type_idlongOptional

Usage type ID to filter by specific usage type

start_datedateMandatory

Start date for the trend period

Response Parameters

- HTTP code 200 Response Body - application/json

object
Show Sub-Attributes
messagestring

Response status message

dataobject

Resource trend data with cost-per-unit metrics over time

Show Sub-Attributes
codeinteger

Response status code

- HTTP code 400 Response Body - application/json

object
Show Sub-Attributes
messagestring

Error message

errorstring

Detailed error description

codeinteger

Error code

- HTTP code 401 Response Body - application/json

object
Show Sub-Attributes
messagestring

Error message

errorstring

Authentication error description

codeinteger

Error code

- HTTP code 403 Response Body - application/json

object
Show Sub-Attributes
messagestring

Error message

errorstring

Forbidden access error description

codeinteger

Error code

- HTTP code 500 Response Body - application/json

object
Show Sub-Attributes
messagestring

Error message

errorstring

Internal server error description

codeinteger

Error code

Possible HTTP Status Codes

200HTTP code

Successfully retrieved resource trend data

400HTTP code

Bad request - Invalid parameters or request format

401HTTP code

Unauthorized - Invalid or missing authentication

403HTTP code

Forbidden - Insufficient permissions

500HTTP code

Internal server error

Get resource explorer grouped data for named solution report

Returns Level 3 Resource Explorer data for a named solution report, with tag-based cost filtering. Use this to drill down by account, region, service, or tag. This is the only API that supports cost_tags - do not use cost_tags on other widget APIs (causes 500).

Request URL

https://www.site24x7.com/cs/api/cost/sol_reports/group_by_property

Scope

CloudSpend.Internal.Create

Request Parameters

- Request Body

application/json
allOf
object

Standard payload structure for all sol_reports APIs - ensures consistent request format

Show Sub-Attributes
end_datedateMandatory

Analysis end date (typically current date)

cost_tagsarrayOptional

Pass empty array [] for widget APIs (spend_analysis_panel, common_widget_api, cost_by_resource, cost_by_instance, trend_box, accounts_splitup). Only populate cost_tags when calling group_by_property for tag-based filtering. Non-empty cost_tags on widget APIs causes 500 errors.

Show Sub-Attributes
vintegerOptional

Tag version or value reference

idstringOptional

Tag identifier for filtering (from business_unit_tags in bu_spend_analysis response)

periodintegerMandatory

Time granularity (1=daily, 2=weekly, 3=monthly)

business_unit_idstringMandatory

Cost center identifier from getSolutionReportsReports response

cost_typeintegerMandatory

Cost calculation type (0=standard, 1=amortized, 20=Azure resource groups)

accountsarrayMandatory

Account scope for analysis

Show Sub-Attributes
cost_account_idstringOptional

Cost account identifier

billing_account_idsarrayOptional

Associated billing account IDs

bu_typeintegerMandatory

Cost center type classification

start_datedateMandatory

Analysis start date (typically previous month 1st or current billing period start)

object
Show Sub-Attributes
group_by_typestringMandatory

Property type for grouping analysis

group_by_tagsarrayOptional

Specifies which tag key to group cost data by.

Show Sub-Attributes
vintegerOptional

Tag version from show_more_tags response

idstringOptional

Tag identifier from show_more_tags response

Response Parameters

- HTTP code 200 Response Body - application/json

object
Show Sub-Attributes
messagestring
dataobject
Show Sub-Attributes
return_dataobject
Show Sub-Attributes
modeinteger

Chart display mode (1=time-series)

valuesobject

Property-grouped cost data with time-series

Show Sub-Attributes
codeinteger

Possible HTTP Status Codes

200HTTP code

Group by property data retrieved successfully

400HTTP code

Invalid request parameters

401HTTP code

Authentication required

403HTTP code

Access denied to cost centers or accounts

500HTTP code

Internal server error

Get sankey chart data (summary report - step 4)

Retrieves cost flow visualization data with cloud provider, cost type, region, and service breakdowns for Sankey diagrams. Use this to display the Sankey chart widget in the summary report showing cost flow from cloud to service level.

Request URL

https://www.site24x7.com/cs/api/cost/sankey_chart_data

Scope

CloudSpend.Internal.Read

Request Parameters

- Query Parameters
JSONStringstringMandatory

JSON string containing date range parameters for Sankey analysis. Must be URL-encoded when used in the URL.

Response Parameters

- HTTP code 200 Response Body - application/json

object
Show Sub-Attributes
messagestring

Response status message

dataobject

Sankey chart cost flow data

Show Sub-Attributes
dataarray

Multi-dimensional cost flow data for Sankey visualization. Each record is [CloudProvider, CostType, Region, Service, Amount].

codeinteger

Response status code

- HTTP code 400 Response Body - application/json

object
Show Sub-Attributes
messagestring

Error message

errorstring

Detailed error description

codeinteger

Error code

- HTTP code 401 Response Body - application/json

object
Show Sub-Attributes
messagestring

Error message

errorstring

Authentication error description

codeinteger

Error code

- HTTP code 403 Response Body - application/json

object
Show Sub-Attributes
messagestring

Error message

errorstring

Forbidden access error description

codeinteger

Error code

- HTTP code 500 Response Body - application/json

object
Show Sub-Attributes
messagestring

Error message

errorstring

Internal server error description

codeinteger

Error code

Possible HTTP Status Codes

200HTTP code

Successfully retrieved sankey chart data

400HTTP code

Bad request - Invalid parameters or request format

401HTTP code

Unauthorized - Invalid or missing authentication

403HTTP code

Forbidden - Insufficient permissions

500HTTP code

Internal server error

Get entity-level cost forecast data for an account

Retrieves forecasted cost data for specific entities such as services, regions, and linked accounts within a cloud account over a configurable time window.

Request URL

https://www.site24x7.com/cs/api/cost/accounts/entity_forecast

Scope

CloudSpend.Internal.Create

Request Parameters

- Request Body

application/json
object
Show Sub-Attributes
accountsarrayMandatory

Account structure array with cost_account_id and billing_account_ids

Show Sub-Attributes
cost_account_idstringMandatory

Parent account ID

billing_account_idsarrayMandatory

Child billing account IDs from child_accounts[].billing_account_id

cloud_typeintegerMandatory

Cloud provider type: 0=AWS, 1=Azure, 2=GCP

resource_idsarrayMandatory

Entity classification IDs to forecast. Get these from cost breakdown APIs for the selected group_by_type dimension.

cost_typeintegerMandatory

Cost type: 0 for AWS, 20 for Azure/GCP (derived from cloud_type)

group_by_typestringMandatory

Entity dimension for forecast grouping

variationintegerMandatory

Forecast variation or granularity: 1 for monthly forecast (standard)

Response Parameters

- HTTP code 200 Response Body - application/json

object
Show Sub-Attributes
messagestring

Response message

dataobject
Show Sub-Attributes
return_dataobject
Show Sub-Attributes
forecast_dataobject

Forecast data map keyed by entity classification ID. Each value is an array of timestamp and forecasted cost pairs representing future cost projections.

Show Sub-Attributes
codeinteger

Response status code

- HTTP code 400 Response Body - application/json

object
Show Sub-Attributes
messagestring

Error message

errorstring

Detailed error description

codeinteger

Error code

- HTTP code 401 Response Body - application/json

object
Show Sub-Attributes
messagestring

Error message

errorstring

Authentication error description

codeinteger

Error code

- HTTP code 500 Response Body - application/json

object
Show Sub-Attributes
messagestring

Error message

errorstring

Server error description

codeinteger

Error code

Possible HTTP Status Codes

200HTTP code

Successfully retrieved entity forecast data

400HTTP code

Bad request - Invalid parameters or request format

401HTTP code

Unauthorized - Invalid or missing authentication

500HTTP code

Internal server error

Get Report Tile Status

Retrieves the processing status of report tiles to determine which report sections are available for display. Returns tile-level metadata indicating whether sufficient data has been processed for each report type.

Request URL

https://www.site24x7.com/cs/api/cost/reports/report_tile_status

Scope

CloudSpend.Internal.Read

Response Parameters

- HTTP code 200 Response Body - application/json

object
Show Sub-Attributes
messagestring

Response status message

dataobject
Show Sub-Attributes
tilesobject
Show Sub-Attributes
reservationsobject
Show Sub-Attributes
report_typeinteger

Report type identifier

processed_cost_account_idsarray

Cost account IDs that have been processed for this report type

codeinteger

Response status code

Possible HTTP Status Codes

200HTTP code

Successfully retrieved report tile status

Endpoints

Sample Request

Curl
Copied!
curl --request GET \
  --url https://www.site24x7.com/cs/api/cost/cost_centers/integration/alert_configs \
  --header 'Authorization:  d92d4xxxxxxxxxxxxx15f52'
Show full

Sample Response: HTTP 200

Copied!
  {}
                
Show full

Sample Response: HTTP 400

Copied!
  {
    "message": "Bad Request",
    "error": "Invalid parameter format or missing required fields",
    "code": 400
  }
                
Show full

Sample Response: HTTP 401

Copied!
  {
    "message": "Unauthorized",
    "error": "Invalid authentication credentials or expired token",
    "code": 401
  }
                
Show full

Sample Response: HTTP 500

Copied!
  {
    "message": "Internal Server Error",
    "error": "An unexpected error occurred while processing the request",
    "code": 500
  }
                
Show full
Endpoints

Sample Request

Curl
Copied!
curl --request GET \
  --url 'https://www.site24x7.com/cs/api/cost/governance/checks/rca/unbilled_resource_details?ruleChecksId=109&incidentTime=1769904000000&pageNumber=0' \
  --header 'Authorization:  d92d4xxxxxxxxxxxxx15f52'
Show full

Sample Response: HTTP 200

Copied!
  {
    "message": "success",
    "data": {
      "data": [],
      "page_number": 0,
      "has_more": false
    },
    "code": 0
  }
                
Show full

Sample Response: HTTP 400

Copied!
  {
    "message": "Bad Request",
    "error": "Invalid parameter format or missing required fields",
    "code": 400
  }
                
Show full

Sample Response: HTTP 401

Copied!
  {
    "message": "Unauthorized",
    "error": "Invalid authentication credentials or expired token",
    "code": 401
  }
                
Show full

Sample Response: HTTP 500

Copied!
  {
    "message": "Internal Server Error",
    "error": "An unexpected error occurred while processing the request",
    "code": 500
  }
                
Show full
Endpoints

Sample Request

Curl
Copied!
curl --request GET \
  --url https://www.site24x7.com/cs/api/cost/reports/compliance/tagging/list \
  --header 'Authorization:  d92d4xxxxxxxxxxxxx15f52'
Show full

Sample Response: HTTP 200

Copied!
  {
    "message": "success",
    "data": [
      {
        "creation_time": "Jan 05, 2026, 06:55:52 PM",
        "STARRED": false,
        "IS_DISABLED": false,
        "ID": "33240000000667001",
        "NAME": "test"
      }
    ],
    "code": 0
  }
                
Show full

Sample Response: HTTP 400

Copied!
  {
    "message": "Bad Request",
    "error": "Invalid parameter format or missing required fields",
    "code": 400
  }
                
Show full

Sample Response: HTTP 401

Copied!
  {
    "message": "Unauthorized",
    "error": "Invalid authentication credentials or expired token",
    "code": 401
  }
                
Show full

Sample Response: HTTP 403

Copied!
  {
    "message": "Forbidden",
    "error": "Insufficient permissions to access this resource",
    "code": 403
  }
                
Show full

Sample Response: HTTP 500

Copied!
  {
    "message": "Internal Server Error",
    "error": "An unexpected error occurred while processing the request",
    "code": 500
  }
                
Show full
Endpoints

Sample Request

Curl
Copied!
curl --request GET \
  --url https://www.site24x7.com/cs/api/cost/budget/cost_centers \
  --header 'Authorization:  d92d4xxxxxxxxxxxxx15f52'
Show full

Sample Response: HTTP 200

Copied!
  {
    "message": "success",
    "data": {
      "business_units": [
        {
          "name": "hybrid",
          "is_hybrid": true,
          "cloud_type": -1,
          "id": "33240000000537001",
          "cost_account_id": [
            "33240000000011003",
            "33240000000059001"
          ]
        },
        {
          "name": "Azure bu",
          "is_hybrid": false,
          "cloud_type": 1,
          "id": "33240000000059007",
          "cost_account_id": [
            "33240000000011003"
          ]
        }
      ]
    },
    "code": 0
  }
                
Show full

Sample Response: HTTP 400

Copied!
  {
    "message": "Bad Request",
    "error": "Invalid parameter format or missing required fields",
    "code": 400
  }
                
Show full

Sample Response: HTTP 401

Copied!
  {
    "message": "Unauthorized",
    "error": "Invalid authentication credentials or expired token",
    "code": 401
  }
                
Show full

Sample Response: HTTP 500

Copied!
  {
    "message": "Internal Server Error",
    "error": "An unexpected error occurred while processing the request",
    "code": 500
  }
                
Show full
Endpoints

Sample Request

Curl
Copied!
curl --request GET \
  --url 'https://www.site24x7.com/cs/api/cost/anomaly/accounts?JSONString={"cloud_type": [1]}' \
  --header 'Authorization:  d92d4xxxxxxxxxxxxx15f52'
Show full

Sample Response: HTTP 200

Copied!
  {
    "message": "success",
    "data": {
      "total_accounts": 2,
      "current_month_total": 10767.026,
      "previous_month_total": 15118.604
    },
    "code": 0
  }
                
Show full

Sample Response: HTTP 400

Copied!
  {
    "message": "Bad Request",
    "error": "Invalid parameter format or missing required fields",
    "code": 400
  }
                
Show full

Sample Response: HTTP 401

Copied!
  {
    "message": "Unauthorized",
    "error": "Invalid authentication credentials or expired token",
    "code": 401
  }
                
Show full

Sample Response: HTTP 403

Copied!
  {
    "message": "Forbidden",
    "error": "Insufficient permissions to access this resource",
    "code": 403
  }
                
Show full

Sample Response: HTTP 500

Copied!
  {
    "message": "Internal Server Error",
    "error": "An unexpected error occurred while processing the request",
    "code": 500
  }
                
Show full
Endpoints

Sample Request

Curl
Copied!
curl --request GET \
  --url 'https://www.site24x7.com/cs/api/accounts/spend_analysis/anomaly/data?anomaly_id=1&start_date=YYYY-MM-DD (calculate: first day of previous month)&end_date=YYYY-MM-DD (calculate: today)' \
  --header 'Authorization:  d92d4xxxxxxxxxxxxx15f52'
Show full

Sample Response: HTTP 200

Copied!
  {
    " REMINDER": "Never use 'AWS Linked', specific deviation percentages, cost values from this template - use actual API response data only",
    "code": 0,
    "message": "success",
    "data": {
      "anomaly_name": "ACTUAL_ANOMALY_NAME",
      "anomalies": [
        {
          "updated_time": "ACTUAL_UPDATED_TIME_UNIX",
          "detected_time": "ACTUAL_DETECTED_TIME_UNIX",
          "currency_symbol": "ACTUAL_CURRENCY_SYMBOL",
          "currency_locale": "ACTUAL_CURRENCY_LOCALE",
          "deviation_percentage": "ACTUAL_DEVIATION_PERCENTAGE",
          "anomaly_level": "ACTUAL_ANOMALY_LEVEL",
          "currency_code": "ACTUAL_CURRENCY_CODE",
          "updated_timestamp": "ACTUAL_UPDATED_TIMESTAMP",
          "anomaly_status": "ACTUAL_ANOMALY_STATUS",
          "anomaly_status_code": "ACTUAL_STATUS_CODE",
          "anomaly_type": "ACTUAL_ANOMALY_TYPE",
          "expected_value": "ACTUAL_EXPECTED_VALUE",
          "detected_timestamp": "ACTUAL_DETECTED_TIMESTAMP",
          "value": "ACTUAL_ANOMALY_VALUE"
        }
      ]
    },
    " AGENTS: THIS IS ONLY AN EXAMPLE TEMPLATE - NEVER USE AS REAL DATA": "ALWAYS make actual API calls to get real response data. This example shows structure only."
  }
                
Show full

Sample Response: HTTP 400

Copied!
  {
    "message": "Bad Request",
    "error": "Invalid parameter format or missing required fields",
    "code": 400
  }
                
Show full

Sample Response: HTTP 401

Copied!
  {
    "message": "Unauthorized",
    "error": "Invalid authentication credentials or expired token",
    "code": 401
  }
                
Show full

Sample Response: HTTP 500

Copied!
  {
    "message": "Internal Server Error",
    "error": "An unexpected error occurred while processing the request",
    "code": 500
  }
                
Show full
Endpoints

Sample Request

Curl
Copied!
curl --request GET \
  --url 'https://www.site24x7.com/cs/api/cost/reports/tags?JSONString=%7B%22cost_account_id%22:%5B%2233240000000011003%22%5D%7D' \
  --header 'Authorization:  d92d4xxxxxxxxxxxxx15f52'
Show full

Sample Response: HTTP 400

Copied!
  {
    "message": "Bad Request",
    "error": "Invalid parameter format or missing required fields",
    "code": 400
  }
                
Show full

Sample Response: HTTP 401

Copied!
  {
    "message": "Unauthorized",
    "error": "Invalid authentication credentials or expired token",
    "code": 401
  }
                
Show full

Sample Response: HTTP 403

Copied!
  {
    "message": "Forbidden",
    "error": "Insufficient permissions to access this resource",
    "code": 403
  }
                
Show full

Sample Response: HTTP 500

Copied!
  {
    "message": "Internal Server Error",
    "error": "An unexpected error occurred while processing the request",
    "code": 500
  }
                
Show full
Endpoints

Sample Request

Curl
Copied!
curl --request GET \
  --url 'https://www.site24x7.com/cs/api/cost/reports/compliance/unbilled/custom/tagging?business_unit_id=33240000000667001&pageNumber=0' \
  --header 'Authorization:  d92d4xxxxxxxxxxxxx15f52'
Show full

Sample Response: HTTP 200

Copied!
  {
    "message": "success",
    "data": {
      "data": [
        {
          "cost_account_id": "33240000000011003",
          "billed_account_name": "Azure subscription 1",
          "service_name": "microsoft.compute",
          "billed_account_id": "33240000000012001",
          "resource_id": "7",
          "region_name": "US East 2",
          "resource_name": "vm-instance2"
        },
        {
          "cost_account_id": "33240000000011003",
          "billed_account_name": "Subscription-2",
          "service_name": "microsoft.compute",
          "billed_account_id": "33240000000012021",
          "resource_id": "4",
          "region_name": "US East",
          "resource_name": "Ubuntu-Pro-18.04-LTS"
        }
      ],
      "page_number": 0,
      "has_more": false
    },
    "code": 0
  }
                
Show full

Sample Response: HTTP 400

Copied!
  {
    "message": "Bad Request",
    "error": "Invalid parameter format or missing required fields",
    "code": 400
  }
                
Show full

Sample Response: HTTP 401

Copied!
  {
    "message": "Unauthorized",
    "error": "Invalid authentication credentials or expired token",
    "code": 401
  }
                
Show full

Sample Response: HTTP 403

Copied!
  {
    "message": "Forbidden",
    "error": "Insufficient permissions to access this resource",
    "code": 403
  }
                
Show full

Sample Response: HTTP 500

Copied!
  {
    "message": "Internal Server Error",
    "error": "An unexpected error occurred while processing the request",
    "code": 500
  }
                
Show full
Endpoints

Sample Request

Curl
Copied!
curl --request POST \
  --url https://www.site24x7.com/cs/api/cost/accounts/trend_box \
  --header 'Authorization:  d92d4xxxxxxxxxxxxx15f52' \
  --header 'content-type: application/json' \
  --data '{"end_date":"2019-08-24","cost_tags":["string"],"period":0,"accounts":[{"cost_account_id":"string","billing_account_ids":["string"]}],"cost_type":0,"start_date":"2019-08-24"}'
Show full

Sample Request Body

Copied!
  {
    "end_date": "2019-08-24",
    "cost_tags": [
      "string"
    ],
    "period": 0,
    "accounts": [
      {
        "cost_account_id": "string",
        "billing_account_ids": [
          "string"
        ]
      }
    ],
    "cost_type": 0,
    "start_date": "2019-08-24"
  }
                
Show full

Sample Response: HTTP 200

Copied!
  {
    " REMINDER": "Never use 'AmazonS3', 'AmazonRDS', 'AmazonCloudWatch', 'AmazonEC2' from this template - use actual API response data only",
    "code": 0,
    "message": "success",
    "data": {
      "trend_values": {
        "mode": 1,
        "values": {
          "ACTUAL_SERVICE_NAME_3": "ARRAY_OF_ACTUAL_TIMESTAMP_COST_PAIRS",
          "ACTUAL_SERVICE_NAME_4": "ARRAY_OF_ACTUAL_TIMESTAMP_COST_PAIRS",
          "ACTUAL_SERVICE_NAME_1": "ARRAY_OF_ACTUAL_TIMESTAMP_COST_PAIRS",
          "ACTUAL_SERVICE_NAME_2": "ARRAY_OF_ACTUAL_TIMESTAMP_COST_PAIRS"
        }
      }
    },
    " AGENTS: THIS IS ONLY AN EXAMPLE TEMPLATE - NEVER USE AS REAL DATA": "ALWAYS make actual API calls to get real response data. This example shows structure only."
  }
                
Show full

Sample Response: HTTP 400

Copied!
  {
    "message": "Bad Request",
    "error": "Invalid parameter format or missing required fields",
    "code": 400
  }
                
Show full

Sample Response: HTTP 401

Copied!
  {
    "message": "Unauthorized",
    "error": "Invalid authentication credentials or expired token",
    "code": 401
  }
                
Show full

Sample Response: HTTP 404

Copied!
  {
    "message": "Not Found",
    "error": "The requested resource was not found",
    "code": 404
  }
                
Show full

Sample Response: HTTP 500

Copied!
  {
    "message": "Internal Server Error",
    "error": "An unexpected error occurred while processing the request",
    "code": 500
  }
                
Show full
Endpoints

Sample Request

Curl
Copied!
curl --request POST \
  --url https://www.site24x7.com/cs/api/cost/accounts/resource_explorer/report \
  --header 'Authorization:  d92d4xxxxxxxxxxxxx15f52' \
  --header 'content-type: application/json' \
  --data '{"cost_ids":["string"],"profile":{"profile_id":"string"},"format":1,"report_name":"string","type":3,"contact_ids":[{"contact_id":"string","contact_type":"1"}],"group_by_type":1,"frequency":0}'
Show full

Sample Request Body

Copied!
  {
    "cost_ids": [
      "string"
    ],
    "profile": {
      "profile_id": "string"
    },
    "format": 1,
    "report_name": "string",
    "type": 3,
    "contact_ids": [
      {
        "contact_id": "string",
        "contact_type": "1"
      }
    ],
    "group_by_type": 1,
    "frequency": 0
  }
                
Show full

Sample Response: HTTP 200

Copied!
  {
    "message": "Resource explorer report scheduled successfully",
    "data": {
      "scheduled_time": "2025-02-09T09:00:00+05:30",
      "report_id": "REPORT_ID",
      "group_by_type": 2,
      "status": "scheduled"
    },
    "code": 0
  }
                
Show full

Sample Response: HTTP 400

Copied!
  {
    "message": "Bad Request",
    "error": "Invalid parameter format or missing required fields",
    "code": 400
  }
                
Show full
Endpoints

Sample Request

Curl
Copied!
curl --request POST \
  --url https://www.site24x7.com/cs/api/cost/custom_report/spend_analysis_panel \
  --header 'Authorization:  d92d4xxxxxxxxxxxxx15f52' \
  --header 'content-type: application/json' \
  --data '{"end_date":"2025-12-30","cost_tags":[],"period":1,"accounts":[{"cost_account_id":"33240000000011003","billing_account_ids":["33240000000012207","33240000000012021","33240000000012033","33240000000012001"]}],"cost_type":20,"start_date":"2025-12-01"}'
Show full

Sample Request Body

Copied!
  {
    "end_date": "2025-12-30",
    "cost_tags": [],
    "period": 1,
    "accounts": [
      {
        "cost_account_id": "33240000000011003",
        "billing_account_ids": [
          "33240000000012207",
          "33240000000012021",
          "33240000000012033",
          "33240000000012001"
        ]
      }
    ],
    "cost_type": 20,
    "start_date": "2025-12-01"
  }
                
Show full

Sample Response: HTTP 200

Copied!
  {
    "message": "success",
    "data": {
      "return_data": {
        "max_cost_account": "Subscription-2_Microsoft",
        "max_cost": 69.356,
        "total_cost": 118.806,
        "anomaly_widget": {
          "occurrences": "0",
          "anomaly_last_detected_time": "2025-12-30T12:51:22+0530"
        },
        "min_cost": 1.215,
        "difference": 0,
        "min_cost_account": "Azure subscription 1_Marketplace"
      }
    },
    "code": 0
  }
                
Show full

Sample Response: HTTP 400

Copied!
  {
    "message": "Bad Request",
    "error": "Invalid parameter format or missing required fields",
    "code": 400
  }
                
Show full

Sample Response: HTTP 401

Copied!
  {
    "message": "Unauthorized",
    "error": "Invalid authentication credentials or expired token",
    "code": 401
  }
                
Show full

Sample Response: HTTP 403

Copied!
  {
    "message": "Forbidden",
    "error": "Insufficient permissions to access this resource",
    "code": 403
  }
                
Show full

Sample Response: HTTP 500

Copied!
  {
    "message": "Internal Server Error",
    "error": "An unexpected error occurred while processing the request",
    "code": 500
  }
                
Show full
Endpoints

Sample Request

Curl
Copied!
curl --request GET \
  --url 'https://www.site24x7.com/cs/api/cost/bills?start_date=2025-10-01&end_date=2026-01-19' \
  --header 'Authorization:  d92d4xxxxxxxxxxxxx15f52'
Show full

Sample Response: HTTP 200

Copied!
  {
    "message": "success",
    "data": {
      "data": [
        {
          "start_time": "2025-09-01T05:30:00+0530",
          "entry_time": "2025-10-06T05:24:58+0530",
          "chargeable": false,
          "cost": 151.7491237945162,
          "billed": 1.5174912379451622,
          "cloud_type": "Azure",
          "cost_account_id": "33240000000011003",
          "cost_account_name": "Azure linked account2",
          "unpaid": true
        }
      ]
    },
    "code": 0
  }
                
Show full

Sample Response: HTTP 400

Copied!
  {
    "message": "Bad Request",
    "error": "Invalid parameter format or missing required fields",
    "code": 400
  }
                
Show full

Sample Response: HTTP 401

Copied!
  {
    "message": "Unauthorized",
    "error": "Invalid authentication credentials or expired token",
    "code": 401
  }
                
Show full

Sample Response: HTTP 403

Copied!
  {
    "message": "Forbidden",
    "error": "Insufficient permissions to access this resource",
    "code": 403
  }
                
Show full

Sample Response: HTTP 500

Copied!
  {
    "message": "Internal Server Error",
    "error": "An unexpected error occurred while processing the request",
    "code": 500
  }
                
Show full
Endpoints

Sample Request

Curl
Copied!
curl --request GET \
  --url https://www.site24x7.com/cs/api/cost/reports/resource_inventory/report/profiles \
  --header 'Authorization:  d92d4xxxxxxxxxxxxx15f52'
Show full

Sample Response: HTTP 200

Copied!
  {
    "message": "success",
    "data": {
      "return_data": {
        "return_data": [
          {
            "period": 1,
            "report_hour_meridiem": 1,
            "profile_id": "1",
            "timezone": "Asia/Kolkata",
            "report_hour": 2,
            "default_profile": 0,
            "name": "test",
            "report_hour_meridiem_text": "AM",
            "frequency": 1
          }
        ]
      }
    },
    "code": 0
  }
                
Show full

Sample Response: HTTP 400

Copied!
  {
    "message": "Bad Request",
    "error": "Invalid parameter format or missing required fields",
    "code": 400
  }
                
Show full

Sample Response: HTTP 401

Copied!
  {
    "message": "Unauthorized",
    "error": "Invalid authentication credentials or expired token",
    "code": 401
  }
                
Show full

Sample Response: HTTP 403

Copied!
  {
    "message": "Forbidden",
    "error": "Insufficient permissions to access this resource",
    "code": 403
  }
                
Show full

Sample Response: HTTP 500

Copied!
  {
    "message": "Internal Server Error",
    "error": "An unexpected error occurred while processing the request",
    "code": 500
  }
                
Show full
Endpoints

Sample Request

Curl
Copied!
curl --request GET \
  --url https://www.site24x7.com/cs/api/cost/solution_reports_meta \
  --header 'Authorization:  d92d4xxxxxxxxxxxxx15f52'
Show full

Sample Response: HTTP 200

Copied!
  {
    "message": "success",
    "data": {
      "nav_data": [
        {
          "name": "",
          "subitems": [
            {
              "name": "AWS Linked",
              "subitems": [
                {
                  "name": "ECSTASK_FARGATE",
                  "count": "2",
                  "id": "6"
                }
              ],
              "id": "33240000000059001"
            }
          ],
          "id": "0"
        }
      ]
    },
    "code": 0
  }
                
Show full

Sample Response: HTTP 400

Copied!
  {
    "message": "Bad Request",
    "error": "Invalid parameter format or missing required fields",
    "code": 400
  }
                
Show full

Sample Response: HTTP 401

Copied!
  {
    "message": "Unauthorized",
    "error": "Invalid authentication credentials or expired token",
    "code": 401
  }
                
Show full

Sample Response: HTTP 403

Copied!
  {
    "message": "Forbidden",
    "error": "Insufficient permissions to access this resource",
    "code": 403
  }
                
Show full

Sample Response: HTTP 500

Copied!
  {
    "message": "Internal Server Error",
    "error": "An unexpected error occurred while processing the request",
    "code": 500
  }
                
Show full
Endpoints

Sample Request

Curl
Copied!
curl --request GET \
  --url https://www.site24x7.com/cs/api/cost/anomaly/budget_policys/1 \
  --header 'Authorization:  d92d4xxxxxxxxxxxxx15f52'
Show full

Sample Response: HTTP 200

Copied!
  {
    "message": "success",
    "data": {
      "data": [
        {
          "policy_type": "",
          "account_type": 1,
          "account_id": "33240000000059007",
          "policy_id": "2",
          "cost_type": 20,
          "policy_name": "bu anomaly",
          "budget_tags": "",
          "integrated_zaaids": [
            "89335240"
          ],
          "budgets_count": 2
        }
      ]
    },
    "code": 0
  }
                
Show full

Sample Response: HTTP 400

Copied!
  {
    "message": "Bad Request",
    "error": "Invalid parameter format or missing required fields",
    "code": 400
  }
                
Show full

Sample Response: HTTP 401

Copied!
  {
    "message": "Unauthorized",
    "error": "Invalid authentication credentials or expired token",
    "code": 401
  }
                
Show full

Sample Response: HTTP 500

Copied!
  {
    "message": "Internal Server Error",
    "error": "An unexpected error occurred while processing the request",
    "code": 500
  }
                
Show full
Endpoints

Sample Request

Curl
Copied!
curl --request POST \
  --url https://www.site24x7.com/cs/api/cost/custom_report/accounts_splitup \
  --header 'Authorization:  d92d4xxxxxxxxxxxxx15f52' \
  --header 'content-type: application/json' \
  --data '{"end_date":"2025-12-30","cost_tags":[],"period":1,"accounts":[{"cost_account_id":"33240000000011003","billing_account_ids":["33240000000012207","33240000000012021","33240000000012033","33240000000012001"]}],"cost_type":20,"start_date":"2025-12-01"}'
Show full

Sample Request Body

Copied!
  {
    "end_date": "2025-12-30",
    "cost_tags": [],
    "period": 1,
    "accounts": [
      {
        "cost_account_id": "33240000000011003",
        "billing_account_ids": [
          "33240000000012207",
          "33240000000012021",
          "33240000000012033",
          "33240000000012001"
        ]
      }
    ],
    "cost_type": 20,
    "start_date": "2025-12-01"
  }
                
Show full

Sample Response: HTTP 200

Copied!
  {
    "message": "success",
    "data": {
      "return_data": [
        [
          "Azure subscription 1_Microsoft",
          4.393
        ],
        [
          "Subscription-2_Microsoft",
          8.79
        ],
        [
          "Subscription-2_Marketplace",
          0.245
        ]
      ]
    },
    "code": 0
  }
                
Show full

Sample Response: HTTP 400

Copied!
  {
    "message": "Bad Request",
    "error": "Invalid parameter format or missing required fields",
    "code": 400
  }
                
Show full

Sample Response: HTTP 401

Copied!
  {
    "message": "Unauthorized",
    "error": "Invalid authentication credentials or expired token",
    "code": 401
  }
                
Show full

Sample Response: HTTP 403

Copied!
  {
    "message": "Forbidden",
    "error": "Insufficient permissions to access this resource",
    "code": 403
  }
                
Show full

Sample Response: HTTP 500

Copied!
  {
    "message": "Internal Server Error",
    "error": "An unexpected error occurred while processing the request",
    "code": 500
  }
                
Show full
Endpoints

Sample Request

Curl
Copied!
curl --request POST \
  --url https://www.site24x7.com/cs/api/cost/sol_reports/cost_by_instance \
  --header 'Authorization:  d92d4xxxxxxxxxxxxx15f52' \
  --header 'content-type: application/json' \
  --data '{"end_date":"2026-02-13","cost_tags":[],"period":1,"business_unit_id":"33240000000636103","cost_type":0,"accounts":[{"cost_account_id":"33240000000635001","billing_account_ids":["33240000000636001"]}],"bu_type":1,"start_date":"2026-01-01"}'
Show full

Sample Request Body

Copied!
  {
    "end_date": "2026-02-13",
    "cost_tags": [],
    "period": 1,
    "business_unit_id": "33240000000636103",
    "cost_type": 0,
    "accounts": [
      {
        "cost_account_id": "33240000000635001",
        "billing_account_ids": [
          "33240000000636001"
        ]
      }
    ],
    "bu_type": 1,
    "start_date": "2026-01-01"
  }
                
Show full

Sample Response: HTTP 200

Copied!
  {
    "message": "success",
    "data": {
      "return_data": []
    },
    "code": 0
  }
                
Show full
Endpoints

Sample Request

Curl
Copied!
curl --request GET \
  --url 'https://www.site24x7.com/cs/api/cost/reports/compliance/summary/tagging?business_unit_id=33240000000667001' \
  --header 'Authorization:  d92d4xxxxxxxxxxxxx15f52'
Show full

Sample Response: HTTP 200

Copied!
  {
    "message": "success",
    "data": {
      "checks_resources": "45",
      "total_cost": "28.02",
      "total_resources": "45",
      "non_compliant_resource_percentage": "100.0",
      "checks_cost": "28.02",
      "non_compliant_cost_percentage": "100.0"
    },
    "code": 0
  }
                
Show full

Sample Response: HTTP 400

Copied!
  {
    "message": "Bad Request",
    "error": "Invalid parameter format or missing required fields",
    "code": 400
  }
                
Show full

Sample Response: HTTP 401

Copied!
  {
    "message": "Unauthorized",
    "error": "Invalid authentication credentials or expired token",
    "code": 401
  }
                
Show full

Sample Response: HTTP 403

Copied!
  {
    "message": "Forbidden",
    "error": "Insufficient permissions to access this resource",
    "code": 403
  }
                
Show full

Sample Response: HTTP 500

Copied!
  {
    "message": "Internal Server Error",
    "error": "An unexpected error occurred while processing the request",
    "code": 500
  }
                
Show full
Endpoints

Sample Request

Curl
Copied!
curl --request POST \
  --url https://www.site24x7.com/cs/api/cost/admin/rule/run \
  --header 'Authorization:  d92d4xxxxxxxxxxxxx15f52' \
  --header 'content-type: application/json' \
  --data '{"rule_id":1}'
Show full

Sample Request Body

Copied!
  {
    "rule_id": 1
  }
                
Show full

Sample Response: HTTP 200

Copied!
  {}
                
Show full

Sample Response: HTTP 400

Copied!
  {
    "message": "Bad Request",
    "error": "Invalid parameter format or missing required fields",
    "code": 400
  }
                
Show full

Sample Response: HTTP 401

Copied!
  {
    "message": "Unauthorized",
    "error": "Invalid authentication credentials or expired token",
    "code": 401
  }
                
Show full

Sample Response: HTTP 403

Copied!
  {
    "message": "Forbidden",
    "error": "Insufficient permissions to access this resource",
    "code": 403
  }
                
Show full

Sample Response: HTTP 500

Copied!
  {
    "message": "Internal Server Error",
    "error": "An unexpected error occurred while processing the request",
    "code": 500
  }
                
Show full
Endpoints

Sample Request

Curl
Copied!
curl --request GET \
  --url https://www.site24x7.com/cs/api/cost/reports/summary_report/report/profiles \
  --header 'Authorization:  d92d4xxxxxxxxxxxxx15f52'
Show full

Sample Response: HTTP 200

Copied!
  {
    "message": "success",
    "data": {
      "return_data": {
        "return_data": [
          {
            "period": 14,
            "report_hour_meridiem": 1,
            "timezone": "Asia/Kolkata",
            "report_hour": 12,
            "report_hour_meridiem_text": "AM",
            "frequency": 1,
            "report_day": 2,
            "report_time": 0,
            "profile_id": "35",
            "default_profile": 1,
            "name": "cl.cst.schedule.profile.default.monthly.thismonth",
            "report_month": 0,
            "config": "Asia/Kolkata"
          },
          {
            "period": 14,
            "report_hour_meridiem": 1,
            "timezone": "Asia/Kolkata",
            "report_hour": 12,
            "report_hour_meridiem_text": "AM",
            "frequency": 7,
            "report_day": 2,
            "report_time": 0,
            "profile_id": "36",
            "default_profile": 0,
            "name": "weekly",
            "report_month": 0,
            "config": "Asia/Kolkata"
          }
        ]
      }
    },
    "code": 0
  }
                
Show full

Sample Response: HTTP 400

Copied!
  {
    "message": "Bad Request",
    "error": "Invalid parameter format or missing required fields",
    "code": 400
  }
                
Show full

Sample Response: HTTP 401

Copied!
  {
    "message": "Unauthorized",
    "error": "Invalid authentication credentials or expired token",
    "code": 401
  }
                
Show full

Sample Response: HTTP 403

Copied!
  {
    "message": "Forbidden",
    "error": "Insufficient permissions to access this resource",
    "code": 403
  }
                
Show full

Sample Response: HTTP 500

Copied!
  {
    "message": "Internal Server Error",
    "error": "An unexpected error occurred while processing the request",
    "code": 500
  }
                
Show full
Endpoints

Sample Request

Curl
Copied!
curl --request GET \
  --url https://www.site24x7.com/cs/api/cost/reports/all_custom_user_tags \
  --header 'Authorization:  d92d4xxxxxxxxxxxxx15f52'
Show full

Sample Response: HTTP 200

Copied!
  {
    "message": "success",
    "data": [
      {
        "costAccountId": "33240000000059001",
        "tagVariation": -3,
        "tagName": "test",
        "tagId": "33240000000088001",
        "tagValue": "test"
      }
    ],
    "code": 0
  }
                
Show full

Sample Response: HTTP 400

Copied!
  {
    "message": "Bad Request",
    "error": "Invalid parameter format or missing required fields",
    "code": 400
  }
                
Show full

Sample Response: HTTP 401

Copied!
  {
    "message": "Unauthorized",
    "error": "Invalid authentication credentials or expired token",
    "code": 401
  }
                
Show full

Sample Response: HTTP 403

Copied!
  {
    "message": "Forbidden",
    "error": "Insufficient permissions to access this resource",
    "code": 403
  }
                
Show full

Sample Response: HTTP 500

Copied!
  {
    "message": "Internal Server Error",
    "error": "An unexpected error occurred while processing the request",
    "code": 500
  }
                
Show full
Endpoints

Sample Request

Curl
Copied!
curl --request POST \
  --url https://www.site24x7.com/cs/api/cost/sol_reports/resource_count \
  --header 'Authorization:  d92d4xxxxxxxxxxxxx15f52' \
  --header 'content-type: application/json' \
  --data '{"end_date":"2026-01-14","cost_tags":[{"v":2,"id":"33240000000060405"}],"period":1,"business_unit_id":"33240000000073487","cost_type":0,"property":{"v":0,"id":"33240000000060001"},"group_by_tags":[{"v":1,"id":"33240000000060007"}],"accounts":[{"cost_account_id":"33240000000059001","billing_account_ids":["33240000000060001"]}],"page":-1,"bu_type":1,"group_by_type":"accounts","start_date":"2025-12-01"}'
Show full

Sample Request Body

Copied!
  {
    "end_date": "2026-01-14",
    "cost_tags": [
      {
        "v": 2,
        "id": "33240000000060405"
      }
    ],
    "period": 1,
    "business_unit_id": "33240000000073487",
    "cost_type": 0,
    "property": {
      "v": 0,
      "id": "33240000000060001"
    },
    "group_by_tags": [
      {
        "v": 1,
        "id": "33240000000060007"
      }
    ],
    "accounts": [
      {
        "cost_account_id": "33240000000059001",
        "billing_account_ids": [
          "33240000000060001"
        ]
      }
    ],
    "page": -1,
    "bu_type": 1,
    "group_by_type": "accounts",
    "start_date": "2025-12-01"
  }
                
Show full

Sample Response: HTTP 200

Copied!
  {
    "message": "success",
    "data": {
      "resources": [
        {
          "chartData": "",
          "regionName": "",
          "cloudAccountId": "",
          "name": "task",
          "extraNameIdentifier": "",
          "id": "33240000000060407",
          "productName": "",
          "variation": 0,
          "totalCost": 6.016,
          "costObject": "",
          "awsNameTagValue": "",
          "timeValueReference": ""
        }
      ]
    },
    "code": 0
  }
                
Show full
Endpoints

Sample Request

Curl
Copied!
curl --request GET \
  --url 'https://www.site24x7.com/cs/api/cost/anomaly/dashboard?type=2&anomaly_status=1&account_type=0&start_date=2025-11-01&end_date=2025-12-02' \
  --header 'Authorization:  d92d4xxxxxxxxxxxxx15f52'
Show full

Sample Response: HTTP 200

Copied!
  {
    "message": "success",
    "data": [
      {
        "name": "No Anomaly",
        "values": [
          {
            "checks_id": "13",
            "occurrences": 0,
            "last_detected_timestamp": "",
            "account_type": 2,
            "anomaly_id": "",
            "policy_id": "11",
            "last_detected_timestamp_iso": "",
            "last_checked_timestamp_iso": "2025-12-02T18:48:45+0530",
            "account_id": "33240000000012271",
            "last_detected_time": "",
            "anomaly_status": 0,
            "last_checked_timestamp": "Dec 02, 2025",
            "checks_name": "test",
            "status": 1
          }
        ],
        "id": 0
      }
    ],
    "code": 0
  }
                
Show full

Sample Response: HTTP 400

Copied!
  {
    "message": "Bad Request",
    "error": "Invalid parameter format or missing required fields",
    "code": 400
  }
                
Show full

Sample Response: HTTP 401

Copied!
  {
    "message": "Unauthorized",
    "error": "Invalid authentication credentials or expired token",
    "code": 401
  }
                
Show full

Sample Response: HTTP 500

Copied!
  {
    "message": "Internal Server Error",
    "error": "An unexpected error occurred while processing the request",
    "code": 500
  }
                
Show full
Endpoints

Sample Request

Curl
Copied!
curl --request GET \
  --url 'https://www.site24x7.com/cs/api/cost/custom_report/chart?anomaly_id=2&start_date=2026-01-01&end_date=2026-01-05' \
  --header 'Authorization:  d92d4xxxxxxxxxxxxx15f52'
Show full

Sample Response: HTTP 200

Copied!
  {
    "message": "success",
    "data": {
      "meta": {
        "anomaly_id": "2",
        "cloud_type_name": "AWS",
        "cloud_type": 0,
        "category_id": 22,
        "cost_account_name": "AWS Linked",
        "anomaly_name": "true (Monitor)",
        "category": "Site24x7 Monitor Tags"
      }
    },
    "code": 0
  }
                
Show full

Sample Response: HTTP 400

Copied!
  {
    "message": "Bad Request",
    "error": "Invalid parameter format or missing required fields",
    "code": 400
  }
                
Show full

Sample Response: HTTP 401

Copied!
  {
    "message": "Unauthorized",
    "error": "Invalid authentication credentials or expired token",
    "code": 401
  }
                
Show full

Sample Response: HTTP 403

Copied!
  {
    "message": "Forbidden",
    "error": "Insufficient permissions to access this resource",
    "code": 403
  }
                
Show full

Sample Response: HTTP 500

Copied!
  {
    "message": "Internal Server Error",
    "error": "An unexpected error occurred while processing the request",
    "code": 500
  }
                
Show full
Endpoints

Sample Request

Curl
Copied!
curl --request POST \
  --url https://www.site24x7.com/cs/api/cost/checks \
  --header 'Authorization:  d92d4xxxxxxxxxxxxx15f52' \
  --header 'content-type: application/json' \
  --data '{"budget_name":"Account Anomaly Check","period":"Daily","unit":3,"contact_type":1,"policy_id":"127","budget_value":10,"trend":0,"alert_configs":[],"alert_configurations":{"low":true,"high":true,"medium":true},"unit_code":"USD","contact_ids":["53565000000014003"]}'
Show full

Sample Request Body

Same payload as standard, use policy_id from account-level policy

Copied!
  {
    "budget_name": "Account Anomaly Check",
    "period": "Daily",
    "unit": 3,
    "contact_type": 1,
    "policy_id": "127",
    "budget_value": 10,
    "trend": 0,
    "alert_configs": [],
    "alert_configurations": {
      "low": true,
      "high": true,
      "medium": true
    },
    "unit_code": "USD",
    "contact_ids": [
      "53565000000014003"
    ]
  }
                
Show full

Only these 11 fields.

Copied!
  {
    "budget_name": "Anomaly Check",
    "period": "Monthly",
    "unit": 3,
    "contact_type": 1,
    "policy_id": "3",
    "budget_value": 2,
    "trend": 0,
    "alert_configs": [],
    "alert_configurations": {
      "low": true,
      "high": true,
      "medium": true
    },
    "unit_code": "CAD",
    "contact_ids": [
      "53565000000014003"
    ]
  }
                
Show full

Sample Response: HTTP 200

Copied!
  {
    "message": "success",
    "data": {
      "checks_id": "96",
      "data": "Anomaly Created Successfully"
    },
    "code": 0
  }
                
Show full

Sample Response: HTTP 400

Copied!
  {
    "message": "Bad Request",
    "error": "Invalid parameter format or missing required fields",
    "code": 400
  }
                
Show full

Sample Response: HTTP 401

Copied!
  {
    "message": "Unauthorized",
    "error": "Invalid authentication credentials or expired token",
    "code": 401
  }
                
Show full

Sample Response: HTTP 500

Copied!
  {
    "message": "Internal Server Error",
    "error": "An unexpected error occurred while processing the request",
    "code": 500
  }
                
Show full
Endpoints

Sample Request

Curl
Copied!
curl --request GET \
  --url https://www.site24x7.com/cs/api/cost/reports/integration/alert_configs \
  --header 'Authorization:  d92d4xxxxxxxxxxxxx15f52'
Show full

Sample Response: HTTP 200

Copied!
  {}
                
Show full

Sample Response: HTTP 400

Copied!
  {
    "message": "Bad Request",
    "error": "Invalid parameter format or missing required fields",
    "code": 400
  }
                
Show full

Sample Response: HTTP 401

Copied!
  {
    "message": "Unauthorized",
    "error": "Invalid authentication credentials or expired token",
    "code": 401
  }
                
Show full

Sample Response: HTTP 500

Copied!
  {
    "message": "Internal Server Error",
    "error": "An unexpected error occurred while processing the request",
    "code": 500
  }
                
Show full
Endpoints

Sample Request

Curl
Copied!
curl --request GET \
  --url 'https://www.site24x7.com/cs/api/cost/governance/checks/rca/billed_resource_details?ruleChecksId=109&incidentTime=1766393528793&pageNumber=0' \
  --header 'Authorization:  d92d4xxxxxxxxxxxxx15f52'
Show full

Sample Response: HTTP 200

Copied!
  {
    "message": "success",
    "data": {
      "data": [
        {
          "cost": "2.25",
          "cost_account_id": "33240000000059001",
          "billed_account_name": "S247-AWS-team",
          "service_name": "AmazonQuickSight",
          "billed_account_id": "33240000000060001",
          "resource_id": "33240000000070707",
          "region_name": "global",
          "resource_name": "19553"
        }
      ],
      "page_number": 0,
      "has_more": true
    },
    "code": 0
  }
                
Show full

Sample Response: HTTP 400

Copied!
  {
    "message": "Bad Request",
    "error": "Invalid parameter format or missing required fields",
    "code": 400
  }
                
Show full

Sample Response: HTTP 401

Copied!
  {
    "message": "Unauthorized",
    "error": "Invalid authentication credentials or expired token",
    "code": 401
  }
                
Show full

Sample Response: HTTP 500

Copied!
  {
    "message": "Internal Server Error",
    "error": "An unexpected error occurred while processing the request",
    "code": 500
  }
                
Show full
Endpoints

Sample Request

Curl
Copied!
curl --request POST \
  --url https://www.site24x7.com/cs/api/cost/admin/budget_policy \
  --header 'Authorization:  d92d4xxxxxxxxxxxxx15f52' \
  --header 'content-type: application/json' \
  --data '{"governance_tags":[[{"v":0,"id":"33240000000468001"}]],"account_type":0,"policy_type":0,"account_id":"33240000000059001","cost_type":0,"policy_name":"jan19","budget_tags":[{"v":0,"id":"33240000000060037"}],"label":[{"value":"test","key":"test"}]}'
Show full

Sample Request Body

Copied!
  {
    "governance_tags": [
      [
        {
          "v": 0,
          "id": "33240000000468001"
        }
      ]
    ],
    "account_type": 0,
    "policy_type": 0,
    "account_id": "33240000000059001",
    "cost_type": 0,
    "policy_name": "jan19",
    "budget_tags": [
      {
        "v": 0,
        "id": "33240000000060037"
      }
    ],
    "label": [
      {
        "value": "test",
        "key": "test"
      }
    ]
  }
                
Show full

Sample Response: HTTP 200

Copied!
  {
    "message": "success",
    "data": {
      "policy_id": "128",
      "data": "Policy Created Successfully"
    },
    "code": 0
  }
                
Show full

Sample Response: HTTP 400

Copied!
  {
    "message": "Bad Request",
    "error": "Invalid parameter format or missing required fields",
    "code": 400
  }
                
Show full

Sample Response: HTTP 401

Copied!
  {
    "message": "Unauthorized",
    "error": "Invalid authentication credentials or expired token",
    "code": 401
  }
                
Show full

Sample Response: HTTP 403

Copied!
  {
    "message": "Forbidden",
    "error": "Insufficient permissions to access this resource",
    "code": 403
  }
                
Show full

Sample Response: HTTP 500

Copied!
  {
    "message": "Internal Server Error",
    "error": "An unexpected error occurred while processing the request",
    "code": 500
  }
                
Show full
Endpoints

Sample Request

Curl
Copied!
curl --request GET \
  --url https://www.site24x7.com/cs/api/cost/custom_report/cloud_available_range \
  --header 'Authorization:  d92d4xxxxxxxxxxxxx15f52'
Show full

Sample Response: HTTP 200

Copied!
  {
    "message": "success",
    "data": {
      "max_date": "2026-01-05T15:58:29+0530",
      "min_date": "2025-05-01T00:00:00+0000"
    },
    "code": 0
  }
                
Show full

Sample Response: HTTP 400

Copied!
  {
    "message": "Bad Request",
    "error": "Invalid parameter format or missing required fields",
    "code": 400
  }
                
Show full

Sample Response: HTTP 401

Copied!
  {
    "message": "Unauthorized",
    "error": "Invalid authentication credentials or expired token",
    "code": 401
  }
                
Show full

Sample Response: HTTP 403

Copied!
  {
    "message": "Forbidden",
    "error": "Insufficient permissions to access this resource",
    "code": 403
  }
                
Show full

Sample Response: HTTP 500

Copied!
  {
    "message": "Internal Server Error",
    "error": "An unexpected error occurred while processing the request",
    "code": 500
  }
                
Show full
Endpoints

Sample Request

Curl
Copied!
curl --request GET \
  --url https://www.site24x7.com/cs/api/cost/anomaly/currencies_format \
  --header 'Authorization:  d92d4xxxxxxxxxxxxx15f52'
Show full

Sample Response: HTTP 200

Copied!
  {
    "message": "success",
    "data": [
      {
        "currency": "USD",
        "format_value": "$ 7,000,000.52"
      },
      {
        "currency": "CAD",
        "format_value": "CAD 7,000,000.52"
      },
      {
        "currency": "EUR",
        "format_value": "EUR 7.000.000,52"
      }
    ],
    "code": 0
  }
                
Show full

Sample Response: HTTP 400

Copied!
  {
    "message": "Bad Request",
    "error": "Invalid parameter format or missing required fields",
    "code": 400
  }
                
Show full

Sample Response: HTTP 401

Copied!
  {
    "message": "Unauthorized",
    "error": "Invalid authentication credentials or expired token",
    "code": 401
  }
                
Show full

Sample Response: HTTP 500

Copied!
  {
    "message": "Internal Server Error",
    "error": "An unexpected error occurred while processing the request",
    "code": 500
  }
                
Show full
Endpoints

Sample Request

Curl
Copied!
curl --request GET \
  --url 'https://www.site24x7.com/cs/api/cost/accounts/tags?JSONString=SOME_STRING_VALUE' \
  --header 'Authorization:  d92d4xxxxxxxxxxxxx15f52'
Show full

Sample Response: HTTP 200

Copied!
  {
    "data": {
      "Tags": [
        {
          "type": "",
          "tagId": "4000000000025",
          "value": "Usage",
          "key": "usageType",
          "v": 1
        },
        {
          "type": "",
          "tagId": "4000000000029",
          "value": "ReadBucketIntelligentTiering",
          "key": "operationType",
          "v": 2
        }
      ]
    },
    "message": "success",
    "code": 0
  }
                
Show full

Sample Response: HTTP 400

Copied!
  {
    "message": "Bad Request",
    "error": "Invalid parameter format or missing required fields",
    "code": 400
  }
                
Show full

Sample Response: HTTP 401

Copied!
  {
    "message": "Unauthorized",
    "error": "Invalid authentication credentials or expired token",
    "code": 401
  }
                
Show full

Sample Response: HTTP 404

Copied!
  {
    "message": "Not Found",
    "error": "The requested resource was not found",
    "code": 404
  }
                
Show full

Sample Response: HTTP 500

Copied!
  {
    "message": "Internal Server Error",
    "error": "An unexpected error occurred while processing the request",
    "code": 500
  }
                
Show full
Endpoints

Sample Request

Curl
Copied!
curl --request GET \
  --url https://www.site24x7.com/cs/api/cost/display_currency \
  --header 'Authorization:  d92d4xxxxxxxxxxxxx15f52'
Show full

Sample Response: HTTP 200

Copied!
  {
    "message": "success",
    "data": {
      "display_currency": "CAD"
    },
    "code": 0
  }
                
Show full

Sample Response: HTTP 400

Copied!
  {
    "message": "Bad Request",
    "error": "Invalid parameter format or missing required fields",
    "code": 400
  }
                
Show full

Sample Response: HTTP 401

Copied!
  {
    "message": "Unauthorized",
    "error": "Invalid authentication credentials or expired token",
    "code": 401
  }
                
Show full

Sample Response: HTTP 403

Copied!
  {
    "message": "Forbidden",
    "error": "Insufficient permissions to access this resource",
    "code": 403
  }
                
Show full

Sample Response: HTTP 500

Copied!
  {
    "message": "Internal Server Error",
    "error": "An unexpected error occurred while processing the request",
    "code": 500
  }
                
Show full
Endpoints

Sample Request

Curl
Copied!
curl --request GET \
  --url 'https://www.site24x7.com/cs/api/checks/anomaly/similar?anomaly_id=251&start_date=2025-11-01&end_date=2025-12-02' \
  --header 'Authorization:  d92d4xxxxxxxxxxxxx15f52'
Show full

Sample Response: HTTP 200

Copied!
  {
    "message": "success",
    "data": {
      "similar_anomalies": [
        {
          "anomaly_name": "AmazonRDS",
          "category": 2,
          "anomaly_id": "98"
        }
      ]
    },
    "code": 0
  }
                
Show full

Sample Response: HTTP 400

Copied!
  {
    "message": "Bad Request",
    "error": "Invalid parameter format or missing required fields",
    "code": 400
  }
                
Show full

Sample Response: HTTP 401

Copied!
  {
    "message": "Unauthorized",
    "error": "Invalid authentication credentials or expired token",
    "code": 401
  }
                
Show full

Sample Response: HTTP 500

Copied!
  {
    "message": "Internal Server Error",
    "error": "An unexpected error occurred while processing the request",
    "code": 500
  }
                
Show full
Endpoints

Sample Request

Curl
Copied!
curl --request GET \
  --url 'https://www.site24x7.com/cs/api/cost/governance/dashboard?type=3&anomaly_status=1&account_type=1&start_date=2025-11-01&end_date=2025-12-23' \
  --header 'Authorization:  d92d4xxxxxxxxxxxxx15f52'
Show full

Sample Response: HTTP 200

Governance compliance dashboard for cost center-level checks

Copied!
  {
    "message": "success",
    "data": [
      {
        "checks_id": "95",
        "mode": 5,
        "account_type": 1,
        "account_id": "33240000000060001",
        "policy_id": "113",
        "last_checked_timestamp": "Dec 22, 2025",
        "last_checked_timestamp_iso": "2025-12-22 14:22 PM",
        "threshold": 5000,
        "last_checked_time": "1766393530000",
        "checks_name": "BU Spending Limit",
        "status": 2,
        "current_value": 7500
      }
    ],
    "code": 0
  }
                
Show full

Governance compliance dashboard for report-level checks

Copied!
  {
    "message": "success",
    "data": [
      {
        "checks_id": "96",
        "mode": 5,
        "account_type": 2,
        "account_id": "report_12345",
        "policy_id": "114",
        "last_checked_timestamp": "Dec 22, 2025",
        "last_checked_timestamp_iso": "2025-12-22 14:22 PM",
        "threshold": 1000,
        "last_checked_time": "1766393535000",
        "checks_name": "Report Cost Control",
        "status": 1,
        "current_value": 850
      }
    ],
    "code": 0
  }
                
Show full

Governance compliance dashboard for account-level checks

Copied!
  {
    "message": "success",
    "data": [
      {
        "checks_id": "91",
        "mode": 5,
        "account_type": 0,
        "account_id": "33240000000059001",
        "policy_id": "109",
        "last_checked_timestamp": "Dec 22, 2025",
        "last_checked_timestamp_iso": "2025-12-22 14:22 PM",
        "threshold": 1,
        "last_checked_time": "1766393526585",
        "checks_name": "Account Compliance Check",
        "status": 2,
        "current_value": 652
      },
      {
        "checks_id": "94",
        "mode": 5,
        "account_type": 0,
        "account_id": "33240000000059001",
        "policy_id": "112",
        "last_checked_timestamp": "Dec 22, 2025",
        "last_checked_timestamp_iso": "2025-12-22 14:22 PM",
        "threshold": 1e+25,
        "last_checked_time": "1766393528793",
        "checks_name": "Account Cost Governance",
        "status": 1,
        "current_value": 652
      }
    ],
    "code": 0
  }
                
Show full

Sample Response: HTTP 400

Copied!
  {
    "message": "Bad Request",
    "error": "Invalid parameter format or missing required fields",
    "code": 400
  }
                
Show full

Sample Response: HTTP 401

Copied!
  {
    "message": "Unauthorized",
    "error": "Invalid authentication credentials or expired token",
    "code": 401
  }
                
Show full

Sample Response: HTTP 500

Copied!
  {
    "message": "Internal Server Error",
    "error": "An unexpected error occurred while processing the request",
    "code": 500
  }
                
Show full
Endpoints

Sample Request

Curl
Copied!
curl --request GET \
  --url 'https://www.site24x7.com/cs/api/cost/reports/users?JSONString=%7B%22module_id%22:5,%22sub_module_id%22:12,%22source_details%22:%7B%22report_type%22:14,%22cost_ids%22:%5B%5D,%22profile_id%22:%221%22%7D%7D' \
  --header 'Authorization:  d92d4xxxxxxxxxxxxx15f52'
Show full

Sample Response: HTTP 200

Copied!
  {
    "message": "success",
    "data": {
      "from_email": "noreply@localsite24x7.com",
      "contact_id": "53565000000014003",
      "users": [
        {
          "email_address": "jane.smith@example.com",
          "display_name": "Jane Smith",
          "user_role_name": "Super Admin",
          "is_account_contact": true,
          "user_id": "53565000000014003",
          "cloudspend_role_name": "Cost Administrator"
        }
      ],
      "user_groups": [
        {
          "is_master_group": true,
          "display_name": "Admin Group",
          "user_group_id": "53565000000014007",
          "users": [
            "53565000000014003"
          ]
        }
      ]
    },
    "code": 0
  }
                
Show full

Sample Response: HTTP 400

Copied!
  {
    "message": "Bad Request",
    "error": "Invalid parameter format or missing required fields",
    "code": 400
  }
                
Show full

Sample Response: HTTP 401

Copied!
  {
    "message": "Unauthorized",
    "error": "Invalid authentication credentials or expired token",
    "code": 401
  }
                
Show full

Sample Response: HTTP 403

Copied!
  {
    "message": "Forbidden",
    "error": "Insufficient permissions to access this resource",
    "code": 403
  }
                
Show full

Sample Response: HTTP 500

Copied!
  {
    "message": "Internal Server Error",
    "error": "An unexpected error occurred while processing the request",
    "code": 500
  }
                
Show full
Endpoints

Sample Request

Curl
Copied!
curl --request GET \
  --url https://www.site24x7.com/cs/api/cost/cost_centers/budget_meta \
  --header 'Authorization:  d92d4xxxxxxxxxxxxx15f52'
Show full

Sample Response: HTTP 200

Copied!
  {
    "message": "success",
    "data": {
      "budget_data": [
        {
          "period": "Monthly",
          "account_type": 1,
          "account_id": "403793000000058019",
          "policy_id": "1",
          "budget_id": "17",
          "name": "DocumentDB",
          "checks_type": "BUDGET",
          "status": 15
        },
        {
          "period": "Daily",
          "account_type": 1,
          "account_id": "403793000000608017",
          "policy_id": "26",
          "budget_id": "53",
          "name": "Zylker CC1",
          "checks_type": "ANOMALY",
          "status": 1
        }
      ]
    },
    "code": 0
  }
                
Show full

Sample Response: HTTP 400

Copied!
  {
    "message": "Bad Request",
    "error": "Invalid parameter format or missing required fields",
    "code": 400
  }
                
Show full

Sample Response: HTTP 401

Copied!
  {
    "message": "Unauthorized",
    "error": "Invalid authentication credentials or expired token",
    "code": 401
  }
                
Show full

Sample Response: HTTP 500

Copied!
  {
    "message": "Internal Server Error",
    "error": "An unexpected error occurred while processing the request",
    "code": 500
  }
                
Show full
Endpoints

Sample Request

Curl
Copied!
curl --request GET \
  --url 'https://www.site24x7.com/cs/api/cost/admin/cc_tags?JSONString={"cost_account_id":["33240000000011003","33240000000059001"],"business_unit_id":"33240000000537001","bu_type":0}' \
  --header 'Authorization:  d92d4xxxxxxxxxxxxx15f52'
Show full

Sample Response: HTTP 200

Copied!
  {
    "message": "success",
    "data": {
      "Tags": [
        {
          "type": "",
          "tagId": "33240000000552001",
          "value": "mcp_bu",
          "key": "mcp_bu",
          "v": -4
        }
      ]
    },
    "code": 0
  }
                
Show full

Sample Response: HTTP 400

Copied!
  {
    "message": "Bad Request",
    "error": "Invalid parameter format or missing required fields",
    "code": 400
  }
                
Show full

Sample Response: HTTP 401

Copied!
  {
    "message": "Unauthorized",
    "error": "Invalid authentication credentials or expired token",
    "code": 401
  }
                
Show full

Sample Response: HTTP 403

Copied!
  {
    "message": "Forbidden",
    "error": "Insufficient permissions to access this resource",
    "code": 403
  }
                
Show full

Sample Response: HTTP 500

Copied!
  {
    "message": "Internal Server Error",
    "error": "An unexpected error occurred while processing the request",
    "code": 500
  }
                
Show full
Endpoints

Sample Request

Curl
Copied!
curl --request GET \
  --url 'https://www.site24x7.com/cs/api/cost/custom_report/cloud_discounts?JSONString=%7B%22start_date%22:%222026-01-01%22,%22end_date%22:%222026-01-05%22%7D' \
  --header 'Authorization:  d92d4xxxxxxxxxxxxx15f52'
Show full

Sample Response: HTTP 200

Copied!
  {
    "message": "success",
    "data": {
      "GCP": {
        "DISCOUNT": 0.387
      },
      "AWS": {
        "DiscountedUsage": 6.688,
        "SavingsPlanNegation": 0.495
      }
    },
    "code": 0
  }
                
Show full

Sample Response: HTTP 400

Copied!
  {
    "message": "Bad Request",
    "error": "Invalid parameter format or missing required fields",
    "code": 400
  }
                
Show full

Sample Response: HTTP 401

Copied!
  {
    "message": "Unauthorized",
    "error": "Invalid authentication credentials or expired token",
    "code": 401
  }
                
Show full

Sample Response: HTTP 403

Copied!
  {
    "message": "Forbidden",
    "error": "Insufficient permissions to access this resource",
    "code": 403
  }
                
Show full

Sample Response: HTTP 500

Copied!
  {
    "message": "Internal Server Error",
    "error": "An unexpected error occurred while processing the request",
    "code": 500
  }
                
Show full
Endpoints

Sample Request

Curl
Copied!
curl --request POST \
  --url https://www.site24x7.com/cs/api/cost/accounts/custom_tags_for_cc_ca \
  --header 'Authorization:  d92d4xxxxxxxxxxxxx15f52' \
  --header 'content-type: application/json' \
  --data '{"cost_account_id":"ACTUAL_ACCOUNT_ID_FROM_USER_SELECTION","type":"accounts","variation":-3,"tags":[{"value":"USER_PROVIDED_VALUE","key":"USER_PROVIDED_KEY"}]}'
Show full

Sample Request Body

Copied!
  {
    "cost_account_id": "ACTUAL_ACCOUNT_ID_FROM_USER_SELECTION",
    "type": "accounts",
    "variation": -3,
    "tags": [
      {
        "value": "USER_PROVIDED_VALUE",
        "key": "USER_PROVIDED_KEY"
      }
    ]
  }
                
Show full

Sample Response: HTTP 200

Copied!
  {
    "message": "success",
    "data": {
      "tagId": 12345,
      "status": "active"
    },
    "code": 0
  }
                
Show full

Sample Response: HTTP 400

Copied!
  {
    "message": "Bad Request",
    "error": "Invalid parameter format or missing required fields",
    "code": 400
  }
                
Show full
Endpoints

Sample Request

Curl
Copied!
curl --request GET \
  --url 'https://www.site24x7.com/cs/api/checks/anomaly/data?anomaly_id=251&start_date=2025-11-01&end_date=2025-12-02' \
  --header 'Authorization:  d92d4xxxxxxxxxxxxx15f52'
Show full

Sample Response: HTTP 200

Copied!
  {
    "message": "success",
    "data": {
      "anomaly_name": "AWSDEV_Anomaly",
      "anomalies": [
        {
          "updated_time": "1763301100729",
          "detected_time": "1761955200000",
          "currency_symbol": "$",
          "currency_locale": "en-US",
          "deviation_percentage": 43.97871527357084,
          "anomaly_level": "Low",
          "currency_code": "USD",
          "updated_timestamp": "2025-11-16T19:21:40+0530",
          "anomaly_status": "Open",
          "anomaly_status_code": 1,
          "anomaly_type": "upper",
          "expected_value": 400.21887881491216,
          "detected_timestamp": "2025-11-01T05:30:00+0530",
          "value": 576.2299999999999
        }
      ]
    },
    "code": 0
  }
                
Show full

Sample Response: HTTP 400

Copied!
  {
    "message": "Bad Request",
    "error": "Invalid parameter format or missing required fields",
    "code": 400
  }
                
Show full

Sample Response: HTTP 401

Copied!
  {
    "message": "Unauthorized",
    "error": "Invalid authentication credentials or expired token",
    "code": 401
  }
                
Show full

Sample Response: HTTP 500

Copied!
  {
    "message": "Internal Server Error",
    "error": "An unexpected error occurred while processing the request",
    "code": 500
  }
                
Show full
Endpoints

Sample Request

Curl
Copied!
curl --request POST \
  --url https://www.site24x7.com/cs/api/cost/admin/tag_profile \
  --header 'Authorization:  d92d4xxxxxxxxxxxxx15f52' \
  --header 'content-type: application/json' \
  --data '{"name":"jan19","cost_account_id":["33240000000011003"],"color":"#43b8c6","tags":[[[{"v":0,"id":"33240000000468001"}]]]}'
Show full

Sample Request Body

Copied!
  {
    "name": "jan19",
    "cost_account_id": [
      "33240000000011003"
    ],
    "color": "#43b8c6",
    "tags": [
      [
        [
          {
            "v": 0,
            "id": "33240000000468001"
          }
        ]
      ]
    ]
  }
                
Show full

Sample Response: HTTP 200

Copied!
  {
    "message": "success",
    "data": {
      "tagId": "33240000000741005",
      "status": "Tag Profile Saved Successfully"
    },
    "code": 0
  }
                
Show full

Sample Response: HTTP 400

Copied!
  {
    "message": "Bad Request",
    "error": "Invalid parameter format or missing required fields",
    "code": 400
  }
                
Show full

Sample Response: HTTP 401

Copied!
  {
    "message": "Unauthorized",
    "error": "Invalid authentication credentials or expired token",
    "code": 401
  }
                
Show full

Sample Response: HTTP 403

Copied!
  {
    "message": "Forbidden",
    "error": "Insufficient permissions to access this resource",
    "code": 403
  }
                
Show full

Sample Response: HTTP 500

Copied!
  {
    "message": "Internal Server Error",
    "error": "An unexpected error occurred while processing the request",
    "code": 500
  }
                
Show full
Endpoints

Sample Request

Curl
Copied!
curl --request GET \
  --url https://www.site24x7.com/cs/api/cost/governance/budget_info/101 \
  --header 'Authorization:  d92d4xxxxxxxxxxxxx15f52'
Show full

Sample Response: HTTP 200

Copied!
  {
    "message": "success",
    "data": {
      "info": {
        "created_time": "22-Dec-2025 17:31",
        "period": "Monthly",
        "forecasted_val": 0,
        "currency_locale": "en-US",
        "forecast_percent": 0,
        "notify_via": 1,
        "budget_percent": 0,
        "currency_code": "USD",
        "mode": "Percentage",
        "period_rh": "cl.cst.monthly",
        "currency_unicode": "$",
        "last_updated_time": "22-Dec-2025 17:31",
        "mode_id": 6,
        "name": "test ",
        "policy": {
          "policy_name": "test",
          "account_type": 1,
          "account_id": "33240000000537001",
          "policy_id": "110",
          "cost_type": "BLENDED_COST",
          "account_name": "hybrid"
        },
        "status": 1
      }
    },
    "code": 0
  }
                
Show full

Sample Response: HTTP 400

Copied!
  {
    "message": "Bad Request",
    "error": "Invalid parameter format or missing required fields",
    "code": 400
  }
                
Show full

Sample Response: HTTP 401

Copied!
  {
    "message": "Unauthorized",
    "error": "Invalid authentication credentials or expired token",
    "code": 401
  }
                
Show full

Sample Response: HTTP 500

Copied!
  {
    "message": "Internal Server Error",
    "error": "An unexpected error occurred while processing the request",
    "code": 500
  }
                
Show full
Endpoints

Sample Request

Curl
Copied!
curl --request POST \
  --url https://www.site24x7.com/cs/api/cost/accounts/hierarchy/report \
  --header 'Authorization:  d92d4xxxxxxxxxxxxx15f52' \
  --header 'content-type: application/json' \
  --data '{"cost_ids":[-1],"profile":{"profile_id":"string"},"format":1,"report_name":"Monthly Allocation Report","type":34,"contact_ids":[{"contact_id":"string","contact_type":"string"}],"frequency":7}'
Show full

Sample Request Body

Copied!
  {
    "cost_ids": [
      -1
    ],
    "profile": {
      "profile_id": "string"
    },
    "format": 1,
    "report_name": "Monthly Allocation Report",
    "type": 34,
    "contact_ids": [
      {
        "contact_id": "string",
        "contact_type": "string"
      }
    ],
    "frequency": 7
  }
                
Show full

Sample Response: HTTP 200

Copied!
  {
    "message": "success",
    "data": {
      "scheduled_time": "2026-01-15",
      "report_id": "123456789",
      "status": "active"
    },
    "code": 0
  }
                
Show full

Sample Response: HTTP 400

Copied!
  {
    "message": "Bad Request",
    "error": "Invalid parameter format or missing required fields",
    "code": 400
  }
                
Show full
Endpoints

Sample Request

Curl
Copied!
curl --request GET \
  --url 'https://www.site24x7.com/cs/api/cost/budget/tags?JSONString=%7B%22cost_account_id%22:%5B%2233240000000059001%22%5D%7D' \
  --header 'Authorization:  d92d4xxxxxxxxxxxxx15f52'
Show full

Sample Response: HTTP 200

Copied!
  {
    "message": "success",
    "data": {
      "Tags": [
        {
          "type": "",
          "tagId": "33240000000060037",
          "value": "IAMUser:AIDAIM5GC2OKUMJHAVEOO:5189",
          "v": 0,
          "key": "createdBy"
        },
        {
          "type": "",
          "tagId": "33240000000060083",
          "value": "DiagnosisBucket",
          "v": 0,
          "key": "cloudformation:logical-id"
        }
      ]
    },
    "code": 0
  }
                
Show full

Sample Response: HTTP 400

Copied!
  {
    "message": "Bad Request",
    "error": "Invalid parameter format or missing required fields",
    "code": 400
  }
                
Show full

Sample Response: HTTP 401

Copied!
  {
    "message": "Unauthorized",
    "error": "Invalid authentication credentials or expired token",
    "code": 401
  }
                
Show full

Sample Response: HTTP 500

Copied!
  {
    "message": "Internal Server Error",
    "error": "An unexpected error occurred while processing the request",
    "code": 500
  }
                
Show full
Endpoints

Sample Request

Curl
Copied!
curl --request GET \
  --url 'https://www.site24x7.com/cs/api/cost/reports/compliance/tagging/unbilled/count?business_unit_id=33240000000667001&is_custom_report=true' \
  --header 'Authorization:  d92d4xxxxxxxxxxxxx15f52'
Show full

Sample Response: HTTP 200

Copied!
  {
    "message": "success",
    "data": {
      "dfs_meta": {
        "unbilled": [
          "1767225600000"
        ],
        "billed": [
          "1767225600000"
        ]
      }
    },
    "code": 0
  }
                
Show full

Sample Response: HTTP 400

Copied!
  {
    "message": "Bad Request",
    "error": "Invalid parameter format or missing required fields",
    "code": 400
  }
                
Show full

Sample Response: HTTP 401

Copied!
  {
    "message": "Unauthorized",
    "error": "Invalid authentication credentials or expired token",
    "code": 401
  }
                
Show full

Sample Response: HTTP 403

Copied!
  {
    "message": "Forbidden",
    "error": "Insufficient permissions to access this resource",
    "code": 403
  }
                
Show full

Sample Response: HTTP 500

Copied!
  {
    "message": "Internal Server Error",
    "error": "An unexpected error occurred while processing the request",
    "code": 500
  }
                
Show full
Endpoints

Sample Request

Curl
Copied!
curl --request GET \
  --url 'https://www.site24x7.com/cs/api/reports/anomaly/summary/list/chart?anomaly_id=5&start_date=2025-12-04&end_date=2026-01-08' \
  --header 'Authorization:  d92d4xxxxxxxxxxxxx15f52'
Show full

Sample Response: HTTP 200

Copied!
  {
    "message": "success",
    "data": {
      "meta": {
        "last_detected_timestamp": "2026-01-01T05:30:00+0530",
        "anomaly_id": "5",
        "cloud_type_name": "AWS",
        "cloud_type": 0,
        "last_detected_time": "1767225600000",
        "category_id": 1,
        "cost_account_name": "AWS Linked",
        "anomaly_name": "us-east-1",
        "category": "Region",
        "total_occurences": "1"
      },
      "chart_data": {
        "1": [
          [
            "2026-01-01T00:00:00+0530",
            "1"
          ]
        ],
        "2": [],
        "3": []
      }
    },
    "code": 0
  }
                
Show full

Sample Response: HTTP 400

Copied!
  {
    "message": "Bad Request",
    "error": "Invalid parameter format or missing required fields",
    "code": 400
  }
                
Show full

Sample Response: HTTP 401

Copied!
  {
    "message": "Unauthorized",
    "error": "Invalid authentication credentials or expired token",
    "code": 401
  }
                
Show full

Sample Response: HTTP 403

Copied!
  {
    "message": "Forbidden",
    "error": "Insufficient permissions to access this resource",
    "code": 403
  }
                
Show full

Sample Response: HTTP 500

Copied!
  {
    "message": "Internal Server Error",
    "error": "An unexpected error occurred while processing the request",
    "code": 500
  }
                
Show full
Endpoints

Sample Request

Curl
Copied!
curl --request POST \
  --url https://www.site24x7.com/cs/api/cost/savings/overall \
  --header 'Authorization:  d92d4xxxxxxxxxxxxx15f52' \
  --header 'content-type: application/json' \
  --data '{"end_date":"2026-02-04","cost_tags":[],"period":1,"accounts":[{"cost_account_id":"33240000000059001","billing_account_ids":["33240000000805103","33240000000060001"]}],"cost_type":0,"start_date":"2026-01-01"}'
Show full

Sample Request Body

Copied!
  {
    "end_date": "2026-02-04",
    "cost_tags": [],
    "period": 1,
    "accounts": [
      {
        "cost_account_id": "33240000000059001",
        "billing_account_ids": [
          "33240000000805103",
          "33240000000060001"
        ]
      }
    ],
    "cost_type": 0,
    "start_date": "2026-01-01"
  }
                
Show full

Sample Response: HTTP 200

Copied!
  {
    "message": "success",
    "data": {
      "return_data": {
        "savings_data": [
          {
            "ONDEMAND_COST": 24067.047,
            "CREDIT_AMOUNT": -2.803,
            "name": "S247-AWS-team_AWS_Anniversary",
            "PAYG_PRICE": 2412.175,
            "id": "33240000000060001",
            "ACTUAL_COST": 41.937,
            "UNBLENDED_COST": 24015.795
          }
        ],
        "cloud_type_id": 0
      }
    },
    "code": 0
  }
                
Show full

Sample Response: HTTP 400

Copied!
  {
    "message": "Bad Request",
    "error": "Invalid parameter format or missing required fields",
    "code": 400
  }
                
Show full

Sample Response: HTTP 401

Copied!
  {
    "message": "Unauthorized",
    "error": "Invalid authentication credentials or expired token",
    "code": 401
  }
                
Show full

Sample Response: HTTP 403

Copied!
  {
    "message": "Forbidden",
    "error": "Insufficient permissions to access this resource",
    "code": 403
  }
                
Show full

Sample Response: HTTP 500

Copied!
  {
    "message": "Internal Server Error",
    "error": "An unexpected error occurred while processing the request",
    "code": 500
  }
                
Show full
Endpoints

Sample Request

Curl
Copied!
curl --request GET \
  --url https://www.site24x7.com/cs/api/cost/admin/solution_reports_meta \
  --header 'Authorization:  d92d4xxxxxxxxxxxxx15f52'
Show full

Sample Response: HTTP 200

Copied!
  {
    "message": "success",
    "data": {
      "nav_data": [
        {
          "name": "",
          "subitems": [
            {
              "name": "AWS Linked",
              "subitems": [
                {
                  "name": "SERVICE",
                  "count": "35",
                  "id": "2"
                }
              ],
              "id": "33240000000059001"
            }
          ],
          "id": "0"
        }
      ],
      "reports_cx_preferences": []
    },
    "code": 0
  }
                
Show full

Sample Response: HTTP 400

Copied!
  {
    "message": "Bad Request",
    "error": "Invalid parameter format or missing required fields",
    "code": 400
  }
                
Show full

Sample Response: HTTP 401

Copied!
  {
    "message": "Unauthorized",
    "error": "Invalid authentication credentials or expired token",
    "code": 401
  }
                
Show full

Sample Response: HTTP 403

Copied!
  {
    "message": "Forbidden",
    "error": "Insufficient permissions to access this resource",
    "code": 403
  }
                
Show full

Sample Response: HTTP 500

Copied!
  {
    "message": "Internal Server Error",
    "error": "An unexpected error occurred while processing the request",
    "code": 500
  }
                
Show full
Endpoints

Sample Request

Curl
Copied!
curl --request GET \
  --url https://www.site24x7.com/cs/api/cost/governance/budget_alerts/94 \
  --header 'Authorization:  d92d4xxxxxxxxxxxxx15f52'
Show full

Sample Response: HTTP 200

Copied!
  {
    "message": "success",
    "data": {
      "meta": {
        "mode": "Count",
        "created_time": "04-Feb-2026 14:13",
        "account_type": 0,
        "budget_name": "MCP governance accounts test",
        "currency_symbol": "$",
        "mode_id": 5,
        "currency_locale": "en-US",
        "currency_code": "USD",
        "status": 2
      },
      "return_data": [
        {
          "notified_via": "Email",
          "period": "Feb-2026",
          "notified_time": "1738663495000",
          "usage_val": 539,
          "deviation": 529,
          "budgeted": 10,
          "status": 2
        }
      ]
    },
    "code": 0
  }
                
Show full

Sample Response: HTTP 400

Copied!
  {
    "message": "Bad Request",
    "error": "Invalid parameter format or missing required fields",
    "code": 400
  }
                
Show full

Sample Response: HTTP 401

Copied!
  {
    "message": "Unauthorized",
    "error": "Invalid authentication credentials or expired token",
    "code": 401
  }
                
Show full

Sample Response: HTTP 500

Copied!
  {
    "message": "Internal Server Error",
    "error": "An unexpected error occurred while processing the request",
    "code": 500
  }
                
Show full
Endpoints

Sample Request

Curl
Copied!
curl --request GET \
  --url https://www.site24x7.com/cs/api/cost/admin/accounts \
  --header 'Authorization:  d92d4xxxxxxxxxxxxx15f52'
Show full

Sample Response: HTTP 200

Copied!
  {
    "message": "success",
    "data": {
      "current_month_total": 12545.075,
      "previous_month_total": 18105.489,
      "total_accounts": 0,
      "all_accounts": {
        "suspended_accounts": {},
        "config_error_accounts": {},
        "processing_accounts": {}
      }
    },
    "code": 0
  }
                
Show full

Sample Response: HTTP 400

Copied!
  {
    "message": "Bad Request",
    "error": "Invalid parameter format or missing required fields",
    "code": 400
  }
                
Show full

Sample Response: HTTP 401

Copied!
  {
    "message": "Unauthorized",
    "error": "Invalid authentication credentials or expired token",
    "code": 401
  }
                
Show full

Sample Response: HTTP 403

Copied!
  {
    "message": "Forbidden",
    "error": "Insufficient permissions to access this resource",
    "code": 403
  }
                
Show full

Sample Response: HTTP 500

Copied!
  {
    "message": "Internal Server Error",
    "error": "An unexpected error occurred while processing the request",
    "code": 500
  }
                
Show full
Endpoints

Sample Request

Curl
Copied!
curl --request GET \
  --url 'https://www.site24x7.com/cs/api/cost/reports/allocations/tags?cost_account_ids=%5B%2233240000000011003%22%5D&start=0' \
  --header 'Authorization:  d92d4xxxxxxxxxxxxx15f52'
Show full

Sample Response: HTTP 200

Copied!
  {
    "message": "success",
    "data": {
      "cloud_types": [
        1
      ]
    },
    "code": 0
  }
                
Show full

Sample Response: HTTP 400

Copied!
  {
    "message": "Bad Request",
    "error": "Invalid parameter format or missing required fields",
    "code": 400
  }
                
Show full

Sample Response: HTTP 401

Copied!
  {
    "message": "Unauthorized",
    "error": "Invalid authentication credentials or expired token",
    "code": 401
  }
                
Show full

Sample Response: HTTP 403

Copied!
  {
    "message": "Forbidden",
    "error": "Insufficient permissions to access this resource",
    "code": 403
  }
                
Show full

Sample Response: HTTP 500

Copied!
  {
    "message": "Internal Server Error",
    "error": "An unexpected error occurred while processing the request",
    "code": 500
  }
                
Show full
Endpoints

Sample Request

Curl
Copied!
curl --request GET \
  --url 'https://www.site24x7.com/cs/api/cost/governance/checks/rca/unbilled_resource/names?ruleChecksId=109&incidentTime=1769904000000' \
  --header 'Authorization:  d92d4xxxxxxxxxxxxx15f52'
Show full

Sample Response: HTTP 200

Copied!
  {
    "message": "success",
    "data": [],
    "code": 0
  }
                
Show full

Sample Response: HTTP 400

Copied!
  {
    "message": "Unauthorized",
    "error": "Invalid authentication credentials or expired token",
    "code": 401
  }
                
Show full

Sample Response: HTTP 500

Copied!
  {
    "message": "Internal Server Error",
    "error": "An unexpected error occurred while processing the request",
    "code": 500
  }
                
Show full
Endpoints

Sample Request

Curl
Copied!
curl --request GET \
  --url https://www.site24x7.com/cs/api/cost/exchange_rates \
  --header 'Authorization:  d92d4xxxxxxxxxxxxx15f52'
Show full

Sample Response: HTTP 200

Copied!
  {
    "message": "success",
    "data": [
      {
        "month": "Jan 2026",
        "values": [
          {
            "base_currency": "INR",
            "display_currency": "USD",
            "has_exchange_rate": true,
            "exchange_rate": 0.011114,
            "is_exchange_rate_input": true
          }
        ]
      }
    ],
    "code": 0
  }
                
Show full

Sample Response: HTTP 400

Copied!
  {
    "message": "Bad Request",
    "error": "Invalid parameter format or missing required fields",
    "code": 400
  }
                
Show full

Sample Response: HTTP 401

Copied!
  {
    "message": "Unauthorized",
    "error": "Invalid authentication credentials or expired token",
    "code": 401
  }
                
Show full

Sample Response: HTTP 403

Copied!
  {
    "message": "Forbidden",
    "error": "Insufficient permissions to access this resource",
    "code": 403
  }
                
Show full

Sample Response: HTTP 500

Copied!
  {
    "message": "Internal Server Error",
    "error": "An unexpected error occurred while processing the request",
    "code": 500
  }
                
Show full
Endpoints

Sample Request

Curl
Copied!
curl --request GET \
  --url 'https://www.site24x7.com/cs/api/cost/admin/rule/group/details?rule_group_id=8' \
  --header 'Authorization:  d92d4xxxxxxxxxxxxx15f52'
Show full

Sample Response: HTTP 200

Copied!
  {
    "message": "success",
    "data": {
      "ruleGroupId": "8",
      "rules": [
        {
          "pattern": "NULL",
          "variationId": "-1000",
          "ruleId": "8",
          "modeId": "1",
          "sourceIds": [
            "33240000000011003"
          ]
        }
      ],
      "ruleGroupName": "sep41240"
    },
    "code": 0
  }
                
Show full

Sample Response: HTTP 400

Copied!
  {
    "message": "Bad Request",
    "error": "Invalid parameter format or missing required fields",
    "code": 400
  }
                
Show full

Sample Response: HTTP 401

Copied!
  {
    "message": "Unauthorized",
    "error": "Invalid authentication credentials or expired token",
    "code": 401
  }
                
Show full

Sample Response: HTTP 403

Copied!
  {
    "message": "Forbidden",
    "error": "Insufficient permissions to access this resource",
    "code": 403
  }
                
Show full

Sample Response: HTTP 500

Copied!
  {
    "message": "Internal Server Error",
    "error": "An unexpected error occurred while processing the request",
    "code": 500
  }
                
Show full
Endpoints

Sample Request

Curl
Copied!
curl --request POST \
  --url https://www.site24x7.com/cs/api/cost/users \
  --header 'Authorization:  d92d4xxxxxxxxxxxxx15f52' \
  --header 'content-type: application/json' \
  --data '{"user_role":10,"email_address":"jane.smith@example.com","cloudspend_role":11,"cloudspend_custom_role_id":"33240000000133105","display_name":"Jane Smith","job_title":0,"user_groups":["53565000000072003"]}'
Show full

Sample Request Body

Copied!
  {
    "user_role": 10,
    "email_address": "jane.smith@example.com",
    "cloudspend_role": 11,
    "cloudspend_custom_role_id": "33240000000133105",
    "display_name": "Jane Smith",
    "job_title": 0,
    "user_groups": [
      "53565000000072003"
    ]
  }
                
Show full

Sample Response: HTTP 200

Copied!
  {
    "message": "success",
    "data": {
      "user_id": "53565000000089001",
      "status": "User created successfully"
    },
    "code": 0
  }
                
Show full

Sample Response: HTTP 400

Copied!
  {
    "message": "Bad Request",
    "error": "Invalid parameter format or missing required fields",
    "code": 400
  }
                
Show full

Sample Response: HTTP 401

Copied!
  {
    "message": "Unauthorized",
    "error": "Invalid authentication credentials or expired token",
    "code": 401
  }
                
Show full

Sample Response: HTTP 403

Copied!
  {
    "message": "Forbidden",
    "error": "Insufficient permissions to access this resource",
    "code": 403
  }
                
Show full

Sample Response: HTTP 500

Copied!
  {
    "message": "Internal Server Error",
    "error": "An unexpected error occurred while processing the request",
    "code": 500
  }
                
Show full
Endpoints

Sample Request

Curl
Copied!
curl --request GET \
  --url https://www.site24x7.com/cs/api/cost/users \
  --header 'Authorization:  d92d4xxxxxxxxxxxxx15f52'
Show full

Sample Response: HTTP 200

Copied!
  {
    "message": "success",
    "data": {
      "workspace_migration_info": [],
      "contact_id": "53565000000014003",
      "users": [
        {
          "user_role": 1,
          "email_address": "john.doe@example.com",
          "cloudspend_role": 12,
          "cloudspend_custom_role_id": "33240000000133105",
          "user_id": "53565000000014003",
          "is_invited": false,
          "alert_settings": {
            "email_format": 1,
            "dont_alert_on_days": []
          },
          "display_name": "John Doe",
          "job_title": 2,
          "user_groups": [
            "53565000000072003"
          ]
        }
      ],
      "user_groups": [
        {
          "display_name": "Finance Team",
          "user_group_id": "53565000000072003",
          "users": [
            "53565000000014003"
          ],
          "product_id": 2
        }
      ]
    },
    "code": 0
  }
                
Show full

Sample Response: HTTP 400

Copied!
  {
    "message": "Bad Request",
    "error": "Invalid parameter format or missing required fields",
    "code": 400
  }
                
Show full

Sample Response: HTTP 401

Copied!
  {
    "message": "Unauthorized",
    "error": "Invalid authentication credentials or expired token",
    "code": 401
  }
                
Show full

Sample Response: HTTP 403

Copied!
  {
    "message": "Forbidden",
    "error": "Insufficient permissions to access this resource",
    "code": 403
  }
                
Show full

Sample Response: HTTP 500

Copied!
  {
    "message": "Internal Server Error",
    "error": "An unexpected error occurred while processing the request",
    "code": 500
  }
                
Show full
Endpoints

Sample Request

Curl
Copied!
curl --request POST \
  --url https://www.site24x7.com/cs/api/cost/cost_centers/spend_analysis/report \
  --header 'Authorization:  d92d4xxxxxxxxxxxxx15f52' \
  --header 'content-type: application/json' \
  --data '{"cost_ids":["403793000000996001"],"profile":{"profile_id":"2"},"format":1,"report_name":"Bu-spend","type":4,"bu_id":"403793000000996001","contact_ids":[{"contact_id":"414994000000025003","contact_type":"1"}],"frequency":1}'
Show full

Sample Request Body

Copied!
  {
    "cost_ids": [
      "403793000000996001"
    ],
    "profile": {
      "profile_id": "2"
    },
    "format": 1,
    "report_name": "Bu-spend",
    "type": 4,
    "bu_id": "403793000000996001",
    "contact_ids": [
      {
        "contact_id": "414994000000025003",
        "contact_type": "1"
      }
    ],
    "frequency": 1
  }
                
Show full

Sample Response: HTTP 200

Copied!
  {
    "message": "success",
    "data": {
      "report_id": "403793000002962035"
    },
    "code": 0
  }
                
Show full

Sample Response: HTTP 400

Copied!
  {
    "message": "Bad Request",
    "error": "Invalid parameter format or missing required fields",
    "code": 400
  }
                
Show full

Sample Response: HTTP 401

Copied!
  {
    "message": "Unauthorized",
    "error": "Invalid authentication credentials or expired token",
    "code": 401
  }
                
Show full

Sample Response: HTTP 500

Copied!
  {
    "message": "Internal Server Error",
    "error": "An unexpected error occurred while processing the request",
    "code": 500
  }
                
Show full
Endpoints

Sample Request

Curl
Copied!
curl --request POST \
  --url https://www.site24x7.com/cs/api/cost/cost_centers/trend_box \
  --header 'Authorization:  d92d4xxxxxxxxxxxxx15f52' \
  --header 'content-type: application/json' \
  --data '{"end_date":"2025-11-12","period":1,"cost_tags":[{"v":10,"id":"403793000002710023"}],"business_unit_id":"403793000002710025","cost_type":0,"accounts":[{"cost_account_id":"403793000001435001","billing_account_ids":["403793000001434279","403793000001434299"]},{"cost_account_id":"403793000001770003","billing_account_ids":["403793000001434301"]}],"bu_type":0,"start_date":"2025-10-01"}'
Show full

Sample Request Body

Copied!
  {
    "end_date": "2025-11-12",
    "period": 1,
    "cost_tags": [
      {
        "v": 10,
        "id": "403793000002710023"
      }
    ],
    "business_unit_id": "403793000002710025",
    "cost_type": 0,
    "accounts": [
      {
        "cost_account_id": "403793000001435001",
        "billing_account_ids": [
          "403793000001434279",
          "403793000001434299"
        ]
      },
      {
        "cost_account_id": "403793000001770003",
        "billing_account_ids": [
          "403793000001434301"
        ]
      }
    ],
    "bu_type": 0,
    "start_date": "2025-10-01"
  }
                
Show full

Sample Response: HTTP 201

Copied!
  {
    "message": "success",
    "data": {
      "trend_values": {
        "mode": 1,
        "values": {
          "property1": [
            [
              "2025-11-01T00:00:00+0530",
              1234.56
            ]
          ],
          "property2": [
            [
              "2025-11-01T00:00:00+0530",
              1234.56
            ]
          ]
        }
      }
    },
    "code": 0
  }
                
Show full

Sample Response: HTTP 400

Copied!
  {
    "message": "Bad Request",
    "error": "Invalid parameter format or missing required fields",
    "code": 400
  }
                
Show full

Sample Response: HTTP 401

Copied!
  {
    "message": "Unauthorized",
    "error": "Invalid authentication credentials or expired token",
    "code": 401
  }
                
Show full

Sample Response: HTTP 500

Copied!
  {
    "message": "Internal Server Error",
    "error": "An unexpected error occurred while processing the request",
    "code": 500
  }
                
Show full
Endpoints

Sample Request

Curl
Copied!
curl --request GET \
  --url 'https://www.site24x7.com/cs/api/cost/cloud_discounts?JSONString=%7B%22start_date%22:%222026-01-01%22,%22end_date%22:%222026-02-20%22%7D' \
  --header 'Authorization:  d92d4xxxxxxxxxxxxx15f52'
Show full

Sample Response: HTTP 200

Copied!
  {
    "message": "success",
    "code": 0
  }
                
Show full
Endpoints

Sample Request

Curl
Copied!
curl --request GET \
  --url https://www.site24x7.com/cs/api/cost/governance/budget_policys/1 \
  --header 'Authorization:  d92d4xxxxxxxxxxxxx15f52'
Show full

Sample Response: HTTP 200

Copied!
  {
    "message": "success",
    "data": {
      "data": [
        {
          "policy_type": "",
          "account_type": 0,
          "account_id": "33240000000059001",
          "policy_id": "109",
          "cost_type": 0,
          "policy_name": "Test",
          "integrated_zaaids": [
            "89335240"
          ],
          "budgets_count": 1
        }
      ]
    },
    "code": 0
  }
                
Show full

Sample Response: HTTP 400

Copied!
  {
    "message": "Bad Request",
    "error": "Invalid parameter format or missing required fields",
    "code": 400
  }
                
Show full

Sample Response: HTTP 401

Copied!
  {
    "message": "Unauthorized",
    "error": "Invalid authentication credentials or expired token",
    "code": 401
  }
                
Show full

Sample Response: HTTP 500

Copied!
  {
    "message": "Internal Server Error",
    "error": "An unexpected error occurred while processing the request",
    "code": 500
  }
                
Show full
Endpoints

Sample Request

Curl
Copied!
curl --request GET \
  --url 'https://www.site24x7.com/cs/api/cost/reports/unit/economics/unit/list?accountId=33240000000059000&accountType=0' \
  --header 'Authorization:  d92d4xxxxxxxxxxxxx15f52'
Show full

Sample Response: HTTP 200

Copied!
  {
    "message": "success",
    "data": [
      {
        "name": "Hrs",
        "id": "33240000000800001",
        "region": "us-east-1",
        "service": "AmazonEC2"
      }
    ],
    "code": 0
  }
                
Show full

Sample Response: HTTP 400

Copied!
  {
    "message": "Bad Request",
    "error": "Invalid parameter format or missing required fields",
    "code": 400
  }
                
Show full

Sample Response: HTTP 401

Copied!
  {
    "message": "Unauthorized",
    "error": "Invalid authentication credentials or expired token",
    "code": 401
  }
                
Show full

Sample Response: HTTP 403

Copied!
  {
    "message": "Forbidden",
    "error": "Insufficient permissions to access this resource",
    "code": 403
  }
                
Show full

Sample Response: HTTP 500

Copied!
  {
    "message": "Internal Server Error",
    "error": "An unexpected error occurred while processing the request",
    "code": 500
  }
                
Show full
Endpoints

Sample Request

Curl
Copied!
curl --request GET \
  --url 'https://www.site24x7.com/cs/api/cost/accounts/hierarchy/report/ACTUAL_ROOT_NODE_ID_FROM_API/graph?node=SOME_STRING_VALUE&level=SOME_INTEGER_VALUE&start_date=SOME_STRING_VALUE&end_date=SOME_STRING_VALUE' \
  --header 'Authorization:  d92d4xxxxxxxxxxxxx15f52'
Show full

Sample Response: HTTP 200

Copied!
  {
    "message": "success",
    "data": {
      "nodes": [
        {
          "name": "Azure subscription 1 Microsoft",
          "business_unit_id": "33240000000012359",
          "cost": 15.083,
          "entityDataId": "23",
          "sectorCount": 1,
          "actual_cost": 63.728
        },
        {
          "name": "Subscription-2 Marketplace",
          "business_unit_id": "33240000000012345",
          "cost": 1.01,
          "entityDataId": "2",
          "sectorCount": 1,
          "actual_cost": 2.648
        },
        {
          "name": "Subscription-2 Microsoft",
          "business_unit_id": "33240000000012351",
          "cost": 0.126,
          "entityDataId": "7",
          "sectorCount": 1,
          "actual_cost": 81.536
        },
        {
          "name": "Other_Zoho Microsoft",
          "business_unit_id": "33240000000220001",
          "cost": 0,
          "entityDataId": "673",
          "sectorCount": 0,
          "actual_cost": 0
        }
      ]
    },
    "code": 0
  }
                
Show full

Sample Response: HTTP 400

Copied!
  {
    "message": "Bad Request",
    "error": "Invalid parameter format or missing required fields",
    "code": 400
  }
                
Show full

Sample Response: HTTP 401

Copied!
  {
    "message": "Unauthorized",
    "error": "Invalid authentication credentials or expired token",
    "code": 401
  }
                
Show full

Sample Response: HTTP 404

Copied!
  {
    "message": "Not Found",
    "error": "The requested resource was not found",
    "code": 404
  }
                
Show full

Sample Response: HTTP 500

Copied!
  {
    "message": "Internal Server Error",
    "error": "An unexpected error occurred while processing the request",
    "code": 500
  }
                
Show full
Endpoints

Sample Request

Curl
Copied!
curl --request GET \
  --url https://www.site24x7.com/cs/api/cost/currencies_format \
  --header 'Authorization:  d92d4xxxxxxxxxxxxx15f52'
Show full

Sample Response: HTTP 200

Copied!
  {
    "message": "success",
    "data": [
      {
        "currency": "CAD",
        "format_value": "$ 7,000,000.52"
      }
    ],
    "code": 0
  }
                
Show full

Sample Response: HTTP 400

Copied!
  {
    "message": "Bad Request",
    "error": "Invalid parameter format or missing required fields",
    "code": 400
  }
                
Show full

Sample Response: HTTP 401

Copied!
  {
    "message": "Unauthorized",
    "error": "Invalid authentication credentials or expired token",
    "code": 401
  }
                
Show full

Sample Response: HTTP 403

Copied!
  {
    "message": "Forbidden",
    "error": "Insufficient permissions to access this resource",
    "code": 403
  }
                
Show full

Sample Response: HTTP 500

Copied!
  {
    "message": "Internal Server Error",
    "error": "An unexpected error occurred while processing the request",
    "code": 500
  }
                
Show full
Endpoints

Sample Request

Curl
Copied!
curl --request POST \
  --url https://www.site24x7.com/cs/api/cost/custom_report/ri_top_region_list \
  --header 'Authorization:  d92d4xxxxxxxxxxxxx15f52' \
  --header 'content-type: application/json' \
  --data '{"end_date":"2026-02-05","cost_tags":[],"period":1,"accounts":[{"cost_account_id":"33240000000011003","billing_account_ids":["33240000000012207","33240000000012021","33240000000012033","33240000000012001","33240000000216281"]}],"start_date":"2026-01-01"}'
Show full

Sample Request Body

Copied!
  {
    "end_date": "2026-02-05",
    "cost_tags": [],
    "period": 1,
    "accounts": [
      {
        "cost_account_id": "33240000000011003",
        "billing_account_ids": [
          "33240000000012207",
          "33240000000012021",
          "33240000000012033",
          "33240000000012001",
          "33240000000216281"
        ]
      }
    ],
    "start_date": "2026-01-01"
  }
                
Show full

Sample Response: HTTP 200

Copied!
  {
    "message": "success",
    "data": {
      "mapsData": {
        "AWS": [
          {
            "name": "aws.region.us-east-1",
            "x": "38.9072",
            "y": "-77.0369",
            "id": "us-east-1"
          }
        ],
        "AZURE": [
          {
            "name": "azure.region.eastus",
            "x": "37.3719",
            "y": "-79.8164",
            "id": "US East"
          }
        ],
        "GCP": [
          {
            "name": "gcp.region.us-central1",
            "x": "41.2619",
            "y": "-95.8608",
            "id": "us-central1"
          }
        ]
      },
      "return_data": [
        [
          "us-east-1",
          9875
        ],
        [
          "us-west-2",
          1542
        ],
        [
          "eu-west-1",
          892
        ],
        [
          "US East",
          18
        ],
        [
          "UK South",
          6
        ],
        [
          "us-central1",
          156
        ]
      ]
    },
    "code": 0
  }
                
Show full

Sample Response: HTTP 400

Copied!
  {
    "message": "Bad Request",
    "error": "Invalid parameter format or missing required fields",
    "code": 400
  }
                
Show full

Sample Response: HTTP 401

Copied!
  {
    "message": "Unauthorized",
    "error": "Invalid authentication credentials or expired token",
    "code": 401
  }
                
Show full

Sample Response: HTTP 403

Copied!
  {
    "message": "Forbidden",
    "error": "Insufficient permissions to access this resource",
    "code": 403
  }
                
Show full

Sample Response: HTTP 500

Copied!
  {
    "message": "Internal Server Error",
    "error": "An unexpected error occurred while processing the request",
    "code": 500
  }
                
Show full
Endpoints

Sample Request

Curl
Copied!
curl --request GET \
  --url 'https://www.site24x7.com/cs/api/cost/admin/dashboard?start=0&limit=0' \
  --header 'Authorization:  d92d4xxxxxxxxxxxxx15f52'
Show full

Sample Response: HTTP 200

Copied!
  {
    "message": "success",
    "data": {
      "return_data": [
        {
          "public_dashboard_link": "/cs/public/dashboard/Tco3zpKmu27gtPZCukuPQ...",
          "created_time": "1756140181551",
          "updated_time": "",
          "config_data": "{}",
          "description": "first15",
          "is_default_dashboard": false,
          "type": 1,
          "widgets": [],
          "size": 9,
          "starred": false,
          "name": "first15",
          "encryption_key": "",
          "theme": 1,
          "id": "2",
          "status": 1
        }
      ]
    },
    "code": 0
  }
                
Show full

Sample Response: HTTP 400

Copied!
  {
    "message": "Bad Request",
    "error": "Invalid parameter format or missing required fields",
    "code": 400
  }
                
Show full

Sample Response: HTTP 401

Copied!
  {
    "message": "Unauthorized",
    "error": "Invalid authentication credentials or expired token",
    "code": 401
  }
                
Show full

Sample Response: HTTP 403

Copied!
  {
    "message": "Forbidden",
    "error": "Insufficient permissions to access this resource",
    "code": 403
  }
                
Show full

Sample Response: HTTP 500

Copied!
  {
    "message": "Internal Server Error",
    "error": "An unexpected error occurred while processing the request",
    "code": 500
  }
                
Show full
Endpoints

Sample Request

Curl
Copied!
curl --request GET \
  --url https://www.site24x7.com/cs/api/cost/budget/solution_reports_meta \
  --header 'Authorization:  d92d4xxxxxxxxxxxxx15f52'
Show full

Sample Response: HTTP 200

Copied!
  {
    "message": "success",
    "data": {
      "nav_data": [
        {
          "name": "",
          "subitems": [
            {
              "name": "AWS Linked",
              "subitems": [
                {
                  "name": "SERVICE",
                  "count": "35",
                  "id": "2"
                }
              ],
              "id": "33240000000059001"
            }
          ],
          "id": "0"
        }
      ],
      "reports_meta": {
        "33240000000011003": [
          {
            "accnt_config_name": "Azure linked account2",
            "name": "US East",
            "cloud_type": 1,
            "id": "33240000000012271",
            "report_type": 1
          }
        ]
      },
      "reports_cx_preferences": []
    },
    "code": 0
  }
                
Show full

Sample Response: HTTP 400

Copied!
  {
    "message": "Bad Request",
    "error": "Invalid parameter format or missing required fields",
    "code": 400
  }
                
Show full

Sample Response: HTTP 401

Copied!
  {
    "message": "Unauthorized",
    "error": "Invalid authentication credentials or expired token",
    "code": 401
  }
                
Show full

Sample Response: HTTP 500

Copied!
  {
    "message": "Internal Server Error",
    "error": "An unexpected error occurred while processing the request",
    "code": 500
  }
                
Show full
Endpoints

Sample Request

Curl
Copied!
curl --request GET \
  --url https://www.site24x7.com/cs/api/cost/cost_centers/report/profiles \
  --header 'Authorization:  d92d4xxxxxxxxxxxxx15f52'
Show full

Sample Response: HTTP 200

Copied!
  {
    "message": "success",
    "data": {
      "return_data": {
        "return_data": [
          {
            "period": 14,
            "report_hour_meridiem": 1,
            "timezone": "Pacific/Kiritimati",
            "report_hour": 12,
            "report_hour_meridiem_text": "AM",
            "frequency": 1,
            "report_day": 2,
            "report_time": 0,
            "profile_id": "1",
            "default_profile": 1,
            "name": "cl.cst.schedule.profile.default.monthly.thismonth",
            "report_month": 0,
            "config": "Pacific/Kiritimati"
          }
        ]
      }
    },
    "code": 0
  }
                
Show full

Sample Response: HTTP 400

Copied!
  {
    "message": "Bad Request",
    "error": "Invalid parameter format or missing required fields",
    "code": 400
  }
                
Show full

Sample Response: HTTP 401

Copied!
  {
    "message": "Unauthorized",
    "error": "Invalid authentication credentials or expired token",
    "code": 401
  }
                
Show full

Sample Response: HTTP 500

Copied!
  {
    "message": "Internal Server Error",
    "error": "An unexpected error occurred while processing the request",
    "code": 500
  }
                
Show full
Endpoints

Sample Request

Curl
Copied!
curl --request GET \
  --url 'https://www.site24x7.com/cs/api/cost/reports/unit/economics/cx_preference?entityType=1' \
  --header 'Authorization:  d92d4xxxxxxxxxxxxx15f52'
Show full

Sample Response: HTTP 200

Copied!
  {
    "message": "success",
    "code": 0
  }
                
Show full

Sample Response: HTTP 400

Copied!
  {
    "message": "Bad Request",
    "error": "Invalid parameter format or missing required fields",
    "code": 400
  }
                
Show full

Sample Response: HTTP 401

Copied!
  {
    "message": "Unauthorized",
    "error": "Invalid authentication credentials or expired token",
    "code": 401
  }
                
Show full

Sample Response: HTTP 403

Copied!
  {
    "message": "Forbidden",
    "error": "Insufficient permissions to access this resource",
    "code": 403
  }
                
Show full

Sample Response: HTTP 500

Copied!
  {
    "message": "Internal Server Error",
    "error": "An unexpected error occurred while processing the request",
    "code": 500
  }
                
Show full
Endpoints

Sample Request

Curl
Copied!
curl --request POST \
  --url https://www.site24x7.com/cs/api/cost/cost_centers/common_widget_api \
  --header 'Authorization:  d92d4xxxxxxxxxxxxx15f52' \
  --header 'content-type: application/json' \
  --data '{"end_date":"2025-11-12","period":1,"cost_tags":[{"v":10,"id":"403793000002710023"}],"business_unit_id":"403793000002710025","cost_type":0,"accounts":[{"cost_account_id":"403793000001435001","billing_account_ids":["403793000001434279","403793000001434299"]},{"cost_account_id":"403793000001770003","billing_account_ids":["403793000001434301"]}],"bu_type":0,"start_date":"2025-10-01"}'
Show full

Sample Request Body

Copied!
  {
    "end_date": "2025-11-12",
    "period": 1,
    "cost_tags": [
      {
        "v": 10,
        "id": "403793000002710023"
      }
    ],
    "business_unit_id": "403793000002710025",
    "cost_type": 0,
    "accounts": [
      {
        "cost_account_id": "403793000001435001",
        "billing_account_ids": [
          "403793000001434279",
          "403793000001434299"
        ]
      },
      {
        "cost_account_id": "403793000001770003",
        "billing_account_ids": [
          "403793000001434301"
        ]
      }
    ],
    "bu_type": 0,
    "start_date": "2025-10-01"
  }
                
Show full

Sample Response: HTTP 201

Copied!
  {
    "message": "success",
    "data": {
      "return_data": {
        "regions": [
          {
            "name": "us-east-1",
            "cost": 30856.65
          }
        ],
        "services": [
          {
            "name": "AmazonCloudWatch",
            "cost": 14237.53
          }
        ],
        "categories": [
          {
            "name": "Others",
            "cost": 30668.62
          }
        ],
        "cost_types": [
          {
            "name": "Usage",
            "value": 29870.35
          }
        ]
      }
    },
    "code": 0
  }
                
Show full

Sample Response: HTTP 400

Copied!
  {
    "message": "Bad Request",
    "error": "Invalid parameter format or missing required fields",
    "code": 400
  }
                
Show full

Sample Response: HTTP 401

Copied!
  {
    "message": "Unauthorized",
    "error": "Invalid authentication credentials or expired token",
    "code": 401
  }
                
Show full

Sample Response: HTTP 500

Copied!
  {
    "message": "Internal Server Error",
    "error": "An unexpected error occurred while processing the request",
    "code": 500
  }
                
Show full
Endpoints

Sample Request

Curl
Copied!
curl --request GET \
  --url 'https://www.site24x7.com/cs/api/cost/cloud_overallcost?JSONString=%7B%22start_date%22:%222026-01-01%22,%22end_date%22:%222026-02-20%22%7D' \
  --header 'Authorization:  d92d4xxxxxxxxxxxxx15f52'
Show full

Sample Response: HTTP 200

Copied!
  {
    "message": "success",
    "data": {
      "overall_data": {
        "current_mtd_cost": 2574.854,
        "previous_mtd_cost": 2608.113,
        "total_accounts": 3,
        "y_o_y": 0,
        "m_o_m": -1.275
      },
      "cloud_level_data": [
        {
          "cloud": "AWS",
          "current_mtd_cost": 1500.5,
          "m_o_m": 2.5
        }
      ]
    },
    "code": 0
  }
                
Show full
Endpoints

Sample Request

Curl
Copied!
curl --request GET \
  --url https://www.site24x7.com/cs/api/cost/reports/compliance/tagging/report/profiles \
  --header 'Authorization:  d92d4xxxxxxxxxxxxx15f52'
Show full

Sample Response: HTTP 200

Copied!
  {
    "message": "success",
    "data": {
      "return_data": {
        "return_data": [
          {
            "period": 11,
            "report_hour_meridiem": 1,
            "timezone": "Asia/Kolkata",
            "report_hour": 3,
            "report_hour_meridiem_text": "AM",
            "frequency": 4,
            "report_day": 2,
            "report_time": 3,
            "profile_id": "2",
            "default_profile": 0,
            "name": "test",
            "report_month": 0,
            "config": "Asia/Kolkata"
          },
          {
            "period": 14,
            "report_hour_meridiem": 1,
            "timezone": "Asia/Kolkata",
            "report_hour": 12,
            "report_hour_meridiem_text": "AM",
            "frequency": 1,
            "report_day": 2,
            "report_time": 0,
            "profile_id": "35",
            "default_profile": 1,
            "name": "cl.cst.schedule.profile.default.monthly.thismonth",
            "report_month": 0,
            "config": "Asia/Kolkata"
          }
        ]
      }
    },
    "code": 0
  }
                
Show full

Sample Response: HTTP 400

Copied!
  {
    "message": "Bad Request",
    "error": "Invalid parameter format or missing required fields",
    "code": 400
  }
                
Show full

Sample Response: HTTP 401

Copied!
  {
    "message": "Unauthorized",
    "error": "Invalid authentication credentials or expired token",
    "code": 401
  }
                
Show full

Sample Response: HTTP 403

Copied!
  {
    "message": "Forbidden",
    "error": "Insufficient permissions to access this resource",
    "code": 403
  }
                
Show full

Sample Response: HTTP 500

Copied!
  {
    "message": "Internal Server Error",
    "error": "An unexpected error occurred while processing the request",
    "code": 500
  }
                
Show full
Endpoints

Sample Request

Curl
Copied!
curl --request GET \
  --url https://www.site24x7.com/cs/api/cost/account_usage \
  --header 'Authorization:  d92d4xxxxxxxxxxxxx15f52'
Show full

Sample Response: HTTP 200

Copied!
  {
    "message": "success",
    "data": {
      "cost_accnt_count": 2,
      "setup_stages": 6,
      "business_unit_count": 3,
      "tag_profile_count": 40,
      "user_count": 0,
      "progress_stage": 5,
      "budget_count": 6,
      "progress": "83",
      "cost_user_id": "33240000000011001",
      "scheduled_report_count": 53
    },
    "code": 0
  }
                
Show full

Sample Response: HTTP 400

Copied!
  {
    "message": "Bad Request",
    "error": "Invalid parameter format or missing required fields",
    "code": 400
  }
                
Show full

Sample Response: HTTP 401

Copied!
  {
    "message": "Unauthorized",
    "error": "Invalid authentication credentials or expired token",
    "code": 401
  }
                
Show full

Sample Response: HTTP 404

Copied!
  {
    "message": "Not Found",
    "error": "The requested resource was not found",
    "code": 404
  }
                
Show full

Sample Response: HTTP 500

Copied!
  {
    "message": "Internal Server Error",
    "error": "An unexpected error occurred while processing the request",
    "code": 500
  }
                
Show full
Endpoints

Sample Request

Curl
Copied!
curl --request POST \
  --url https://www.site24x7.com/cs/api/cost/custom_report/ri_trend_chart \
  --header 'Authorization:  d92d4xxxxxxxxxxxxx15f52' \
  --header 'content-type: application/json' \
  --data '{"end_date":"2026-01-05","cost_tags":[],"period":1,"accounts":[{"cost_account_id":"33240000000011003","billing_account_ids":["33240000000012207","33240000000012021","33240000000012033","33240000000012001"]}],"start_date":"2026-01-01"}'
Show full

Sample Request Body

Copied!
  {
    "end_date": "2026-01-05",
    "cost_tags": [],
    "period": 1,
    "accounts": [
      {
        "cost_account_id": "33240000000011003",
        "billing_account_ids": [
          "33240000000012207",
          "33240000000012021",
          "33240000000012033",
          "33240000000012001"
        ]
      }
    ],
    "start_date": "2026-01-01"
  }
                
Show full

Sample Response: HTTP 200

Copied!
  {
    "message": "success",
    "data": {
      "return_data": [
        [
          "2026-01-01T00:00:00+0530",
          "169"
        ]
      ]
    },
    "code": 0
  }
                
Show full

Sample Response: HTTP 400

Copied!
  {
    "message": "Bad Request",
    "error": "Invalid parameter format or missing required fields",
    "code": 400
  }
                
Show full

Sample Response: HTTP 401

Copied!
  {
    "message": "Unauthorized",
    "error": "Invalid authentication credentials or expired token",
    "code": 401
  }
                
Show full

Sample Response: HTTP 403

Copied!
  {
    "message": "Forbidden",
    "error": "Insufficient permissions to access this resource",
    "code": 403
  }
                
Show full

Sample Response: HTTP 500

Copied!
  {
    "message": "Internal Server Error",
    "error": "An unexpected error occurred while processing the request",
    "code": 500
  }
                
Show full
Endpoints

Sample Request

Curl
Copied!
curl --request GET \
  --url https://www.site24x7.com/cs/api/cost/governance/budget_history/94 \
  --header 'Authorization:  d92d4xxxxxxxxxxxxx15f52'
Show full

Sample Response: HTTP 200

Copied!
  {
    "message": "success",
    "data": {
      "meta": {
        "checks_id": "94",
        "created_time": "02-Dec-2025 17:16",
        "budget_name": "compliant",
        "account_type": 0,
        "policy_id": "112",
        "currency_symbol": "$",
        "currency_locale": "en-US",
        "budget_period": "Monthly",
        "currency_code": "USD",
        "status": 1
      },
      "chart_data": {
        "usage_values": [
          [
            "2025-12-01T00:00:00+0530",
            652
          ]
        ],
        "budget_values": [
          [
            "2025-12-01T00:00:00+0530",
            1e+25
          ]
        ]
      },
      "return_data": [
        {
          "end_date": "Feb-2026",
          "start_time": "1738368000000",
          "checked_time": "1738663495000",
          "notified_via": "Email",
          "end_time": "1740787200000",
          "usage_val": 539,
          "deviation": 529,
          "notified_time": "1738663495000",
          "rca_available": true,
          "start_date": "Feb-2026",
          "budgeted": 10
        }
      ]
    },
    "code": 0
  }
                
Show full

Sample Response: HTTP 400

Copied!
  {
    "message": "Bad Request",
    "error": "Invalid parameter format or missing required fields",
    "code": 400
  }
                
Show full

Sample Response: HTTP 401

Copied!
  {
    "message": "Unauthorized",
    "error": "Invalid authentication credentials or expired token",
    "code": 401
  }
                
Show full

Sample Response: HTTP 500

Copied!
  {
    "message": "Internal Server Error",
    "error": "An unexpected error occurred while processing the request",
    "code": 500
  }
                
Show full
Endpoints

Sample Request

Curl
Copied!
curl --request GET \
  --url https://www.site24x7.com/cs/api/cost/governance/accounts \
  --header 'Authorization:  d92d4xxxxxxxxxxxxx15f52'
Show full

Sample Response: HTTP 200

Copied!
  {
    "message": "success",
    "data": {
      "current_month_total": 11672.229,
      "previous_month_total": 15118.604,
      "total_accounts": 0,
      "all_accounts": {
        "suspended_accounts": {},
        "config_error_accounts": {},
        "processing_accounts": {}
      }
    },
    "code": 0
  }
                
Show full

Sample Response: HTTP 400

Copied!
  {
    "message": "Bad Request",
    "error": "Invalid parameter format or missing required fields",
    "code": 400
  }
                
Show full

Sample Response: HTTP 401

Copied!
  {
    "message": "Unauthorized",
    "error": "Invalid authentication credentials or expired token",
    "code": 401
  }
                
Show full

Sample Response: HTTP 500

Copied!
  {
    "message": "Internal Server Error",
    "error": "An unexpected error occurred while processing the request",
    "code": 500
  }
                
Show full
Endpoints

Sample Request

Curl
Copied!
curl --request POST \
  --url https://www.site24x7.com/cs/api/cost/budget/budget_policy \
  --header 'Authorization:  d92d4xxxxxxxxxxxxx15f52' \
  --header 'content-type: application/json' \
  --data '{"account_type":2,"policy_type":0,"account_id":"33240000000012271","policy_id":"114","cost_type":20,"budget_tags":[],"policy_name":"test"}'
Show full

Sample Request Body

Copied!
  {
    "account_type": 2,
    "policy_type": 0,
    "account_id": "33240000000012271",
    "policy_id": "114",
    "cost_type": 20,
    "budget_tags": [],
    "policy_name": "test"
  }
                
Show full
Copied!
  {
    "budget_tags": [],
    "policy_name": "accounts-bp",
    "account_type": 0,
    "policy_type": 0,
    "account_id": "33240000000059001",
    "cost_type": 0
  }
                
Show full
Copied!
  {
    "budget_tags": [
      {
        "v": 0,
        "id": "33240000000060037"
      }
    ],
    "policy_name": "test",
    "account_type": 0,
    "policy_type": 0,
    "account_id": "33240000000059001",
    "cost_type": 0
  }
                
Show full
Copied!
  {
    "account_type": 1,
    "policy_type": 0,
    "account_id": "33240000000537001",
    "policy_id": "114",
    "cost_type": 0,
    "budget_tags": [],
    "policy_name": "test"
  }
                
Show full

Sample Response: HTTP 201

Copied!
  {
    "message": "success",
    "data": {
      "policy_id": "116",
      "status": "Policy created successfully"
    },
    "code": 0
  }
                
Show full

Sample Response: HTTP 400

Copied!
  {
    "message": "Bad Request",
    "error": "Invalid parameter format or missing required fields",
    "code": 400
  }
                
Show full

Sample Response: HTTP 401

Copied!
  {
    "message": "Unauthorized",
    "error": "Invalid authentication credentials or expired token",
    "code": 401
  }
                
Show full

Sample Response: HTTP 500

Copied!
  {
    "message": "Internal Server Error",
    "error": "An unexpected error occurred while processing the request",
    "code": 500
  }
                
Show full
Endpoints

Sample Request

Curl
Copied!
curl --request POST \
  --url https://www.site24x7.com/cs/api/reports/anomaly/report \
  --header 'Authorization:  d92d4xxxxxxxxxxxxx15f52' \
  --header 'content-type: application/json' \
  --data '{"cost_ids":[],"anomaly_status":1,"profile":{"profile_id":"36"},"format":1,"report_name":"Weekly Zia Anomaly Category Report","type":15,"contact_ids":[{"contact_id":"53565000000014003","contact_type":"1"}],"frequency":7}'
Show full

Sample Request Body

Copied!
  {
    "cost_ids": [],
    "anomaly_status": 1,
    "profile": {
      "profile_id": "36"
    },
    "format": 1,
    "report_name": "Weekly Zia Anomaly Category Report",
    "type": 15,
    "contact_ids": [
      {
        "contact_id": "53565000000014003",
        "contact_type": "1"
      }
    ],
    "frequency": 7
  }
                
Show full

Sample Response: HTTP 200

Copied!
  {
    "message": "success",
    "data": {
      "report_id": "53565000000095001",
      "status": "Report scheduled successfully"
    },
    "code": 0
  }
                
Show full

Sample Response: HTTP 400

Copied!
  {
    "message": "Bad Request",
    "error": "Invalid parameter format or missing required fields",
    "code": 400
  }
                
Show full

Sample Response: HTTP 401

Copied!
  {
    "message": "Unauthorized",
    "error": "Invalid authentication credentials or expired token",
    "code": 401
  }
                
Show full

Sample Response: HTTP 403

Copied!
  {
    "message": "Forbidden",
    "error": "Insufficient permissions to access this resource",
    "code": 403
  }
                
Show full

Sample Response: HTTP 500

Copied!
  {
    "message": "Internal Server Error",
    "error": "An unexpected error occurred while processing the request",
    "code": 500
  }
                
Show full
Endpoints

Sample Request

Curl
Copied!
curl --request GET \
  --url https://www.site24x7.com/cs/api/cost/accounts/integration/alert_configs \
  --header 'Authorization:  d92d4xxxxxxxxxxxxx15f52'
Show full

Sample Response: HTTP 200

Copied!
  {}
                
Show full

Sample Response: HTTP 400

Copied!
  {
    "message": "Bad Request",
    "error": "Invalid parameter format or missing required fields",
    "code": 400
  }
                
Show full

Sample Response: HTTP 401

Copied!
  {
    "message": "Unauthorized",
    "error": "Invalid authentication credentials or expired token",
    "code": 401
  }
                
Show full

Sample Response: HTTP 500

Copied!
  {
    "message": "Internal Server Error",
    "error": "An unexpected error occurred while processing the request",
    "code": 500
  }
                
Show full
Endpoints

Sample Request

Curl
Copied!
curl --request GET \
  --url https://www.site24x7.com/cs/api/cost/budget/73/trend \
  --header 'Authorization:  d92d4xxxxxxxxxxxxx15f52'
Show full

Sample Response: HTTP 200

Copied!
  {
    "message": "success",
    "data": {
      "currency_symbol": "INR",
      "trend_values": {
        "mode": 1,
        "values": {
          "Compute Engine": [
            [
              "2025-10-01T00:00:00+0530",
              5316.205
            ],
            [
              "2025-11-01T00:00:00+0530",
              1222.179
            ],
            [
              "2025-12-01T00:00:00+0530",
              29.663
            ]
          ],
          "Invoice": [
            [
              "2025-10-01T00:00:00+0530",
              957.099
            ]
          ]
        }
      }
    },
    "code": 0
  }
                
Show full

Sample Response: HTTP 400

Copied!
  {
    "message": "Bad Request",
    "error": "Invalid parameter format or missing required fields",
    "code": 400
  }
                
Show full

Sample Response: HTTP 401

Copied!
  {
    "message": "Unauthorized",
    "error": "Invalid authentication credentials or expired token",
    "code": 401
  }
                
Show full

Sample Response: HTTP 500

Copied!
  {
    "message": "Internal Server Error",
    "error": "An unexpected error occurred while processing the request",
    "code": 500
  }
                
Show full
Endpoints

Sample Request

Curl
Copied!
curl --request POST \
  --url https://www.site24x7.com/cs/api/cost/sol_reports/accounts_splitup \
  --header 'Authorization:  d92d4xxxxxxxxxxxxx15f52' \
  --header 'content-type: application/json' \
  --data '{"end_date":"2026-01-14","cost_tags":[{"v":2,"id":"33240000000060405"}],"period":1,"business_unit_id":"33240000000073487","cost_type":0,"accounts":[{"cost_account_id":"33240000000059001","billing_account_ids":["33240000000060001"]}],"bu_type":1,"start_date":"2025-12-01"}'
Show full

Sample Request Body

Copied!
  {
    "end_date": "2026-01-14",
    "cost_tags": [
      {
        "v": 2,
        "id": "33240000000060405"
      }
    ],
    "period": 1,
    "business_unit_id": "33240000000073487",
    "cost_type": 0,
    "accounts": [
      {
        "cost_account_id": "33240000000059001",
        "billing_account_ids": [
          "33240000000060001"
        ]
      }
    ],
    "bu_type": 1,
    "start_date": "2025-12-01"
  }
                
Show full

Sample Response: HTTP 200

Copied!
  {
    "message": "success",
    "data": {
      "return_data": [
        [
          "S247-AWS-team",
          6.016
        ]
      ]
    },
    "code": 0
  }
                
Show full
Endpoints

Sample Request

Curl
Copied!
curl --request GET \
  --url https://www.site24x7.com/cs/api/cost/reports/unit/economics/custom/report/list \
  --header 'Authorization:  d92d4xxxxxxxxxxxxx15f52'
Show full

Sample Response: HTTP 200

Copied!
  {
    "message": "success",
    "data": [
      {
        "name": "My Unit Economics Report",
        "creation_time": "Apr 01, 2026, 10:30:00 AM",
        "id": "33240000000900001",
        "starred": false,
        "is_disabled": false
      }
    ],
    "code": 0
  }
                
Show full

Sample Response: HTTP 400

Copied!
  {
    "message": "Bad Request",
    "error": "Invalid parameter format or missing required fields",
    "code": 400
  }
                
Show full

Sample Response: HTTP 401

Copied!
  {
    "message": "Unauthorized",
    "error": "Invalid authentication credentials or expired token",
    "code": 401
  }
                
Show full

Sample Response: HTTP 403

Copied!
  {
    "message": "Forbidden",
    "error": "Insufficient permissions to access this resource",
    "code": 403
  }
                
Show full

Sample Response: HTTP 500

Copied!
  {
    "message": "Internal Server Error",
    "error": "An unexpected error occurred while processing the request",
    "code": 500
  }
                
Show full
Endpoints

Sample Request

Curl
Copied!
curl --request POST \
  --url https://www.site24x7.com/cs/api/cost/ri_list \
  --header 'Authorization:  d92d4xxxxxxxxxxxxx15f52' \
  --header 'content-type: application/json' \
  --data '{"end_date":"2026-01-07","accounts":[{"cost_account_id":"33240000000059001","billing_account_ids":["33240000000060001"]}],"resource_ids":["33240000000061819","33240000000061037","33240000000060577","33240000000062793","33240000000061435","33240000000061611","33240000000060595","33240000000060261","33240000000060819","33240000000061351","33240000000060933","33240000000061399","33240000000061773","33240000000061985"],"start_date":"2025-12-01"}'
Show full

Sample Request Body

Copied!
  {
    "end_date": "2026-01-07",
    "accounts": [
      {
        "cost_account_id": "33240000000059001",
        "billing_account_ids": [
          "33240000000060001"
        ]
      }
    ],
    "resource_ids": [
      "33240000000061819",
      "33240000000061037",
      "33240000000060577",
      "33240000000062793",
      "33240000000061435",
      "33240000000061611",
      "33240000000060595",
      "33240000000060261",
      "33240000000060819",
      "33240000000061351",
      "33240000000060933",
      "33240000000061399",
      "33240000000061773",
      "33240000000061985"
    ],
    "start_date": "2025-12-01"
  }
                
Show full

Sample Response: HTTP 200

Copied!
  {
    "message": "success",
    "data": {
      "33240000000673255": {
        "availability_zone": "",
        "account_id": "063251190422",
        "service": "Amazon Virtual Private Cloud",
        "account_name": "S247-AWS-team - AWS",
        "name": "arn:aws:ec2:us-east-1:063251190422:network-interface/eni-06695817483d94ecf",
        "region": "us-east-1",
        "tags": [
          {
            "name": "ecs:clusterName",
            "tag_id": "33240000000456485",
            "value": "NEWECS",
            "variation": 0
          },
          {
            "name": "createdBy",
            "tag_id": "33240000000456661",
            "value": "AssumedRole:AROAJY342BY5REA2YHQSS:ecs-eni-provisioning",
            "variation": 0
          }
        ]
      },
      "33240000000673267": {
        "availability_zone": "",
        "account_id": "063251190422",
        "service": "Amazon Virtual Private Cloud",
        "account_name": "S247-AWS-team - AWS",
        "name": "arn:aws:ec2:us-east-1:063251190422:network-interface/eni-07aa104c9fb1d55bf",
        "region": "us-east-1",
        "tags": [
          {
            "name": "createdBy",
            "tag_id": "33240000000456661",
            "value": "AssumedRole:AROAJY342BY5REA2YHQSS:ecs-eni-provisioning",
            "variation": 0
          }
        ]
      },
      "33240000000673265": {
        "name": "snap-0e1dd15d2580b79ed",
        "availability_zone": "",
        "account_id": "063251190422",
        "region": "us-east-1",
        "service": "Amazon Elastic Compute Cloud",
        "account_name": "S247-AWS-team - AWS"
      }
    },
    "code": 0
  }
                
Show full

Sample Response: HTTP 400

Copied!
  {
    "message": "Bad Request",
    "error": "Invalid parameter format or missing required fields",
    "code": 400
  }
                
Show full

Sample Response: HTTP 401

Copied!
  {
    "message": "Unauthorized",
    "error": "Invalid authentication credentials or expired token",
    "code": 401
  }
                
Show full

Sample Response: HTTP 403

Copied!
  {
    "message": "Forbidden",
    "error": "Insufficient permissions to access this resource",
    "code": 403
  }
                
Show full

Sample Response: HTTP 500

Copied!
  {
    "message": "Internal Server Error",
    "error": "An unexpected error occurred while processing the request",
    "code": 500
  }
                
Show full
Endpoints

Sample Request

Curl
Copied!
curl --request GET \
  --url https://www.site24x7.com/cs/api/cost/guidance/meta-view \
  --header 'Authorization:  d92d4xxxxxxxxxxxxx15f52'
Show full

Sample Response: HTTP 200

Copied!
  {
    "message": "success",
    "data": {},
    "code": 0
  }
                
Show full

Sample Response: HTTP 400

Copied!
  {
    "message": "Bad Request",
    "error": "Invalid parameter format or missing required fields",
    "code": 400
  }
                
Show full

Sample Response: HTTP 401

Copied!
  {
    "message": "Unauthorized",
    "error": "Invalid authentication credentials or expired token",
    "code": 401
  }
                
Show full

Sample Response: HTTP 403

Copied!
  {
    "message": "Forbidden",
    "error": "Insufficient permissions to access this resource",
    "code": 403
  }
                
Show full

Sample Response: HTTP 500

Copied!
  {
    "message": "Internal Server Error",
    "error": "An unexpected error occurred while processing the request",
    "code": 500
  }
                
Show full
Endpoints

Sample Request

Curl
Copied!
curl --request GET \
  --url https://www.site24x7.com/cs/api/cost/custom_report/budget_info/{budget_id} \
  --header 'Authorization:  d92d4xxxxxxxxxxxxx15f52'
Show full

Sample Response: HTTP 200

Copied!
  {
    "message": "success",
    "code": 0
  }
                
Show full

Sample Response: HTTP 400

Copied!
  {
    "message": "Bad Request",
    "error": "Invalid parameter format or missing required fields",
    "code": 400
  }
                
Show full

Sample Response: HTTP 401

Copied!
  {
    "message": "Unauthorized",
    "error": "Invalid authentication credentials or expired token",
    "code": 401
  }
                
Show full

Sample Response: HTTP 403

Copied!
  {
    "message": "Forbidden",
    "error": "Insufficient permissions to access this resource",
    "code": 403
  }
                
Show full

Sample Response: HTTP 500

Copied!
  {
    "message": "Internal Server Error",
    "error": "An unexpected error occurred while processing the request",
    "code": 500
  }
                
Show full
Endpoints

Sample Request

Curl
Copied!
curl --request GET \
  --url 'https://www.site24x7.com/cs/api/reports/anomaly/summary/list/details/meta?anomaly_id=5&detected_time=1767225600000' \
  --header 'Authorization:  d92d4xxxxxxxxxxxxx15f52'
Show full

Sample Response: HTTP 200

Copied!
  {
    "message": "success",
    "data": {
      "info": {
        "updated_time": "1767873219308",
        "anomaly_id": "5",
        "detected_time": "1767225600000",
        "currency_symbol": "$",
        "cost_account_name": "AWS Linked",
        "currency_locale": "en-CA",
        "anomaly_name": "us-east-1",
        "deviation_percent": 36.84952729585229,
        "anomaly_level": "Low",
        "currency_code": "CAD",
        "cloud_type_name": "AWS",
        "cloud_type": 0,
        "updated_timestamp": "2026-01-08T17:23:39+0530",
        "anomaly_status": "OPEN",
        "anomaly_status_code": 1,
        "anomaly_type": "upper",
        "expected_value": 630.6191204828195,
        "detected_timestamp": "2026-01-01T05:30:00+0530",
        "value": 862.9992854179998
      }
    },
    "code": 0
  }
                
Show full

Sample Response: HTTP 400

Copied!
  {
    "message": "Bad Request",
    "error": "Invalid parameter format or missing required fields",
    "code": 400
  }
                
Show full

Sample Response: HTTP 401

Copied!
  {
    "message": "Unauthorized",
    "error": "Invalid authentication credentials or expired token",
    "code": 401
  }
                
Show full

Sample Response: HTTP 403

Copied!
  {
    "message": "Forbidden",
    "error": "Insufficient permissions to access this resource",
    "code": 403
  }
                
Show full

Sample Response: HTTP 500

Copied!
  {
    "message": "Internal Server Error",
    "error": "An unexpected error occurred while processing the request",
    "code": 500
  }
                
Show full
Endpoints

Sample Request

Curl
Copied!
curl --request GET \
  --url https://www.site24x7.com/cs/api/cost/reports/budget_policys/{account_type} \
  --header 'Authorization:  d92d4xxxxxxxxxxxxx15f52'
Show full

Sample Response: HTTP 200

Copied!
  {
    "message": "success",
    "code": 0
  }
                
Show full

Sample Response: HTTP 400

Copied!
  {
    "message": "Bad Request",
    "error": "Invalid parameter format or missing required fields",
    "code": 400
  }
                
Show full

Sample Response: HTTP 401

Copied!
  {
    "message": "Unauthorized",
    "error": "Invalid authentication credentials or expired token",
    "code": 401
  }
                
Show full

Sample Response: HTTP 500

Copied!
  {
    "message": "Internal Server Error",
    "error": "An unexpected error occurred while processing the request",
    "code": 500
  }
                
Show full
Endpoints

Sample Request

Curl
Copied!
curl --request GET \
  --url https://www.site24x7.com/cs/api/cost/account_settings \
  --header 'Authorization:  d92d4xxxxxxxxxxxxx15f52'
Show full

Sample Response: HTTP 200

Copied!
  {
    "message": "success",
    "data": {
      "account_info": {
        "account_contact_id": "jane.smith@example.com"
      },
      "org_info": {
        "org_name": "janesmith - Site24x7",
        "org_admin": "jane.smith@example.com"
      },
      "personal_info": {
        "email_id": "jane.smith@example.com",
        "selection_type": 0,
        "user_id": "53565000000014003",
        "role_id": 12,
        "user_name": "jane.smith",
        "cloudspend_role_id": 12,
        "org_role": 2,
        "zuid": "89170285"
      },
      "mail_admin_cpanel": "mailadmin.zoho.com",
      "subproducts_info": {
        "active_sub_products": [
          1,
          0,
          2,
          3
        ]
      }
    },
    "code": 0
  }
                
Show full

Sample Response: HTTP 400

Copied!
  {
    "message": "Bad Request",
    "error": "Invalid parameter format or missing required fields",
    "code": 400
  }
                
Show full

Sample Response: HTTP 401

Copied!
  {
    "message": "Unauthorized",
    "error": "Invalid authentication credentials or expired token",
    "code": 401
  }
                
Show full

Sample Response: HTTP 404

Copied!
  {
    "message": "Not Found",
    "error": "The requested resource was not found",
    "code": 404
  }
                
Show full

Sample Response: HTTP 500

Copied!
  {
    "message": "Internal Server Error",
    "error": "An unexpected error occurred while processing the request",
    "code": 500
  }
                
Show full
Endpoints

Sample Request

Curl
Copied!
curl --request GET \
  --url 'https://www.site24x7.com/cs/api/cost/optimization/33240000000011003/utilization/7/chart?cost_account_id=33240000000011003&planId=7&start_date=2025-12-01&end_date=2026-01-17' \
  --header 'Authorization:  d92d4xxxxxxxxxxxxx15f52'
Show full

Sample Response: HTTP 200

Copied!
  {
    "message": "success",
    "data": {
      "return_data": {
        "mode": 1,
        "series_data": {
          "VM_RI_22-04-2025_11-35": {
            "chart_data": [
              {
                "used_units": 257.00000000000006,
                "day": "1764547200000",
                "used_percent": 97.34848484848487
              },
              {
                "used_units": 252,
                "day": "1768348800000",
                "used_percent": 70
              }
            ]
          }
        }
      }
    },
    "code": 0
  }
                
Show full

Sample Response: HTTP 400

Copied!
  {
    "message": "Bad Request",
    "error": "Invalid parameter format or missing required fields",
    "code": 400
  }
                
Show full

Sample Response: HTTP 401

Copied!
  {
    "message": "Unauthorized",
    "error": "Invalid authentication credentials or expired token",
    "code": 401
  }
                
Show full

Sample Response: HTTP 403

Copied!
  {
    "message": "Forbidden",
    "error": "Insufficient permissions to access this resource",
    "code": 403
  }
                
Show full

Sample Response: HTTP 500

Copied!
  {
    "message": "Internal Server Error",
    "error": "An unexpected error occurred while processing the request",
    "code": 500
  }
                
Show full
Endpoints

Sample Request

Curl
Copied!
curl --request POST \
  --url https://www.site24x7.com/cs/api/cost/cost_centers/cost_by_resource \
  --header 'Authorization:  d92d4xxxxxxxxxxxxx15f52' \
  --header 'content-type: application/json' \
  --data '{"end_date":"2025-11-23","period":1,"cost_tags":[{"v":1003,"id":"33412000000180031"}],"business_unit_id":"33412000000925027","cost_type":0,"accounts":[{"cost_account_id":"33412000000178017","billing_account_ids":["33412000000179023","33412000000180111"]},{"cost_account_id":"33412000000219001","billing_account_ids":["33412000000220063"]}],"bu_type":0,"start_date":"2025-10-01"}'
Show full

Sample Request Body

Copied!
  {
    "end_date": "2025-11-23",
    "period": 1,
    "cost_tags": [
      {
        "v": 1003,
        "id": "33412000000180031"
      }
    ],
    "business_unit_id": "33412000000925027",
    "cost_type": 0,
    "accounts": [
      {
        "cost_account_id": "33412000000178017",
        "billing_account_ids": [
          "33412000000179023",
          "33412000000180111"
        ]
      },
      {
        "cost_account_id": "33412000000219001",
        "billing_account_ids": [
          "33412000000220063"
        ]
      }
    ],
    "bu_type": 0,
    "start_date": "2025-10-01"
  }
                
Show full

Sample Response: HTTP 201

Copied!
  {
    "message": "success",
    "data": {
      "return_data": [
        {
          "name": "publicip-vnet-southindia-nic01-0b362118",
          "id": "22",
          "type": "microsoft.network/publicipaddresses",
          "value": 6.335,
          "group": "vidyaashankar_group"
        },
        {
          "name": "ubuntu-pro-18.04-lts-ip",
          "id": "14",
          "type": "microsoft.network/publicipaddresses",
          "value": 6.33,
          "group": "cloudspend-group"
        }
      ]
    },
    "code": 0
  }
                
Show full

Sample Response: HTTP 400

Copied!
  {
    "message": "Bad Request",
    "error": "Invalid parameter format or missing required fields",
    "code": 400
  }
                
Show full

Sample Response: HTTP 401

Copied!
  {
    "message": "Unauthorized",
    "error": "Invalid authentication credentials or expired token",
    "code": 401
  }
                
Show full

Sample Response: HTTP 500

Copied!
  {
    "message": "Internal Server Error",
    "error": "An unexpected error occurred while processing the request",
    "code": 500
  }
                
Show full
Endpoints

Sample Request

Curl
Copied!
curl --request GET \
  --url https://www.site24x7.com/cs/api/cost/custom_report/accounts_data \
  --header 'Authorization:  d92d4xxxxxxxxxxxxx15f52'
Show full

Sample Response: HTTP 200

Copied!
  {
    "message": "success",
    "data": {
      "all_accounts": [
        {
          "zaaid": "34700657",
          "cloud_type": 1,
          "child_accounts": [
            {
              "name": "Subscription-2_Marketplace",
              "billing_account_id": "33240000000012207",
              "cloud_type": 1,
              "aws_account_id": "7ec79aea-afa9-4671-b72d-bcb7c902bd14",
              "is_payer_account": false,
              "name_with_entity": "Subscription-2_Marketplace"
            }
          ],
          "cost_account_id": "33240000000011003",
          "account_name": "Azure linked account2"
        }
      ]
    },
    "code": 0
  }
                
Show full

Sample Response: HTTP 400

Copied!
  {
    "message": "Bad Request",
    "error": "Invalid parameter format or missing required fields",
    "code": 400
  }
                
Show full

Sample Response: HTTP 401

Copied!
  {
    "message": "Unauthorized",
    "error": "Invalid authentication credentials or expired token",
    "code": 401
  }
                
Show full

Sample Response: HTTP 403

Copied!
  {
    "message": "Forbidden",
    "error": "Insufficient permissions to access this resource",
    "code": 403
  }
                
Show full

Sample Response: HTTP 500

Copied!
  {
    "message": "Internal Server Error",
    "error": "An unexpected error occurred while processing the request",
    "code": 500
  }
                
Show full
Endpoints

Sample Request

Curl
Copied!
curl --request POST \
  --url https://www.site24x7.com/cs/api/cost/accounts/resource_explorer/resource_tags \
  --header 'Authorization:  d92d4xxxxxxxxxxxxx15f52' \
  --header 'content-type: application/json' \
  --data '{"cost_account_id":"33240000000059001","resource_id":"33240000000062935","tags":[{"value":"test1","key":"test1"}]}'
Show full

Sample Request Body

Copied!
  {
    "cost_account_id": "33240000000059001",
    "resource_id": "33240000000062935",
    "tags": [
      {
        "value": "test1",
        "key": "test1"
      }
    ]
  }
                
Show full

Sample Response: HTTP 200

Copied!
  {
    "message": "success",
    "data": {
      "tagId": "33240000000541019",
      "status": "Tag created"
    },
    "code": 0
  }
                
Show full

Sample Response: HTTP 400

Copied!
  {
    "message": "Bad Request",
    "error": "Invalid parameter format or missing required fields",
    "code": 400
  }
                
Show full
Endpoints

Sample Request

Curl
Copied!
curl --request POST \
  --url https://www.site24x7.com/cs/api/cost/cost_centers/accounts_splitup \
  --header 'Authorization:  d92d4xxxxxxxxxxxxx15f52' \
  --header 'content-type: application/json' \
  --data '{"end_date":"2025-11-12","period":1,"cost_tags":[],"business_unit_id":"403793000002710025","cost_type":0,"accounts":[{"cost_account_id":"403793000001435001","billing_account_ids":["403793000001434279","403793000001434299"]},{"cost_account_id":"403793000001770003","billing_account_ids":["403793000001434301"]}],"bu_type":0,"required":["business_unit_id","start_date","end_date","cost_type","period","bu_type","accounts","cost_tags"],"start_date":"2025-10-01"}'
Show full

Sample Request Body

Copied!
  {
    "end_date": "2025-11-12",
    "period": 1,
    "cost_tags": [],
    "business_unit_id": "403793000002710025",
    "cost_type": 0,
    "accounts": [
      {
        "cost_account_id": "403793000001435001",
        "billing_account_ids": [
          "403793000001434279",
          "403793000001434299"
        ]
      },
      {
        "cost_account_id": "403793000001770003",
        "billing_account_ids": [
          "403793000001434301"
        ]
      }
    ],
    "bu_type": 0,
    "required": [
      "business_unit_id",
      "start_date",
      "end_date",
      "cost_type",
      "period",
      "bu_type",
      "accounts",
      "cost_tags"
    ],
    "start_date": "2025-10-01"
  }
                
Show full

Sample Response: HTTP 201

Copied!
  {
    "message": "success",
    "data": {
      "return_data": [
        {
          "cost_account_id": "403793000001435001",
          "cost": 1234.56,
          "account_name": "Production Account"
        }
      ]
    },
    "code": 0
  }
                
Show full

Sample Response: HTTP 400

Copied!
  {
    "message": "Bad Request",
    "error": "Invalid parameter format or missing required fields",
    "code": 400
  }
                
Show full

Sample Response: HTTP 401

Copied!
  {
    "message": "Unauthorized",
    "error": "Invalid authentication credentials or expired token",
    "code": 401
  }
                
Show full

Sample Response: HTTP 500

Copied!
  {
    "message": "Internal Server Error",
    "error": "An unexpected error occurred while processing the request",
    "code": 500
  }
                
Show full
Endpoints

Sample Request

Curl
Copied!
curl --request GET \
  --url https://www.site24x7.com/cs/api/cost/budget/budget_history/73 \
  --header 'Authorization:  d92d4xxxxxxxxxxxxx15f52'
Show full

Sample Response: HTTP 200

Copied!
  {
    "message": "success",
    "data": {
      "meta": {
        "checks_id": "73",
        "created_time": "08-Oct-2025 15:20",
        "budget_name": "Alert_Mail_2",
        "account_type": 0,
        "policy_id": "35",
        "currency_symbol": "INR",
        "currency_locale": "en-IN",
        "budget_period": "Monthly",
        "currency_code": "INR",
        "status": 1
      },
      "chart_data": {
        "usage_values": [
          [
            "2025-10-01T00:00:00+0530",
            5305.879
          ],
          [
            "2025-11-01T00:00:00+0530",
            1222.178
          ],
          [
            "2025-12-01T00:00:00+0530",
            29.663
          ]
        ],
        "budget_values": [
          [
            "2025-10-01T00:00:00+0530",
            1
          ],
          [
            "2025-11-01T00:00:00+0530",
            1
          ],
          [
            "2025-12-01T00:00:00+0530",
            1
          ]
        ]
      },
      "return_data": [
        {
          "end_date": "Jan-2026",
          "start_time": "1764547200000",
          "checked_time": "1764673365093",
          "end_time": "1767225600000",
          "usage_val": 29.663,
          "deviation": -28.663,
          "notified_time": "1764633739033",
          "start_date": "Dec-2025",
          "budgeted": 1
        }
      ]
    },
    "code": 0
  }
                
Show full

Sample Response: HTTP 400

Copied!
  {
    "message": "Bad Request",
    "error": "Invalid parameter format or missing required fields",
    "code": 400
  }
                
Show full

Sample Response: HTTP 401

Copied!
  {
    "message": "Unauthorized",
    "error": "Invalid authentication credentials or expired token",
    "code": 401
  }
                
Show full

Sample Response: HTTP 500

Copied!
  {
    "message": "Internal Server Error",
    "error": "An unexpected error occurred while processing the request",
    "code": 500
  }
                
Show full
Endpoints

Sample Request

Curl
Copied!
curl --request GET \
  --url 'https://www.site24x7.com/cs/api/cost/cost_centers/users?JSONString=%7B%22module_id%22:2%7D' \
  --header 'Authorization:  d92d4xxxxxxxxxxxxx15f52'
Show full

Sample Response: HTTP 200

Copied!
  {
    "message": "success",
    "data": {
      "workspace_migration_info": {
        "migration_status": "completed",
        "is_migration_enabled": true
      },
      "org_info": {
        "creation_time": "Dec 13, 2023 12:25:37 PM",
        "service_url": "https://accounts.zoho.com",
        "zoho_directory_url": "https://directory.zoho.com",
        "is_paid_customer": true,
        "is_free_user": false,
        "organization_id": "60026305793"
      },
      "from_email": "noreply@zohocorp.com",
      "contact_id": "60026305793",
      "users": [
        {
          "is_account_contact": true,
          "cloudspend_role": 8,
          "is_invited": true,
          "invited_by": "60026305793",
          "display_name": "Jane Smith",
          "user_role_name": "SuperAdmin",
          "org_role": 1,
          "cloudspend_role_name": "CloudSpend Admin",
          "selection_type": 0,
          "user_role": 8,
          "email_address": "jane.smith@example.com",
          "last_updated_time": "Dec 21, 2024 03:49:43 PM",
          "user_id": "60026305793",
          "photo_url": "",
          "notify_medium": [
            1
          ]
        }
      ],
      "user_groups": [
        {
          "is_master_group": true,
          "attribute_group_id": "",
          "display_name": "CloudSpend",
          "user_group_id": "60026305793",
          "users": [
            "60026305793"
          ],
          "product_id": 0
        }
      ]
    },
    "code": 0
  }
                
Show full

Sample Response: HTTP 400

Copied!
  {
    "message": "Bad Request",
    "error": "Invalid parameter format or missing required fields",
    "code": 400
  }
                
Show full

Sample Response: HTTP 401

Copied!
  {
    "message": "Unauthorized",
    "error": "Invalid authentication credentials or expired token",
    "code": 401
  }
                
Show full

Sample Response: HTTP 500

Copied!
  {
    "message": "Internal Server Error",
    "error": "An unexpected error occurred while processing the request",
    "code": 500
  }
                
Show full
Endpoints

Sample Request

Curl
Copied!
curl --request GET \
  --url https://www.site24x7.com/cs/api/cost/cost_centers \
  --header 'Authorization:  d92d4xxxxxxxxxxxxx15f52'
Show full

Sample Response: HTTP 200

Copied!
  {
    "message": "success",
    "data": {
      "business_units": [
        {
          "name": "new bu",
          "is_hybrid": true,
          "id": "33412000000925017",
          "cloud_type": -1,
          "cost_account_id": [
            "33412000000178017",
            "33412000000219001",
            "33412000000219009",
            "33412000000219015",
            "33412000000629001"
          ]
        },
        {
          "name": "bu",
          "is_hybrid": false,
          "id": "33412000000209001",
          "cloud_type": 1,
          "cost_account_id": [
            "33412000000178017"
          ]
        }
      ]
    },
    "code": 0
  }
                
Show full

Sample Response: HTTP 400

Copied!
  {
    "message": "Bad Request",
    "error": "Invalid parameter format or missing required fields",
    "code": 400
  }
                
Show full

Sample Response: HTTP 401

Copied!
  {
    "message": "Unauthorized",
    "error": "Invalid authentication credentials or expired token",
    "code": 401
  }
                
Show full

Sample Response: HTTP 500

Copied!
  {
    "message": "Internal Server Error",
    "error": "An unexpected error occurred while processing the request",
    "code": 500
  }
                
Show full
Endpoints

Sample Request

Curl
Copied!
curl --request GET \
  --url https://www.site24x7.com/cs/api/cost/admin/accounts_data \
  --header 'Authorization:  d92d4xxxxxxxxxxxxx15f52'
Show full

Sample Response: HTTP 200

Copied!
  {
    "message": "success",
    "data": {
      "all_accounts": [
        {
          "zaaid": "34700657",
          "cloud_type": 1,
          "child_accounts": [
            {
              "billing_account_id": "33240000000012207",
              "name": "Subscription-2_Marketplace",
              "cloud_type": 1,
              "aws_account_id": "7ec79aea-afa9-4671-b72d-bcb7c902bd14",
              "is_payer_account": false,
              "name_with_entity": "Subscription-2_Marketplace"
            }
          ],
          "cost_account_id": "33240000000011003",
          "account_name": "Azure linked account2"
        }
      ]
    },
    "code": 0
  }
                
Show full

Sample Response: HTTP 400

Copied!
  {
    "message": "Bad Request",
    "error": "Invalid parameter format or missing required fields",
    "code": 400
  }
                
Show full

Sample Response: HTTP 401

Copied!
  {
    "message": "Unauthorized",
    "error": "Invalid authentication credentials or expired token",
    "code": 401
  }
                
Show full

Sample Response: HTTP 403

Copied!
  {
    "message": "Forbidden",
    "error": "Insufficient permissions to access this resource",
    "code": 403
  }
                
Show full

Sample Response: HTTP 500

Copied!
  {
    "message": "Internal Server Error",
    "error": "An unexpected error occurred while processing the request",
    "code": 500
  }
                
Show full
Endpoints

Sample Request

Curl
Copied!
curl --request GET \
  --url https://www.site24x7.com/cs/api/cost/anomaly/solution_reports_meta \
  --header 'Authorization:  d92d4xxxxxxxxxxxxx15f52'
Show full

Sample Response: HTTP 200

Copied!
  {
    "message": "success",
    "data": {
      "nav_data": [],
      "reports_meta": {
        "33240000000011003": [
          {
            "accnt_config_name": "Azure linked account2",
            "name": "US East",
            "cloud_type": 1,
            "id": "33240000000012271",
            "report_type": 1
          },
          {
            "accnt_config_name": "Azure linked account2",
            "name": "microsoft.storage",
            "cloud_type": 1,
            "id": "33240000000012281",
            "report_type": 2
          }
        ]
      },
      "reports_cx_preferences": []
    },
    "code": 0
  }
                
Show full

Sample Response: HTTP 400

Copied!
  {
    "message": "Bad Request",
    "error": "Invalid parameter format or missing required fields",
    "code": 400
  }
                
Show full

Sample Response: HTTP 401

Copied!
  {
    "message": "Unauthorized",
    "error": "Invalid authentication credentials or expired token",
    "code": 401
  }
                
Show full

Sample Response: HTTP 500

Copied!
  {
    "message": "Internal Server Error",
    "error": "An unexpected error occurred while processing the request",
    "code": 500
  }
                
Show full
Endpoints

Sample Request

Curl
Copied!
curl --request GET \
  --url 'https://www.site24x7.com/cs/api/cost/governance/checks/rca/summary?ruleChecksId=109&incidentTime=1769904000000' \
  --header 'Authorization:  d92d4xxxxxxxxxxxxx15f52'
Show full

Sample Response: HTTP 200

Copied!
  {
    "message": "success",
    "data": {
      "checks_resources": "539",
      "total_cost": "368.17",
      "total_resources": "539",
      "non_compliant_resource_percentage": "100.0",
      "checks_cost": "368.17",
      "non_compliant_cost_percentage": "100.0"
    },
    "code": 0
  }
                
Show full

Sample Response: HTTP 400

Copied!
  {
    "message": "Bad Request",
    "error": "Invalid parameter format or missing required fields",
    "code": 400
  }
                
Show full

Sample Response: HTTP 401

Copied!
  {
    "message": "Unauthorized",
    "error": "Invalid authentication credentials or expired token",
    "code": 401
  }
                
Show full

Sample Response: HTTP 500

Copied!
  {
    "message": "Internal Server Error",
    "error": "An unexpected error occurred while processing the request",
    "code": 500
  }
                
Show full
Endpoints

Sample Request

Curl
Copied!
curl --request GET \
  --url 'https://www.site24x7.com/cs/api/cost/optimization/33240000000011003/utilization/1/list?cost_account_id=33240000000011003&productId=1&start_date=2025-12-01&end_date=2026-01-17' \
  --header 'Authorization:  d92d4xxxxxxxxxxxxx15f52'
Show full

Sample Response: HTTP 200

Copied!
  {
    "message": "success",
    "data": {
      "return_data": {
        "cloud_type": 0,
        "utility_data": [
          {
            "cl.cst.optimization.offering.type": "standard",
            "cl.cst.optimization.duration": "1yr",
            "cl.cst.optimization.subscription.id": "19631078181",
            "cl.cst.optimization.start.time": "22-Apr-2025 11:28",
            "cl.cst.optimization.zone": "",
            "cl.cst.optimization.upfront": 0,
            "cl.cst.optimization.end.time": "22-Apr-2026 11:28",
            "cl.cst.optimization.arn": "arn:aws:es:us-east-1:063251190422:reserved-instances/20296fea-0829-47f2-b498-6687e6a3882a",
            "cl.cst.client.opt.purchase.account.name": "S247-AWS-team",
            "cl.cst.optimization.ri": 1,
            "global.region": "us-east-1",
            "cl.cst.client.opt.purchase.account.id": "063251190422",
            "plan_id": "33240000000062145"
          }
        ]
      }
    },
    "code": 0
  }
                
Show full
Copied!
  {
    "message": "success",
    "data": {
      "return_data": {
        "cloud_type": 1,
        "utility_data": [
          {
            "cl.cst.optimization.reservation.scope": "ManagementGroup",
            "cl.cst.optimization.duration": "P1Y",
            "cl.cst.optimization.reservation.billing.scope": "/subscriptions/8c8688f6-a2f3-46a3-9b1a-2f3e245f4f5f",
            "cl.cst.optimization.reservation.id": "d8f96594-1cf7-4ffb-8934-73595ec2d466",
            "cl.cst.optimization.reservation.billing.frequency": "Monthly",
            "cl.cst.optimization.reservation.name": "VM_RI_22-04-2025_11-35",
            "cl.cst.optimization.end.time": "22-Apr-2026 11:38",
            "cl.cst.optimization.ri": 1,
            "global.region": "eastus2",
            "cl.cst.optimization.start.time": "22-Apr-2025 11:36",
            "plan_id": "7"
          },
          {
            "cl.cst.optimization.reservation.scope": "Shared",
            "cl.cst.optimization.duration": "P1Y",
            "cl.cst.optimization.reservation.billing.scope": "/subscriptions/8c8688f6-a2f3-46a3-9b1a-2f3e245f4f5f",
            "cl.cst.optimization.reservation.id": "f9c4bec1-ecd7-445d-b056-e0264ec074b9",
            "cl.cst.optimization.reservation.billing.frequency": "Monthly",
            "cl.cst.optimization.reservation.name": "VM_RI_29-04-2025_12-58",
            "cl.cst.optimization.end.time": "29-Apr-2026 13:00",
            "cl.cst.optimization.ri": 2,
            "global.region": "eastus2",
            "cl.cst.optimization.start.time": "29-Apr-2025 12:58",
            "plan_id": "8"
          }
        ]
      }
    },
    "code": 0
  }
                
Show full

Sample Response: HTTP 400

Copied!
  {
    "message": "Bad Request",
    "error": "Invalid parameter format or missing required fields",
    "code": 400
  }
                
Show full

Sample Response: HTTP 401

Copied!
  {
    "message": "Unauthorized",
    "error": "Invalid authentication credentials or expired token",
    "code": 401
  }
                
Show full

Sample Response: HTTP 403

Copied!
  {
    "message": "Forbidden",
    "error": "Insufficient permissions to access this resource",
    "code": 403
  }
                
Show full

Sample Response: HTTP 500

Copied!
  {
    "message": "Internal Server Error",
    "error": "An unexpected error occurred while processing the request",
    "code": 500
  }
                
Show full
Endpoints

Sample Request

Curl
Copied!
curl --request GET \
  --url https://www.site24x7.com/cs/api/cost/reports/anomaly/report/profiles \
  --header 'Authorization:  d92d4xxxxxxxxxxxxx15f52'
Show full

Sample Response: HTTP 200

Copied!
  {
    "message": "success",
    "data": {
      "return_data": {
        "return_data": [
          {
            "period": 14,
            "report_hour_meridiem": 1,
            "timezone": "Asia/Kolkata",
            "report_hour": 12,
            "report_hour_meridiem_text": "AM",
            "frequency": 1,
            "report_day": 2,
            "report_time": 0,
            "profile_id": "35",
            "default_profile": 1,
            "name": "cl.cst.schedule.profile.default.monthly.thismonth",
            "report_month": 0,
            "config": "Asia/Kolkata"
          },
          {
            "period": 14,
            "report_hour_meridiem": 1,
            "timezone": "Asia/Kolkata",
            "report_hour": 12,
            "report_hour_meridiem_text": "AM",
            "frequency": 7,
            "report_day": 2,
            "report_time": 0,
            "profile_id": "36",
            "default_profile": 0,
            "name": "weekly",
            "report_month": 0,
            "config": "Asia/Kolkata"
          }
        ]
      }
    },
    "code": 0
  }
                
Show full

Sample Response: HTTP 400

Copied!
  {
    "message": "Bad Request",
    "error": "Invalid parameter format or missing required fields",
    "code": 400
  }
                
Show full

Sample Response: HTTP 401

Copied!
  {
    "message": "Unauthorized",
    "error": "Invalid authentication credentials or expired token",
    "code": 401
  }
                
Show full

Sample Response: HTTP 403

Copied!
  {
    "message": "Forbidden",
    "error": "Insufficient permissions to access this resource",
    "code": 403
  }
                
Show full

Sample Response: HTTP 500

Copied!
  {
    "message": "Internal Server Error",
    "error": "An unexpected error occurred while processing the request",
    "code": 500
  }
                
Show full
Endpoints

Sample Request

Curl
Copied!
curl --request GET \
  --url 'https://www.site24x7.com/cs/api/cost/sol_reports?JSONString=%7B%22business_unit_id%22:%5B%2233240000000073683%22%5D,%22report_type%22:%5B%2232%22%5D%7D' \
  --header 'Authorization:  d92d4xxxxxxxxxxxxx15f52'
Show full

Sample Response: HTTP 200

Copied!
  {
    "message": "success",
    "data": {
      "all_accounts": {
        "33240000000073497": {
          "total_tags": 1,
          "creation_time": "18-Aug-2025 23:36",
          "total_current_month": 0.069,
          "chart_data": [
            [
              "2025-10-01T00:00:00+0530",
              0.056
            ],
            [
              "2025-11-01T00:00:00+0530",
              0.07
            ],
            [
              "2025-12-01T00:00:00+0530",
              0.112
            ],
            [
              "2026-01-01T00:00:00+0530",
              0.069
            ]
          ],
          "forecast_percent": 18.75,
          "top_spend_entity": {
            "linked_account_cost": 0.069,
            "service_cost": 0.069,
            "region": "us-west-1",
            "linked_account": "S247-AWS-team",
            "service": "AmazonS3",
            "region_cost": 0.069
          },
          "cost_accnt_names": [
            "AWS Linked"
          ],
          "name": "USW1 (OUT)",
          "percent_change": 0,
          "total_prev_month": 0.112,
          "forecast_val": 0.133,
          "business_unit_tags_values": {
            "33240000000060609": {
              "val": "usageInfo : USW1-DataTransfer-Out-Bytes",
              "v": 3
            }
          },
          "prev_MTD": 0
        },
        "33240000000073491": {
          "total_tags": 1,
          "creation_time": "18-Aug-2025 23:36",
          "total_current_month": 0.316,
          "chart_data": [
            [
              "2025-10-01T00:00:00+0530",
              0.278
            ],
            [
              "2025-11-01T00:00:00+0530",
              0.323
            ],
            [
              "2025-12-01T00:00:00+0530",
              0.545
            ],
            [
              "2026-01-01T00:00:00+0530",
              0.316
            ]
          ],
          "forecast_percent": 22.018,
          "top_spend_entity": {
            "linked_account_cost": 0.316,
            "service_cost": 0.316,
            "region": "us-east-2",
            "linked_account": "S247-AWS-team",
            "service": "AmazonS3",
            "region_cost": 0.316
          },
          "cost_accnt_names": [
            "AWS Linked"
          ],
          "name": "USE2 (OUT)",
          "percent_change": 32.773,
          "total_prev_month": 0.545,
          "forecast_val": 0.665,
          "business_unit_tags_values": {
            "33240000000060395": {
              "val": "usageInfo : USE2-DataTransfer-Out-Bytes",
              "v": 3
            }
          },
          "prev_MTD": 0.238
        }
      }
    },
    "code": 0
  }
                
Show full

Sample Response: HTTP 400

Copied!
  {
    "message": "Invalid JSONString parameter format",
    "code": 1
  }
                
Show full

Sample Response: HTTP 401

Copied!
  {
    "message": "Unauthorized",
    "error": "Invalid authentication credentials or expired token",
    "code": 401
  }
                
Show full

Sample Response: HTTP 403

Copied!
  {
    "message": "Forbidden",
    "error": "Insufficient permissions to access this resource",
    "code": 403
  }
                
Show full

Sample Response: HTTP 500

Copied!
  {
    "message": "Internal Server Error",
    "error": "An unexpected error occurred while processing the request",
    "code": 500
  }
                
Show full
Endpoints

Sample Request

Curl
Copied!
curl --request POST \
  --url https://www.site24x7.com/cs/api/cost/resource/33240000000061819/tags \
  --header 'Authorization:  d92d4xxxxxxxxxxxxx15f52' \
  --header 'content-type: application/json' \
  --data '{"cost_account_id":"33240000000059001","resource_id":"33240000000061819"}'
Show full

Sample Request Body

Copied!
  {
    "cost_account_id": "33240000000059001",
    "resource_id": "33240000000061819"
  }
                
Show full

Sample Response: HTTP 200

Copied!
  {
    "message": "success",
    "data": {
      "return_data": [
        {
          "name": "createdBy",
          "id": "33240000000060037",
          "value": "IAMUser:AIDAIM5GC2OKUMJHAVEOO:5189",
          "variation": 0
        }
      ]
    },
    "code": 0
  }
                
Show full

Sample Response: HTTP 400

Copied!
  {
    "message": "Bad Request",
    "error": "Invalid parameter format or missing required fields",
    "code": 400
  }
                
Show full

Sample Response: HTTP 401

Copied!
  {
    "message": "Unauthorized",
    "error": "Invalid authentication credentials or expired token",
    "code": 401
  }
                
Show full

Sample Response: HTTP 403

Copied!
  {
    "message": "Forbidden",
    "error": "Insufficient permissions to access this resource",
    "code": 403
  }
                
Show full

Sample Response: HTTP 500

Copied!
  {
    "message": "Internal Server Error",
    "error": "An unexpected error occurred while processing the request",
    "code": 500
  }
                
Show full
Endpoints

Sample Request

Curl
Copied!
curl --request GET \
  --url https://www.site24x7.com/cs/api/cost/widgets \
  --header 'Authorization:  d92d4xxxxxxxxxxxxx15f52'
Show full

Sample Response: HTTP 200

Copied!
  {
    "message": "success",
    "data": {
      "return_data": {
        "widgets": [
          {
            "name": "cl.cst.report.summary.overall.title",
            "id": 2,
            "category": "cl.cst.w.ct.summary",
            "sub_category": "cl.cst.w.sct.numerical"
          }
        ]
      }
    },
    "code": 0
  }
                
Show full

Sample Response: HTTP 400

Copied!
  {
    "message": "Bad Request",
    "error": "Invalid parameter format or missing required fields",
    "code": 400
  }
                
Show full

Sample Response: HTTP 401

Copied!
  {
    "message": "Unauthorized",
    "error": "Invalid authentication credentials or expired token",
    "code": 401
  }
                
Show full

Sample Response: HTTP 403

Copied!
  {
    "message": "Forbidden",
    "error": "Insufficient permissions to access this resource",
    "code": 403
  }
                
Show full

Sample Response: HTTP 500

Copied!
  {
    "message": "Internal Server Error",
    "error": "An unexpected error occurred while processing the request",
    "code": 500
  }
                
Show full
Endpoints

Sample Request

Curl
Copied!
curl --request GET \
  --url 'https://www.site24x7.com/cs/api/cost/reports/hierarchy/report/721/graph?node=721&level=2&start_date=2025-12-01&end_date=2026-01-06' \
  --header 'Authorization:  d92d4xxxxxxxxxxxxx15f52'
Show full

Sample Response: HTTP 200

Copied!
  {
    "message": "success",
    "data": {
      "nodes": [
        {
          "business_unit_id": "33240000000668085",
          "cost": 20940.826,
          "actual_cost": 20940.826,
          "name": "AWS",
          "entityDataId": "722",
          "sectorCount": 1,
          "tag_coverage": 100,
          "cost_percentage_diff": 0
        }
      ]
    },
    "code": 0
  }
                
Show full

Sample Response: HTTP 400

Copied!
  {
    "message": "Bad Request",
    "error": "Invalid parameter format or missing required fields",
    "code": 400
  }
                
Show full

Sample Response: HTTP 401

Copied!
  {
    "message": "Unauthorized",
    "error": "Invalid authentication credentials or expired token",
    "code": 401
  }
                
Show full

Sample Response: HTTP 403

Copied!
  {
    "message": "Forbidden",
    "error": "Insufficient permissions to access this resource",
    "code": 403
  }
                
Show full

Sample Response: HTTP 500

Copied!
  {
    "message": "Internal Server Error",
    "error": "An unexpected error occurred while processing the request",
    "code": 500
  }
                
Show full
Endpoints

Sample Request

Curl
Copied!
curl --request GET \
  --url 'https://www.site24x7.com/cs/api/cost/cost_centers/spend_analysis/anomaly/similar?anomaly_id=250&start_date=2025-10-01&end_date=2025-11-30' \
  --header 'Authorization:  d92d4xxxxxxxxxxxxx15f52'
Show full

Sample Response: HTTP 200

Copied!
  {
    "message": "success",
    "data": {
      "similar_anomalies": [
        {
          "anomaly_name": "Pay-As-You-Go_Azure",
          "category": 3,
          "anomaly_id": "50"
        }
      ]
    },
    "code": 0
  }
                
Show full

Sample Response: HTTP 400

Copied!
  {
    "message": "Bad Request",
    "error": "Invalid parameter format or missing required fields",
    "code": 400
  }
                
Show full

Sample Response: HTTP 401

Copied!
  {
    "message": "Unauthorized",
    "error": "Invalid authentication credentials or expired token",
    "code": 401
  }
                
Show full

Sample Response: HTTP 500

Copied!
  {
    "message": "Internal Server Error",
    "error": "An unexpected error occurred while processing the request",
    "code": 500
  }
                
Show full
Endpoints

Sample Request

Curl
Copied!
curl --request POST \
  --url https://www.site24x7.com/cs/api/cost/cost_centers/cost_by_instance \
  --header 'Authorization:  d92d4xxxxxxxxxxxxx15f52' \
  --header 'content-type: application/json' \
  --data '{"end_date":"2025-11-24","period":1,"cost_tags":[],"business_unit_id":"33412000001131009","cost_type":0,"accounts":[{"cost_account_id":"33412000000178017","billing_account_ids":["33412000000179023","33412000000180001","33412000000180025"]},{"cost_account_id":"33412000000219001","billing_account_ids":["33412000000220001","33412000000220019","33412000000220039"]}],"bu_type":0,"start_date":"2025-10-01"}'
Show full

Sample Request Body

Copied!
  {
    "end_date": "2025-11-24",
    "period": 1,
    "cost_tags": [],
    "business_unit_id": "33412000001131009",
    "cost_type": 0,
    "accounts": [
      {
        "cost_account_id": "33412000000178017",
        "billing_account_ids": [
          "33412000000179023",
          "33412000000180001",
          "33412000000180025"
        ]
      },
      {
        "cost_account_id": "33412000000219001",
        "billing_account_ids": [
          "33412000000220001",
          "33412000000220019",
          "33412000000220039"
        ]
      }
    ],
    "bu_type": 0,
    "start_date": "2025-10-01"
  }
                
Show full

Sample Response: HTTP 200

Copied!
  {
    "message": "success",
    "data": {
      "return_data": [
        {
          "name": "AmazonEC2",
          "instance_type": "c5.12xlarge",
          "value": 4614.33,
          "avalability_zone": "us-east-1f"
        }
      ]
    },
    "code": 0
  }
                
Show full

Sample Response: HTTP 400

Copied!
  {
    "message": "Bad Request",
    "error": "Invalid parameter format or missing required fields",
    "code": 400
  }
                
Show full

Sample Response: HTTP 401

Copied!
  {
    "message": "Unauthorized",
    "error": "Invalid authentication credentials or expired token",
    "code": 401
  }
                
Show full

Sample Response: HTTP 500

Copied!
  {
    "message": "Internal Server Error",
    "error": "An unexpected error occurred while processing the request",
    "code": 500
  }
                
Show full
Endpoints

Sample Request

Curl
Copied!
curl --request GET \
  --url 'https://www.site24x7.com/cs/api/cost/accounts/integration/msp_alert_configs?JSONString=SOME_STRING_VALUE' \
  --header 'Authorization:  d92d4xxxxxxxxxxxxx15f52'
Show full

Sample Response: HTTP 200

Copied!
  {}
                
Show full

Sample Response: HTTP 400

Copied!
  {
    "message": "Bad Request",
    "error": "Invalid parameter format or missing required fields",
    "code": 400
  }
                
Show full

Sample Response: HTTP 401

Copied!
  {
    "message": "Unauthorized",
    "error": "Invalid authentication credentials or expired token",
    "code": 401
  }
                
Show full

Sample Response: HTTP 500

Copied!
  {
    "message": "Internal Server Error",
    "error": "An unexpected error occurred while processing the request",
    "code": 500
  }
                
Show full
Endpoints

Sample Request

Curl
Copied!
curl --request GET \
  --url 'https://www.site24x7.com/cs/api/accounts/spend_analysis/anomaly/chart?anomaly_id=1&start_date=SOME_STRING_VALUE&end_date=SOME_STRING_VALUE' \
  --header 'Authorization:  d92d4xxxxxxxxxxxxx15f52'
Show full

Sample Response: HTTP 200

Copied!
  {
    " REMINDER": "Never use 'AWS Linked', 'AWS', 'Cost Accounts' from this template - use actual API response data only",
    "code": 0,
    "message": "success",
    "data": {
      "meta": {
        "last_detected_timestamp": "ACTUAL_LAST_DETECTED_TIMESTAMP",
        "anomaly_id": "ACTUAL_ANOMALY_ID",
        "cloud_type_name": "ACTUAL_CLOUD_TYPE_NAME",
        "cloud_type": "ACTUAL_CLOUD_TYPE_ID",
        "last_detected_time": "ACTUAL_LAST_DETECTED_TIME",
        "category_id": "ACTUAL_CATEGORY_ID",
        "anomaly_name": "ACTUAL_ANOMALY_NAME",
        "category": "ACTUAL_CATEGORY_NAME",
        "total_occurences": "ACTUAL_OCCURRENCE_COUNT"
      },
      "chart_data": {
        "1": "ARRAY_OF_ACTUAL_TIMESTAMP_COUNT_PAIRS",
        "2": "ARRAY_OF_ACTUAL_TIMESTAMP_COUNT_PAIRS",
        "3": "ARRAY_OF_ACTUAL_TIMESTAMP_COUNT_PAIRS"
      }
    },
    " AGENTS: THIS IS ONLY AN EXAMPLE TEMPLATE - NEVER USE AS REAL DATA": "ALWAYS make actual API calls to get real response data. This example shows structure only."
  }
                
Show full

Sample Response: HTTP 400

Copied!
  {
    "message": "Bad Request",
    "error": "Invalid parameter format or missing required fields",
    "code": 400
  }
                
Show full

Sample Response: HTTP 401

Copied!
  {
    "message": "Unauthorized",
    "error": "Invalid authentication credentials or expired token",
    "code": 401
  }
                
Show full

Sample Response: HTTP 404

Copied!
  {
    "message": "Not Found",
    "error": "The requested resource was not found",
    "code": 404
  }
                
Show full

Sample Response: HTTP 500

Copied!
  {
    "message": "Internal Server Error",
    "error": "An unexpected error occurred while processing the request",
    "code": 500
  }
                
Show full
Endpoints

Sample Request

Curl
Copied!
curl --request GET \
  --url https://www.site24x7.com/cs/api/cost/reports/hierarchy/report/profiles \
  --header 'Authorization:  d92d4xxxxxxxxxxxxx15f52'
Show full

Sample Response: HTTP 200

Copied!
  {
    "message": "success",
    "data": {
      "return_data": {
        "return_data": [
          {
            "period": 14,
            "report_day": 2,
            "report_hour_meridiem": 1,
            "profile_id": "35",
            "timezone": "Asia/Kolkata",
            "report_hour": 12,
            "default_profile": 1,
            "name": "cl.cst.schedule.profile.default.monthly.thismonth",
            "report_hour_meridiem_text": "AM",
            "frequency": 1
          }
        ]
      }
    },
    "code": 0
  }
                
Show full

Sample Response: HTTP 400

Copied!
  {
    "message": "Bad Request",
    "error": "Invalid parameter format or missing required fields",
    "code": 400
  }
                
Show full

Sample Response: HTTP 401

Copied!
  {
    "message": "Unauthorized",
    "error": "Invalid authentication credentials or expired token",
    "code": 401
  }
                
Show full

Sample Response: HTTP 403

Copied!
  {
    "message": "Forbidden",
    "error": "Insufficient permissions to access this resource",
    "code": 403
  }
                
Show full

Sample Response: HTTP 500

Copied!
  {
    "message": "Internal Server Error",
    "error": "An unexpected error occurred while processing the request",
    "code": 500
  }
                
Show full
Endpoints

Sample Request

Curl
Copied!
curl --request POST \
  --url https://www.site24x7.com/cs/api/cost/custom_report/cost_by_resource \
  --header 'Authorization:  d92d4xxxxxxxxxxxxx15f52' \
  --header 'content-type: application/json' \
  --data '{"end_date":"2026-01-05","cost_tags":["resourceGroup:vidyashankar_group"],"period":1,"accounts":[{"cost_account_id":"33240000000011003","billing_account_ids":["33240000000012207","33240000000012021","33240000000012033","33240000000012001"]}],"cost_type":20,"start_date":"2026-01-01"}'
Show full

Sample Request Body

Copied!
  {
    "end_date": "2026-01-05",
    "cost_tags": [
      "resourceGroup:vidyashankar_group"
    ],
    "period": 1,
    "accounts": [
      {
        "cost_account_id": "33240000000011003",
        "billing_account_ids": [
          "33240000000012207",
          "33240000000012021",
          "33240000000012033",
          "33240000000012001"
        ]
      }
    ],
    "cost_type": 20,
    "start_date": "2026-01-01"
  }
                
Show full

Sample Response: HTTP 200

Copied!
  {
    "message": "success",
    "data": {
      "return_data": [
        {
          "resource_group": "vidyashankar_group",
          "cost": 15.45,
          "service_name": "AmazonEC2",
          "account_name": "Azure subscription 1",
          "name": "vidyaashankar_25803b31",
          "resource_id": "33240000000673267",
          "id": "25",
          "resource_name": "arn:aws:ec2:us-east-1:063251190422:network-interface/eni-07aa104c9fb1d55bf",
          "region": "us-east-1",
          "type": "microsoft.compute/virtualmachines",
          "value": 1.771,
          "group": "vidyaashankar_group"
        }
      ]
    },
    "code": 0
  }
                
Show full

Sample Response: HTTP 400

Copied!
  {
    "message": "Bad Request",
    "error": "Invalid parameter format or missing required fields",
    "code": 400
  }
                
Show full

Sample Response: HTTP 401

Copied!
  {
    "message": "Unauthorized",
    "error": "Invalid authentication credentials or expired token",
    "code": 401
  }
                
Show full

Sample Response: HTTP 403

Copied!
  {
    "message": "Forbidden",
    "error": "Insufficient permissions to access this resource",
    "code": 403
  }
                
Show full

Sample Response: HTTP 500

Copied!
  {
    "message": "Internal Server Error",
    "error": "An unexpected error occurred while processing the request",
    "code": 500
  }
                
Show full
Endpoints

Sample Request

Curl
Copied!
curl --request POST \
  --url https://www.site24x7.com/cs/api/cost/show_more_tags \
  --header 'Authorization:  d92d4xxxxxxxxxxxxx15f52' \
  --header 'content-type: application/json' \
  --data '{"end_date":"2025-11-25","cost_tags":[],"period":1,"cost_type":0,"accounts":[{"cost_account_id":"403793000001435001","billing_account_ids":["403793000001434279","403793000001436777"]}],"group_by_type":"tag","start_date":"2025-10-01"}'
Show full

Sample Request Body

Copied!
  {
    "end_date": "2025-11-25",
    "cost_tags": [],
    "period": 1,
    "cost_type": 0,
    "accounts": [
      {
        "cost_account_id": "403793000001435001",
        "billing_account_ids": [
          "403793000001434279",
          "403793000001436777"
        ]
      }
    ],
    "group_by_type": "tag",
    "start_date": "2025-10-01"
  }
                
Show full

Sample Response: HTTP 200

Copied!
  {
    "message": "success",
    "data": {
      "return_data": {
        "Environment": [
          {
            "tagId": "403793000002710023",
            "value": "prod",
            "v": 10
          },
          {
            "tagId": "403793000002710023",
            "value": "dev",
            "v": 10
          },
          {
            "tagId": "403793000002710023",
            "value": "staging",
            "v": 10
          }
        ],
        "Project": [
          {
            "tagId": "403793000002710027",
            "value": "alpha",
            "v": 8
          },
          {
            "tagId": "403793000002710027",
            "value": "beta",
            "v": 8
          },
          {
            "tagId": "403793000002710027",
            "value": "gamma",
            "v": 8
          }
        ],
        "Department": [
          {
            "tagId": "403793000002710025",
            "value": "finance",
            "v": 5
          },
          {
            "tagId": "403793000002710025",
            "value": "engineering",
            "v": 5
          },
          {
            "tagId": "403793000002710025",
            "value": "operations",
            "v": 5
          }
        ]
      }
    },
    "code": 0
  }
                
Show full

Sample Response: HTTP 400

Copied!
  {
    "message": "Bad Request",
    "error": "Invalid parameter format or missing required fields",
    "code": 400
  }
                
Show full

Sample Response: HTTP 401

Copied!
  {
    "message": "Unauthorized",
    "error": "Invalid authentication credentials or expired token",
    "code": 401
  }
                
Show full

Sample Response: HTTP 500

Copied!
  {
    "message": "Internal Server Error",
    "error": "An unexpected error occurred while processing the request",
    "code": 500
  }
                
Show full
Endpoints

Sample Request

Curl
Copied!
curl --request POST \
  --url https://www.site24x7.com/cs/api/cost/accounts/report \
  --header 'Authorization:  d92d4xxxxxxxxxxxxx15f52' \
  --header 'content-type: application/json' \
  --data '{"cost_ids":["33240000000059001"],"profile":{"profile_id":"36"},"format":1,"report_name":"MCP report","type":34,"contact_ids":[{"contact_id":"53565000000014003","contact_type":"1"}],"frequency":7}'
Show full

Sample Request Body

Copied!
  {
    "cost_ids": [
      "33240000000059001"
    ],
    "profile": {
      "profile_id": "36"
    },
    "format": 1,
    "report_name": "MCP report",
    "type": 34,
    "contact_ids": [
      {
        "contact_id": "53565000000014003",
        "contact_type": "1"
      }
    ],
    "frequency": 7
  }
                
Show full

Sample Response: HTTP 200

Copied!
  {
    "message": "Report scheduled successfully",
    "data": {
      "scheduled_time": "2025-02-09T09:00:00+05:30",
      "report_id": "REPORT_ID",
      "status": "scheduled"
    },
    "code": 0
  }
                
Show full

Sample Response: HTTP 400

Copied!
  {
    "message": "Bad Request",
    "error": "Invalid parameter format or missing required fields",
    "code": 400
  }
                
Show full
Endpoints

Sample Request

Curl
Copied!
curl --request POST \
  --url https://www.site24x7.com/cs/api/cost/resources_list \
  --header 'Authorization:  d92d4xxxxxxxxxxxxx15f52' \
  --header 'content-type: application/json' \
  --data '{"end_date":"2026-01-07","cost_tags":["resourceGroup:vidyashankar_group"],"period":1,"accounts":[{"cost_account_id":"33240000000059001","billing_account_ids":["33240000000060001"]}],"group_by_type":"resource_group","start_date":"2025-12-01"}'
Show full

Sample Request Body

Copied!
  {
    "end_date": "2026-01-07",
    "cost_tags": [
      "resourceGroup:vidyashankar_group"
    ],
    "period": 1,
    "accounts": [
      {
        "cost_account_id": "33240000000059001",
        "billing_account_ids": [
          "33240000000060001"
        ]
      }
    ],
    "group_by_type": "resource_group",
    "start_date": "2025-12-01"
  }
                
Show full

Sample Response: HTTP 200

Copied!
  {
    "message": "success",
    "data": {
      "return_data": {
        "resources_grouped": {
          "us-east-1": [
            [
              "33240000000673267",
              "arn:aws:ec2:us-east-1:063251190422:network-interface/eni-07aa104c9fb1d55bf"
            ],
            [
              "33240000000673265",
              "snap-0e1dd15d2580b79ed"
            ],
            [
              "33240000000673255",
              "arn:aws:ec2:us-east-1:063251190422:network-interface/eni-06695817483d94ecf"
            ]
          ],
          "vidyashankar_group": [
            [
              "33240000000673267",
              "vm-vidyashankar-001"
            ],
            [
              "33240000000673268",
              "db-vidyashankar-001"
            ],
            [
              "33240000000673269",
              "storage-vidyashankar-001"
            ]
          ],
          "us-west-2": [
            [
              "33240000000061819",
              "elasticbeanstalk-us-west-2-063251190422"
            ]
          ]
        }
      }
    },
    "code": 0
  }
                
Show full

Sample Response: HTTP 400

Copied!
  {
    "message": "Bad Request",
    "error": "Invalid parameter format or missing required fields",
    "code": 400
  }
                
Show full

Sample Response: HTTP 401

Copied!
  {
    "message": "Unauthorized",
    "error": "Invalid authentication credentials or expired token",
    "code": 401
  }
                
Show full

Sample Response: HTTP 403

Copied!
  {
    "message": "Forbidden",
    "error": "Insufficient permissions to access this resource",
    "code": 403
  }
                
Show full

Sample Response: HTTP 500

Copied!
  {
    "message": "Internal Server Error",
    "error": "An unexpected error occurred while processing the request",
    "code": 500
  }
                
Show full
Endpoints

Sample Request

Curl
Copied!
curl --request GET \
  --url 'https://www.site24x7.com/cs/api/cost/reports/compliance/unbilled/names?business_unit_id=33240000000667001' \
  --header 'Authorization:  d92d4xxxxxxxxxxxxx15f52'
Show full

Sample Response: HTTP 200

Copied!
  {
    "message": "success",
    "data": [
      {
        "resource_name": "vm-instance2",
        "resource_id": "7",
        "billed_account_name": "Azure subscription 1"
      },
      {
        "resource_name": "Ubuntu-Pro-18.04-LTS",
        "resource_id": "4",
        "billed_account_name": "Subscription-2"
      }
    ],
    "code": 0
  }
                
Show full

Sample Response: HTTP 400

Copied!
  {
    "message": "Bad Request",
    "error": "Invalid parameter format or missing required fields",
    "code": 400
  }
                
Show full

Sample Response: HTTP 401

Copied!
  {
    "message": "Unauthorized",
    "error": "Invalid authentication credentials or expired token",
    "code": 401
  }
                
Show full

Sample Response: HTTP 403

Copied!
  {
    "message": "Forbidden",
    "error": "Insufficient permissions to access this resource",
    "code": 403
  }
                
Show full

Sample Response: HTTP 500

Copied!
  {
    "message": "Internal Server Error",
    "error": "An unexpected error occurred while processing the request",
    "code": 500
  }
                
Show full
Endpoints

Sample Request

Curl
Copied!
curl --request GET \
  --url 'https://www.site24x7.com/cs/api/checks/anomaly/details/rca?anomaly_id=251&detected_time=1763856000000' \
  --header 'Authorization:  d92d4xxxxxxxxxxxxx15f52'
Show full

Sample Response: HTTP 200

Copied!
  {
    "message": "success",
    "data": {
      "anomaly_id": "251",
      "currency_symbol": "$",
      "currency_locale": "en-US",
      "resources": {},
      "history": {
        "historical_cost": [
          [
            "2025-05-01T00:00:00+0530",
            704.393
          ],
          [
            "2025-05-02T00:00:00+0530",
            459.754
          ]
        ],
        "forecast_cost": [
          [
            "2026-02-21T00:00:00+0530",
            328.2065948075913
          ],
          [
            "2026-02-20T00:00:00+0530",
            320.4360813908467
          ]
        ],
        "currency_code_id": "1",
        "currency_code": "USD"
      },
      "currency_code": "USD",
      "anomaly_detected_time": "1763856000000"
    },
    "code": 0
  }
                
Show full

Sample Response: HTTP 400

Copied!
  {
    "message": "Bad Request",
    "error": "Invalid parameter format or missing required fields",
    "code": 400
  }
                
Show full

Sample Response: HTTP 401

Copied!
  {
    "message": "Unauthorized",
    "error": "Invalid authentication credentials or expired token",
    "code": 401
  }
                
Show full

Sample Response: HTTP 500

Copied!
  {
    "message": "Internal Server Error",
    "error": "An unexpected error occurred while processing the request",
    "code": 500
  }
                
Show full
Endpoints

Sample Request

Curl
Copied!
curl --request GET \
  --url 'https://www.site24x7.com/cs/api/cost/admin/tags?JSONString={"cost_account_id":["33240000000011003"]}' \
  --header 'Authorization:  d92d4xxxxxxxxxxxxx15f52'
Show full

Sample Response: HTTP 200

Copied!
  {
    "message": "success",
    "data": {
      "Tags": [
        {
          "type": "",
          "tagId": "33240000000552001",
          "value": "mcp_bu",
          "key": "mcp_bu",
          "v": -4
        }
      ]
    },
    "code": 0
  }
                
Show full

Sample Response: HTTP 400

Copied!
  {
    "message": "Bad Request",
    "error": "Invalid parameter format or missing required fields",
    "code": 400
  }
                
Show full

Sample Response: HTTP 401

Copied!
  {
    "message": "Unauthorized",
    "error": "Invalid authentication credentials or expired token",
    "code": 401
  }
                
Show full

Sample Response: HTTP 403

Copied!
  {
    "message": "Forbidden",
    "error": "Insufficient permissions to access this resource",
    "code": 403
  }
                
Show full

Sample Response: HTTP 500

Copied!
  {
    "message": "Internal Server Error",
    "error": "An unexpected error occurred while processing the request",
    "code": 500
  }
                
Show full
Endpoints

Sample Request

Curl
Copied!
curl --request GET \
  --url https://www.site24x7.com/cs/api/cost/admin/budget_policys/{accountType} \
  --header 'Authorization:  d92d4xxxxxxxxxxxxx15f52'
Show full

Sample Response: HTTP 200

Copied!
  {
    "message": "success",
    "data": {
      "data": [
        {
          "policy_type": "",
          "account_type": 0,
          "account_id": "33240000000011003",
          "policy_id": "3",
          "cost_type": 20,
          "policy_name": "accounts",
          "integrated_zaaids": [
            "34700657"
          ],
          "budgets_count": 0
        }
      ]
    },
    "code": 0
  }
                
Show full

Sample Response: HTTP 400

Copied!
  {
    "message": "Bad Request",
    "error": "Invalid parameter format or missing required fields",
    "code": 400
  }
                
Show full

Sample Response: HTTP 401

Copied!
  {
    "message": "Unauthorized",
    "error": "Invalid authentication credentials or expired token",
    "code": 401
  }
                
Show full

Sample Response: HTTP 403

Copied!
  {
    "message": "Forbidden",
    "error": "Insufficient permissions to access this resource",
    "code": 403
  }
                
Show full

Sample Response: HTTP 500

Copied!
  {
    "message": "Internal Server Error",
    "error": "An unexpected error occurred while processing the request",
    "code": 500
  }
                
Show full
Endpoints

Sample Request

Curl
Copied!
curl --request GET \
  --url 'https://www.site24x7.com/cs/api/cost/cost_centers/spend_analysis/anomaly/chart?anomaly_id=250&start_date=2025-10-01&end_date=2025-11-30' \
  --header 'Authorization:  d92d4xxxxxxxxxxxxx15f52'
Show full

Sample Response: HTTP 200

Copied!
  {
    "message": "success",
    "data": {
      "meta": {
        "last_detected_timestamp": "2025-11-23T05:30:00+0530",
        "anomaly_id": "250",
        "cloud_type_name": "AWS",
        "last_detected_time": "1763856000000",
        "category_id": 10002,
        "anomaly_name": "AWSInternalTeam",
        "category": "Cost Centers",
        "total_occurences": "4"
      },
      "chart_data": {
        "1": [
          [
            "2025-10-01T00:00:00+0530",
            "1"
          ]
        ],
        "2": [
          [
            "2025-10-15T00:00:00+0530",
            "2"
          ]
        ],
        "3": [
          [
            "2025-10-20T00:00:00+0530",
            "5"
          ]
        ]
      }
    },
    "code": 0
  }
                
Show full

Sample Response: HTTP 400

Copied!
  {
    "message": "Bad Request",
    "error": "Invalid parameter format or missing required fields",
    "code": 400
  }
                
Show full

Sample Response: HTTP 401

Copied!
  {
    "message": "Unauthorized",
    "error": "Invalid authentication credentials or expired token",
    "code": 401
  }
                
Show full

Sample Response: HTTP 500

Copied!
  {
    "message": "Internal Server Error",
    "error": "An unexpected error occurred while processing the request",
    "code": 500
  }
                
Show full
Endpoints

Sample Request

Curl
Copied!
curl --request POST \
  --url https://www.site24x7.com/cs/api/cost/cost_centers/spend_analysis_panel \
  --header 'Authorization:  d92d4xxxxxxxxxxxxx15f52' \
  --header 'content-type: application/json' \
  --data '{"end_date":"2025-11-12","period":1,"cost_tags":[{"v":10,"id":"403793000002710023"}],"business_unit_id":"403793000002710025","cost_type":0,"accounts":[{"cost_account_id":"403793000001435001","billing_account_ids":["33240000000012001","33240000000012021"]}],"bu_type":0,"start_date":"2025-10-01"}'
Show full

Sample Request Body

Copied!
  {
    "end_date": "2025-11-12",
    "period": 1,
    "cost_tags": [
      {
        "v": 10,
        "id": "403793000002710023"
      }
    ],
    "business_unit_id": "403793000002710025",
    "cost_type": 0,
    "accounts": [
      {
        "cost_account_id": "403793000001435001",
        "billing_account_ids": [
          "33240000000012001",
          "33240000000012021"
        ]
      }
    ],
    "bu_type": 0,
    "start_date": "2025-10-01"
  }
                
Show full

Sample Response: HTTP 201

Copied!
  {
    "message": "success",
    "data": {
      "return_data": {
        "max_cost_account": "S247-AWS-team_AWS_Anniversary (AWS-Org)",
        "max_cost": 10783.38,
        "total_cost": 30856.72,
        "anomaly_widget": {
          "occurrences": "2",
          "anomaly_id": "269",
          "anomaly_last_detected_time": "2025-10-01T05:30:00+0530"
        },
        "min_cost": 0.02,
        "difference": 0,
        "min_cost_account": "S247-APM-Insight_AWS Marketplace_Anniversary (AWS-Org)"
      }
    },
    "code": 0
  }
                
Show full

Sample Response: HTTP 400

Copied!
  {
    "message": "Bad Request",
    "error": "Invalid parameter format or missing required fields",
    "code": 400
  }
                
Show full

Sample Response: HTTP 401

Copied!
  {
    "message": "Unauthorized",
    "error": "Invalid authentication credentials or expired token",
    "code": 401
  }
                
Show full

Sample Response: HTTP 500

Copied!
  {
    "message": "Internal Server Error",
    "error": "An unexpected error occurred while processing the request",
    "code": 500
  }
                
Show full
Endpoints

Sample Request

Curl
Copied!
curl --request POST \
  --url https://www.site24x7.com/cs/api/cost/accounts/resource_explorer/ri_resouce_trend_chart \
  --header 'Authorization:  d92d4xxxxxxxxxxxxx15f52' \
  --header 'content-type: application/json' \
  --data '{"end_date":"2019-08-24","resource_id":"string","accounts":[{"cost_account_id":"string","billing_account_ids":["string"]}],"start_date":"2019-08-24"}'
Show full

Sample Request Body

Copied!
  {
    "end_date": "2019-08-24",
    "resource_id": "string",
    "accounts": [
      {
        "cost_account_id": "string",
        "billing_account_ids": [
          "string"
        ]
      }
    ],
    "start_date": "2019-08-24"
  }
                
Show full

Sample Response: HTTP 200

Copied!
  {
    "message": "success",
    "data": {
      "resource_cost": [
        [
          "2025-10-01T00:00:00+0530",
          15.92
        ],
        [
          "2025-11-01T00:00:00+0530",
          11.7
        ]
      ]
    },
    "code": 0
  }
                
Show full

Sample Response: HTTP 400

Copied!
  {
    "message": "Bad Request",
    "error": "Invalid parameter format or missing required fields",
    "code": 400
  }
                
Show full
Endpoints

Sample Request

Curl
Copied!
curl --request GET \
  --url https://www.site24x7.com/cs/api/cost/guidances \
  --header 'Authorization:  d92d4xxxxxxxxxxxxx15f52'
Show full

Sample Response: HTTP 200

Copied!
  {
    "message": "success",
    "data": {
      "showGuidance": false,
      "guidanceList": [],
      "userId": "53565000000014001",
      "guidanceNewMode": true
    },
    "code": 0
  }
                
Show full

Sample Response: HTTP 400

Copied!
  {
    "message": "Bad Request",
    "error": "Invalid parameter format or missing required fields",
    "code": 400
  }
                
Show full

Sample Response: HTTP 401

Copied!
  {
    "message": "Unauthorized",
    "error": "Invalid authentication credentials or expired token",
    "code": 401
  }
                
Show full

Sample Response: HTTP 403

Copied!
  {
    "message": "Forbidden",
    "error": "Insufficient permissions to access this resource",
    "code": 403
  }
                
Show full

Sample Response: HTTP 500

Copied!
  {
    "message": "Internal Server Error",
    "error": "An unexpected error occurred while processing the request",
    "code": 500
  }
                
Show full
Endpoints

Sample Request

Curl
Copied!
curl --request GET \
  --url https://www.site24x7.com/cs/api/cost/cost_centers/accounts \
  --header 'Authorization:  d92d4xxxxxxxxxxxxx15f52'
Show full

Sample Response: HTTP 200

Copied!
  {
    "message": "success",
    "data": {
      "total_accounts": 4,
      "current_month_total": 16442.568,
      "previous_month_total": 42559.497
    },
    "code": 0
  }
                
Show full

Sample Response: HTTP 400

Copied!
  {
    "message": "Bad Request",
    "error": "Invalid parameter format or missing required fields",
    "code": 400
  }
                
Show full

Sample Response: HTTP 401

Copied!
  {
    "message": "Unauthorized",
    "error": "Invalid authentication credentials or expired token",
    "code": 401
  }
                
Show full

Sample Response: HTTP 500

Copied!
  {
    "message": "Internal Server Error",
    "error": "An unexpected error occurred while processing the request",
    "code": 500
  }
                
Show full
Endpoints

Sample Request

Curl
Copied!
curl --request GET \
  --url 'https://www.site24x7.com/cs/api/cost/cost_centers/integration/msp_alert_configs?JSONString=SOME_STRING_VALUE' \
  --header 'Authorization:  d92d4xxxxxxxxxxxxx15f52'
Show full

Sample Response: HTTP 200

Copied!
  {}
                
Show full

Sample Response: HTTP 400

Copied!
  {
    "message": "Bad Request",
    "error": "Invalid parameter format or missing required fields",
    "code": 400
  }
                
Show full

Sample Response: HTTP 401

Copied!
  {
    "message": "Unauthorized",
    "error": "Invalid authentication credentials or expired token",
    "code": 401
  }
                
Show full

Sample Response: HTTP 500

Copied!
  {
    "message": "Internal Server Error",
    "error": "An unexpected error occurred while processing the request",
    "code": 500
  }
                
Show full
Endpoints

Sample Request

Curl
Copied!
curl --request GET \
  --url 'https://www.site24x7.com/cs/api/cost/accounts/hierarchy/report/34/node?node=SOME_STRING_VALUE&business_unit_id=SOME_STRING_VALUE&start_date=SOME_STRING_VALUE&end_date=SOME_STRING_VALUE' \
  --header 'Authorization:  d92d4xxxxxxxxxxxxx15f52'
Show full

Sample Response: HTTP 200

Copied!
  {
    "message": "success",
    "data": {
      "top_n_resources": [
        {
          "name": "QADisplayNameCheck",
          "id": "33240000000060153",
          "type": "AmazonEC2",
          "value": 46.632,
          "group": "-"
        },
        {
          "name": "test-nat-gateway",
          "id": "33240000000062347",
          "type": "AmazonEC2",
          "value": 46.618,
          "group": "-"
        },
        {
          "name": "storagegateway-wizard 41282b6e",
          "id": "33240000000060095",
          "type": "AmazonEC2",
          "value": 22.669,
          "group": "-"
        },
        {
          "name": "Srinath-capacity",
          "id": "33240000000068271",
          "type": "AmazonEC2",
          "value": 20.719,
          "group": "-"
        },
        {
          "name": "testeks5-standard-workers-medium-Node",
          "id": "33240000000411017",
          "type": "AmazonEC2",
          "value": 15.748,
          "group": "-"
        }
      ],
      "cost": 568.373,
      "contributions": {
        "us-east-1": 568.373
      },
      "anomaly": {
        "occurrences": "2",
        "anomaly_id": "12",
        "anomaly_last_detected_time": "2025-10-01T05:30:00+0530"
      },
      "savings": {
        "actual_cost": 0,
        "charged_cost": 0,
        "savings": 0
      },
      "resourceCount": 617
    },
    "code": 0
  }
                
Show full

Sample Response: HTTP 400

Copied!
  {
    "message": "Bad Request",
    "error": "Invalid parameter format or missing required fields",
    "code": 400
  }
                
Show full

Sample Response: HTTP 401

Copied!
  {
    "message": "Unauthorized",
    "error": "Invalid authentication credentials or expired token",
    "code": 401
  }
                
Show full

Sample Response: HTTP 404

Copied!
  {
    "message": "Not Found",
    "error": "The requested resource was not found",
    "code": 404
  }
                
Show full

Sample Response: HTTP 500

Copied!
  {
    "message": "Internal Server Error",
    "error": "An unexpected error occurred while processing the request",
    "code": 500
  }
                
Show full
Endpoints

Sample Request

Curl
Copied!
curl --request POST \
  --url https://www.site24x7.com/cs/api/cost/accounts/incurred_cost \
  --header 'Authorization:  d92d4xxxxxxxxxxxxx15f52' \
  --header 'content-type: application/json' \
  --data '{"cost_type":0,"cost_tags":[{"v":0,"id":"string"}],"accounts":[{"cost_account_id":"string","billing_account_ids":["string"]}]}'
Show full

Sample Request Body

Copied!
  {
    "cost_type": 0,
    "cost_tags": [
      {
        "v": 0,
        "id": "string"
      }
    ],
    "accounts": [
      {
        "cost_account_id": "string",
        "billing_account_ids": [
          "string"
        ]
      }
    ]
  }
                
Show full

Sample Response: HTTP 200

Copied!
  {
    "message": "success",
    "data": {
      "return_data": [
        [
          "2025-06-01T00:00:00+0530",
          867.572
        ],
        [
          "2025-06-02T00:00:00+0530",
          531.858
        ],
        [
          "2025-06-03T00:00:00+0530",
          509.316
        ],
        [
          "2025-11-22T00:00:00+0530",
          305.243
        ],
        [
          "2025-11-23T00:00:00+0530",
          560.43
        ],
        [
          "2025-11-24T00:00:00+0530",
          152.572
        ]
      ]
    },
    "code": 0
  }
                
Show full

Sample Response: HTTP 400

Copied!
  {
    "message": "Bad Request",
    "error": "Invalid parameter format or missing required fields",
    "code": 400
  }
                
Show full
Endpoints

Sample Request

Curl
Copied!
curl --request POST \
  --url https://www.site24x7.com/cs/api/cost/custom_report/trend_box \
  --header 'Authorization:  d92d4xxxxxxxxxxxxx15f52' \
  --header 'content-type: application/json' \
  --data '{"end_date":"2026-01-05","cost_tags":[],"period":1,"accounts":[{"cost_account_id":"33240000000011003","billing_account_ids":["33240000000012207","33240000000012021","33240000000012033","33240000000012001","33240000000216281"]}],"cost_type":20,"start_date":"2026-01-01"}'
Show full

Sample Request Body

Copied!
  {
    "end_date": "2026-01-05",
    "cost_tags": [],
    "period": 1,
    "accounts": [
      {
        "cost_account_id": "33240000000011003",
        "billing_account_ids": [
          "33240000000012207",
          "33240000000012021",
          "33240000000012033",
          "33240000000012001",
          "33240000000216281"
        ]
      }
    ],
    "cost_type": 20,
    "start_date": "2026-01-01"
  }
                
Show full

Sample Response: HTTP 200

Copied!
  {
    "message": "success",
    "data": {
      "trend_values": {
        "mode": 0,
        "values": {
          "AmazonS3": [
            [
              "2026-01-01T00:00:00+0530",
              42.85
            ],
            [
              "2026-01-02T00:00:00+0530",
              45.12
            ],
            [
              "2026-01-03T00:00:00+0530",
              38.94
            ],
            [
              "2026-01-04T00:00:00+0530",
              51.76
            ]
          ],
          "microsoft.compute": [
            [
              "2026-01-01T00:00:00+0530",
              2.576
            ],
            [
              "2026-01-02T00:00:00+0530",
              2.571
            ],
            [
              "2026-01-03T00:00:00+0530",
              2.572
            ],
            [
              "2026-01-04T00:00:00+0530",
              1.893
            ]
          ],
          "microsoft.storage": [
            [
              "2026-01-01T00:00:00+0530",
              0.026
            ],
            [
              "2026-01-02T00:00:00+0530",
              0.027
            ],
            [
              "2026-01-03T00:00:00+0530",
              0.026
            ],
            [
              "2026-01-04T00:00:00+0530",
              0.021
            ]
          ],
          "microsoft.network": [
            [
              "2026-01-01T00:00:00+0530",
              0.988
            ],
            [
              "2026-01-02T00:00:00+0530",
              0.988
            ],
            [
              "2026-01-03T00:00:00+0530",
              0.988
            ],
            [
              "2026-01-04T00:00:00+0530",
              0.748
            ]
          ]
        }
      }
    },
    "code": 0
  }
                
Show full

Sample Response: HTTP 400

Copied!
  {
    "message": "Bad Request",
    "error": "Invalid parameter format or missing required fields",
    "code": 400
  }
                
Show full

Sample Response: HTTP 401

Copied!
  {
    "message": "Unauthorized",
    "error": "Invalid authentication credentials or expired token",
    "code": 401
  }
                
Show full

Sample Response: HTTP 403

Copied!
  {
    "message": "Forbidden",
    "error": "Insufficient permissions to access this resource",
    "code": 403
  }
                
Show full

Sample Response: HTTP 500

Copied!
  {
    "message": "Internal Server Error",
    "error": "An unexpected error occurred while processing the request",
    "code": 500
  }
                
Show full
Endpoints

Sample Request

Curl
Copied!
curl --request GET \
  --url https://www.site24x7.com/cs/api/cost/accounts/hierarchy/report/profiles \
  --header 'Authorization:  d92d4xxxxxxxxxxxxx15f52'
Show full

Sample Response: HTTP 200

Copied!
  {
    "message": "success",
    "data": {
      "return_data": {
        "return_data": [
          {
            "period": 1,
            "report_time": 1,
            "profile_id": "123456789",
            "timezone": "2026-01-15",
            "report_hour": 1,
            "name": "Sample Name",
            "frequency": 1
          }
        ]
      }
    },
    "code": 0
  }
                
Show full

Sample Response: HTTP 400

Copied!
  {
    "message": "Bad Request",
    "error": "Invalid parameter format or missing required fields",
    "code": 400
  }
                
Show full

Sample Response: HTTP 401

Copied!
  {
    "message": "Unauthorized",
    "error": "Invalid authentication credentials or expired token",
    "code": 401
  }
                
Show full

Sample Response: HTTP 404

Copied!
  {
    "message": "Not Found",
    "error": "The requested resource was not found",
    "code": 404
  }
                
Show full

Sample Response: HTTP 500

Copied!
  {
    "message": "Internal Server Error",
    "error": "An unexpected error occurred while processing the request",
    "code": 500
  }
                
Show full
Endpoints

Sample Request

Curl
Copied!
curl --request GET \
  --url 'https://www.site24x7.com/cs/api/cost/budget/dashboard?type=1&account_type=0' \
  --header 'Authorization:  d92d4xxxxxxxxxxxxx15f52'
Show full

Sample Response: HTTP 200

Copied!
  {
    "message": "success",
    "data": [
      {
        "display_currency": "USD",
        "budget_name": "AlertMailer",
        "account_type": 0,
        "period": "Monthly",
        "policy_id": "35",
        "budget_value": 1,
        "trend": 0,
        "budget_id": "56",
        "currency_locale": "en-US",
        "unit_type": 1,
        "percent": 33,
        "remaining": -0.668,
        "period_rh": "cl.cst.monthly",
        "unit": 1,
        "account_id": "403793000000852003",
        "spending": 0.332,
        "currency_unicode": "$",
        "prev_val": 1,
        "status": 1
      },
      {
        "display_currency": "INR",
        "budget_name": "AlertMail_Test",
        "account_type": 0,
        "period": "Monthly",
        "policy_id": "35",
        "budget_value": 1,
        "trend": 0,
        "budget_id": "72",
        "currency_locale": "en-IN",
        "unit_type": 1,
        "percent": 100,
        "remaining": 28.663,
        "period_rh": "cl.cst.monthly",
        "unit": 1,
        "account_id": "403793000000852003",
        "spending": 29.663,
        "currency_unicode": "INR",
        "prev_val": 1,
        "status": 1
      }
    ],
    "code": 0
  }
                
Show full

Sample Response: HTTP 400

Copied!
  {
    "message": "Bad Request",
    "error": "Invalid parameter format or missing required fields",
    "code": 400
  }
                
Show full

Sample Response: HTTP 401

Copied!
  {
    "message": "Unauthorized",
    "error": "Invalid authentication credentials or expired token",
    "code": 401
  }
                
Show full

Sample Response: HTTP 500

Copied!
  {
    "message": "Internal Server Error",
    "error": "An unexpected error occurred while processing the request",
    "code": 500
  }
                
Show full
Endpoints

Sample Request

Curl
Copied!
curl --request POST \
  --url https://www.site24x7.com/cs/api/cost/budget/budget_details \
  --header 'Authorization:  d92d4xxxxxxxxxxxxx15f52' \
  --header 'content-type: application/json' \
  --data '{"budget_name":"Production AWS Account Budget","period":"Monthly","policy_id":"116","budget_value":5000,"trend":0,"alert_configs":[],"checks_type":1,"unit_type":1,"contact_ids":["53565000000014003","53565000000014005"],"unit":1,"contact_type":1,"unit_code":"USD","policy_account_type":0}'
Show full

Sample Request Body

Shows budget creation with all required user inputs collected properly

Copied!
  {
    "budget_name": "Production AWS Account Budget",
    "period": "Monthly",
    "policy_id": "116",
    "budget_value": 5000,
    "trend": 0,
    "alert_configs": [],
    "checks_type": 1,
    "unit_type": 1,
    "contact_ids": [
      "53565000000014003",
      "53565000000014005"
    ],
    "unit": 1,
    "contact_type": 1,
    "unit_code": "USD",
    "policy_account_type": 0
  }
                
Show full

Shows BU-level budget with proper workflow completion

Copied!
  {
    "budget_name": "Development Team Q1 Budget",
    "period": "Monthly",
    "policy_id": "117",
    "budget_value": 3000,
    "trend": 1,
    "alert_configs": [],
    "checks_type": 1,
    "unit_type": 1,
    "contact_ids": [
      "53565000000014003"
    ],
    "unit": 1,
    "contact_type": 1,
    "unit_code": "USD",
    "policy_account_type": 1
  }
                
Show full

Shows report-level budget with international currency

Copied!
  {
    "budget_name": "EMEA Region Cost Budget",
    "period": "Monthly",
    "policy_id": "118",
    "budget_value": 4500,
    "trend": 0,
    "alert_configs": [],
    "checks_type": 1,
    "unit_type": 1,
    "contact_ids": [
      "53565000000014003",
      "53565000000014007"
    ],
    "unit": 1,
    "contact_type": 1,
    "unit_code": "EUR",
    "policy_account_type": 2
  }
                
Show full

Sample Response: HTTP 200

Copied!
  {
    "message": "success",
    "data": {
      "data": "Budget Created Successfully",
      "budget_id": "73"
    },
    "code": 0
  }
                
Show full

Sample Response: HTTP 400

Copied!
  {
    "message": "Bad Request",
    "error": "Invalid parameter format or missing required fields",
    "code": 400
  }
                
Show full

Sample Response: HTTP 401

Copied!
  {
    "message": "Unauthorized",
    "error": "Invalid authentication credentials or expired token",
    "code": 401
  }
                
Show full

Sample Response: HTTP 500

Copied!
  {
    "message": "Internal Server Error",
    "error": "An unexpected error occurred while processing the request",
    "code": 500
  }
                
Show full
Endpoints

Sample Request

Curl
Copied!
curl --request GET \
  --url 'https://www.site24x7.com/cs/api/cost/accounts/hierarchy/reports?start_date=SOME_STRING_VALUE&end_date=SOME_STRING_VALUE' \
  --header 'Authorization:  d92d4xxxxxxxxxxxxx15f52'
Show full

Sample Response: HTTP 200

Copied!
  {
    "message": "success",
    "data": {
      "date_range": {
        "end_date": "2025-11-30T23:59:59+0530",
        "start_date": "2025-05-01T00:00:00+0530"
      },
      "allocations": [
        {
          "cost": 16.219,
          "business_unit_id": "33240000000012343",
          "reportId": "33240000000012341",
          "reportName": "Azure linked account2",
          "rootNodeId": "1",
          "sectorCount": 5,
          "status": 1
        },
        {
          "cost": 568.373,
          "business_unit_id": "33240000000079007",
          "reportId": "33240000000079001",
          "reportName": "AWS Linked",
          "rootNodeId": "34",
          "sectorCount": 1,
          "status": 1
        }
      ]
    },
    "code": 0
  }
                
Show full

Sample Response: HTTP 400

Copied!
  {
    "message": "Bad Request",
    "error": "Invalid parameter format or missing required fields",
    "code": 400
  }
                
Show full

Sample Response: HTTP 401

Copied!
  {
    "message": "Unauthorized",
    "error": "Invalid authentication credentials or expired token",
    "code": 401
  }
                
Show full

Sample Response: HTTP 404

Copied!
  {
    "message": "Not Found",
    "error": "The requested resource was not found",
    "code": 404
  }
                
Show full

Sample Response: HTTP 500

Copied!
  {
    "message": "Internal Server Error",
    "error": "An unexpected error occurred while processing the request",
    "code": 500
  }
                
Show full
Endpoints

Sample Request

Curl
Copied!
curl --request POST \
  --url https://www.site24x7.com/cs/api/cost/dashboard \
  --header 'Authorization:  d92d4xxxxxxxxxxxxx15f52' \
  --header 'content-type: application/json' \
  --data '{"name":"test","make_public":true,"description":"test","config_data":"{}","size":9,"widgets":[{"name":"Summary","description":"","config_data":"{\"grid_details\":{\"cols\":9,\"rows\":1.25,\"y\":0,\"x\":0,\"minItemCols\":8,\"minItemRows\":1},\"params\":{\"business_unit_id\":\"33240000000667001\"}}","widget_reference_id":"55","delete":false}]}'
Show full

Sample Request Body

Copied!
  {
    "name": "test",
    "make_public": true,
    "description": "test",
    "config_data": "{}",
    "size": 9,
    "widgets": [
      {
        "name": "Summary",
        "description": "",
        "config_data": "{\"grid_details\":{\"cols\":9,\"rows\":1.25,\"y\":0,\"x\":0,\"minItemCols\":8,\"minItemRows\":1},\"params\":{\"business_unit_id\":\"33240000000667001\"}}",
        "widget_reference_id": "55",
        "delete": false
      }
    ]
  }
                
Show full

Sample Response: HTTP 200

Copied!
  {
    "message": "success",
    "data": {
      "return_data": {
        "created_time": "1767619724600",
        "updated_time": "",
        "config_data": "{}",
        "description": "test",
        "is_default_dashboard": false,
        "type": 0,
        "widgets": [
          {
            "name": "Summary",
            "description": "",
            "id": "110",
            "config_data": "{\\\"grid_details\\\":{\\\"cols\\\":9,\\\"rows\\\":1.25,\\\"y\\\":0,\\\"x\\\":0,\\\"minItemCols\\\":8,\\\"minItemRows\\\":1},\\\"params\\\":{\\\"business_unit_id\\\":\\\"33240000000667001\\\"}}",
            "widget_reference_id": "55",
            "dashboard_id": "40"
          }
        ],
        "size": 9,
        "starred": false,
        "name": "test",
        "encryption_key": "",
        "theme": 0,
        "id": "40",
        "status": 0
      }
    },
    "code": 0
  }
                
Show full

Sample Response: HTTP 400

Copied!
  {
    "message": "Bad Request",
    "error": "Invalid parameter format or missing required fields",
    "code": 400
  }
                
Show full

Sample Response: HTTP 401

Copied!
  {
    "message": "Unauthorized",
    "error": "Invalid authentication credentials or expired token",
    "code": 401
  }
                
Show full

Sample Response: HTTP 403

Copied!
  {
    "message": "Forbidden",
    "error": "Insufficient permissions to access this resource",
    "code": 403
  }
                
Show full

Sample Response: HTTP 500

Copied!
  {
    "message": "Internal Server Error",
    "error": "An unexpected error occurred while processing the request",
    "code": 500
  }
                
Show full
Endpoints

Sample Request

Curl
Copied!
curl --request GET \
  --url 'https://www.site24x7.com/cs/api/cost/dashboard?start=0&limit=0' \
  --header 'Authorization:  d92d4xxxxxxxxxxxxx15f52'
Show full

Sample Response: HTTP 200

Copied!
  {
    "message": "success",
    "data": {
      "return_data": [
        {
          "created_time": "1758109929720",
          "updated_time": "1758049868740",
          "public_dashboard_link": "/cs/public/dashboard/Tco3zpKmu27gtPZCukuPQNHlW9kBqWbEbcNIp46ChlILNFDgon4PzLbglHtuQl3YgH7f5rxu8USBnY-yA5Znkj5XIXkNs52huKXiuvGPhWw=",
          "config_data": "{}",
          "description": "test4",
          "is_default_dashboard": false,
          "type": 1,
          "starred": false,
          "size": 9,
          "name": "test4",
          "encryption_key": "Tco3zpKmu27gtPZCukuPQNHlW9kBqWbEbcNIp46ChlILNFDgon4PzLbglHtuQl3YgH7f5rxu8USBnY-yA5Znkj5XIXkNs52huKXiuvGPhWw=",
          "theme": 1,
          "id": "39",
          "status": 1
        }
      ]
    },
    "code": 0
  }
                
Show full

Sample Response: HTTP 400

Copied!
  {
    "message": "Bad Request",
    "error": "Invalid parameter format or missing required fields",
    "code": 400
  }
                
Show full

Sample Response: HTTP 401

Copied!
  {
    "message": "Unauthorized",
    "error": "Invalid authentication credentials or expired token",
    "code": 401
  }
                
Show full

Sample Response: HTTP 403

Copied!
  {
    "message": "Forbidden",
    "error": "Insufficient permissions to access this resource",
    "code": 403
  }
                
Show full

Sample Response: HTTP 500

Copied!
  {
    "message": "Internal Server Error",
    "error": "An unexpected error occurred while processing the request",
    "code": 500
  }
                
Show full
Endpoints

Sample Request

Curl
Copied!
curl --request GET \
  --url 'https://www.site24x7.com/cs/api/cost/reports/compliance/autogenerated/tagging?business_unit_id=SOME_STRING_VALUE&offset=SOME_INTEGER_VALUE' \
  --header 'Authorization:  d92d4xxxxxxxxxxxxx15f52'
Show full

Sample Response: HTTP 200

Copied!
  {
    "message": "success",
    "code": 0
  }
                
Show full

Sample Response: HTTP 400

Copied!
  {
    "message": "Bad Request",
    "error": "Invalid parameter format or missing required fields",
    "code": 400
  }
                
Show full

Sample Response: HTTP 401

Copied!
  {
    "message": "Unauthorized",
    "error": "Invalid authentication credentials or expired token",
    "code": 401
  }
                
Show full

Sample Response: HTTP 403

Copied!
  {
    "message": "Forbidden",
    "error": "Insufficient permissions to access this resource",
    "code": 403
  }
                
Show full

Sample Response: HTTP 500

Copied!
  {
    "message": "Internal Server Error",
    "error": "An unexpected error occurred while processing the request",
    "code": 500
  }
                
Show full
Endpoints

Sample Request

Curl
Copied!
curl --request GET \
  --url 'https://www.site24x7.com/cs/api/cost/cost_centers/spend_analysis/anomaly/details/meta?anomaly_id=250&detected_time=1759276800000' \
  --header 'Authorization:  d92d4xxxxxxxxxxxxx15f52'
Show full

Sample Response: HTTP 200

Copied!
  {
    "message": "success",
    "data": {
      "info": {
        "updated_time": "1760807531964",
        "anomaly_id": "250",
        "detected_time": "1759276800000",
        "currency_symbol": "$",
        "currency_locale": "en-US",
        "anomaly_name": "AWSInternalTeam",
        "deviation_percent": 71.26766876120725,
        "anomaly_level": "Medium",
        "currency_code": "USD",
        "cloud_type_name": "AWS",
        "updated_timestamp": "2025-10-18T22:42:11+0530",
        "anomaly_status": "OPEN",
        "anomaly_status_code": 1,
        "anomaly_type": "upper",
        "expected_value": 280.4463933409905,
        "detected_timestamp": "2025-10-01T05:30:00+0530",
        "value": 480.31399999999996
      }
    },
    "code": 0
  }
                
Show full

Sample Response: HTTP 400

Copied!
  {
    "message": "Bad Request",
    "error": "Invalid parameter format or missing required fields",
    "code": 400
  }
                
Show full

Sample Response: HTTP 401

Copied!
  {
    "message": "Unauthorized",
    "error": "Invalid authentication credentials or expired token",
    "code": 401
  }
                
Show full

Sample Response: HTTP 500

Copied!
  {
    "message": "Internal Server Error",
    "error": "An unexpected error occurred while processing the request",
    "code": 500
  }
                
Show full
Endpoints

Sample Request

Curl
Copied!
curl --request POST \
  --url https://www.site24x7.com/cs/api/cost/report \
  --header 'Authorization:  d92d4xxxxxxxxxxxxx15f52' \
  --header 'content-type: application/json' \
  --data '{"format":1,"report_name":"MCP Tagging Compliance Report","type":39,"contact_ids":[{"contact_id":"53565000000014003","contact_type":"1"}],"frequency":2}'
Show full

Sample Request Body

Copied!
  {
    "format": 1,
    "report_name": "MCP Tagging Compliance Report",
    "type": 39,
    "contact_ids": [
      {
        "contact_id": "53565000000014003",
        "contact_type": "1"
      }
    ],
    "frequency": 2
  }
                
Show full
Copied!
  {
    "format": 1,
    "cost_ids": [
      "109",
      "110"
    ],
    "report_name": "Governance Dashboard Report",
    "type": 42,
    "contact_ids": [
      {
        "contact_id": "53565000000014003",
        "contact_type": "1"
      }
    ],
    "frequency": 4
  }
                
Show full
Copied!
  {
    "cloudType": 0,
    "solutionReportId": "33240000000012271",
    "format": 2,
    "report_name": "Tagging Resource Meta Report",
    "type": 40,
    "contact_ids": [
      {
        "contact_id": "53565000000014003",
        "contact_type": "1"
      }
    ],
    "frequency": 2
  }
                
Show full
Copied!
  {
    "format": 1,
    "report_name": "Zia Anomaly Summary",
    "type": 14,
    "anomaly_status": 1,
    "contact_ids": [
      {
        "contact_id": "53565000000014003",
        "contact_type": "1"
      }
    ],
    "frequency": 2
  }
                
Show full
Copied!
  {
    "isCustomTaggingCompliance": true,
    "format": 1,
    "taggingComplianceId": "33240000000667000",
    "report_name": "Tagging Compliance View Report",
    "type": 41,
    "contact_ids": [
      {
        "contact_id": "53565000000014003",
        "contact_type": "1"
      }
    ],
    "frequency": 4
  }
                
Show full
Copied!
  {
    "format": 1,
    "cost_ids": [
      "83",
      "84",
      "88"
    ],
    "report_name": "Monthly Budget Dashboard",
    "type": 7,
    "contact_ids": [
      {
        "contact_id": "53565000000014003",
        "contact_type": "1"
      }
    ],
    "frequency": 4
  }
                
Show full

Sample Response: HTTP 200

Copied!
  {
    "message": "success",
    "data": {
      "report_id": "33240000000775001"
    },
    "code": 0
  }
                
Show full

Sample Response: HTTP 400

Copied!
  {
    "message": "Bad Request",
    "error": "Invalid parameter format or missing required fields",
    "code": 400
  }
                
Show full

Sample Response: HTTP 401

Copied!
  {
    "message": "Unauthorized",
    "error": "Invalid authentication credentials or expired token",
    "code": 401
  }
                
Show full

Sample Response: HTTP 403

Copied!
  {
    "message": "Forbidden",
    "error": "Insufficient permissions to access this resource",
    "code": 403
  }
                
Show full

Sample Response: HTTP 500

Copied!
  {
    "message": "Internal Server Error",
    "error": "An unexpected error occurred while processing the request",
    "code": 500
  }
                
Show full
Endpoints

Sample Request

Curl
Copied!
curl --request GET \
  --url https://www.site24x7.com/cs/api/cost/compliance/tagging/cx_preference \
  --header 'Authorization:  d92d4xxxxxxxxxxxxx15f52'
Show full

Sample Response: HTTP 200

Copied!
  {
    "message": "success",
    "data": {
      "AWS": {
        "BILLED_ACCOUNTS": {
          "starred": false,
          "Count": "1",
          "Id": 3
        },
        "accounts": 1
      },
      "GCP": {
        "PROJECTS": {
          "starred": false,
          "Count": "1",
          "Id": 3
        },
        "accounts": 1
      },
      "AZURE": {
        "accounts": 0
      }
    },
    "code": 0
  }
                
Show full

Sample Response: HTTP 400

Copied!
  {
    "message": "Bad Request",
    "error": "Invalid parameter format or missing required fields",
    "code": 400
  }
                
Show full

Sample Response: HTTP 401

Copied!
  {
    "message": "Unauthorized",
    "error": "Invalid authentication credentials or expired token",
    "code": 401
  }
                
Show full

Sample Response: HTTP 403

Copied!
  {
    "message": "Forbidden",
    "error": "Insufficient permissions to access this resource",
    "code": 403
  }
                
Show full

Sample Response: HTTP 500

Copied!
  {
    "message": "Internal Server Error",
    "error": "An unexpected error occurred while processing the request",
    "code": 500
  }
                
Show full
Endpoints

Sample Request

Curl
Copied!
curl --request GET \
  --url https://www.site24x7.com/cs/api/reports/anomaly/all \
  --header 'Authorization:  d92d4xxxxxxxxxxxxx15f52'
Show full

Sample Response: HTTP 200

Copied!
  {
    "message": "success",
    "data": {
      "REPORTS": {
        "33240000000059001": [
          {
            "id": "5",
            "category": 1,
            "cost_account": "AWS Linked",
            "value": "us-east-1"
          },
          {
            "id": "9",
            "category": 2,
            "cost_account": "AWS Linked",
            "value": "AmazonES"
          }
        ]
      },
      "BU": [
        {
          "value": "test",
          "id": "78"
        },
        {
          "value": "test2",
          "id": "117"
        }
      ],
      "COST_ACCOUNT": [
        {
          "value": "AWS Linked",
          "id": "1"
        },
        {
          "value": "Azure linked account2",
          "id": "64"
        }
      ]
    },
    "code": 0
  }
                
Show full

Sample Response: HTTP 400

Copied!
  {
    "message": "Bad Request",
    "error": "Invalid parameter format or missing required fields",
    "code": 400
  }
                
Show full

Sample Response: HTTP 401

Copied!
  {
    "message": "Unauthorized",
    "error": "Invalid authentication credentials or expired token",
    "code": 401
  }
                
Show full

Sample Response: HTTP 403

Copied!
  {
    "message": "Forbidden",
    "error": "Insufficient permissions to access this resource",
    "code": 403
  }
                
Show full

Sample Response: HTTP 500

Copied!
  {
    "message": "Internal Server Error",
    "error": "An unexpected error occurred while processing the request",
    "code": 500
  }
                
Show full
Endpoints

Sample Request

Curl
Copied!
curl --request POST \
  --url https://www.site24x7.com/cs/api/cost/custom_report/common_widget_api \
  --header 'Authorization:  d92d4xxxxxxxxxxxxx15f52' \
  --header 'content-type: application/json' \
  --data '{"end_date":"2026-01-05","cost_tags":[],"period":1,"accounts":[{"cost_account_id":"33240000000011003","billing_account_ids":["33240000000012207","33240000000012021","33240000000012033","33240000000012001"]}],"cost_type":20,"start_date":"2026-01-01"}'
Show full

Sample Request Body

Copied!
  {
    "end_date": "2026-01-05",
    "cost_tags": [],
    "period": 1,
    "accounts": [
      {
        "cost_account_id": "33240000000011003",
        "billing_account_ids": [
          "33240000000012207",
          "33240000000012021",
          "33240000000012033",
          "33240000000012001"
        ]
      }
    ],
    "cost_type": 20,
    "start_date": "2026-01-01"
  }
                
Show full

Sample Response: HTTP 200

Copied!
  {
    "message": "success",
    "data": {
      "return_data": {
        "0": [
          [
            "US East",
            4.999
          ],
          [
            "IN South",
            3.939
          ],
          [
            "UK South",
            2.663
          ],
          [
            "US East 2",
            1.827
          ]
        ],
        "1": [
          [
            "microsoft.compute",
            9.616
          ],
          [
            "microsoft.network",
            3.712
          ],
          [
            "microsoft.storage",
            0.1
          ]
        ],
        "2": [
          [
            "Others",
            13.428
          ]
        ],
        "3": [
          {
            "name": "Usage",
            "value": 13.428
          }
        ]
      }
    },
    "code": 0
  }
                
Show full

Sample Response: HTTP 400

Copied!
  {
    "message": "Bad Request",
    "error": "Invalid parameter format or missing required fields",
    "code": 400
  }
                
Show full

Sample Response: HTTP 401

Copied!
  {
    "message": "Unauthorized",
    "error": "Invalid authentication credentials or expired token",
    "code": 401
  }
                
Show full

Sample Response: HTTP 403

Copied!
  {
    "message": "Forbidden",
    "error": "Insufficient permissions to access this resource",
    "code": 403
  }
                
Show full

Sample Response: HTTP 500

Copied!
  {
    "message": "Internal Server Error",
    "error": "An unexpected error occurred while processing the request",
    "code": 500
  }
                
Show full
Endpoints

Sample Request

Curl
Copied!
curl --request POST \
  --url https://www.site24x7.com/cs/api/cost/governance/ri_resouce_trend_chart \
  --header 'Authorization:  d92d4xxxxxxxxxxxxx15f52' \
  --header 'content-type: application/json' \
  --data '{"end_date":"2025-12-22","resource_id":"33240000000062935","accounts":[{"cost_account_id":"33240000000059001","billing_account_ids":["string"]}],"start_date":"2025-11-01"}'
Show full

Sample Request Body

Copied!
  {
    "end_date": "2025-12-22",
    "resource_id": "33240000000062935",
    "accounts": [
      {
        "cost_account_id": "33240000000059001",
        "billing_account_ids": [
          "string"
        ]
      }
    ],
    "start_date": "2025-11-01"
  }
                
Show full

Sample Response: HTTP 200

Copied!
  {
    "message": "success",
    "data": {
      "resource_cost": [
        [
          "2025-11-01T00:00:00+0530",
          695.297
        ],
        [
          "2025-12-01T00:00:00+0530",
          520.516
        ]
      ]
    },
    "code": 0
  }
                
Show full

Sample Response: HTTP 400

Copied!
  {
    "message": "Bad Request",
    "error": "Invalid parameter format or missing required fields",
    "code": 400
  }
                
Show full

Sample Response: HTTP 401

Copied!
  {
    "message": "Unauthorized",
    "error": "Invalid authentication credentials or expired token",
    "code": 401
  }
                
Show full

Sample Response: HTTP 500

Copied!
  {
    "message": "Internal Server Error",
    "error": "An unexpected error occurred while processing the request",
    "code": 500
  }
                
Show full
Endpoints

Sample Request

Curl
Copied!
curl --request GET \
  --url 'https://www.site24x7.com/cs/api/cost/reports/compliance/tagging/resource/meta?cloud_type=2&solution_report_id=3' \
  --header 'Authorization:  d92d4xxxxxxxxxxxxx15f52'
Show full

Sample Response: HTTP 200

Copied!
  {
    "message": "success",
    "code": 0
  }
                
Show full

Sample Response: HTTP 400

Copied!
  {
    "message": "Bad Request",
    "error": "Invalid parameter format or missing required fields",
    "code": 400
  }
                
Show full

Sample Response: HTTP 401

Copied!
  {
    "message": "Unauthorized",
    "error": "Invalid authentication credentials or expired token",
    "code": 401
  }
                
Show full

Sample Response: HTTP 403

Copied!
  {
    "message": "Forbidden",
    "error": "Insufficient permissions to access this resource",
    "code": 403
  }
                
Show full

Sample Response: HTTP 500

Copied!
  {
    "message": "Internal Server Error",
    "error": "An unexpected error occurred while processing the request",
    "code": 500
  }
                
Show full
Endpoints

Sample Request

Curl
Copied!
curl --request POST \
  --url https://www.site24x7.com/cs/api/cost/reports/unit/economics/custom/report \
  --header 'Authorization:  d92d4xxxxxxxxxxxxx15f52' \
  --header 'content-type: application/json' \
  --data '{"labels_to_add":[],"labels_to_delete":[],"account_type":0,"account_id":33240000000059000,"name":"My Unit Economics Report","label":[],"tags":"[]"}'
Show full

Sample Request Body

Copied!
  {
    "labels_to_add": [],
    "labels_to_delete": [],
    "account_type": 0,
    "account_id": 33240000000059000,
    "name": "My Unit Economics Report",
    "label": [],
    "tags": "[]"
  }
                
Show full

Sample Response: HTTP 200

Copied!
  {
    "message": "success",
    "code": 0
  }
                
Show full

Sample Response: HTTP 400

Copied!
  {
    "message": "Bad Request",
    "error": "Invalid parameter format or missing required fields",
    "code": 400
  }
                
Show full

Sample Response: HTTP 401

Copied!
  {
    "message": "Unauthorized",
    "error": "Invalid authentication credentials or expired token",
    "code": 401
  }
                
Show full

Sample Response: HTTP 403

Copied!
  {
    "message": "Forbidden",
    "error": "Insufficient permissions to access this resource",
    "code": 403
  }
                
Show full

Sample Response: HTTP 500

Copied!
  {
    "message": "Internal Server Error",
    "error": "An unexpected error occurred while processing the request",
    "code": 500
  }
                
Show full
Endpoints

Sample Request

Curl
Copied!
curl --request POST \
  --url https://www.site24x7.com/cs/api/cost/governance/ri_list \
  --header 'Authorization:  d92d4xxxxxxxxxxxxx15f52' \
  --header 'content-type: application/json' \
  --data '{"end_date":"2025-12-22","accounts":[{"cost_account_id":"33240000000059001","billing_account_ids":["33240000000060001"]}],"resource_ids":["33240000000062935"],"start_date":"2025-11-01"}'
Show full

Sample Request Body

Copied!
  {
    "end_date": "2025-12-22",
    "accounts": [
      {
        "cost_account_id": "33240000000059001",
        "billing_account_ids": [
          "33240000000060001"
        ]
      }
    ],
    "resource_ids": [
      "33240000000062935"
    ],
    "start_date": "2025-11-01"
  }
                
Show full

Sample Response: HTTP 200

Copied!
  {
    "message": "success",
    "code": 0
  }
                
Show full

Sample Response: HTTP 400

Copied!
  {
    "message": "Bad Request",
    "error": "Invalid parameter format or missing required fields",
    "code": 400
  }
                
Show full

Sample Response: HTTP 401

Copied!
  {
    "message": "Unauthorized",
    "error": "Invalid authentication credentials or expired token",
    "code": 401
  }
                
Show full

Sample Response: HTTP 500

Copied!
  {
    "message": "Internal Server Error",
    "error": "An unexpected error occurred while processing the request",
    "code": 500
  }
                
Show full
Endpoints

Sample Request

Curl
Copied!
curl --request POST \
  --url https://www.site24x7.com/cs/api/cost/cost_centers/spend_analysis/anomaly/details/report \
  --header 'Authorization:  d92d4xxxxxxxxxxxxx15f52' \
  --header 'content-type: application/json' \
  --data '{"cost_ids":["54"],"profile":{"profile_name":"monthly","period":11,"hour":0,"day":2,"timezone":"Asia/Kolkata"},"format":2,"report_name":"bu-ano-details","type":26,"contact_ids":[{"contact_id":"414994000001341003","contact_type":"2"}],"frequency":1}'
Show full

Sample Request Body

Copied!
  {
    "cost_ids": [
      "54"
    ],
    "profile": {
      "profile_name": "monthly",
      "period": 11,
      "hour": 0,
      "day": 2,
      "timezone": "Asia/Kolkata"
    },
    "format": 2,
    "report_name": "bu-ano-details",
    "type": 26,
    "contact_ids": [
      {
        "contact_id": "414994000001341003",
        "contact_type": "2"
      }
    ],
    "frequency": 1
  }
                
Show full
Copied!
  {
    "cost_ids": [
      "53"
    ],
    "profile": {
      "profile_id": "2"
    },
    "format": 1,
    "report_name": "anomaly-bu",
    "type": 26,
    "contact_ids": [
      {
        "contact_id": "414994000000025003",
        "contact_type": "1"
      }
    ],
    "frequency": 1
  }
                
Show full

Sample Response: HTTP 200

Copied!
  {
    "message": "success",
    "data": {
      "report_id": "403793000002962053"
    },
    "code": 0
  }
                
Show full

Sample Response: HTTP 400

Copied!
  {
    "message": "Bad Request",
    "error": "Invalid parameter format or missing required fields",
    "code": 400
  }
                
Show full

Sample Response: HTTP 401

Copied!
  {
    "message": "Unauthorized",
    "error": "Invalid authentication credentials or expired token",
    "code": 401
  }
                
Show full

Sample Response: HTTP 500

Copied!
  {
    "message": "Internal Server Error",
    "error": "An unexpected error occurred while processing the request",
    "code": 500
  }
                
Show full
Endpoints

Sample Request

Curl
Copied!
curl --request POST \
  --url https://www.site24x7.com/cs/api/cost/sol_reports/common_widget_api \
  --header 'Authorization:  d92d4xxxxxxxxxxxxx15f52' \
  --header 'content-type: application/json' \
  --data '{"end_date":"2026-02-13","cost_tags":[],"period":1,"business_unit_id":"33240000000636103","cost_type":0,"accounts":[{"cost_account_id":"33240000000635001","billing_account_ids":["33240000000636001"]}],"bu_type":1,"start_date":"2026-01-01"}'
Show full

Sample Request Body

Copied!
  {
    "end_date": "2026-02-13",
    "cost_tags": [],
    "period": 1,
    "business_unit_id": "33240000000636103",
    "cost_type": 0,
    "accounts": [
      {
        "cost_account_id": "33240000000635001",
        "billing_account_ids": [
          "33240000000636001"
        ]
      }
    ],
    "bu_type": 1,
    "start_date": "2026-01-01"
  }
                
Show full

Sample Response: HTTP 200

Copied!
  {
    "message": "success",
    "data": {
      "return_data": {
        "0": [
          [
            "us-east-1",
            5.989
          ]
        ],
        "1": [
          [
            "AmazonECS",
            5.989
          ]
        ],
        "2": [
          [
            "Others",
            5.989
          ]
        ],
        "3": [
          {
            "name": "Usage",
            "value": 5.989
          }
        ]
      }
    },
    "code": 0
  }
                
Show full
Endpoints

Sample Request

Curl
Copied!
curl --request GET \
  --url 'https://www.site24x7.com/cs/api/reports/anomaly/summary?status=1&start_date=2025-12-04&end_date=2026-01-08' \
  --header 'Authorization:  d92d4xxxxxxxxxxxxx15f52'
Show full

Sample Response: HTTP 200

Copied!
  {
    "message": "success",
    "data": {
      "summary_data": {
        "1": [
          [
            "us-east-1",
            1,
            0
          ]
        ],
        "2": [
          [
            "AmazonES",
            1,
            0
          ],
          [
            "AmazonRDS",
            1,
            0
          ]
        ],
        "3": [
          [
            "Azure subscription 1_Microsoft",
            2,
            1
          ],
          [
            "S247-AWS-team_AWS",
            1,
            0
          ]
        ],
        "10001": [
          [
            "AWS Linked",
            1,
            0
          ]
        ],
        "10002": [
          [
            "test2",
            1
          ],
          [
            "hybrid",
            1
          ]
        ]
      }
    },
    "code": 0
  }
                
Show full

Sample Response: HTTP 400

Copied!
  {
    "message": "Bad Request",
    "error": "Invalid parameter format or missing required fields",
    "code": 400
  }
                
Show full

Sample Response: HTTP 401

Copied!
  {
    "message": "Unauthorized",
    "error": "Invalid authentication credentials or expired token",
    "code": 401
  }
                
Show full

Sample Response: HTTP 403

Copied!
  {
    "message": "Forbidden",
    "error": "Insufficient permissions to access this resource",
    "code": 403
  }
                
Show full

Sample Response: HTTP 500

Copied!
  {
    "message": "Internal Server Error",
    "error": "An unexpected error occurred while processing the request",
    "code": 500
  }
                
Show full
Endpoints

Sample Request

Curl
Copied!
curl --request POST \
  --url https://www.site24x7.com/cs/api/cost/cost_centers/resource_explorer/report \
  --header 'Authorization:  d92d4xxxxxxxxxxxxx15f52' \
  --header 'content-type: application/json' \
  --data '{"cost_ids":["403793000002547001"],"profile":{"profile_id":"2"},"format":1,"report_name":"CC Resource Explorer Report","type":5,"bu_id":"403793000002547001","contact_ids":[{"contact_id":"414994000000025003","contact_type":"1"}],"group_by_type":3,"frequency":1}'
Show full

Sample Request Body

Copied!
  {
    "cost_ids": [
      "403793000002547001"
    ],
    "profile": {
      "profile_id": "2"
    },
    "format": 1,
    "report_name": "CC Resource Explorer Report",
    "type": 5,
    "bu_id": "403793000002547001",
    "contact_ids": [
      {
        "contact_id": "414994000000025003",
        "contact_type": "1"
      }
    ],
    "group_by_type": 3,
    "frequency": 1
  }
                
Show full
Copied!
  {
    "cost_ids": [
      "403793000002547001"
    ],
    "profile": {
      "profile_name": "test-weekly",
      "period": 7,
      "hour": 0,
      "day": 2,
      "timezone": "Asia/Kolkata"
    },
    "format": 1,
    "report_name": "new profile",
    "type": 5,
    "bu_id": "403793000002547001",
    "contact_ids": [
      {
        "contact_id": "414994000000025003",
        "contact_type": "1"
      }
    ],
    "group_by_type": 3,
    "frequency": 7
  }
                
Show full

Sample Response: HTTP 200

Copied!
  {
    "message": "success",
    "data": {
      "report_id": "403793000002962063"
    },
    "code": 0
  }
                
Show full

Sample Response: HTTP 400

Copied!
  {
    "message": "Bad Request",
    "error": "Invalid parameter format or missing required fields",
    "code": 400
  }
                
Show full

Sample Response: HTTP 401

Copied!
  {
    "message": "Unauthorized",
    "error": "Invalid authentication credentials or expired token",
    "code": 401
  }
                
Show full

Sample Response: HTTP 500

Copied!
  {
    "message": "Internal Server Error",
    "error": "An unexpected error occurred while processing the request",
    "code": 500
  }
                
Show full
Endpoints

Sample Request

Curl
Copied!
curl --request GET \
  --url https://www.site24x7.com/cs/api/cost/admin/rule/group/list \
  --header 'Authorization:  d92d4xxxxxxxxxxxxx15f52'
Show full

Sample Response: HTTP 200

Copied!
  {
    "message": "success",
    "data": [
      {
        "tagId": "33240000000111067",
        "ruleGroupId": "1",
        "ruleGroupName": "test"
      }
    ],
    "code": 0
  }
                
Show full

Sample Response: HTTP 400

Copied!
  {
    "message": "Bad Request",
    "error": "Invalid parameter format or missing required fields",
    "code": 400
  }
                
Show full

Sample Response: HTTP 401

Copied!
  {
    "message": "Unauthorized",
    "error": "Invalid authentication credentials or expired token",
    "code": 401
  }
                
Show full

Sample Response: HTTP 403

Copied!
  {
    "message": "Forbidden",
    "error": "Insufficient permissions to access this resource",
    "code": 403
  }
                
Show full

Sample Response: HTTP 500

Copied!
  {
    "message": "Internal Server Error",
    "error": "An unexpected error occurred while processing the request",
    "code": 500
  }
                
Show full
Endpoints

Sample Request

Curl
Copied!
curl --request GET \
  --url 'https://www.site24x7.com/cs/api/cost/governance/checks/rca/billed_resource/names?ruleChecksId=109&incidentTime=1769904000000' \
  --header 'Authorization:  d92d4xxxxxxxxxxxxx15f52'
Show full

Sample Response: HTTP 200

Copied!
  {
    "message": "success",
    "data": [
      {
        "resource_name": "Site24x7StackSetHandler2ad77af0ec7c11f0acf00affd3090f67:$LATEST",
        "resource_id": "33240000000686361",
        "billed_account_name": "S247-AWS-team"
      }
    ],
    "code": 0
  }
                
Show full

Sample Response: HTTP 400

Copied!
  {
    "message": "Bad Request",
    "error": "Invalid parameter format or missing required fields",
    "code": 400
  }
                
Show full

Sample Response: HTTP 401

Copied!
  {
    "message": "Unauthorized",
    "error": "Invalid authentication credentials or expired token",
    "code": 401
  }
                
Show full

Sample Response: HTTP 500

Copied!
  {
    "message": "Internal Server Error",
    "error": "An unexpected error occurred while processing the request",
    "code": 500
  }
                
Show full
Endpoints

Sample Request

Curl
Copied!
curl --request GET \
  --url https://www.site24x7.com/cs/api/cost/budget/currencies_format \
  --header 'Authorization:  d92d4xxxxxxxxxxxxx15f52'
Show full

Sample Response: HTTP 200

Copied!
  {
    "message": "success",
    "data": [
      {
        "currency": "USD",
        "format_value": "$ 7,000,000.52"
      },
      {
        "currency": "INR",
        "format_value": "INR 70,00,000.52"
      },
      {
        "currency": "EUR",
        "format_value": "EUR 7.000.000,52"
      }
    ],
    "code": 0
  }
                
Show full

Sample Response: HTTP 400

Copied!
  {
    "message": "Bad Request",
    "error": "Invalid parameter format or missing required fields",
    "code": 400
  }
                
Show full

Sample Response: HTTP 401

Copied!
  {
    "message": "Unauthorized",
    "error": "Invalid authentication credentials or expired token",
    "code": 401
  }
                
Show full

Sample Response: HTTP 500

Copied!
  {
    "message": "Internal Server Error",
    "error": "An unexpected error occurred while processing the request",
    "code": 500
  }
                
Show full
Endpoints

Sample Request

Curl
Copied!
curl --request GET \
  --url 'https://www.site24x7.com/cs/api/cost/cost_centers/cc_spend_analysis?auto_bu=false&business_unit_id=33412000000925017&billed_account_id=33412000000925019' \
  --header 'Authorization:  d92d4xxxxxxxxxxxxx15f52'
Show full

Sample Response: HTTP 200

Copied!
  {
    "message": "success",
    "data": {
      "max_date": "2025-11-19T13:03:33+0530",
      "is_hybrid_account": true,
      "cost_account_ids": [
        "33412000000178017",
        "33412000000219009",
        "33412000000629001"
      ],
      "all_accounts": [
        {
          "child_accounts": [
            {
              "billing_account_id": "33412000000179023",
              "name": "Subscription-2_Marketplace (Azure Account)",
              "aws_account_id": "7ec79aea-afa9-4671-b72d-bcb7c902bd14",
              "cost_account_id": "33412000000178017",
              "is_payer_account": false,
              "name_with_entity": "Subscription-2_Marketplace (Azure Account)"
            }
          ],
          "account_name": "new bu",
          "business_unit_tags": [
            {
              "v": "1003",
              "id": "33412000000180031"
            }
          ],
          "default_tags": [
            {
              "tagId": "33412000000180031",
              "value": "microsoft.network",
              "v": 1003,
              "key": "consumedService"
            }
          ],
          "id": "33412000000925017",
          "integrated_zaaids": [
            "101564774"
          ],
          "bu_type": 0
        }
      ],
      "min_date": "2025-03-01T00:00:00+0000"
    },
    "code": 0
  }
                
Show full

Sample Response: HTTP 400

Copied!
  {
    "message": "Bad Request",
    "error": "Invalid parameter format or missing required fields",
    "code": 400
  }
                
Show full

Sample Response: HTTP 401

Copied!
  {
    "message": "Unauthorized",
    "error": "Invalid authentication credentials or expired token",
    "code": 401
  }
                
Show full

Sample Response: HTTP 500

Copied!
  {
    "message": "Internal Server Error",
    "error": "An unexpected error occurred while processing the request",
    "code": 500
  }
                
Show full
Endpoints

Sample Request

Curl
Copied!
curl --request POST \
  --url https://www.site24x7.com/cs/api/cost/cost_centers/report \
  --header 'Authorization:  d92d4xxxxxxxxxxxxx15f52' \
  --header 'content-type: application/json' \
  --data '{"cost_ids":["403793000000996001","403793000000999001","403793000002487005"],"profile":{"profile_id":"1"},"format":1,"report_name":"bu-dash","type":6,"contact_ids":[{"contact_id":"414994000000025003","contact_type":"1"}],"frequency":1}'
Show full

Sample Request Body

Generate monthly PDF dashboard using existing profile and individual user delivery

Copied!
  {
    "cost_ids": [
      "403793000000996001",
      "403793000000999001",
      "403793000002487005"
    ],
    "profile": {
      "profile_id": "1"
    },
    "format": 1,
    "report_name": "bu-dash",
    "type": 6,
    "contact_ids": [
      {
        "contact_id": "414994000000025003",
        "contact_type": "1"
      }
    ],
    "frequency": 1
  }
                
Show full

Generate weekly CSV dashboard with new profile and user group delivery

Copied!
  {
    "cost_ids": [
      "403793000000996001",
      "403793000000999001",
      "403793000002487005"
    ],
    "profile": {
      "profile_name": "weekly",
      "period": 14,
      "hour": 0,
      "day": 2,
      "timezone": "Asia/Kolkata"
    },
    "format": 2,
    "report_name": "bu-dash-weekly",
    "type": 6,
    "contact_ids": [
      {
        "contact_id": "414994000001341003",
        "contact_type": "2"
      }
    ],
    "frequency": 7
  }
                
Show full

Generate weekly CSV dashboard for multiple user groups using existing weekly profile

Copied!
  {
    "cost_ids": [
      "403793000000996001",
      "403793000000999001",
      "403793000002657005"
    ],
    "profile": {
      "profile_id": "6"
    },
    "format": 2,
    "report_name": "weekly-bu",
    "type": 6,
    "contact_ids": [
      {
        "contact_id": "414994000001341003",
        "contact_type": "2"
      },
      {
        "contact_id": "414994000000213001",
        "contact_type": "2"
      }
    ],
    "frequency": 7
  }
                
Show full

Sample Response: HTTP 200

Copied!
  {
    "message": "success",
    "data": {
      "report_id": "403793000002890001",
      "status": "scheduled"
    },
    "code": 0
  }
                
Show full

Sample Response: HTTP 400

Copied!
  {
    "message": "Bad Request",
    "error": "Invalid parameter format or missing required fields",
    "code": 400
  }
                
Show full

Sample Response: HTTP 401

Copied!
  {
    "message": "Unauthorized",
    "error": "Invalid authentication credentials or expired token",
    "code": 401
  }
                
Show full

Sample Response: HTTP 500

Copied!
  {
    "message": "Internal Server Error",
    "error": "An unexpected error occurred while processing the request",
    "code": 500
  }
                
Show full
Endpoints

Sample Request

Curl
Copied!
curl --request GET \
  --url https://www.site24x7.com/cs/api/cost/user_roles \
  --header 'Authorization:  d92d4xxxxxxxxxxxxx15f52'
Show full

Sample Response: HTTP 200

Copied!
  {
    "message": "success",
    "data": {
      "return_data": [
        {
          "account_type": 0,
          "last_updated_time": "2025-09-16T22:09:10+0530",
          "product_id": 2,
          "name": "newuser",
          "description": "newuser",
          "tag_id": "33240000000133105",
          "id": "53565000000081005",
          "created_by": "89170285"
        }
      ]
    },
    "code": 0
  }
                
Show full

Sample Response: HTTP 400

Copied!
  {
    "message": "Bad Request",
    "error": "Invalid parameter format or missing required fields",
    "code": 400
  }
                
Show full

Sample Response: HTTP 401

Copied!
  {
    "message": "Unauthorized",
    "error": "Invalid authentication credentials or expired token",
    "code": 401
  }
                
Show full

Sample Response: HTTP 403

Copied!
  {
    "message": "Forbidden",
    "error": "Insufficient permissions to access this resource",
    "code": 403
  }
                
Show full

Sample Response: HTTP 500

Copied!
  {
    "message": "Internal Server Error",
    "error": "An unexpected error occurred while processing the request",
    "code": 500
  }
                
Show full
Endpoints

Sample Request

Curl
Copied!
curl --request GET \
  --url https://www.site24x7.com/cs/api/cost/budget/budget_policys/0 \
  --header 'Authorization:  d92d4xxxxxxxxxxxxx15f52'
Show full

Sample Response: HTTP 200

Copied!
  {
    "message": "success",
    "data": {
      "data": [
        {
          "policy_type": "",
          "account_type": 0,
          "account_id": "33240000000011003",
          "policy_id": "57",
          "cost_type": 20,
          "policy_name": "test",
          "budget_tags": [
            {
              "v": "10",
              "id": "33240000000111031"
            }
          ],
          "integrated_zaaids": [
            "34700657"
          ],
          "budgets_count": 2
        }
      ]
    },
    "code": 0
  }
                
Show full

Sample Response: HTTP 400

Copied!
  {
    "message": "Bad Request",
    "error": "Invalid parameter format or missing required fields",
    "code": 400
  }
                
Show full

Sample Response: HTTP 401

Copied!
  {
    "message": "Unauthorized",
    "error": "Invalid authentication credentials or expired token",
    "code": 401
  }
                
Show full

Sample Response: HTTP 500

Copied!
  {
    "message": "Internal Server Error",
    "error": "An unexpected error occurred while processing the request",
    "code": 500
  }
                
Show full
Endpoints

Sample Request

Curl
Copied!
curl --request POST \
  --url https://www.site24x7.com/cs/api/cost/cost_centers/group_by_property \
  --header 'Authorization:  d92d4xxxxxxxxxxxxx15f52' \
  --header 'content-type: application/json' \
  --data '{"end_date":"2025-11-28","cost_tags":[],"period":1,"business_unit_id":"403793000002710025","cost_type":0,"accounts":[{"cost_account_id":"403793000001435001","billing_account_ids":["403793000001434279","403793000001436777"]}],"bu_type":0,"group_by_type":"region","start_date":"2025-10-01"}'
Show full

Sample Request Body

Regional cost breakdown for geographic optimization

Copied!
  {
    "end_date": "2025-11-28",
    "cost_tags": [],
    "period": 1,
    "business_unit_id": "403793000002710025",
    "cost_type": 0,
    "accounts": [
      {
        "cost_account_id": "403793000001435001",
        "billing_account_ids": [
          "403793000001434279",
          "403793000001436777"
        ]
      }
    ],
    "bu_type": 0,
    "group_by_type": "region",
    "start_date": "2025-10-01"
  }
                
Show full

Standard account-wise cost allocation without tag filtering

Copied!
  {
    "end_date": "2025-11-28",
    "cost_tags": [],
    "period": 1,
    "business_unit_id": "403793000002710025",
    "cost_type": 0,
    "accounts": [
      {
        "cost_account_id": "403793000001435001",
        "billing_account_ids": [
          "403793000001434279",
          "403793000001436777"
        ]
      },
      {
        "cost_account_id": "403793000001770003",
        "billing_account_ids": [
          "403793000001771021",
          "403793000001771047"
        ]
      }
    ],
    "bu_type": 0,
    "group_by_type": "accounts",
    "start_date": "2025-10-01"
  }
                
Show full

Cloud service cost analysis (EC2, S3, RDS, etc.)

Copied!
  {
    "end_date": "2025-11-28",
    "cost_tags": [],
    "period": 1,
    "business_unit_id": "403793000002710025",
    "cost_type": 0,
    "accounts": [
      {
        "cost_account_id": "403793000001435001",
        "billing_account_ids": [
          "403793000001434279",
          "403793000001436777"
        ]
      }
    ],
    "bu_type": 0,
    "group_by_type": "service",
    "start_date": "2025-10-01"
  }
                
Show full

Must include cost_tags:[] AND group_by_tags for tag grouping to work properly

Copied!
  {
    "end_date": "2025-12-04",
    "cost_tags": [],
    "period": 1,
    "business_unit_id": "33240000000537001",
    "cost_type": 0,
    "group_by_tags": [
      {
        "v": 1001,
        "id": "33240000000012023"
      }
    ],
    "accounts": [
      {
        "cost_account_id": "33240000000011003",
        "billing_account_ids": [
          "33240000000012001",
          "33240000000012021",
          "33240000000012033",
          "33240000000012207",
          "33240000000216281"
        ]
      },
      {
        "cost_account_id": "33240000000059001",
        "billing_account_ids": [
          "33240000000060001"
        ]
      }
    ],
    "bu_type": 0,
    "group_by_type": "tag",
    "start_date": "2025-11-01"
  }
                
Show full

Sample Response: HTTP 200

Service-level cost breakdown for optimization and rightsizing

Copied!
  {
    "message": "success",
    "data": {
      "return_data": {
        "mode": 1,
        "values": {
          "AmazonS3": {
            "cloud_account_id": "AmazonS3",
            "property": {
              "v": 0,
              "id": "s3"
            },
            "chart_data": [
              [
                "2025-10-01T00:00:00+0530",
                567.89
              ],
              [
                "2025-10-15T00:00:00+0530",
                634.12
              ],
              [
                "2025-11-01T00:00:00+0530",
                589.34
              ]
            ]
          },
          "microsoft.compute": {
            "cloud_account_id": "microsoft.compute",
            "property": {
              "v": 0,
              "id": "azure-compute"
            },
            "chart_data": [
              [
                "2025-10-01T00:00:00+0530",
                2134.45
              ],
              [
                "2025-10-15T00:00:00+0530",
                2267.89
              ],
              [
                "2025-11-01T00:00:00+0530",
                2198.12
              ]
            ]
          },
          "AmazonEC2": {
            "cloud_account_id": "AmazonEC2",
            "property": {
              "v": 0,
              "id": "ec2"
            },
            "chart_data": [
              [
                "2025-10-01T00:00:00+0530",
                3456.78
              ],
              [
                "2025-10-15T00:00:00+0530",
                3789.23
              ],
              [
                "2025-11-01T00:00:00+0530",
                3567.45
              ]
            ]
          },
          "AmazonRDS": {
            "cloud_account_id": "AmazonRDS",
            "property": {
              "v": 0,
              "id": "rds"
            },
            "chart_data": [
              [
                "2025-10-01T00:00:00+0530",
                1234.56
              ],
              [
                "2025-10-15T00:00:00+0530",
                1345.67
              ],
              [
                "2025-11-01T00:00:00+0530",
                1289.78
              ]
            ]
          }
        }
      }
    },
    "code": 0
  }
                
Show full

Resource type cost breakdown for infrastructure optimization

Copied!
  {
    "message": "success",
    "data": {
      "return_data": {
        "mode": 1,
        "values": {
          "Storage": {
            "cloud_account_id": "storage",
            "property": {
              "v": 0,
              "id": "storage"
            },
            "chart_data": [
              [
                "2025-10-01T00:00:00+0530",
                1234.56
              ],
              [
                "2025-10-15T00:00:00+0530",
                1345.67
              ],
              [
                "2025-11-01T00:00:00+0530",
                1289.78
              ]
            ]
          },
          "Databases": {
            "cloud_account_id": "databases",
            "property": {
              "v": 0,
              "id": "database"
            },
            "chart_data": [
              [
                "2025-10-01T00:00:00+0530",
                1567.34
              ],
              [
                "2025-10-15T00:00:00+0530",
                1689.12
              ],
              [
                "2025-11-01T00:00:00+0530",
                1634.78
              ]
            ]
          },
          "Virtual Machines": {
            "cloud_account_id": "virtual-machines",
            "property": {
              "v": 0,
              "id": "vm"
            },
            "chart_data": [
              [
                "2025-10-01T00:00:00+0530",
                4567.89
              ],
              [
                "2025-10-15T00:00:00+0530",
                4789.23
              ],
              [
                "2025-11-01T00:00:00+0530",
                4623.45
              ]
            ]
          },
          "Network": {
            "cloud_account_id": "network",
            "property": {
              "v": 0,
              "id": "network"
            },
            "chart_data": [
              [
                "2025-10-01T00:00:00+0530",
                678.9
              ],
              [
                "2025-10-15T00:00:00+0530",
                734.12
              ],
              [
                "2025-11-01T00:00:00+0530",
                698.45
              ]
            ]
          }
        }
      }
    },
    "code": 0
  }
                
Show full

Tag-based cost allocation using custom business tags (Environment, Department, Project, etc.)

Copied!
  {
    "message": "success",
    "data": {
      "return_data": {
        "mode": 1,
        "values": {
          "prod": {
            "cloud_account_id": "prod",
            "property": {
              "v": 10,
              "id": "403793000002710023"
            },
            "chart_data": [
              [
                "2025-10-01T00:00:00+0530",
                5678.9
              ],
              [
                "2025-10-15T00:00:00+0530",
                6123.45
              ],
              [
                "2025-11-01T00:00:00+0530",
                5834.67
              ]
            ]
          },
          "engineering": {
            "cloud_account_id": "engineering",
            "property": {
              "v": 5,
              "id": "403793000002710025"
            },
            "chart_data": [
              [
                "2025-10-01T00:00:00+0530",
                3456.78
              ],
              [
                "2025-10-15T00:00:00+0530",
                3789.12
              ],
              [
                "2025-11-01T00:00:00+0530",
                3623.45
              ]
            ]
          },
          "dev": {
            "cloud_account_id": "dev",
            "property": {
              "v": 10,
              "id": "403793000002710023"
            },
            "chart_data": [
              [
                "2025-10-01T00:00:00+0530",
                1234.56
              ],
              [
                "2025-10-15T00:00:00+0530",
                1345.67
              ],
              [
                "2025-11-01T00:00:00+0530",
                1289.78
              ]
            ]
          },
          "staging": {
            "cloud_account_id": "staging",
            "property": {
              "v": 10,
              "id": "403793000002710023"
            },
            "chart_data": [
              [
                "2025-10-01T00:00:00+0530",
                456.78
              ],
              [
                "2025-10-15T00:00:00+0530",
                534.12
              ],
              [
                "2025-11-01T00:00:00+0530",
                489.34
              ]
            ]
          },
          "finance": {
            "cloud_account_id": "finance",
            "property": {
              "v": 5,
              "id": "403793000002710025"
            },
            "chart_data": [
              [
                "2025-10-01T00:00:00+0530",
                2345.67
              ],
              [
                "2025-10-15T00:00:00+0530",
                2567.89
              ],
              [
                "2025-11-01T00:00:00+0530",
                2423.45
              ]
            ]
          }
        }
      }
    },
    "code": 0
  }
                
Show full

Account-wise cost allocation showing individual account costs with names

Copied!
  {
    "message": "success",
    "data": {
      "return_data": {
        "mode": 1,
        "values": {
          "Development-Account-West": {
            "cloud_account_id": "816536318813",
            "property": {
              "v": 0,
              "id": "403793000001771091"
            },
            "chart_data": [
              [
                "2025-10-01T00:00:00+0530",
                574.95
              ],
              [
                "2025-10-15T00:00:00+0530",
                612.3
              ],
              [
                "2025-11-01T00:00:00+0530",
                504.5
              ]
            ]
          },
          "Production-Account-East": {
            "cloud_account_id": "362952863669",
            "property": {
              "v": 0,
              "id": "403793000001771569"
            },
            "chart_data": [
              [
                "2025-10-01T00:00:00+0530",
                1245.83
              ],
              [
                "2025-10-15T00:00:00+0530",
                1456.37
              ],
              [
                "2025-11-01T00:00:00+0530",
                1378.22
              ]
            ]
          },
          "Staging-Account-Central": {
            "cloud_account_id": "063251190422",
            "property": {
              "v": 0,
              "id": "403793000001434279"
            },
            "chart_data": [
              [
                "2025-10-01T00:00:00+0530",
                341.45
              ],
              [
                "2025-10-15T00:00:00+0530",
                389.12
              ],
              [
                "2025-11-01T00:00:00+0530",
                276.61
              ]
            ]
          }
        }
      }
    },
    "code": 0
  }
                
Show full

Regional cost breakdown for geographic optimization and compliance

Copied!
  {
    "message": "success",
    "data": {
      "return_data": {
        "mode": 1,
        "values": {
          "us-east-1": {
            "cloud_account_id": "us-east-1",
            "property": {
              "v": 0,
              "id": "us-east-1"
            },
            "chart_data": [
              [
                "2025-10-01T00:00:00+0530",
                2845.67
              ],
              [
                "2025-10-15T00:00:00+0530",
                3156.89
              ],
              [
                "2025-11-01T00:00:00+0530",
                2978.45
              ]
            ]
          },
          "ap-south-1": {
            "cloud_account_id": "ap-south-1",
            "property": {
              "v": 0,
              "id": "ap-south-1"
            },
            "chart_data": [
              [
                "2025-10-01T00:00:00+0530",
                756.34
              ],
              [
                "2025-10-15T00:00:00+0530",
                834.56
              ],
              [
                "2025-11-01T00:00:00+0530",
                712.89
              ]
            ]
          },
          "eu-west-1": {
            "cloud_account_id": "eu-west-1",
            "property": {
              "v": 0,
              "id": "eu-west-1"
            },
            "chart_data": [
              [
                "2025-10-01T00:00:00+0530",
                1574.23
              ],
              [
                "2025-10-15T00:00:00+0530",
                1689.12
              ],
              [
                "2025-11-01T00:00:00+0530",
                1456.78
              ]
            ]
          }
        }
      }
    },
    "code": 0
  }
                
Show full

Sample Response: HTTP 400

Copied!
  {
    "message": "Bad Request",
    "error": "Invalid parameter format or missing required fields",
    "code": 400
  }
                
Show full

Sample Response: HTTP 401

Copied!
  {
    "message": "Unauthorized",
    "error": "Invalid authentication credentials or expired token",
    "code": 401
  }
                
Show full

Sample Response: HTTP 500

Copied!
  {
    "message": "Internal Server Error",
    "error": "An unexpected error occurred while processing the request",
    "code": 500
  }
                
Show full
Endpoints

Sample Request

Curl
Copied!
curl --request GET \
  --url https://www.site24x7.com/cs/api/cost/budget/budget_info/73 \
  --header 'Authorization:  d92d4xxxxxxxxxxxxx15f52'
Show full

Sample Response: HTTP 200

Copied!
  {
    "message": "success",
    "data": {
      "alerts": [
        {
          "end_date": "2026-01-01T00:00:00+0530",
          "start_time": "1764547200000",
          "notified_date": "2025-12-02T05:32:19+0530",
          "notified_Time": "1764633739033",
          "start_date_num": "2025-12-01T00:00:00+0530",
          "usage": 18.691,
          "end_time": "1767225600000",
          "deviation": -17.691,
          "threshold": 1,
          "start_date": "Dec-2025",
          "budget": 1
        }
      ],
      "info": {
        "created_time": "08-Oct-2025 15:20",
        "period": "Monthly",
        "forecasted_val": 786.592,
        "currency_locale": "en-IN",
        "forecast_percent": 100,
        "notify_via": 1,
        "budget_percent": 100,
        "currency_code": "INR",
        "budgeted": 1,
        "mode": "Amount",
        "period_rh": "cl.cst.monthly",
        "currency_unicode": "INR",
        "last_updated_time": "08-Oct-2025 15:20",
        "mode_id": 1,
        "name": "Alert_Mail_2",
        "usage_value": 29.663,
        "policy": {
          "account_type": 0,
          "account_id": "403793000000852003",
          "policy_id": "35",
          "cost_type": "ACTUAL_COST",
          "account_name": "GCP",
          "policy_name": "SampleGCP",
          "tags": {}
        },
        "status": 1
      }
    },
    "code": 0
  }
                
Show full

Sample Response: HTTP 400

Copied!
  {
    "message": "Bad Request",
    "error": "Invalid parameter format or missing required fields",
    "code": 400
  }
                
Show full

Sample Response: HTTP 401

Copied!
  {
    "message": "Unauthorized",
    "error": "Invalid authentication credentials or expired token",
    "code": 401
  }
                
Show full

Sample Response: HTTP 500

Copied!
  {
    "message": "Internal Server Error",
    "error": "An unexpected error occurred while processing the request",
    "code": 500
  }
                
Show full
Endpoints

Sample Request

Curl
Copied!
curl --request POST \
  --url https://www.site24x7.com/cs/api/cost/admin/tag/virtual/list \
  --header 'Authorization:  d92d4xxxxxxxxxxxxx15f52' \
  --header 'content-type: application/json' \
  --data '{"admin_sub_module_id":[0],"report_sub_module_id":[0],"module_id":[1]}'
Show full

Sample Request Body

Copied!
  {
    "admin_sub_module_id": [
      0
    ],
    "report_sub_module_id": [
      0
    ],
    "module_id": [
      1
    ]
  }
                
Show full

Sample Response: HTTP 200

Copied!
  {
    "message": "success",
    "data": [
      {
        "rulesDeleted": "",
        "tagId": "33240000000133105",
        "tagValue": "sun",
        "rulesAdded": "",
        "ruleGroupName": "",
        "rules": "",
        "tagName": "vTag",
        "ruleGroupId": "3",
        "costUserId": "33240000000011001",
        "moduleAllowed": "",
        "tagVariation": 10000,
        "rulesEdited": "",
        "adminSubModuleAllowed": "",
        "reportSubModuleAllowed": ""
      }
    ],
    "code": 0
  }
                
Show full

Sample Response: HTTP 400

Copied!
  {
    "message": "Bad Request",
    "error": "Invalid parameter format or missing required fields",
    "code": 400
  }
                
Show full

Sample Response: HTTP 401

Copied!
  {
    "message": "Unauthorized",
    "error": "Invalid authentication credentials or expired token",
    "code": 401
  }
                
Show full

Sample Response: HTTP 403

Copied!
  {
    "message": "Forbidden",
    "error": "Insufficient permissions to access this resource",
    "code": 403
  }
                
Show full

Sample Response: HTTP 500

Copied!
  {
    "message": "Internal Server Error",
    "error": "An unexpected error occurred while processing the request",
    "code": 500
  }
                
Show full
Endpoints

Sample Request

Curl
Copied!
curl --request GET \
  --url https://www.site24x7.com/cs/api/cost/accounts/accounts_data \
  --header 'Authorization:  d92d4xxxxxxxxxxxxx15f52'
Show full

Sample Response: HTTP 200

Copied!
  {
    " REMINDER": "Never use 'AWS Linked test', 'S247-AWS-team' from this template - use actual API response data only",
    "code": 0,
    "data": {
      "all_accounts": [
        {
          "zaaid": "ACTUAL_ZAAID",
          "child_accounts": [
            {
              "billing_account_id": "ACTUAL_BILLING_ACCOUNT_ID",
              "name": "ACTUAL_CHILD_ACCOUNT_NAME",
              "cloud_type": "ACTUAL_CLOUD_TYPE",
              "aws_account_id": "ACTUAL_AWS_ACCOUNT_ID",
              "is_payer_account": "ACTUAL_PAYER_STATUS",
              "name_with_entity": "ACTUAL_CHILD_ACCOUNT_WITH_ENTITY"
            }
          ],
          "cloud_type": "ACTUAL_CLOUD_TYPE",
          "cost_account_id": "ACTUAL_COST_ACCOUNT_ID",
          "account_name": "ACTUAL_PARENT_ACCOUNT_NAME"
        }
      ]
    },
    "message": "success",
    " AGENTS: THIS IS ONLY AN EXAMPLE TEMPLATE - NEVER USE AS REAL DATA": "ALWAYS make actual API calls to get real response data. This example shows structure only."
  }
                
Show full

Sample Response: HTTP 400

Copied!
  {
    "message": "Bad Request",
    "error": "Invalid parameter format or missing required fields",
    "code": 400
  }
                
Show full

Sample Response: HTTP 401

Copied!
  {
    "message": "Unauthorized",
    "error": "Invalid authentication credentials or expired token",
    "code": 401
  }
                
Show full

Sample Response: HTTP 404

Copied!
  {
    "message": "Not Found",
    "error": "The requested resource was not found",
    "code": 404
  }
                
Show full

Sample Response: HTTP 500

Copied!
  {
    "message": "Internal Server Error",
    "error": "An unexpected error occurred while processing the request",
    "code": 500
  }
                
Show full
Endpoints

Sample Request

Curl
Copied!
curl --request GET \
  --url 'https://www.site24x7.com/cs/api/cost/anomaly/users?JSONString=%7B%22module_id%22:4,%22sub_module_id%22:1,%22source_details%22:%7B%22budget_policy_id%22:%223%22%7D%7D' \
  --header 'Authorization:  d92d4xxxxxxxxxxxxx15f52'
Show full

Sample Response: HTTP 200

Copied!
  {
    "message": "success",
    "data": {
      "org_info": {
        "zd_security": "https://directory.localzoho.com/directory/enable?app_name=site24x7&zaaid=89335240&company_name=JaneSmith - Site24x7&is_auto_setup=true&module=security",
        "name": "JaneSmith - Site24x7",
        "admin": "jane.smith@example.com",
        "zd_users": "https://directory.localzoho.com/directory/enable?app_name=site24x7&zaaid=89335240&company_name=JaneSmith - Site24x7&is_auto_setup=true",
        "zd_org": "https://directory.localzoho.com/directory/enable?app_name=site24x7&zaaid=89335240&company_name=JaneSmith - Site24x7&is_auto_setup=true",
        "is_org_admin": true
      },
      "from_email": "noreply@localsite24x7.com",
      "contact_id": "53565000000014003",
      "users": [
        {
          "is_account_contact": true,
          "cloudspend_role": 12,
          "last_login_time": "2025-12-16T17:57:04+0530",
          "is_invited": false,
          "invited_by": "89170285",
          "display_name": "Jane Smith",
          "user_role_name": "Super Admin",
          "org_role": 2,
          "cloudspend_role_name": "Cost Administrator",
          "zuid": "89170285",
          "statusiq_role_name": "StatusIQ Super Admin",
          "selection_type": 0,
          "user_role": 1,
          "statusiq_role": 21,
          "email_address": "jane.smith@example.com",
          "last_updated_time": "2025-09-16T23:30:13+0530",
          "user_id": "53565000000014003",
          "sitescan_role": 16,
          "photo_url": "",
          "sitescan_role_name": "Digital Risk Analyzer Admin",
          "notify_medium": [
            1
          ]
        }
      ],
      "user_groups": [
        {
          "is_master_group": true,
          "attribute_group_id": "53565000000014005",
          "display_name": "Admin Group",
          "user_group_id": "53565000000014007",
          "users": [
            "53565000000014003"
          ],
          "product_id": 0
        }
      ]
    },
    "code": 0
  }
                
Show full

Sample Response: HTTP 400

Copied!
  {
    "message": "Bad Request",
    "error": "Invalid parameter format or missing required fields",
    "code": 400
  }
                
Show full

Sample Response: HTTP 401

Copied!
  {
    "message": "Unauthorized",
    "error": "Invalid authentication credentials or expired token",
    "code": 401
  }
                
Show full

Sample Response: HTTP 500

Copied!
  {
    "message": "Internal Server Error",
    "error": "An unexpected error occurred while processing the request",
    "code": 500
  }
                
Show full
Endpoints

Sample Request

Curl
Copied!
curl --request GET \
  --url https://www.site24x7.com/cs/api/cost/budget/budget_alerts/73 \
  --header 'Authorization:  d92d4xxxxxxxxxxxxx15f52'
Show full

Sample Response: HTTP 200

Copied!
  {
    "message": "success",
    "data": {
      "alerts": [
        {
          "end_date": "2026-01-01T00:00:00+0530",
          "start_time": "1764547200000",
          "notified_date": "2025-12-02T05:32:19+0530",
          "notified_Time": "1764633739033",
          "start_date_num": "2025-12-01T00:00:00+0530",
          "usage": 18.691,
          "end_time": "1767225600000",
          "deviation": -17.691,
          "threshold": 1,
          "start_date": "Dec-2025",
          "budget": 1
        }
      ],
      "meta": {
        "created_time": "08-Oct-2025 15:20",
        "account_type": 0,
        "budget_name": "Alert_Mail_2",
        "currency_symbol": "INR",
        "currency_locale": "en-IN",
        "currency_code": "INR",
        "status": 1
      }
    },
    "code": 0
  }
                
Show full

Sample Response: HTTP 400

Copied!
  {
    "message": "Bad Request",
    "error": "Invalid parameter format or missing required fields",
    "code": 400
  }
                
Show full

Sample Response: HTTP 401

Copied!
  {
    "message": "Unauthorized",
    "error": "Invalid authentication credentials or expired token",
    "code": 401
  }
                
Show full

Sample Response: HTTP 500

Copied!
  {
    "message": "Internal Server Error",
    "error": "An unexpected error occurred while processing the request",
    "code": 500
  }
                
Show full
Endpoints

Sample Request

Curl
Copied!
curl --request POST \
  --url https://www.site24x7.com/cs/api/cost/accounts/resource_pagination \
  --header 'Authorization:  d92d4xxxxxxxxxxxxx15f52' \
  --header 'content-type: application/json' \
  --data '{"end_date":"2019-08-24","cost_tags":["string"],"period":-1,"cost_type":0,"property":{"v":1,"id":"33240000000060007"},"group_by_tags":[{"v":1,"id":"33240000000060007"}],"accounts":[{"cost_account_id":"string","billing_account_ids":["string"]}],"resource_ids":["string"],"group_by_type":"string","start_date":"2019-08-24"}'
Show full

Sample Request Body

Copied!
  {
    "end_date": "2019-08-24",
    "cost_tags": [
      "string"
    ],
    "period": -1,
    "cost_type": 0,
    "property": {
      "v": 1,
      "id": "33240000000060007"
    },
    "group_by_tags": [
      {
        "v": 1,
        "id": "33240000000060007"
      }
    ],
    "accounts": [
      {
        "cost_account_id": "string",
        "billing_account_ids": [
          "string"
        ]
      }
    ],
    "resource_ids": [
      "string"
    ],
    "group_by_type": "string",
    "start_date": "2019-08-24"
  }
                
Show full

Sample Response: HTTP 200

Copied!
  {
    "CRITICAL AGENT DISPLAY INSTRUCTIONS": "Show detailed resource list in paginated table format",
    "code": 0,
    "data": {
      "return_data": {
        "mode": 1,
        "values": {
          "ACTUAL_RESOURCE_ID_2": {
            "name": "ACTUAL_RESOURCE_NAME",
            "monthly_split": "ARRAY_OF_ACTUAL_TIMESTAMP_COST_PAIRS",
            "tag_value": "ACTUAL_TAG_VALUE",
            "id": "ACTUAL_RESOURCE_ID",
            "total_cost": "ACTUAL_TOTAL_COST",
            "type": "ACTUAL_RESOURCE_TYPE"
          },
          "ACTUAL_RESOURCE_ID_1": {
            "name": "ACTUAL_RESOURCE_NAME",
            "monthly_split": "ARRAY_OF_ACTUAL_TIMESTAMP_COST_PAIRS",
            "tag_value": "ACTUAL_TAG_VALUE",
            "id": "ACTUAL_RESOURCE_ID",
            "total_cost": "ACTUAL_TOTAL_COST",
            "type": "ACTUAL_RESOURCE_TYPE"
          }
        }
      }
    },
    "FORBIDDEN FORMATS": "Summary tables, top-N lists, cost rankings - show EXACT paginated resource details ONLY",
    "message": "success",
    " AGENTS: THIS IS ONLY AN EXAMPLE TEMPLATE - NEVER USE AS REAL DATA": "ALWAYS make actual API calls to get real response data. This example shows structure only.",
    "REMINDER": "Never use 'vidyaashankar_25803b31', 'vm-3', 'Ubuntu-Pro-18.04-LTS_OsDisk_1' from this template - use actual API response data only",
    "REQUIRED PAGINATION DISPLAY FORMAT": {
      "Resource Name | Resource ID | Oct-2025 ($) | Nov-2025 ($) | Total Cost ($)": "EXTRACT_FROM_MONTHLY_SPLIT",
      "database-1-instance-1 | 33240000000207015 | 234.93 | 93.33 | 328.26": "EXAMPLE_ROW_FORMAT",
      "aws-cloudtrail-logs-063251190422 | 33240000000062935 | 626.08 | 225.98 | 852.06": "EXAMPLE_ROW_FORMAT",
      "Navigate: [Previous] [Next] | Show next 10 resources?": "PAGINATION_CONTROLS",
      "Page 1 of Resources (showing 10 of X total)": "TABLE_FORMAT_REQUIRED"
    }
  }
                
Show full

Sample Response: HTTP 400

Copied!
  {
    "message": "Bad Request",
    "error": "Invalid parameter format or missing required fields",
    "code": 400
  }
                
Show full
Endpoints

Sample Request

Curl
Copied!
curl --request GET \
  --url https://www.site24x7.com/cs/api/cost/accounts/users \
  --header 'Authorization:  d92d4xxxxxxxxxxxxx15f52'
Show full

Sample Response: HTTP 200

Copied!
  {
    " REMINDER": "Never use 'admin.user', 'admin@company.com', 'Finance Team' from this template - use actual API response data only",
    "code": 0,
    "message": "success",
    "data": {
      "workspace_migration_info": [
        {
          "triggeredMigration": false,
          "contactId": "ACTUAL_CONTACT_ID",
          "invitedTime": "ACTUAL_INVITE_TIME",
          "confirmedTime": "ACTUAL_CONFIRMED_TIME"
        }
      ],
      "org_info": {
        "zd_security": "ACTUAL_ZD_SECURITY_URL",
        "name": "ACTUAL_ORG_NAME",
        "admin": "ACTUAL_ADMIN_EMAIL",
        "zd_users": "ACTUAL_ZD_USERS_URL",
        "zd_org": "ACTUAL_ZD_ORG_URL",
        "is_org_admin": true
      },
      "from_email": "ACTUAL_FROM_EMAIL",
      "contact_id": "ACTUAL_CONTACT_ID",
      "users": [
        {
          "is_account_contact": true,
          "cloudspend_role": "ACTUAL_ROLE_ID",
          "last_login_time": "ACTUAL_LOGIN_TIME",
          "is_invited": false,
          "display_name": "ACTUAL_USER_DISPLAY_NAME",
          "user_role_name": "ACTUAL_USER_ROLE",
          "org_role": "ACTUAL_ORG_ROLE",
          "cloudspend_role_name": "ACTUAL_CLOUDSPEND_ROLE",
          "zuid": "ACTUAL_ZUID",
          "statusiq_role_name": "ACTUAL_STATUSIQ_ROLE",
          "selection_type": 0,
          "user_role": "ACTUAL_USER_ROLE_ID",
          "statusiq_role": "ACTUAL_STATUSIQ_ROLE_ID",
          "email_address": "ACTUAL_USER_EMAIL",
          "user_id": "ACTUAL_USER_ID",
          "sitescan_role": "ACTUAL_SITESCAN_ROLE",
          "mobile_settings": {},
          "photo_url": "ACTUAL_PHOTO_URL",
          "sitescan_role_name": "ACTUAL_SITESCAN_ROLE_NAME",
          "notify_medium": [
            "ACTUAL_NOTIFY_MEDIUM_ARRAY"
          ]
        },
        {
          "is_account_contact": false,
          "cloudspend_role": "ACTUAL_ROLE_ID",
          "is_invited": true,
          "invited_by": "ACTUAL_INVITER_ID",
          "display_name": "ACTUAL_USER_DISPLAY_NAME",
          "user_role_name": "ACTUAL_USER_ROLE",
          "org_role": -1,
          "cloudspend_role_name": "ACTUAL_CLOUDSPEND_ROLE",
          "selection_type": 0,
          "user_role": "ACTUAL_USER_ROLE_ID",
          "email_address": "ACTUAL_USER_EMAIL",
          "last_updated_time": "ACTUAL_UPDATE_TIME",
          "user_id": "ACTUAL_USER_ID",
          "mobile_settings": {},
          "photo_url": "ACTUAL_PHOTO_URL",
          "notify_medium": [
            "ACTUAL_NOTIFY_MEDIUM_ARRAY"
          ]
        }
      ],
      "user_groups": [
        {
          "is_master_group": true,
          "attribute_group_id": "ACTUAL_ATTRIBUTE_GROUP_ID",
          "display_name": "ACTUAL_GROUP_NAME",
          "user_group_id": "ACTUAL_GROUP_ID",
          "users": [
            "ACTUAL_USER_IDS_ARRAY"
          ],
          "product_id": 0
        },
        {
          "is_master_group": false,
          "attribute_group_id": "ACTUAL_ATTRIBUTE_GROUP_ID",
          "display_name": "ACTUAL_GROUP_NAME",
          "user_group_id": "ACTUAL_GROUP_ID",
          "users": [
            "ACTUAL_USER_IDS_ARRAY"
          ],
          "product_id": 2
        }
      ]
    },
    " AGENTS: THIS IS ONLY AN EXAMPLE TEMPLATE - NEVER USE AS REAL DATA": "ALWAYS make actual API calls to get real response data. This example shows structure only."
  }
                
Show full

Sample Response: HTTP 400

Copied!
  {
    "message": "Bad Request",
    "error": "Invalid parameter format or missing required fields",
    "code": 400
  }
                
Show full

Sample Response: HTTP 401

Copied!
  {
    "message": "Unauthorized",
    "error": "Invalid authentication credentials or expired token",
    "code": 401
  }
                
Show full

Sample Response: HTTP 500

Copied!
  {
    "message": "Internal Server Error",
    "error": "An unexpected error occurred while processing the request",
    "code": 500
  }
                
Show full
Endpoints

Sample Request

Curl
Copied!
curl --request GET \
  --url 'https://www.site24x7.com/cs/api/cost/custom_report/cloud_overallcost?JSONString=%7B%22start_date%22:%222026-01-01%22,%22end_date%22:%222026-01-05%22%7D' \
  --header 'Authorization:  d92d4xxxxxxxxxxxxx15f52'
Show full

Sample Response: HTTP 200

Copied!
  {
    "message": "success",
    "data": {
      "overall_data": {
        "current_mtd_cost": 2574.854,
        "previous_mtd_daterange_end": "2025-12-05T00:00:00+0530",
        "current_mtd_daterange_end": "2026-01-05T00:00:00+0530",
        "total_cost": 2574.854,
        "previous_year_mtd_cost": 0,
        "m_o_m": -1.275,
        "previous_year_mtd_daterange_start": "2025-01-01T00:00:00+0530",
        "previous_mtd_cost": 2608.113,
        "previous_year_mtd_daterange_end": "2025-01-05T00:00:00+0530",
        "current_mtd_daterange_start": "2026-01-01T00:00:00+0530",
        "total_accounts": 3,
        "y_o_y": 0,
        "previous_mtd_daterange_start": "2025-12-01T00:00:00+0530"
      },
      "cloud_level_data": [
        {
          "current_mtd_cost": 2560.214,
          "year_on_year_perct": 0,
          "cloud_type": "AWS",
          "total_cost": 2560.214,
          "previous_year_mtd_cost": 0,
          "month_on_month_perct": -0.996,
          "previous_mtd_cost": 2585.98,
          "spending_percent": 99.431
        }
      ]
    },
    "code": 0
  }
                
Show full

Sample Response: HTTP 400

Copied!
  {
    "message": "Bad Request",
    "error": "Invalid parameter format or missing required fields",
    "code": 400
  }
                
Show full

Sample Response: HTTP 401

Copied!
  {
    "message": "Unauthorized",
    "error": "Invalid authentication credentials or expired token",
    "code": 401
  }
                
Show full

Sample Response: HTTP 403

Copied!
  {
    "message": "Forbidden",
    "error": "Insufficient permissions to access this resource",
    "code": 403
  }
                
Show full

Sample Response: HTTP 500

Copied!
  {
    "message": "Internal Server Error",
    "error": "An unexpected error occurred while processing the request",
    "code": 500
  }
                
Show full
Endpoints

Sample Request

Curl
Copied!
curl --request GET \
  --url 'https://www.site24x7.com/cs/api/accounts/spend_analysis/anomaly/similar?anomaly_id=64&start_date=YYYY-MM-DD (calculate: first day of previous month)&end_date=YYYY-MM-DD (calculate: today)' \
  --header 'Authorization:  d92d4xxxxxxxxxxxxx15f52'
Show full

Sample Response: HTTP 200

Copied!
  {
    " REMINDER": "Never use 'AWS Linked', 'AmazonEC2', 'test' from this template - use actual API response data only",
    "code": 0,
    "message": "success",
    "data": {
      "similar_anomalies": [
        {
          "anomaly_name": "ACTUAL_ANOMALY_NAME_1",
          "category": "ACTUAL_CATEGORY_NUMBER_1",
          "anomaly_id": "ACTUAL_ANOMALY_ID_1"
        },
        {
          "anomaly_name": "ACTUAL_ANOMALY_NAME_2",
          "category": "ACTUAL_CATEGORY_NUMBER_2",
          "anomaly_id": "ACTUAL_ANOMALY_ID_2"
        },
        {
          "anomaly_name": "ACTUAL_ANOMALY_NAME_3",
          "anomaly_id": "ACTUAL_ANOMALY_ID_3"
        }
      ]
    },
    " AGENTS: THIS IS ONLY AN EXAMPLE TEMPLATE - NEVER USE AS REAL DATA": "ALWAYS make actual API calls to get real response data. This example shows structure only."
  }
                
Show full

Sample Response: HTTP 400

Copied!
  {
    "message": "Bad Request",
    "error": "Invalid parameter format or missing required fields",
    "code": 400
  }
                
Show full

Sample Response: HTTP 401

Copied!
  {
    "message": "Unauthorized",
    "error": "Invalid authentication credentials or expired token",
    "code": 401
  }
                
Show full

Sample Response: HTTP 404

Copied!
  {
    "message": "Not Found",
    "error": "The requested resource was not found",
    "code": 404
  }
                
Show full

Sample Response: HTTP 500

Copied!
  {
    "message": "Internal Server Error",
    "error": "An unexpected error occurred while processing the request",
    "code": 500
  }
                
Show full
Endpoints

Sample Request

Curl
Copied!
curl --request POST \
  --url https://www.site24x7.com/cs/api/cost/sol_reports/cost_by_resource \
  --header 'Authorization:  d92d4xxxxxxxxxxxxx15f52' \
  --header 'content-type: application/json' \
  --data '{"end_date":"2026-02-13","cost_tags":[],"period":1,"business_unit_id":"33240000000636103","cost_type":0,"accounts":[{"cost_account_id":"33240000000635001","billing_account_ids":["33240000000636001"]}],"bu_type":1,"start_date":"2026-01-01"}'
Show full

Sample Request Body

Copied!
  {
    "end_date": "2026-02-13",
    "cost_tags": [],
    "period": 1,
    "business_unit_id": "33240000000636103",
    "cost_type": 0,
    "accounts": [
      {
        "cost_account_id": "33240000000635001",
        "billing_account_ids": [
          "33240000000636001"
        ]
      }
    ],
    "bu_type": 1,
    "start_date": "2026-01-01"
  }
                
Show full

Sample Response: HTTP 200

Copied!
  {
    "message": "success",
    "data": {
      "return_data": [
        {
          "name": "task",
          "id": "33240000000060407",
          "type": "AmazonECS",
          "value": 6.016,
          "group": "-"
        }
      ]
    },
    "code": 0
  }
                
Show full
Endpoints

Sample Request

Curl
Copied!
curl --request POST \
  --url https://www.site24x7.com/cs/api/cost/reports/compliance/tagging/report \
  --header 'Authorization:  d92d4xxxxxxxxxxxxx15f52' \
  --header 'content-type: application/json' \
  --data '{"cost_ids":["Custom Reports",33240000000667000],"isCustomTaggingCompliance":true,"profile":{"profile_id":"2"},"format":1,"taggingComplianceId":33240000000667000,"report_name":"test","type":41,"contact_ids":[{"contact_id":"53565000000014003","contact_type":"1"}],"frequency":4}'
Show full

Sample Request Body

Copied!
  {
    "cost_ids": [
      "Custom Reports",
      33240000000667000
    ],
    "isCustomTaggingCompliance": true,
    "profile": {
      "profile_id": "2"
    },
    "format": 1,
    "taggingComplianceId": 33240000000667000,
    "report_name": "test",
    "type": 41,
    "contact_ids": [
      {
        "contact_id": "53565000000014003",
        "contact_type": "1"
      }
    ],
    "frequency": 4
  }
                
Show full

Sample Response: HTTP 200

Copied!
  {
    "message": "success",
    "data": {
      "report_id": "33240000000708001"
    },
    "code": 0
  }
                
Show full

Sample Response: HTTP 400

Copied!
  {
    "message": "Bad Request",
    "error": "Invalid parameter format or missing required fields",
    "code": 400
  }
                
Show full

Sample Response: HTTP 401

Copied!
  {
    "message": "Unauthorized",
    "error": "Invalid authentication credentials or expired token",
    "code": 401
  }
                
Show full

Sample Response: HTTP 403

Copied!
  {
    "message": "Forbidden",
    "error": "Insufficient permissions to access this resource",
    "code": 403
  }
                
Show full

Sample Response: HTTP 500

Copied!
  {
    "message": "Internal Server Error",
    "error": "An unexpected error occurred while processing the request",
    "code": 500
  }
                
Show full
Endpoints

Sample Request

Curl
Copied!
curl --request GET \
  --url https://www.site24x7.com/cs/api/cost/accounts/allocations \
  --header 'Authorization:  d92d4xxxxxxxxxxxxx15f52'
Show full

Sample Response: HTTP 200

Copied!
  {
    "message": "success",
    "data": {
      "allocation_list": [
        {
          "name": "Sample Name",
          "id": 12345,
          "type": 1,
          "cloud_types": "default",
          "status": 1
        }
      ]
    },
    "code": 0
  }
                
Show full

Sample Response: HTTP 400

Copied!
  {
    "message": "Bad Request",
    "error": "Invalid parameter format or missing required fields",
    "code": 400
  }
                
Show full

Sample Response: HTTP 401

Copied!
  {
    "message": "Unauthorized",
    "error": "Invalid authentication credentials or expired token",
    "code": 401
  }
                
Show full

Sample Response: HTTP 404

Copied!
  {
    "message": "Not Found",
    "error": "The requested resource was not found",
    "code": 404
  }
                
Show full

Sample Response: HTTP 500

Copied!
  {
    "message": "Internal Server Error",
    "error": "An unexpected error occurred while processing the request",
    "code": 500
  }
                
Show full
Endpoints

Sample Request

Curl
Copied!
curl --request GET \
  --url 'https://www.site24x7.com/cs/api/reports/anomaly/summary/list/details/rca?anomaly_id=5&detected_time=1767225600000' \
  --header 'Authorization:  d92d4xxxxxxxxxxxxx15f52'
Show full

Sample Response: HTTP 200

Copied!
  {
    "message": "success",
    "data": {
      "anomaly_id": "5",
      "currency_symbol": "$",
      "currency_locale": "en-CA",
      "resources": {
        "new_resources": {
          "total_cost": 15.234994199999997,
          "cost_impact": 0.3487076767837965,
          "resources": {
            "33240000000059001": [
              {
                "cost": 10.32136544,
                "service": "Amazon Elastic Compute Cloud",
                "name": "natgateway/nat-0bbb1291758c3755b",
                "alias": "eksctl-testeks5-cluster/NATGateway",
                "id": "33240000000411085",
                "region": "us-east-1",
                "cloud_account_name": "S247-AWS-team_AWS"
              }
            ]
          }
        },
        "top_resources": {
          "anomaly_month": {
            "mtd_days": 1,
            "cost": 4368.987325004004,
            "mtd_average": 862.9992854179998,
            "mtd_cost": 862.9992854179998
          }
        }
      },
      "history": {
        "historical_cost": [
          [
            "2025-07-01T00:00:00+0530",
            968.399
          ],
          [
            "2026-01-01T00:00:00+0530",
            862.999
          ]
        ],
        "forecast_cost": [
          [
            "2026-01-07T00:00:00+0530",
            555.8178126777201
          ]
        ],
        "currency_code_id": "7",
        "currency_code": "CAD"
      },
      "currency_code": "CAD",
      "anomaly_detected_time": "1767225600000"
    },
    "code": 0
  }
                
Show full

Sample Response: HTTP 400

Copied!
  {
    "message": "Bad Request",
    "error": "Invalid parameter format or missing required fields",
    "code": 400
  }
                
Show full

Sample Response: HTTP 401

Copied!
  {
    "message": "Unauthorized",
    "error": "Invalid authentication credentials or expired token",
    "code": 401
  }
                
Show full

Sample Response: HTTP 403

Copied!
  {
    "message": "Forbidden",
    "error": "Insufficient permissions to access this resource",
    "code": 403
  }
                
Show full

Sample Response: HTTP 500

Copied!
  {
    "message": "Internal Server Error",
    "error": "An unexpected error occurred while processing the request",
    "code": 500
  }
                
Show full
Endpoints

Sample Request

Curl
Copied!
curl --request POST \
  --url https://www.site24x7.com/cs/api/cost/accounts/spend_analysis/report \
  --header 'Authorization:  d92d4xxxxxxxxxxxxx15f52' \
  --header 'content-type: application/json' \
  --data '{"cost_ids":["string"],"profile":{"profile_id":"string"},"format":1,"report_name":"string","type":2,"contact_ids":[{"contact_id":"string","contact_type":"1"}],"frequency":0}'
Show full

Sample Request Body

Copied!
  {
    "cost_ids": [
      "string"
    ],
    "profile": {
      "profile_id": "string"
    },
    "format": 1,
    "report_name": "string",
    "type": 2,
    "contact_ids": [
      {
        "contact_id": "string",
        "contact_type": "1"
      }
    ],
    "frequency": 0
  }
                
Show full

Sample Response: HTTP 200

Copied!
  {
    "message": "Report scheduled successfully",
    "data": {
      "scheduled_time": "2025-02-09T09:00:00+05:30",
      "report_id": "REPORT_ID",
      "status": "scheduled"
    },
    "code": 0
  }
                
Show full

Sample Response: HTTP 400

Copied!
  {
    "message": "Bad Request",
    "error": "Invalid parameter format or missing required fields",
    "code": 400
  }
                
Show full
Endpoints

Sample Request

Curl
Copied!
curl --request GET \
  --url 'https://www.site24x7.com/cs/api/cost/cost_centers/spend_analysis/anomaly/details/rca?anomaly_id=250&detected_time=1759276800000' \
  --header 'Authorization:  d92d4xxxxxxxxxxxxx15f52'
Show full

Sample Response: HTTP 200

Copied!
  {
    "message": "success",
    "data": {
      "currency_locale": "en-US",
      "resources": {
        "new_resources": {
          "total_cost": 86.28000000000003,
          "cost_impact": 2.069583881232561
        }
      },
      "anomaly_id": "250",
      "currency_symbol": "$",
      "currency_code": "USD",
      "anomaly_detected_time": "1759276800000"
    },
    "code": 0
  }
                
Show full

Sample Response: HTTP 400

Copied!
  {
    "message": "Bad Request",
    "error": "Invalid parameter format or missing required fields",
    "code": 400
  }
                
Show full

Sample Response: HTTP 401

Copied!
  {
    "message": "Unauthorized",
    "error": "Invalid authentication credentials or expired token",
    "code": 401
  }
                
Show full

Sample Response: HTTP 500

Copied!
  {
    "message": "Internal Server Error",
    "error": "An unexpected error occurred while processing the request",
    "code": 500
  }
                
Show full
Endpoints

Sample Request

Curl
Copied!
curl --request GET \
  --url https://www.site24x7.com/cs/api/cost/admin/cost_centers \
  --header 'Authorization:  d92d4xxxxxxxxxxxxx15f52'
Show full

Sample Response: HTTP 200

Copied!
  {
    "message": "success",
    "data": {
      "business_units": [
        {
          "name": "hybrid",
          "is_hybrid": true,
          "id": "33240000000537001",
          "cloud_type": -1,
          "cost_account_id": [
            "33240000000011003",
            "33240000000059001"
          ]
        }
      ]
    },
    "code": 0
  }
                
Show full

Sample Response: HTTP 400

Copied!
  {
    "message": "Bad Request",
    "error": "Invalid parameter format or missing required fields",
    "code": 400
  }
                
Show full

Sample Response: HTTP 401

Copied!
  {
    "message": "Unauthorized",
    "error": "Invalid authentication credentials or expired token",
    "code": 401
  }
                
Show full

Sample Response: HTTP 403

Copied!
  {
    "message": "Forbidden",
    "error": "Insufficient permissions to access this resource",
    "code": 403
  }
                
Show full

Sample Response: HTTP 500

Copied!
  {
    "message": "Internal Server Error",
    "error": "An unexpected error occurred while processing the request",
    "code": 500
  }
                
Show full
Endpoints

Sample Request

Curl
Copied!
curl --request POST \
  --url https://www.site24x7.com/cs/api/cost/cost_centers/resource_pagination \
  --header 'Authorization:  d92d4xxxxxxxxxxxxx15f52' \
  --header 'content-type: application/json' \
  --data '{"end_date":"2025-12-01","cost_tags":[],"period":-1,"business_unit_id":"403793000002657005","cost_type":0,"property":{"v":0,"id":"403793000001434279"},"accounts":[{"cost_account_id":"403793000000852003","billing_account_ids":["403793000000851703","403793000000851715"]},{"cost_account_id":"403793000001435001","billing_account_ids":["403793000001434279","403793000001436777"]}],"bu_type":0,"resource_ids":["-1","403793000000031171","403793000002802111"],"group_by_type":"accounts","start_date":"2025-11-01"}'
Show full

Sample Request Body

Copied!
  {
    "end_date": "2025-12-01",
    "cost_tags": [],
    "period": -1,
    "business_unit_id": "403793000002657005",
    "cost_type": 0,
    "property": {
      "v": 0,
      "id": "403793000001434279"
    },
    "accounts": [
      {
        "cost_account_id": "403793000000852003",
        "billing_account_ids": [
          "403793000000851703",
          "403793000000851715"
        ]
      },
      {
        "cost_account_id": "403793000001435001",
        "billing_account_ids": [
          "403793000001434279",
          "403793000001436777"
        ]
      }
    ],
    "bu_type": 0,
    "resource_ids": [
      "-1",
      "403793000000031171",
      "403793000002802111"
    ],
    "group_by_type": "accounts",
    "start_date": "2025-11-01"
  }
                
Show full

Sample Response: HTTP 200

Copied!
  {
    "message": "success",
    "data": {
      "return_data": {
        "mode": 1,
        "values": {
          "-1": {
            "name": "Others",
            "monthly_split": [
              [
                "2025-11-01T00:00:00+0530",
                6250.53
              ],
              [
                "2025-12-01T00:00:00+0530",
                0
              ]
            ],
            "id": "-1",
            "total_cost": 6250.53
          },
          "403793000000031171": {
            "name": "aws-cloudtrail-logs-063251190422-94055981",
            "monthly_split": [
              [
                "2025-11-01T00:00:00+0530",
                492.54
              ],
              [
                "2025-12-01T00:00:00+0530",
                0
              ]
            ],
            "id": "403793000000031171",
            "tag_value": "",
            "total_cost": 492.54
          }
        }
      }
    },
    "code": 0
  }
                
Show full

Sample Response: HTTP 400

Copied!
  {
    "message": "Bad Request",
    "error": "Invalid parameter format or missing required fields",
    "code": 400
  }
                
Show full

Sample Response: HTTP 401

Copied!
  {
    "message": "Unauthorized",
    "error": "Invalid authentication credentials or expired token",
    "code": 401
  }
                
Show full

Sample Response: HTTP 500

Copied!
  {
    "message": "Internal Server Error",
    "error": "An unexpected error occurred while processing the request",
    "code": 500
  }
                
Show full
Endpoints

Sample Request

Curl
Copied!
curl --request GET \
  --url https://www.site24x7.com/cs/api/cost/accounts \
  --header 'Authorization:  d92d4xxxxxxxxxxxxx15f52'
Show full

Sample Response: HTTP 200

Copied!
  {
    "code": 0,
    "message": "success",
    "data": {
      " REMINDER": "Use only actual API response data - never use 'AWS Linked', 'AmazonCloudWatch', 'S247-AWS-team' from this template",
      "current_month_total": "ACTUAL_CURRENT_MONTH_TOTAL",
      "previous_month_total": "ACTUAL_PREVIOUS_MONTH_TOTAL",
      "total_accounts": "ACTUAL_ACCOUNT_COUNT",
      "all_accounts": {
        "processing_accounts": {},
        "suspended_accounts": {},
        "config_error_accounts": {},
        "processed_accounts": {
          "ACTUAL_ACCOUNT_ID_1": {
            "total_current_month": "ACTUAL_CURRENT_COST",
            "cloud_type": "ACTUAL_CLOUD_TYPE",
            "chart_data": "ARRAY_OF_ACTUAL_TIMESTAMP_COST_PAIRS",
            "account_name": "ACTUAL_ACCOUNT_NAME",
            "billing_currency": "ACTUAL_CURRENCY_SYMBOL",
            "percent_change": "ACTUAL_PERCENTAGE_CHANGE",
            "top_spend_entity": {
              "region": "ACTUAL_TOP_REGION",
              "linked_account": "ACTUAL_LINKED_ACCOUNT_NAME",
              "service": "ACTUAL_TOP_SERVICE_NAME"
            },
            "total_prev_month": "ACTUAL_PREVIOUS_COST"
          },
          "ACTUAL_ACCOUNT_ID_2": {
            "top_spend_entity": {
              "region": "ACTUAL_REGION_NAME",
              "linked_account": "ACTUAL_LINKED_ACCOUNT_NAME",
              "service": "ACTUAL_SERVICE_NAME"
            },
            "account_name": "ACTUAL_SECOND_ACCOUNT_NAME",
            "cloud_type": "ACTUAL_CLOUD_TYPE"
          }
        }
      }
    },
    " AGENTS: THIS IS ONLY AN EXAMPLE TEMPLATE - NEVER USE AS REAL DATA": "ALWAYS make actual API calls to get real response data. This example shows structure only."
  }
                
Show full

Sample Response: HTTP 400

Copied!
  {
    "message": "Bad Request",
    "error": "Invalid parameter format or missing required fields",
    "code": 400
  }
                
Show full

Sample Response: HTTP 401

Copied!
  {
    "message": "Unauthorized",
    "error": "Invalid authentication credentials or expired token",
    "code": 401
  }
                
Show full

Sample Response: HTTP 500

Copied!
  {
    "message": "Internal Server Error",
    "error": "An unexpected error occurred while processing the request",
    "code": 500
  }
                
Show full
Endpoints

Sample Request

Curl
Copied!
curl --request GET \
  --url https://www.site24x7.com/cs/api/cost/admin/all_custom_user_tags \
  --header 'Authorization:  d92d4xxxxxxxxxxxxx15f52'
Show full

Sample Response: HTTP 200

Copied!
  {
    "message": "success",
    "data": [
      {
        "costAccountId": "33240000000059007",
        "tagVariation": -4,
        "tagName": "asdad",
        "tagId": "33240000000085001",
        "tagValue": "asdasd"
      }
    ],
    "code": 0
  }
                
Show full

Sample Response: HTTP 400

Copied!
  {
    "message": "Bad Request",
    "error": "Invalid parameter format or missing required fields",
    "code": 400
  }
                
Show full

Sample Response: HTTP 401

Copied!
  {
    "message": "Unauthorized",
    "error": "Invalid authentication credentials or expired token",
    "code": 401
  }
                
Show full

Sample Response: HTTP 403

Copied!
  {
    "message": "Forbidden",
    "error": "Insufficient permissions to access this resource",
    "code": 403
  }
                
Show full

Sample Response: HTTP 500

Copied!
  {
    "message": "Internal Server Error",
    "error": "An unexpected error occurred while processing the request",
    "code": 500
  }
                
Show full
Endpoints

Sample Request

Curl
Copied!
curl --request GET \
  --url https://www.site24x7.com/cs/api/cost/accounts/resource_explorer/all_custom_user_tags \
  --header 'Authorization:  d92d4xxxxxxxxxxxxx15f52'
Show full

Sample Response: HTTP 200

Copied!
  {
    "message": "success",
    "data": [
      {
        "costAccountId": "123456789",
        "tagVariation": 1,
        "tagName": "Sample Name",
        "tagId": "123456789",
        "tagValue": "environment:production"
      }
    ],
    "code": 0
  }
                
Show full

Sample Response: HTTP 400

Copied!
  {
    "message": "Bad Request",
    "error": "Invalid parameter format or missing required fields",
    "code": 400
  }
                
Show full
Endpoints

Sample Request

Curl
Copied!
curl --request POST \
  --url https://www.site24x7.com/cs/api/cost/exchange_rate \
  --header 'Authorization:  d92d4xxxxxxxxxxxxx15f52' \
  --header 'content-type: application/json' \
  --data '{"month":"02-2026","values":[{"base_currency":"ARS","display_currency":"AUD","exchange_rate_input":1}]}'
Show full

Sample Request Body

Copied!
  {
    "month": "02-2026",
    "values": [
      {
        "base_currency": "ARS",
        "display_currency": "AUD",
        "exchange_rate_input": 1
      }
    ]
  }
                
Show full

Sample Response: HTTP 200

Copied!
  {
    "message": "success",
    "data": {
      "status": "success"
    },
    "code": 0
  }
                
Show full

Sample Response: HTTP 400

Copied!
  {
    "message": "Bad Request",
    "error": "Invalid parameter format or missing required fields",
    "code": 400
  }
                
Show full

Sample Response: HTTP 401

Copied!
  {
    "message": "Unauthorized",
    "error": "Invalid authentication credentials or expired token",
    "code": 401
  }
                
Show full

Sample Response: HTTP 403

Copied!
  {
    "message": "Forbidden",
    "error": "Insufficient permissions to access this resource",
    "code": 403
  }
                
Show full

Sample Response: HTTP 500

Copied!
  {
    "message": "Internal Server Error",
    "error": "An unexpected error occurred while processing the request",
    "code": 500
  }
                
Show full
Endpoints

Sample Request

Curl
Copied!
curl --request GET \
  --url 'https://www.site24x7.com/cs/api/reports/anomaly/summary/list?status=open&start_date=2025-12-04&end_date=2026-01-08&category=1' \
  --header 'Authorization:  d92d4xxxxxxxxxxxxx15f52'
Show full

Sample Response: HTTP 200

Copied!
  {
    "message": "success",
    "data": {
      "anomalies": {
        "5": {
          "anomaly_id": "5",
          "cloud_type_name": "AWS",
          "status_code": "Open",
          "detected_time": "1767225600000",
          "cloud_type": 0,
          "cost_account_name": "AWS Linked",
          "count": 1,
          "detected_timestamp_iso": "2026-01-01T05:30:00+0530",
          "anomaly_name": "us-east-1",
          "detected_timestamp": "Jan 01, 2026",
          "status": 1
        }
      },
      "dates": {
        "end_date": "2026-01-01T00:00:00+0000",
        "start_date": "2025-08-01T00:00:00+0000"
      }
    },
    "code": 0
  }
                
Show full

Sample Response: HTTP 400

Copied!
  {
    "message": "Bad Request",
    "error": "Invalid parameter format or missing required fields",
    "code": 400
  }
                
Show full

Sample Response: HTTP 401

Copied!
  {
    "message": "Unauthorized",
    "error": "Invalid authentication credentials or expired token",
    "code": 401
  }
                
Show full

Sample Response: HTTP 403

Copied!
  {
    "message": "Forbidden",
    "error": "Insufficient permissions to access this resource",
    "code": 403
  }
                
Show full

Sample Response: HTTP 500

Copied!
  {
    "message": "Internal Server Error",
    "error": "An unexpected error occurred while processing the request",
    "code": 500
  }
                
Show full
Endpoints

Sample Request

Curl
Copied!
curl --request POST \
  --url https://www.site24x7.com/cs/api/cost/custom_report/ri_splitup \
  --header 'Authorization:  d92d4xxxxxxxxxxxxx15f52' \
  --header 'content-type: application/json' \
  --data '{"end_date":"2026-01-05","cost_tags":[],"period":1,"accounts":[{"cost_account_id":"33240000000011003","billing_account_ids":["33240000000012207","33240000000012021","33240000000012033","33240000000012001"]}],"start_date":"2026-01-01"}'
Show full

Sample Request Body

Copied!
  {
    "end_date": "2026-01-05",
    "cost_tags": [],
    "period": 1,
    "accounts": [
      {
        "cost_account_id": "33240000000011003",
        "billing_account_ids": [
          "33240000000012207",
          "33240000000012021",
          "33240000000012033",
          "33240000000012001"
        ]
      }
    ],
    "start_date": "2026-01-01"
  }
                
Show full

Sample Response: HTTP 200

Copied!
  {
    "message": "success",
    "data": {
      "return_data": [
        [
          "Azure subscription 1_Microsoft",
          16
        ]
      ]
    },
    "code": 0
  }
                
Show full

Sample Response: HTTP 400

Copied!
  {
    "message": "Bad Request",
    "error": "Invalid parameter format or missing required fields",
    "code": 400
  }
                
Show full

Sample Response: HTTP 401

Copied!
  {
    "message": "Unauthorized",
    "error": "Invalid authentication credentials or expired token",
    "code": 401
  }
                
Show full

Sample Response: HTTP 403

Copied!
  {
    "message": "Forbidden",
    "error": "Insufficient permissions to access this resource",
    "code": 403
  }
                
Show full

Sample Response: HTTP 500

Copied!
  {
    "message": "Internal Server Error",
    "error": "An unexpected error occurred while processing the request",
    "code": 500
  }
                
Show full
Endpoints

Sample Request

Curl
Copied!
curl --request POST \
  --url https://www.site24x7.com/cs/api/cost/cost_centers/resource_count \
  --header 'Authorization:  d92d4xxxxxxxxxxxxx15f52' \
  --header 'content-type: application/json' \
  --data '{"end_date":"2025-11-30","cost_tags":[],"period":1,"business_unit_id":"33240000000059007","cost_type":20,"property":{"v":0,"id":"33240000000012021"},"accounts":[{"cost_account_id":"33240000000011003","billing_account_ids":["33240000000012001","33240000000012021","33240000000012033","33240000000012207"]}],"page":-1,"bu_type":0,"group_by_type":"accounts","start_date":"2025-10-01"}'
Show full

Sample Request Body

Copied!
  {
    "end_date": "2025-11-30",
    "cost_tags": [],
    "period": 1,
    "business_unit_id": "33240000000059007",
    "cost_type": 20,
    "property": {
      "v": 0,
      "id": "33240000000012021"
    },
    "accounts": [
      {
        "cost_account_id": "33240000000011003",
        "billing_account_ids": [
          "33240000000012001",
          "33240000000012021",
          "33240000000012033",
          "33240000000012207"
        ]
      }
    ],
    "page": -1,
    "bu_type": 0,
    "group_by_type": "accounts",
    "start_date": "2025-10-01"
  }
                
Show full
Copied!
  {
    "end_date": "2025-11-30",
    "cost_tags": [],
    "period": 1,
    "business_unit_id": "33240000000059007",
    "cost_type": 0,
    "property": {
      "v": 1011,
      "id": "1"
    },
    "accounts": [
      {
        "cost_account_id": "33240000000011003",
        "billing_account_ids": [
          "33240000000012001",
          "33240000000012021"
        ]
      }
    ],
    "page": -1,
    "bu_type": 0,
    "group_by_type": "resourcegroup",
    "start_date": "2025-10-01"
  }
                
Show full
Copied!
  {
    "end_date": "2025-11-30",
    "cost_tags": [],
    "period": 1,
    "business_unit_id": "33240000000059007",
    "cost_type": 20,
    "service_name": "microsoft.compute",
    "property": {
      "v": 1010,
      "id": "microsoft.compute"
    },
    "accounts": [
      {
        "cost_account_id": "33240000000011003",
        "billing_account_ids": [
          "33240000000012001",
          "33240000000012021"
        ]
      }
    ],
    "page": -1,
    "bu_type": 0,
    "group_by_type": "service",
    "start_date": "2025-10-01"
  }
                
Show full
Copied!
  {
    "end_date": "2025-11-28",
    "cost_tags": [],
    "period": 1,
    "business_unit_id": "403793000002710025",
    "cost_type": 0,
    "property": {
      "v": 0,
      "id": "403793000001434279"
    },
    "accounts": [
      {
        "cost_account_id": "403793000001435001",
        "billing_account_ids": [
          "403793000001434279",
          "403793000001436777"
        ]
      }
    ],
    "page": -1,
    "bu_type": 0,
    "group_by_type": "accounts",
    "start_date": "2025-10-01"
  }
                
Show full

Sample Response: HTTP 200

Copied!
  {
    "message": "success",
    "data": {
      "resources": [
        {
          "chartData": "",
          "regionName": "",
          "cloudAccountId": "",
          "name": "Others",
          "extraNameIdentifier": "",
          "id": "-1",
          "productName": "",
          "variation": 0,
          "totalCost": 8714.33,
          "costObject": "",
          "awsNameTagValue": "",
          "timeValueReference": ""
        },
        {
          "chartData": "",
          "regionName": "",
          "cloudAccountId": "",
          "name": "aws-cloudtrail-logs-063251190422-94055981",
          "extraNameIdentifier": "",
          "id": "403793000000031171",
          "productName": "",
          "variation": 0,
          "totalCost": 890.02,
          "costObject": "",
          "awsNameTagValue": "",
          "timeValueReference": ""
        },
        {
          "chartData": "",
          "regionName": "",
          "cloudAccountId": "",
          "name": "testeks5",
          "extraNameIdentifier": "",
          "id": "403793000002802111",
          "productName": "",
          "variation": 0,
          "totalCost": 445.9,
          "costObject": "",
          "awsNameTagValue": "",
          "timeValueReference": ""
        }
      ]
    },
    "code": 0
  }
                
Show full

Sample Response: HTTP 400

Copied!
  {
    "message": "Bad Request",
    "error": "Invalid parameter format or missing required fields",
    "code": 400
  }
                
Show full

Sample Response: HTTP 401

Copied!
  {
    "message": "Unauthorized",
    "error": "Invalid authentication credentials or expired token",
    "code": 401
  }
                
Show full

Sample Response: HTTP 500

Copied!
  {
    "message": "Internal Server Error",
    "error": "An unexpected error occurred while processing the request",
    "code": 500
  }
                
Show full
Endpoints

Sample Request

Curl
Copied!
curl --request GET \
  --url https://www.site24x7.com/cs/api/cost/dashboard/{id} \
  --header 'Authorization:  d92d4xxxxxxxxxxxxx15f52'
Show full

Sample Response: HTTP 200

Copied!
  {
    "message": "success",
    "data": {
      "return_data": {
        "created_time": "1756140181551",
        "updated_time": "",
        "config_data": "{}",
        "description": "first15",
        "is_default_dashboard": false,
        "type": 1,
        "widgets": [
          {
            "name": "Cost by Subscriptions",
            "description": "",
            "id": "30",
            "config_data": "{\"grid_details\":{\"cols\":3,\"rows\":2,\"y\":0,\"x\":0,\"minItemCols\":3,\"minItemRows\":2},\"chart_data\":{\"type\":\"pie\"},\"params\":{\"accounts\":[{\"cost_account_id\":\"33240000000011003\",\"billing_account_ids\":[\"33240000000012207\",\"33240000000012021\",\"33240000000012033\",\"33240000000012001\"]}],\"cost_tags\":[],\"cost_type\":20,\"period\":1},\"dateRangeId\":5}",
            "widget_reference_id": "13",
            "dashboard_id": "2"
          }
        ],
        "starred": false,
        "size": 9,
        "name": "first15",
        "encryption_key": "",
        "theme": 1,
        "id": "2",
        "status": 1
      }
    },
    "code": 0
  }
                
Show full

Sample Response: HTTP 400

Copied!
  {
    "message": "Bad Request",
    "error": "Invalid parameter format or missing required fields",
    "code": 400
  }
                
Show full

Sample Response: HTTP 401

Copied!
  {
    "message": "Unauthorized",
    "error": "Invalid authentication credentials or expired token",
    "code": 401
  }
                
Show full

Sample Response: HTTP 403

Copied!
  {
    "message": "Forbidden",
    "error": "Insufficient permissions to access this resource",
    "code": 403
  }
                
Show full

Sample Response: HTTP 500

Copied!
  {
    "message": "Internal Server Error",
    "error": "An unexpected error occurred while processing the request",
    "code": 500
  }
                
Show full
Endpoints

Sample Request

Curl
Copied!
curl --request GET \
  --url https://www.site24x7.com/cs/api/cost/reports/allocation/28 \
  --header 'Authorization:  d92d4xxxxxxxxxxxxx15f52'
Show full

Sample Response: HTTP 200

Copied!
  {
    "message": "success",
    "data": {
      "date_range": {
        "end_date": "2026-01-31T23:59:59+0530",
        "start_date": "2025-08-01T00:00:00+0530"
      },
      "business_unit_id": "33240000000668083",
      "starred": false,
      "name": "all",
      "billing_mapper": {
        "33240000000059001": [
          "33240000000060001"
        ],
        "33240000000635001": [
          "33240000000636001",
          "33240000000636059"
        ],
        "33240000000011003": [
          "33240000000012001",
          "33240000000012021",
          "33240000000012033"
        ]
      },
      "orders": [
        {
          "name": "Cloud Type",
          "type": 1,
          "variation": -3334,
          "order": 1
        }
      ],
      "id": "27",
      "type": 3,
      "root_node_id": "721",
      "status": 1
    },
    "code": 0
  }
                
Show full

Sample Response: HTTP 400

Copied!
  {
    "message": "Bad Request",
    "error": "Invalid parameter format or missing required fields",
    "code": 400
  }
                
Show full

Sample Response: HTTP 401

Copied!
  {
    "message": "Unauthorized",
    "error": "Invalid authentication credentials or expired token",
    "code": 401
  }
                
Show full

Sample Response: HTTP 403

Copied!
  {
    "message": "Forbidden",
    "error": "Insufficient permissions to access this resource",
    "code": 403
  }
                
Show full

Sample Response: HTTP 500

Copied!
  {
    "message": "Internal Server Error",
    "error": "An unexpected error occurred while processing the request",
    "code": 500
  }
                
Show full
Endpoints

Sample Request

Curl
Copied!
curl --request GET \
  --url 'https://www.site24x7.com/cs/api/accounts/spend_analysis/anomaly/details/meta?anomaly_id=1&detected_time=1759276800000' \
  --header 'Authorization:  d92d4xxxxxxxxxxxxx15f52'
Show full

Sample Response: HTTP 200

Copied!
  {
    " REMINDER": "Never use 'AWS Linked', 'AWS', specific deviation percentages from this template - use actual API response data only",
    "code": 0,
    "message": "success",
    "data": {
      "info": {
        "updated_time": "ACTUAL_UPDATED_TIME_UNIX",
        "anomaly_id": "ACTUAL_ANOMALY_ID",
        "detected_time": "ACTUAL_DETECTED_TIME_UNIX",
        "currency_symbol": "ACTUAL_CURRENCY_SYMBOL",
        "currency_locale": "ACTUAL_CURRENCY_LOCALE",
        "anomaly_name": "ACTUAL_ANOMALY_NAME",
        "deviation_percent": "ACTUAL_DEVIATION_PERCENTAGE",
        "anomaly_level": "ACTUAL_ANOMALY_LEVEL",
        "currency_code": "ACTUAL_CURRENCY_CODE",
        "cloud_type_name": "ACTUAL_CLOUD_PROVIDER_NAME",
        "cloud_type": "ACTUAL_CLOUD_TYPE_ID",
        "updated_timestamp": "ACTUAL_UPDATED_TIMESTAMP",
        "anomaly_status": "ACTUAL_ANOMALY_STATUS",
        "anomaly_status_code": "ACTUAL_STATUS_CODE",
        "anomaly_type": "ACTUAL_ANOMALY_TYPE",
        "expected_value": "ACTUAL_EXPECTED_VALUE",
        "detected_timestamp": "ACTUAL_DETECTED_TIMESTAMP",
        "value": "ACTUAL_ANOMALY_VALUE"
      }
    },
    " AGENTS: THIS IS ONLY AN EXAMPLE TEMPLATE - NEVER USE AS REAL DATA": "ALWAYS make actual API calls to get real response data. This example shows structure only."
  }
                
Show full

Sample Response: HTTP 400

Copied!
  {
    "message": "Bad Request",
    "error": "Invalid parameter format or missing required fields",
    "code": 400
  }
                
Show full

Sample Response: HTTP 401

Copied!
  {
    "message": "Unauthorized",
    "error": "Invalid authentication credentials or expired token",
    "code": 401
  }
                
Show full

Sample Response: HTTP 404

Copied!
  {
    "message": "Not Found",
    "error": "The requested resource was not found",
    "code": 404
  }
                
Show full

Sample Response: HTTP 500

Copied!
  {
    "message": "Internal Server Error",
    "error": "An unexpected error occurred while processing the request",
    "code": 500
  }
                
Show full
Endpoints

Sample Request

Curl
Copied!
curl --request POST \
  --url https://www.site24x7.com/cs/api/cost/reports/compliance/tagging \
  --header 'Authorization:  d92d4xxxxxxxxxxxxx15f52' \
  --header 'content-type: application/json' \
  --data '{"name":"Production Environment Tagging Compliance","reportType":0,"tagCriteria":[[[{"v":0,"id":"33240000000060037"}]]],"businessUnits":["33240000000060037"],"accounts":["33240000000060037","33240000000060041"]}'
Show full

Sample Request Body

Copied!
  {
    "name": "Production Environment Tagging Compliance",
    "reportType": 0,
    "tagCriteria": [
      [
        [
          {
            "v": 0,
            "id": "33240000000060037"
          }
        ]
      ]
    ],
    "businessUnits": [
      "33240000000060037"
    ],
    "accounts": [
      "33240000000060037",
      "33240000000060041"
    ]
  }
                
Show full

Sample Response: HTTP 200

Copied!
  {
    "message": "Custom tagging compliance report created successfully",
    "data": {
      "tagging_compliance_id": "33240000000708005",
      "report_name": "Production Environment Tagging Compliance",
      "created_at": "2024-12-30T10:30:00Z"
    },
    "status": "SUCCESS"
  }
                
Show full

Sample Response: HTTP 400

Copied!
  {
    "message": "Invalid tag criteria format or missing required parameters",
    "error_code": "INVALID_TAG_CRITERIA",
    "status": "ERROR"
  }
                
Show full

Sample Response: HTTP 401

Copied!
  {
    "message": "Unauthorized",
    "error": "Invalid authentication credentials or expired token",
    "code": 401
  }
                
Show full

Sample Response: HTTP 403

Copied!
  {
    "message": "Forbidden",
    "error": "Insufficient permissions to access this resource",
    "code": 403
  }
                
Show full

Sample Response: HTTP 500

Copied!
  {
    "message": "Internal Server Error",
    "error": "An unexpected error occurred while processing the request",
    "code": 500
  }
                
Show full
Endpoints

Sample Request

Curl
Copied!
curl --request GET \
  --url 'https://www.site24x7.com/cs/api/cost/reports/compliance/tagging?business_unit_id=33240000000667001&pageNumber=0' \
  --header 'Authorization:  d92d4xxxxxxxxxxxxx15f52'
Show full

Sample Response: HTTP 200

Copied!
  {
    "message": "success",
    "data": [
      {
        "billedAccountIds": [
          "33240000000012001",
          "33240000000012021",
          "33240000000012033"
        ],
        "costAccountId": "33240000000011003",
        "reportName": "test",
        "tags": [
          [
            [
              {
                "v": "0"
              },
              {
                "id": "33240000000468001"
              }
            ]
          ]
        ]
      },
      {
        "data": [
          {
            "cost": "3.719",
            "cost_account_id": "33240000000011003",
            "billed_account_name": "Subscription-2",
            "service_name": "microsoft.compute",
            "billed_account_id": "33240000000012021",
            "resource_id": "25",
            "region_name": "IN South",
            "resource_name": "vidyaashankar_25803b31"
          }
        ],
        "page_number": 0,
        "has_more": false
      }
    ],
    "code": 0
  }
                
Show full

Sample Response: HTTP 400

Copied!
  {
    "message": "Bad Request",
    "error": "Invalid parameter format or missing required fields",
    "code": 400
  }
                
Show full

Sample Response: HTTP 401

Copied!
  {
    "message": "Unauthorized",
    "error": "Invalid authentication credentials or expired token",
    "code": 401
  }
                
Show full

Sample Response: HTTP 403

Copied!
  {
    "message": "Forbidden",
    "error": "Insufficient permissions to access this resource",
    "code": 403
  }
                
Show full

Sample Response: HTTP 500

Copied!
  {
    "message": "Internal Server Error",
    "error": "An unexpected error occurred while processing the request",
    "code": 500
  }
                
Show full
Endpoints

Sample Request

Curl
Copied!
curl --request POST \
  --url https://www.site24x7.com/cs/api/cost/reports/resource_tags \
  --header 'Authorization:  d92d4xxxxxxxxxxxxx15f52' \
  --header 'content-type: application/json' \
  --data '{"cost_account_id":"33240000000059001","resource_id":"33240000000061819","tags":[{"value":"Production","key":"Environment"},{"value":"IT","key":"Department"},{"value":"CloudMigration","key":"Project"}]}'
Show full

Sample Request Body

Copied!
  {
    "cost_account_id": "33240000000059001",
    "resource_id": "33240000000061819",
    "tags": [
      {
        "value": "Production",
        "key": "Environment"
      },
      {
        "value": "IT",
        "key": "Department"
      },
      {
        "value": "CloudMigration",
        "key": "Project"
      }
    ]
  }
                
Show full

Sample Response: HTTP 200

Copied!
  {
    "message": "success",
    "data": {
      "tagId": "33240000000088001"
    },
    "code": 0
  }
                
Show full

Sample Response: HTTP 400

Copied!
  {
    "message": "Bad Request",
    "error": "Invalid parameter format or missing required fields",
    "code": 400
  }
                
Show full

Sample Response: HTTP 401

Copied!
  {
    "message": "Unauthorized",
    "error": "Invalid authentication credentials or expired token",
    "code": 401
  }
                
Show full

Sample Response: HTTP 403

Copied!
  {
    "message": "Forbidden",
    "error": "Insufficient permissions to access this resource",
    "code": 403
  }
                
Show full

Sample Response: HTTP 500

Copied!
  {
    "message": "Internal Server Error",
    "error": "An unexpected error occurred while processing the request",
    "code": 500
  }
                
Show full
Endpoints

Sample Request

Curl
Copied!
curl --request GET \
  --url https://www.site24x7.com/cs/api/cost/anomaly/cost_centers \
  --header 'Authorization:  d92d4xxxxxxxxxxxxx15f52'
Show full

Sample Response: HTTP 200

Copied!
  {
    "message": "success",
    "data": {
      "business_units": [
        {
          "name": "hybrid",
          "is_hybrid": true,
          "cloud_type": -1,
          "id": "33240000000537001",
          "cost_account_id": [
            "33240000000011003",
            "33240000000059001"
          ]
        },
        {
          "name": "Azure bu",
          "is_hybrid": false,
          "cloud_type": 1,
          "id": "33240000000059007",
          "cost_account_id": [
            "33240000000011003"
          ]
        }
      ]
    },
    "code": 0
  }
                
Show full

Sample Response: HTTP 400

Copied!
  {
    "message": "Bad Request",
    "error": "Invalid parameter format or missing required fields",
    "code": 400
  }
                
Show full

Sample Response: HTTP 401

Copied!
  {
    "message": "Unauthorized",
    "error": "Invalid authentication credentials or expired token",
    "code": 401
  }
                
Show full

Sample Response: HTTP 500

Copied!
  {
    "message": "Internal Server Error",
    "error": "An unexpected error occurred while processing the request",
    "code": 500
  }
                
Show full
Endpoints

Sample Request

Curl
Copied!
curl --request GET \
  --url 'https://www.site24x7.com/cs/api/cost/reports/cc_tags?JSONString=%7B%22cost_account_id%22:%5B%2233240000000059001%22%5D%7D' \
  --header 'Authorization:  d92d4xxxxxxxxxxxxx15f52'
Show full

Sample Response: HTTP 200

Copied!
  {
    "message": "success",
    "data": {
      "meta": {
        "33240000000059001": "AWS Linked",
        "33240000000635001": "GCP Account",
        "33240000000011003": "Azure linked account2"
      }
    },
    "code": 0
  }
                
Show full
Endpoints

Sample Request

Curl
Copied!
curl --request GET \
  --url 'https://www.site24x7.com/cs/api/cost/budget/users?JSONString=%7B%22module_id%22:3,%22sub_module_id%22:1,%22source_details%22:%7B%22budget_policy_id%22:%22114%22%7D%7D' \
  --header 'Authorization:  d92d4xxxxxxxxxxxxx15f52'
Show full

Sample Response: HTTP 200

Copied!
  {
    "message": "success",
    "data": {
      "workspace_migration_info": [],
      "org_info": {
        "zd_security": "https://directory.zoho.com/directory/enable?app_name=site24x7&zaaid=761048954&company_name=aravindrajvarshanllive2 - Site24x7&is_auto_setup=true&module=security",
        "name": "aravindrajvarshanllive2 - Site24x7",
        "admin": "aravindrajvarshan.l+live2@zohotest.com",
        "zd_users": "https://directory.zoho.com/directory/enable?app_name=site24x7&zaaid=761048954&company_name=aravindrajvarshanllive2 - Site24x7&is_auto_setup=true",
        "zd_org": "https://directory.zoho.com/directory/enable?app_name=site24x7&zaaid=761048954&company_name=aravindrajvarshanllive2 - Site24x7&is_auto_setup=true",
        "is_org_admin": true
      },
      "from_email": "noreply@site24x7.com",
      "contact_id": "414994000000025003",
      "users": [
        {
          "is_account_contact": false,
          "cloudspend_role": 12,
          "is_invited": true,
          "invited_by": "761049569",
          "display_name": "AK",
          "user_role_name": "Cost Administrator",
          "org_role": -1,
          "cloudspend_role_name": "Cost Administrator",
          "selection_type": 0,
          "user_role": 12,
          "email_address": "ananth.ks+csttest12@zohotest.com",
          "last_updated_time": "2025-09-18T21:04:13+0530",
          "user_id": "414994000001361001",
          "mobile_settings": {},
          "photo_url": "",
          "notify_medium": [
            1
          ]
        }
      ],
      "user_groups": [
        {
          "is_master_group": true,
          "attribute_group_id": "414994000000025005",
          "display_name": "Admin Group",
          "user_group_id": "414994000000025007",
          "users": [
            "414994000000025003",
            "414994000000343001",
            "414994000000640001",
            "414994000001342001"
          ],
          "product_id": 0
        }
      ]
    },
    "code": 0
  }
                
Show full

Sample Response: HTTP 400

Copied!
  {
    "message": "Bad Request",
    "error": "Invalid parameter format or missing required fields",
    "code": 400
  }
                
Show full

Sample Response: HTTP 401

Copied!
  {
    "message": "Unauthorized",
    "error": "Invalid authentication credentials or expired token",
    "code": 401
  }
                
Show full

Sample Response: HTTP 500

Copied!
  {
    "message": "Internal Server Error",
    "error": "An unexpected error occurred while processing the request",
    "code": 500
  }
                
Show full
Endpoints

Sample Request

Curl
Copied!
curl --request GET \
  --url https://www.site24x7.com/cs/api/cost/reports/accounts_data \
  --header 'Authorization:  d92d4xxxxxxxxxxxxx15f52'
Show full

Sample Response: HTTP 200

Copied!
  {
    "message": "success",
    "data": {
      "all_accounts": [
        {
          "zaaid": "34700657",
          "cloud_type": 1,
          "child_accounts": [
            {
              "name": "Subscription-2_Marketplace",
              "billing_account_id": "33240000000012207",
              "cloud_type": 1,
              "aws_account_id": "7ec79aea-afa9-4671-b72d-bcb7c902bd14",
              "is_payer_account": false,
              "name_with_entity": "Subscription-2_Marketplace"
            }
          ],
          "cost_account_id": "33240000000011003",
          "account_name": "Azure linked account2"
        }
      ]
    },
    "code": 0
  }
                
Show full

Sample Response: HTTP 400

Copied!
  {
    "message": "Bad Request",
    "error": "Invalid parameter format or missing required fields",
    "code": 400
  }
                
Show full

Sample Response: HTTP 401

Copied!
  {
    "message": "Unauthorized",
    "error": "Invalid authentication credentials or expired token",
    "code": 401
  }
                
Show full

Sample Response: HTTP 403

Copied!
  {
    "message": "Forbidden",
    "error": "Insufficient permissions to access this resource",
    "code": 403
  }
                
Show full

Sample Response: HTTP 500

Copied!
  {
    "message": "Internal Server Error",
    "error": "An unexpected error occurred while processing the request",
    "code": 500
  }
                
Show full
Endpoints

Sample Request

Curl
Copied!
curl --request GET \
  --url 'https://www.site24x7.com/cs/api/cost/admin/rule/configuration?rule_id=1' \
  --header 'Authorization:  d92d4xxxxxxxxxxxxx15f52'
Show full

Sample Response: HTTP 200

Copied!
  {}
                
Show full

Sample Response: HTTP 400

Copied!
  {
    "message": "Bad Request",
    "error": "Invalid parameter format or missing required fields",
    "code": 400
  }
                
Show full

Sample Response: HTTP 401

Copied!
  {
    "message": "Unauthorized",
    "error": "Invalid authentication credentials or expired token",
    "code": 401
  }
                
Show full

Sample Response: HTTP 403

Copied!
  {
    "message": "Forbidden",
    "error": "Insufficient permissions to access this resource",
    "code": 403
  }
                
Show full

Sample Response: HTTP 500

Copied!
  {
    "message": "Internal Server Error",
    "error": "An unexpected error occurred while processing the request",
    "code": 500
  }
                
Show full
Endpoints

Sample Request

Curl
Copied!
curl --request GET \
  --url 'https://www.site24x7.com/cs/api/cost/reports/compliance/tagging/download?tagging_compliance_id=33240000000708005&month_start_time=1767225600000&type=1' \
  --header 'Authorization:  d92d4xxxxxxxxxxxxx15f52'
Show full

Sample Response: HTTP 400

Copied!
  {
    "message": "Bad Request",
    "error": "Invalid parameter format or missing required fields",
    "code": 400
  }
                
Show full

Sample Response: HTTP 401

Copied!
  {
    "message": "Unauthorized",
    "error": "Invalid authentication credentials or expired token",
    "code": 401
  }
                
Show full

Sample Response: HTTP 403

Copied!
  {
    "message": "Forbidden",
    "error": "Insufficient permissions to access this resource",
    "code": 403
  }
                
Show full

Sample Response: HTTP 500

Copied!
  {
    "message": "Internal Server Error",
    "error": "An unexpected error occurred while processing the request",
    "code": 500
  }
                
Show full
Endpoints

Sample Request

Curl
Copied!
curl --request GET \
  --url https://www.site24x7.com/cs/api/cost/cost_centers/spend_analysis/anomaly/details/report/profiles \
  --header 'Authorization:  d92d4xxxxxxxxxxxxx15f52'
Show full

Sample Response: HTTP 200

Copied!
  {
    "message": "success",
    "data": {
      "return_data": {
        "return_data": [
          {
            "period": 14,
            "report_hour_meridiem": 1,
            "timezone": "Pacific/Kiritimati",
            "report_hour": 12,
            "report_hour_meridiem_text": "AM",
            "frequency": 1,
            "report_day": 2,
            "report_time": 0,
            "profile_id": "1",
            "default_profile": 1,
            "name": "cl.cst.schedule.profile.default.monthly.thismonth",
            "report_month": 0,
            "config": "Pacific/Kiritimati"
          }
        ]
      }
    },
    "code": 0
  }
                
Show full

Sample Response: HTTP 400

Copied!
  {
    "message": "Bad Request",
    "error": "Invalid parameter format or missing required fields",
    "code": 400
  }
                
Show full

Sample Response: HTTP 401

Copied!
  {
    "message": "Unauthorized",
    "error": "Invalid authentication credentials or expired token",
    "code": 401
  }
                
Show full

Sample Response: HTTP 500

Copied!
  {
    "message": "Internal Server Error",
    "error": "An unexpected error occurred while processing the request",
    "code": 500
  }
                
Show full
Endpoints

Sample Request

Curl
Copied!
curl --request GET \
  --url https://www.site24x7.com/cs/api/cost/cost_centers/resource_explorer/report/profiles \
  --header 'Authorization:  d92d4xxxxxxxxxxxxx15f52'
Show full

Sample Response: HTTP 200

Copied!
  {
    "message": "success",
    "data": {
      "return_data": {
        "return_data": [
          {
            "period": 14,
            "report_hour_meridiem": 1,
            "timezone": "Pacific/Kiritimati",
            "report_hour": 12,
            "report_hour_meridiem_text": "AM",
            "frequency": 1,
            "report_day": 2,
            "report_time": 0,
            "profile_id": "1",
            "default_profile": 1,
            "name": "cl.cst.schedule.profile.default.monthly.thismonth",
            "report_month": 0,
            "config": "Pacific/Kiritimati"
          }
        ]
      }
    },
    "code": 0
  }
                
Show full
Endpoints

Sample Request

Curl
Copied!
curl --request GET \
  --url https://www.site24x7.com/cs/api/cost/cloud_available_range \
  --header 'Authorization:  d92d4xxxxxxxxxxxxx15f52'
Show full

Sample Response: HTTP 200

Copied!
  {
    "message": "success",
    "data": {
      "max_date": "2026-02-20T15:58:29+0530",
      "min_date": "2025-05-01T00:00:00+0000"
    },
    "code": 0
  }
                
Show full
Endpoints

Sample Request

Curl
Copied!
curl --request POST \
  --url https://www.site24x7.com/cs/api/cost/sol_reports/trend_box \
  --header 'Authorization:  d92d4xxxxxxxxxxxxx15f52' \
  --header 'content-type: application/json' \
  --data '{"end_date":"2026-02-13","cost_tags":[],"period":1,"business_unit_id":"33240000000636103","cost_type":0,"accounts":[{"cost_account_id":"33240000000635001","billing_account_ids":["33240000000636001"]}],"bu_type":1,"start_date":"2026-01-01"}'
Show full

Sample Request Body

Copied!
  {
    "end_date": "2026-02-13",
    "cost_tags": [],
    "period": 1,
    "business_unit_id": "33240000000636103",
    "cost_type": 0,
    "accounts": [
      {
        "cost_account_id": "33240000000635001",
        "billing_account_ids": [
          "33240000000636001"
        ]
      }
    ],
    "bu_type": 1,
    "start_date": "2026-01-01"
  }
                
Show full

Sample Response: HTTP 200

Copied!
  {
    "message": "success",
    "data": {
      "trend_values": {
        "mode": 1,
        "values": {
          "AmazonECS": [
            [
              "2025-12-01T00:00:00+0530",
              4.177
            ],
            [
              "2026-01-01T00:00:00+0530",
              1.812
            ]
          ]
        }
      }
    },
    "code": 0
  }
                
Show full
Endpoints

Sample Request

Curl
Copied!
curl --request GET \
  --url https://www.site24x7.com/cs/api/cost/reports/unit/economics/schedule/report/profiles \
  --header 'Authorization:  d92d4xxxxxxxxxxxxx15f52'
Show full

Sample Response: HTTP 200

Copied!
  {
    "message": "success",
    "data": {
      "return_data": {
        "return_data": [
          {
            "period": 1,
            "report_hour_meridiem": 1,
            "profile_id": "1",
            "timezone": "Asia/Kolkata",
            "report_hour": 9,
            "default_profile": 0,
            "name": "Monthly Unit Economics",
            "report_hour_meridiem_text": "AM",
            "frequency": 1
          }
        ]
      }
    },
    "code": 0
  }
                
Show full

Sample Response: HTTP 400

Copied!
  {
    "message": "Bad Request",
    "error": "Invalid parameter format or missing required fields",
    "code": 400
  }
                
Show full

Sample Response: HTTP 401

Copied!
  {
    "message": "Unauthorized",
    "error": "Invalid authentication credentials or expired token",
    "code": 401
  }
                
Show full

Sample Response: HTTP 403

Copied!
  {
    "message": "Forbidden",
    "error": "Insufficient permissions to access this resource",
    "code": 403
  }
                
Show full

Sample Response: HTTP 500

Copied!
  {
    "message": "Internal Server Error",
    "error": "An unexpected error occurred while processing the request",
    "code": 500
  }
                
Show full
Endpoints

Sample Request

Curl
Copied!
curl --request GET \
  --url 'https://www.site24x7.com/cs/api/cost/cost_centers/cost?JSONString={"business_unit_id":["33412000000925017","33412000000925019","33412000000925025"]}' \
  --header 'Authorization:  d92d4xxxxxxxxxxxxx15f52'
Show full

Sample Response: HTTP 200

Copied!
  {
    "message": "success",
    "code": 0
  }
                
Show full

Sample Response: HTTP 400

Copied!
  {
    "message": "Bad Request",
    "error": "Invalid parameter format or missing required fields",
    "code": 400
  }
                
Show full

Sample Response: HTTP 401

Copied!
  {
    "message": "Unauthorized",
    "error": "Invalid authentication credentials or expired token",
    "code": 401
  }
                
Show full

Sample Response: HTTP 500

Copied!
  {
    "message": "Internal Server Error",
    "error": "An unexpected error occurred while processing the request",
    "code": 500
  }
                
Show full
Endpoints

Sample Request

Curl
Copied!
curl --request GET \
  --url 'https://www.site24x7.com/cs/api/cost/admin/rule/history/view?rule_id=1' \
  --header 'Authorization:  d92d4xxxxxxxxxxxxx15f52'
Show full

Sample Response: HTTP 200

Copied!
  {}
                
Show full

Sample Response: HTTP 400

Copied!
  {
    "message": "Bad Request",
    "error": "Invalid parameter format or missing required fields",
    "code": 400
  }
                
Show full

Sample Response: HTTP 401

Copied!
  {
    "message": "Unauthorized",
    "error": "Invalid authentication credentials or expired token",
    "code": 401
  }
                
Show full

Sample Response: HTTP 403

Copied!
  {
    "message": "Forbidden",
    "error": "Insufficient permissions to access this resource",
    "code": 403
  }
                
Show full

Sample Response: HTTP 500

Copied!
  {
    "message": "Internal Server Error",
    "error": "An unexpected error occurred while processing the request",
    "code": 500
  }
                
Show full
Endpoints

Sample Request

Curl
Copied!
curl --request GET \
  --url 'https://www.site24x7.com/cs/api/cost/optimization/33240000000011003/summary?cost_account_id=33240000000011003' \
  --header 'Authorization:  d92d4xxxxxxxxxxxxx15f52'
Show full

Sample Response: HTTP 200

Copied!
  {
    "message": "success",
    "data": {
      "return_data": {
        "tot_opt_count": "3",
        "total_expiry_count": "0",
        "totalQuantityUsed": 14787.400690999999,
        "totalPurchasedUnits": 15648,
        "opt_list": {
          "Virtual Machines": {
            "opt_count": "2",
            "opt_utilization": 97.93036669600937,
            "total_quantity": 10224,
            "used_quantity": 10012.400690999999,
            "expiry_count": "0",
            "opt_prod_id": "1",
            "opt_coverage": 31.4100692264699
          },
          "Virtual Machine Licenses": {
            "opt_count": "1",
            "opt_utilization": 88.03466076696165,
            "total_quantity": 5424,
            "used_quantity": 4775,
            "expiry_count": "0",
            "opt_prod_id": "2",
            "opt_coverage": 46.14433772863719
          }
        }
      }
    },
    "code": 0
  }
                
Show full
Copied!
  {
    "message": "success",
    "data": {
      "return_data": {
        "tot_opt_count": "2",
        "total_expiry_count": "0",
        "opt_list": {
          "Amazon MemoryDB": {
            "contract_type": {
              "1yr": "1"
            },
            "payment_type": {
              "No Upfront": "1"
            },
            "opt_count": "1",
            "opt_utilization": 99.68750079750004,
            "expiry_count": "0",
            "opt_prod_id": "33240000000067527",
            "opt_coverage": 23.620178041543028
          },
          "Amazon OpenSearch Service": {
            "contract_type": {
              "1yr": "1"
            },
            "payment_type": {
              "No Upfront": "1"
            },
            "opt_count": "1",
            "opt_utilization": 100,
            "expiry_count": "0",
            "opt_prod_id": "33240000000061675",
            "opt_coverage": 15.486915486915487
          }
        },
        "payment_type": {
          "cl.cst.client.opt.no.upfront.count": "2",
          "cl.cst.client.opt.partial.upfront.count": "0",
          "cl.cst.client.opt.all.upfront.count": "0"
        }
      }
    },
    "code": 0
  }
                
Show full

Sample Response: HTTP 400

Copied!
  {
    "message": "Bad Request",
    "error": "Invalid parameter format or missing required fields",
    "code": 400
  }
                
Show full

Sample Response: HTTP 401

Copied!
  {
    "message": "Unauthorized",
    "error": "Invalid authentication credentials or expired token",
    "code": 401
  }
                
Show full

Sample Response: HTTP 403

Copied!
  {
    "message": "Forbidden",
    "error": "Insufficient permissions to access this resource",
    "code": 403
  }
                
Show full

Sample Response: HTTP 500

Copied!
  {
    "message": "Internal Server Error",
    "error": "An unexpected error occurred while processing the request",
    "code": 500
  }
                
Show full
Endpoints

Sample Request

Curl
Copied!
curl --request POST \
  --url https://www.site24x7.com/cs/api/cost/accounts/resource_explorer/ri_list \
  --header 'Authorization:  d92d4xxxxxxxxxxxxx15f52' \
  --header 'content-type: application/json' \
  --data '{"end_date":"2019-08-24","accounts":[{"cost_account_id":"string","billing_account_ids":["string"]}],"resource_ids":["string"],"start_date":"2019-08-24"}'
Show full

Sample Request Body

Copied!
  {
    "end_date": "2019-08-24",
    "accounts": [
      {
        "cost_account_id": "string",
        "billing_account_ids": [
          "string"
        ]
      }
    ],
    "resource_ids": [
      "string"
    ],
    "start_date": "2019-08-24"
  }
                
Show full

Sample Response: HTTP 200

Copied!
  {
    "message": "success",
    "data": {},
    "code": 0
  }
                
Show full

Sample Response: HTTP 400

Copied!
  {
    "message": "Bad Request",
    "error": "Invalid parameter format or missing required fields",
    "code": 400
  }
                
Show full
Endpoints

Sample Request

Curl
Copied!
curl --request POST \
  --url https://www.site24x7.com/cs/api/cost/sol_reports/spend_analysis_panel \
  --header 'Authorization:  d92d4xxxxxxxxxxxxx15f52' \
  --header 'content-type: application/json' \
  --data '{"end_date":"2026-02-23","cost_tags":[],"period":1,"business_unit_id":"33240000000073683","cost_type":0,"accounts":[{"cost_account_id":"33240000000059001","billing_account_ids":["33240000000005103","33240000000060001"]}],"bu_type":1,"start_date":"2026-01-01"}'
Show full

Sample Request Body

Copied!
  {
    "end_date": "2026-02-23",
    "cost_tags": [],
    "period": 1,
    "business_unit_id": "33240000000073683",
    "cost_type": 0,
    "accounts": [
      {
        "cost_account_id": "33240000000059001",
        "billing_account_ids": [
          "33240000000005103",
          "33240000000060001"
        ]
      }
    ],
    "bu_type": 1,
    "start_date": "2026-01-01"
  }
                
Show full

Sample Response: HTTP 200

Copied!
  {
    "max_cost_account": {},
    "total_cost": 1250.75,
    "anomaly_widget": {},
    "cost_difference": {}
  }
                
Show full

Sample Response: HTTP 400

Copied!
  {
    "message": "Bad Request",
    "error": "Invalid parameter format or missing required fields",
    "code": 400
  }
                
Show full

Sample Response: HTTP 401

Copied!
  {
    "message": "Unauthorized",
    "error": "Invalid authentication credentials or expired token",
    "code": 401
  }
                
Show full

Sample Response: HTTP 500

Copied!
  {
    "message": "Internal Server Error",
    "error": "An unexpected error occurred while processing the request",
    "code": 500
  }
                
Show full
Endpoints

Sample Request

Curl
Copied!
curl --request GET \
  --url https://www.site24x7.com/cs/api/cost/accounts_status \
  --header 'Authorization:  d92d4xxxxxxxxxxxxx15f52'
Show full

Sample Response: HTTP 200

Copied!
  {
    "message": "success",
    "data": {
      "billProcess": false
    },
    "code": 0
  }
                
Show full

Sample Response: HTTP 400

Copied!
  {
    "message": "Bad Request",
    "error": "Invalid parameter format or missing required fields",
    "code": 400
  }
                
Show full

Sample Response: HTTP 401

Copied!
  {
    "message": "Unauthorized",
    "error": "Invalid authentication credentials or expired token",
    "code": 401
  }
                
Show full

Sample Response: HTTP 500

Copied!
  {
    "message": "Internal Server Error",
    "error": "An unexpected error occurred while processing the request",
    "code": 500
  }
                
Show full
Endpoints

Sample Request

Curl
Copied!
curl --request POST \
  --url https://www.site24x7.com/cs/api/cost/reports/hierarchy/report \
  --header 'Authorization:  d92d4xxxxxxxxxxxxx15f52' \
  --header 'content-type: application/json' \
  --data '{"cost_ids":["27"],"profile":{"profile_id":"1"},"format":2,"report_name":"Weekly Department Allocation Report","type":34,"contact_ids":[{"contact_id":"53565000000014003","contact_type":"1"}],"frequency":1}'
Show full

Sample Request Body

Copied!
  {
    "cost_ids": [
      "27"
    ],
    "profile": {
      "profile_id": "1"
    },
    "format": 2,
    "report_name": "Weekly Department Allocation Report",
    "type": 34,
    "contact_ids": [
      {
        "contact_id": "53565000000014003",
        "contact_type": "1"
      }
    ],
    "frequency": 1
  }
                
Show full

Sample Response: HTTP 200

Copied!
  {
    "message": "success",
    "data": {
      "report_id": "33240000000671063"
    },
    "code": 0
  }
                
Show full

Sample Response: HTTP 400

Copied!
  {
    "message": "Bad Request",
    "error": "Invalid parameter format or missing required fields",
    "code": 400
  }
                
Show full

Sample Response: HTTP 401

Copied!
  {
    "message": "Unauthorized",
    "error": "Invalid authentication credentials or expired token",
    "code": 401
  }
                
Show full

Sample Response: HTTP 403

Copied!
  {
    "message": "Forbidden",
    "error": "Insufficient permissions to access this resource",
    "code": 403
  }
                
Show full

Sample Response: HTTP 500

Copied!
  {
    "message": "Internal Server Error",
    "error": "An unexpected error occurred while processing the request",
    "code": 500
  }
                
Show full
Endpoints

Sample Request

Curl
Copied!
curl --request GET \
  --url https://www.site24x7.com/cs/api/cost/cost_centers/cost_user_settings \
  --header 'Authorization:  d92d4xxxxxxxxxxxxx15f52'
Show full

Sample Response: HTTP 200

Copied!
  {
    "message": "success",
    "data": {
      "custom_report_settings_data": {
        "logo_url_path": "/cs/cost/custom_report_image/LOGO_ID-images.png",
        "bg_color": "#022736",
        "from_email": "USER_FROM_EMAIL",
        "font_color": "#FFFFFF",
        "company_name": "COMPANY_NAME",
        "image_present": true,
        "percision_digits": 3
      },
      "general_settings_data": {
        "default_from_mail": "DEFAULT_FROM_EMAIL",
        "monitor_integ_config": true,
        "az_payg_cost_as_actual": false
      }
    },
    "code": 0
  }
                
Show full

Sample Response: HTTP 400

Copied!
  {
    "message": "Bad Request",
    "error": "Invalid parameter format or missing required fields",
    "code": 400
  }
                
Show full

Sample Response: HTTP 401

Copied!
  {
    "message": "Unauthorized",
    "error": "Invalid authentication credentials or expired token",
    "code": 401
  }
                
Show full

Sample Response: HTTP 500

Copied!
  {
    "message": "Internal Server Error",
    "error": "An unexpected error occurred while processing the request",
    "code": 500
  }
                
Show full
Endpoints

Sample Request

Curl
Copied!
curl --request GET \
  --url 'https://www.site24x7.com/cs/api/reports/anomaly/summary/list/data?anomaly_id=5&start_date=2025-12-04&end_date=2026-01-08' \
  --header 'Authorization:  d92d4xxxxxxxxxxxxx15f52'
Show full

Sample Response: HTTP 200

Copied!
  {
    "message": "success",
    "data": {
      "anomaly_name": "us-east-1",
      "anomalies": [
        {
          "updated_time": "1767873219308",
          "detected_time": "1767225600000",
          "currency_symbol": "$",
          "currency_locale": "en-CA",
          "deviation_percentage": 36.84952729585229,
          "anomaly_level": "Low",
          "currency_code": "CAD",
          "updated_timestamp": "2026-01-08T17:23:39+0530",
          "anomaly_status": "Open",
          "anomaly_status_code": 1,
          "anomaly_type": "upper",
          "expected_value": 630.6191204828195,
          "detected_timestamp": "2026-01-01T05:30:00+0530",
          "value": 862.9992854179998
        }
      ]
    },
    "code": 0
  }
                
Show full

Sample Response: HTTP 400

Copied!
  {
    "message": "Bad Request",
    "error": "Invalid parameter format or missing required fields",
    "code": 400
  }
                
Show full

Sample Response: HTTP 401

Copied!
  {
    "message": "Unauthorized",
    "error": "Invalid authentication credentials or expired token",
    "code": 401
  }
                
Show full

Sample Response: HTTP 403

Copied!
  {
    "message": "Forbidden",
    "error": "Insufficient permissions to access this resource",
    "code": 403
  }
                
Show full

Sample Response: HTTP 500

Copied!
  {
    "message": "Internal Server Error",
    "error": "An unexpected error occurred while processing the request",
    "code": 500
  }
                
Show full
Endpoints

Sample Request

Curl
Copied!
curl --request POST \
  --url https://www.site24x7.com/cs/api/cost/governance/resource/33240000000062935/tags \
  --header 'Authorization:  d92d4xxxxxxxxxxxxx15f52' \
  --header 'content-type: application/json' \
  --data '{"cost_account_id":"33240000000059001","resource_id":"33240000000062935"}'
Show full

Sample Request Body

Copied!
  {
    "cost_account_id": "33240000000059001",
    "resource_id": "33240000000062935"
  }
                
Show full

Sample Response: HTTP 200

Copied!
  {
    "message": "success",
    "data": {
      "return_data": [
        {
          "name": "AccountType",
          "id": "33240000000060041",
          "value": "AWS",
          "variation": 0
        }
      ]
    },
    "code": 0
  }
                
Show full

Sample Response: HTTP 400

Copied!
  {
    "message": "Bad Request",
    "error": "Invalid parameter format or missing required fields",
    "code": 400
  }
                
Show full

Sample Response: HTTP 401

Copied!
  {
    "message": "Unauthorized",
    "error": "Invalid authentication credentials or expired token",
    "code": 401
  }
                
Show full

Sample Response: HTTP 500

Copied!
  {
    "message": "Internal Server Error",
    "error": "An unexpected error occurred while processing the request",
    "code": 500
  }
                
Show full
Endpoints

Sample Request

Curl
Copied!
curl --request POST \
  --url https://www.site24x7.com/cs/api/cost/user_group \
  --header 'Authorization:  d92d4xxxxxxxxxxxxx15f52' \
  --header 'content-type: application/json' \
  --data '{"name":"Finance Team","contact_ids":["53565000000014003","53565000000014005"]}'
Show full

Sample Request Body

Copied!
  {
    "name": "Finance Team",
    "contact_ids": [
      "53565000000014003",
      "53565000000014005"
    ]
  }
                
Show full

Sample Response: HTTP 200

Copied!
  {
    "message": "success",
    "data": {
      "user_group_id": "53565000000636003"
    },
    "code": 0
  }
                
Show full

Sample Response: HTTP 400

Copied!
  {
    "message": "Bad Request",
    "error": "Invalid parameter format or missing required fields",
    "code": 400
  }
                
Show full

Sample Response: HTTP 401

Copied!
  {
    "message": "Unauthorized",
    "error": "Invalid authentication credentials or expired token",
    "code": 401
  }
                
Show full

Sample Response: HTTP 403

Copied!
  {
    "message": "Forbidden",
    "error": "Insufficient permissions to access this resource",
    "code": 403
  }
                
Show full

Sample Response: HTTP 500

Copied!
  {
    "message": "Internal Server Error",
    "error": "An unexpected error occurred while processing the request",
    "code": 500
  }
                
Show full
Endpoints

Sample Request

Curl
Copied!
curl --request PUT \
  --url https://www.site24x7.com/cs/api/cost/user_group \
  --header 'Authorization:  d92d4xxxxxxxxxxxxx15f52' \
  --header 'content-type: application/json' \
  --data '{"name":"Finance & Accounting Team","contact_ids":["53565000000014003","53565000000014005","53565000000014007"],"user_group_id":"53565000000072003"}'
Show full

Sample Request Body

Copied!
  {
    "name": "Finance & Accounting Team",
    "contact_ids": [
      "53565000000014003",
      "53565000000014005",
      "53565000000014007"
    ],
    "user_group_id": "53565000000072003"
  }
                
Show full

Sample Response: HTTP 200

Copied!
  {
    "message": "success",
    "data": {
      "status": "User group updated successfully"
    },
    "code": 0
  }
                
Show full

Sample Response: HTTP 400

Copied!
  {
    "message": "Bad Request",
    "error": "Invalid parameter format or missing required fields",
    "code": 400
  }
                
Show full

Sample Response: HTTP 401

Copied!
  {
    "message": "Unauthorized",
    "error": "Invalid authentication credentials or expired token",
    "code": 401
  }
                
Show full

Sample Response: HTTP 403

Copied!
  {
    "message": "Forbidden",
    "error": "Insufficient permissions to access this resource",
    "code": 403
  }
                
Show full

Sample Response: HTTP 500

Copied!
  {
    "message": "Internal Server Error",
    "error": "An unexpected error occurred while processing the request",
    "code": 500
  }
                
Show full
Endpoints

Sample Request

Curl
Copied!
curl --request GET \
  --url 'https://www.site24x7.com/cs/api/cost/reports/compliance/tagging/billed/names?business_unit_id=33240000000667001' \
  --header 'Authorization:  d92d4xxxxxxxxxxxxx15f52'
Show full

Sample Response: HTTP 200

Copied!
  {
    "message": "success",
    "data": [
      {
        "resource_name": "vidyaashankar_25803b31",
        "resource_id": "25",
        "billed_account_name": "Subscription-2"
      },
      {
        "resource_name": "res-instance1",
        "resource_id": "9",
        "billed_account_name": "Azure subscription 1"
      }
    ],
    "code": 0
  }
                
Show full

Sample Response: HTTP 400

Copied!
  {
    "message": "Bad Request",
    "error": "Invalid parameter format or missing required fields",
    "code": 400
  }
                
Show full

Sample Response: HTTP 401

Copied!
  {
    "message": "Unauthorized",
    "error": "Invalid authentication credentials or expired token",
    "code": 401
  }
                
Show full

Sample Response: HTTP 403

Copied!
  {
    "message": "Forbidden",
    "error": "Insufficient permissions to access this resource",
    "code": 403
  }
                
Show full

Sample Response: HTTP 500

Copied!
  {
    "message": "Internal Server Error",
    "error": "An unexpected error occurred while processing the request",
    "code": 500
  }
                
Show full
Endpoints

Sample Request

Curl
Copied!
curl --request POST \
  --url https://www.site24x7.com/cs/api/cost/accounts/group_by_property \
  --header 'Authorization:  d92d4xxxxxxxxxxxxx15f52' \
  --header 'content-type: application/json' \
  --data '{"end_date":"2019-08-24","cost_tags":["string"],"period":0,"cost_type":0,"group_by_tags":[{"v":0,"id":"33240000000061639"},{"v":1,"id":"33240000000061640"}],"accounts":[{"cost_account_id":"string","billing_account_ids":["string"]}],"group_by_type":"region","start_date":"2019-08-24"}'
Show full

Sample Request Body

Copied!
  {
    "end_date": "2019-08-24",
    "cost_tags": [
      "string"
    ],
    "period": 0,
    "cost_type": 0,
    "group_by_tags": [
      {
        "v": 0,
        "id": "33240000000061639"
      },
      {
        "v": 1,
        "id": "33240000000061640"
      }
    ],
    "accounts": [
      {
        "cost_account_id": "string",
        "billing_account_ids": [
          "string"
        ]
      }
    ],
    "group_by_type": "region",
    "start_date": "2019-08-24"
  }
                
Show full

Sample Response: HTTP 200

Copied!
  {
    "message": "success",
    "data": {
      "return_data": [
        {
          "group_name": "Sample Name",
          "cost": 1250.75
        }
      ]
    },
    "code": 0
  }
                
Show full

Sample Response: HTTP 400

Copied!
  {
    "message": "Bad Request",
    "error": "Invalid parameter format or missing required fields",
    "code": 400
  }
                
Show full
Endpoints

Sample Request

Curl
Copied!
curl --request POST \
  --url https://www.site24x7.com/cs/api/cost/user_role \
  --header 'Authorization:  d92d4xxxxxxxxxxxxx15f52' \
  --header 'content-type: application/json' \
  --data '{"description":"Can manage budgets and view cost reports","permission_settings":[{"view":2,"module_id":1,"write":2,"delete":0},{"view":2,"module_id":3,"write":1,"delete":0}],"tag_id":33240000000133104,"display_name":"Budget Manager","sub_module_permission_settings":[{"sub_module_id":1,"view":2,"module_id":5,"write":2,"delete":0}],"product_id":2}'
Show full

Sample Request Body

Copied!
  {
    "description": "Can manage budgets and view cost reports",
    "permission_settings": [
      {
        "view": 2,
        "module_id": 1,
        "write": 2,
        "delete": 0
      },
      {
        "view": 2,
        "module_id": 3,
        "write": 1,
        "delete": 0
      }
    ],
    "tag_id": 33240000000133104,
    "display_name": "Budget Manager",
    "sub_module_permission_settings": [
      {
        "sub_module_id": 1,
        "view": 2,
        "module_id": 5,
        "write": 2,
        "delete": 0
      }
    ],
    "product_id": 2
  }
                
Show full

Sample Response: HTTP 200

Copied!
  {
    "message": "success",
    "data": {
      "permission_settings": [
        {
          "view": 2,
          "module_id": 1,
          "write": 2,
          "delete": 2
        }
      ],
      "account_type": 0,
      "last_updated_time": "1768993328011",
      "role_id": "53565000000636005",
      "product_id": 2,
      "description": "Using accounts and Bu",
      "display_name": "Accounts",
      "created_by": "89170285"
    },
    "code": 0
  }
                
Show full

Sample Response: HTTP 400

Copied!
  {
    "message": "Bad Request",
    "error": "Invalid parameter format or missing required fields",
    "code": 400
  }
                
Show full

Sample Response: HTTP 401

Copied!
  {
    "message": "Unauthorized",
    "error": "Invalid authentication credentials or expired token",
    "code": 401
  }
                
Show full

Sample Response: HTTP 403

Copied!
  {
    "message": "Forbidden",
    "error": "Insufficient permissions to access this resource",
    "code": 403
  }
                
Show full

Sample Response: HTTP 500

Copied!
  {
    "message": "Internal Server Error",
    "error": "An unexpected error occurred while processing the request",
    "code": 500
  }
                
Show full
Endpoints

Sample Request

Curl
Copied!
curl --request POST \
  --url https://www.site24x7.com/cs/api/cost/reports/allocations \
  --header 'Authorization:  d92d4xxxxxxxxxxxxx15f52' \
  --header 'content-type: application/json' \
  --data '{"name":"Department Cost Allocation","accounts":[{"cost_account_id":"33240000000011003","billing_account_ids":["33240000000012207","33240000000012021"]}],"allocation_type":3,"order":[{"type":2,"tag_key":"Accounts","tag_variation":-3335},{"type":5,"tag_key":"Department","tag_variation":-4},{"type":5,"tag_key":"frequency","tag_variation":1001}]}'
Show full

Sample Request Body

Copied!
  {
    "name": "Department Cost Allocation",
    "accounts": [
      {
        "cost_account_id": "33240000000011003",
        "billing_account_ids": [
          "33240000000012207",
          "33240000000012021"
        ]
      }
    ],
    "allocation_type": 3,
    "order": [
      {
        "type": 2,
        "tag_key": "Accounts",
        "tag_variation": -3335
      },
      {
        "type": 5,
        "tag_key": "Department",
        "tag_variation": -4
      },
      {
        "type": 5,
        "tag_key": "frequency",
        "tag_variation": 1001
      }
    ]
  }
                
Show full

Sample Response: HTTP 200

Copied!
  {
    "message": "success",
    "data": {
      "cost_allocation_id": "28"
    },
    "code": 0
  }
                
Show full

Sample Response: HTTP 400

Copied!
  {
    "message": "Bad Request",
    "error": "Invalid parameter format or missing required fields",
    "code": 400
  }
                
Show full

Sample Response: HTTP 401

Copied!
  {
    "message": "Unauthorized",
    "error": "Invalid authentication credentials or expired token",
    "code": 401
  }
                
Show full

Sample Response: HTTP 403

Copied!
  {
    "message": "Forbidden",
    "error": "Insufficient permissions to access this resource",
    "code": 403
  }
                
Show full

Sample Response: HTTP 500

Copied!
  {
    "message": "Internal Server Error",
    "error": "An unexpected error occurred while processing the request",
    "code": 500
  }
                
Show full
Endpoints

Sample Request

Curl
Copied!
curl --request GET \
  --url https://www.site24x7.com/cs/api/cost/reports/allocations \
  --header 'Authorization:  d92d4xxxxxxxxxxxxx15f52'
Show full

Sample Response: HTTP 200

Copied!
  {
    "message": "success",
    "data": {
      "allocation_list": [
        {
          "name": "Default Allocation",
          "id": "-1",
          "type": 2,
          "starred": false,
          "cloud_types": "-1"
        }
      ]
    },
    "code": 0
  }
                
Show full

Sample Response: HTTP 400

Copied!
  {
    "message": "Bad Request",
    "error": "Invalid parameter format or missing required fields",
    "code": 400
  }
                
Show full

Sample Response: HTTP 401

Copied!
  {
    "message": "Unauthorized",
    "error": "Invalid authentication credentials or expired token",
    "code": 401
  }
                
Show full

Sample Response: HTTP 403

Copied!
  {
    "message": "Forbidden",
    "error": "Insufficient permissions to access this resource",
    "code": 403
  }
                
Show full

Sample Response: HTTP 500

Copied!
  {
    "message": "Internal Server Error",
    "error": "An unexpected error occurred while processing the request",
    "code": 500
  }
                
Show full
Endpoints

Sample Request

Curl
Copied!
curl --request POST \
  --url https://www.site24x7.com/cs/api/cost/sol_reports/resource_pagination \
  --header 'Authorization:  d92d4xxxxxxxxxxxxx15f52' \
  --header 'content-type: application/json' \
  --data '{"end_date":"2026-01-16","cost_tags":[{"v":3,"id":"33240000000060395"}],"period":-1,"business_unit_id":"33240000000073491","cost_type":0,"property":{"v":1,"id":"33240000000060007"},"group_by_tags":[{"v":1,"id":"33240000000060007"}],"accounts":[{"cost_account_id":"33240000000059001","billing_account_ids":["33240000000060001"]}],"bu_type":1,"resource_ids":["33240000000060825","33240000000060823","33240000000072393","33240000000060735","33240000000060391","33240000000061611"],"group_by_type":"tag","start_date":"2025-12-01"}'
Show full

Sample Request Body

Copied!
  {
    "end_date": "2026-01-16",
    "cost_tags": [
      {
        "v": 3,
        "id": "33240000000060395"
      }
    ],
    "period": -1,
    "business_unit_id": "33240000000073491",
    "cost_type": 0,
    "property": {
      "v": 1,
      "id": "33240000000060007"
    },
    "group_by_tags": [
      {
        "v": 1,
        "id": "33240000000060007"
      }
    ],
    "accounts": [
      {
        "cost_account_id": "33240000000059001",
        "billing_account_ids": [
          "33240000000060001"
        ]
      }
    ],
    "bu_type": 1,
    "resource_ids": [
      "33240000000060825",
      "33240000000060823",
      "33240000000072393",
      "33240000000060735",
      "33240000000060391",
      "33240000000061611"
    ],
    "group_by_type": "tag",
    "start_date": "2025-12-01"
  }
                
Show full

Sample Response: HTTP 200

Copied!
  {
    "message": "success",
    "data": {
      "return_data": {
        "mode": 1,
        "values": {
          "33240000000060823": {
            "name": "user-athena-db-demo-save",
            "monthly_split": [
              [
                "2025-12-01T00:00:00+0530",
                0.07
              ],
              [
                "2026-01-01T00:00:00+0530",
                0
              ]
            ],
            "tag_value": "",
            "id": "33240000000060823",
            "total_cost": 0.07,
            "type": "AmazonS3"
          },
          "33240000000060391": {
            "name": "aws-cloudtrail-logs-063251190422-be5ea081",
            "monthly_split": [
              [
                "2025-12-01T00:00:00+0530",
                0.042
              ],
              [
                "2026-01-01T00:00:00+0530",
                0
              ]
            ],
            "tag_value": "",
            "id": "33240000000060391",
            "total_cost": 0.042,
            "type": "AmazonS3"
          },
          "33240000000060825": {
            "name": "do-not-delete-rds-custom-063251190422-us-east-2-7135fa",
            "monthly_split": [
              [
                "2025-12-01T00:00:00+0530",
                0.335
              ],
              [
                "2026-01-01T00:00:00+0530",
                0.21
              ]
            ],
            "tag_value": "",
            "id": "33240000000060825",
            "total_cost": 0.545,
            "type": "AmazonS3"
          }
        }
      }
    },
    "code": 0
  }
                
Show full
Endpoints

Sample Request

Curl
Copied!
curl --request GET \
  --url https://www.site24x7.com/cs/api/cost/billed_res_count \
  --header 'Authorization:  d92d4xxxxxxxxxxxxx15f52'
Show full

Sample Response: HTTP 200

Copied!
  {
    "message": "success",
    "data": {
      "data": {
        "33240000000059001": {
          "prev_month": "2209",
          "cur_month": "1976"
        },
        "33240000000011003": {
          "prev_month": "59",
          "cur_month": "43"
        }
      }
    },
    "code": 0
  }
                
Show full

Sample Response: HTTP 400

Copied!
  {
    "message": "Bad Request",
    "error": "Invalid parameter format or missing required fields",
    "code": 400
  }
                
Show full

Sample Response: HTTP 401

Copied!
  {
    "message": "Unauthorized",
    "error": "Invalid authentication credentials or expired token",
    "code": 401
  }
                
Show full

Sample Response: HTTP 404

Copied!
  {
    "message": "Not Found",
    "error": "The requested resource was not found",
    "code": 404
  }
                
Show full

Sample Response: HTTP 500

Copied!
  {
    "message": "Internal Server Error",
    "error": "An unexpected error occurred while processing the request",
    "code": 500
  }
                
Show full
Endpoints

Sample Request

Curl
Copied!
curl --request GET \
  --url https://www.site24x7.com/cs/api/cost/cost_user_settings \
  --header 'Authorization:  d92d4xxxxxxxxxxxxx15f52'
Show full

Sample Response: HTTP 200

Copied!
  {
    "message": "success",
    "data": {
      "custom_report_settings_data": {
        "bg_color": "#FFFFFF",
        "from_email": "noreply@localsite24x7.com",
        "image_present": false,
        "font_color": "#22242a",
        "percision_digits": 3,
        "company_name": "CloudSpend"
      },
      "general_settings_data": {
        "default_from_mail": "noreply@localsite24x7.com",
        "monitor_integ_config": false,
        "az_payg_cost_as_actual": false
      },
      "mailer_settings_data": [
        {
          "report_id": "33240000000507001",
          "profile": {
            "profile_name": "CloudSpend Weekly Summary",
            "period": 0,
            "hour": 11,
            "day": 4,
            "profile_id": "-2",
            "timezone": "Asia/Kolkata"
          },
          "format": 1,
          "type": -2,
          "report_name": "CloudSpend Weekly Summary",
          "contact_ids": [],
          "frequency": 7,
          "status": 1
        }
      ]
    },
    "code": 0
  }
                
Show full

Sample Response: HTTP 400

Copied!
  {
    "message": "Bad Request",
    "error": "Invalid parameter format or missing required fields",
    "code": 400
  }
                
Show full

Sample Response: HTTP 401

Copied!
  {
    "message": "Unauthorized",
    "error": "Invalid authentication credentials or expired token",
    "code": 401
  }
                
Show full

Sample Response: HTTP 403

Copied!
  {
    "message": "Forbidden",
    "error": "Insufficient permissions to access this resource",
    "code": 403
  }
                
Show full

Sample Response: HTTP 500

Copied!
  {
    "message": "Internal Server Error",
    "error": "An unexpected error occurred while processing the request",
    "code": 500
  }
                
Show full
Endpoints

Sample Request

Curl
Copied!
curl --request GET \
  --url https://www.site24x7.com/cs/api/cost/admin/details \
  --header 'Authorization:  d92d4xxxxxxxxxxxxx15f52'
Show full

Sample Response: HTTP 200

Copied!
  {
    "message": "success",
    "data": {
      "workspace_migration_info": [],
      "contact_id": "53565000000014003",
      "subscription_range": {
        "min_date_string": "2025-07-25T18:17:38+0530",
        "max_date_string": "2026-01-19T05:10:41+0530"
      }
    },
    "code": 0
  }
                
Show full

Sample Response: HTTP 400

Copied!
  {
    "message": "Bad Request",
    "error": "Invalid parameter format or missing required fields",
    "code": 400
  }
                
Show full

Sample Response: HTTP 401

Copied!
  {
    "message": "Unauthorized",
    "error": "Invalid authentication credentials or expired token",
    "code": 401
  }
                
Show full

Sample Response: HTTP 403

Copied!
  {
    "message": "Forbidden",
    "error": "Insufficient permissions to access this resource",
    "code": 403
  }
                
Show full

Sample Response: HTTP 500

Copied!
  {
    "message": "Internal Server Error",
    "error": "An unexpected error occurred while processing the request",
    "code": 500
  }
                
Show full
Endpoints

Sample Request

Curl
Copied!
curl --request POST \
  --url https://www.site24x7.com/cs/api/cost/reports/unit/economics/schedule/report \
  --header 'Authorization:  d92d4xxxxxxxxxxxxx15f52' \
  --header 'content-type: application/json' \
  --data '{"labels_to_delete":[0],"account_type":0,"solutionReportId":0,"checks_type":0,"type":0,"frequency":1,"labels_to_add":[{"value":"string","key":"string"}],"usage_type":0,"cloudType":0,"product_id":0,"service_id":0,"bu_id":0,"is_multi_step":0,"profile":{"profile_name":"string","period":0,"hour":23,"month":11,"profile_id":0,"timezone":"Asia/Kolkata","day":1,"frequency":0},"format":1,"region_id":0,"billed_account_id":["string"],"label":[{"value":"string","key":"string"}],"contact_ids":[{"contact_id":53565000000014000,"contact_type":1}],"usage_unit":0,"cost_ids":["string"],"isCustomTaggingCompliance":true,"anomaly_status":0,"config_id":0,"report_id":0,"taggingComplianceId":0,"category":0,"report_name":"Unit Economics Monthly Report","group_by_type":0,"plan_id":0,"status":0}'
Show full

Sample Request Body

Copied!
  {
    "labels_to_delete": [
      0
    ],
    "account_type": 0,
    "solutionReportId": 0,
    "checks_type": 0,
    "type": 0,
    "frequency": 1,
    "labels_to_add": [
      {
        "value": "string",
        "key": "string"
      }
    ],
    "usage_type": 0,
    "cloudType": 0,
    "product_id": 0,
    "service_id": 0,
    "bu_id": 0,
    "is_multi_step": 0,
    "profile": {
      "profile_name": "string",
      "period": 0,
      "hour": 23,
      "month": 11,
      "profile_id": 0,
      "timezone": "Asia/Kolkata",
      "day": 1,
      "frequency": 0
    },
    "format": 1,
    "region_id": 0,
    "billed_account_id": [
      "string"
    ],
    "label": [
      {
        "value": "string",
        "key": "string"
      }
    ],
    "contact_ids": [
      {
        "contact_id": 53565000000014000,
        "contact_type": 1
      }
    ],
    "usage_unit": 0,
    "cost_ids": [
      "string"
    ],
    "isCustomTaggingCompliance": true,
    "anomaly_status": 0,
    "config_id": 0,
    "report_id": 0,
    "taggingComplianceId": 0,
    "category": 0,
    "report_name": "Unit Economics Monthly Report",
    "group_by_type": 0,
    "plan_id": 0,
    "status": 0
  }
                
Show full

Sample Response: HTTP 200

Copied!
  {
    "message": "success",
    "code": 0
  }
                
Show full

Sample Response: HTTP 400

Copied!
  {
    "message": "Bad Request",
    "error": "Invalid parameter format or missing required fields",
    "code": 400
  }
                
Show full

Sample Response: HTTP 401

Copied!
  {
    "message": "Unauthorized",
    "error": "Invalid authentication credentials or expired token",
    "code": 401
  }
                
Show full

Sample Response: HTTP 403

Copied!
  {
    "message": "Forbidden",
    "error": "Insufficient permissions to access this resource",
    "code": 403
  }
                
Show full

Sample Response: HTTP 500

Copied!
  {
    "message": "Internal Server Error",
    "error": "An unexpected error occurred while processing the request",
    "code": 500
  }
                
Show full
Endpoints

Sample Request

Curl
Copied!
curl --request GET \
  --url https://www.site24x7.com/cs/api/cost/reports/unit/economics/custom/report/details/{report_id} \
  --header 'Authorization:  d92d4xxxxxxxxxxxxx15f52'
Show full

Sample Response: HTTP 200

Copied!
  {
    "message": "success",
    "data": {
      "name": "My Unit Economics Report",
      "account_type": 0,
      "id": "33240000000900001",
      "account_id": 33240000000059000,
      "tags": "[]",
      "labels": []
    },
    "code": 0
  }
                
Show full

Sample Response: HTTP 400

Copied!
  {
    "message": "Bad Request",
    "error": "Invalid parameter format or missing required fields",
    "code": 400
  }
                
Show full

Sample Response: HTTP 401

Copied!
  {
    "message": "Unauthorized",
    "error": "Invalid authentication credentials or expired token",
    "code": 401
  }
                
Show full

Sample Response: HTTP 403

Copied!
  {
    "message": "Forbidden",
    "error": "Insufficient permissions to access this resource",
    "code": 403
  }
                
Show full

Sample Response: HTTP 500

Copied!
  {
    "message": "Internal Server Error",
    "error": "An unexpected error occurred while processing the request",
    "code": 500
  }
                
Show full
Endpoints

Sample Request

Curl
Copied!
curl --request GET \
  --url https://www.site24x7.com/cs/api/cost/reports \
  --header 'Authorization:  d92d4xxxxxxxxxxxxx15f52'
Show full

Sample Response: HTTP 200

Copied!
  {
    "message": "success",
    "code": 0
  }
                
Show full

Sample Response: HTTP 400

Copied!
  {
    "message": "Bad Request",
    "error": "Invalid parameter format or missing required fields",
    "code": 400
  }
                
Show full

Sample Response: HTTP 401

Copied!
  {
    "message": "Unauthorized",
    "error": "Invalid authentication credentials or expired token",
    "code": 401
  }
                
Show full

Sample Response: HTTP 403

Copied!
  {
    "message": "Forbidden",
    "error": "Insufficient permissions to access this resource",
    "code": 403
  }
                
Show full

Sample Response: HTTP 500

Copied!
  {
    "message": "Internal Server Error",
    "error": "An unexpected error occurred while processing the request",
    "code": 500
  }
                
Show full
Endpoints

Sample Request

Curl
Copied!
curl --request GET \
  --url 'https://www.site24x7.com/cs/api/checks/anomaly/chart?anomaly_id=251&start_date=2025-11-01&end_date=2025-12-02' \
  --header 'Authorization:  d92d4xxxxxxxxxxxxx15f52'
Show full

Sample Response: HTTP 200

Copied!
  {
    "message": "success",
    "data": {
      "meta": {
        "last_detected_timestamp": "2025-11-23T05:30:00+0530",
        "anomaly_id": "251",
        "cloud_type_name": "AWS",
        "last_detected_time": "1763856000000",
        "anomaly_name": "AWSDEV_Anomaly",
        "category": "Checks",
        "total_occurences": "3"
      },
      "chart_data": {
        "1": [
          [
            "2025-11-01T00:00:00+0530",
            "1"
          ],
          [
            "2025-11-13T00:00:00+0530",
            "1"
          ]
        ],
        "2": [],
        "3": []
      }
    },
    "code": 0
  }
                
Show full

Sample Response: HTTP 400

Copied!
  {
    "message": "Bad Request",
    "error": "Invalid parameter format or missing required fields",
    "code": 400
  }
                
Show full

Sample Response: HTTP 401

Copied!
  {
    "message": "Unauthorized",
    "error": "Invalid authentication credentials or expired token",
    "code": 401
  }
                
Show full

Sample Response: HTTP 500

Copied!
  {
    "message": "Internal Server Error",
    "error": "An unexpected error occurred while processing the request",
    "code": 500
  }
                
Show full
Endpoints

Sample Request

Curl
Copied!
curl --request GET \
  --url 'https://www.site24x7.com/cs/api/cost/cloud_group_by_entities?JSONString=%7B%22start_date%22:%222026-01-01%22,%22end_date%22:%222026-02-11%22,%22group_by_type%22:%22region%22%7D' \
  --header 'Authorization:  d92d4xxxxxxxxxxxxx15f52'
Show full

Sample Response: HTTP 200

Copied!
  {
    "message": "success",
    "data": {
      "data": [
        {
          "cloud": "AWS",
          "name": "S247-AWS-team - AWS-Anniversary",
          "acc_name": "AWS Linked",
          "cost": 2560.214
        }
      ]
    },
    "code": 0
  }
                
Show full

Sample Response: HTTP 400

Copied!
  {
    "message": "Bad Request",
    "error": "Invalid parameter format or missing required fields",
    "code": 400
  }
                
Show full

Sample Response: HTTP 401

Copied!
  {
    "message": "Unauthorized",
    "error": "Invalid authentication credentials or expired token",
    "code": 401
  }
                
Show full

Sample Response: HTTP 403

Copied!
  {
    "message": "Forbidden",
    "error": "Insufficient permissions to access this resource",
    "code": 403
  }
                
Show full

Sample Response: HTTP 500

Copied!
  {
    "message": "Internal Server Error",
    "error": "An unexpected error occurred while processing the request",
    "code": 500
  }
                
Show full
Endpoints

Sample Request

Curl
Copied!
curl --request GET \
  --url https://www.site24x7.com/cs/api/cost/accounts/resource_explorer/resource/{resource_id}/tags \
  --header 'Authorization:  d92d4xxxxxxxxxxxxx15f52' \
  --header 'content-type: application/json' \
  --data '{"cost_account_id":"33240000000059001"}'
Show full

Sample Request Body

Copied!
  {
    "cost_account_id": "33240000000059001"
  }
                
Show full

Sample Response: HTTP 200

Copied!
  {
    "message": "success",
    "data": {
      "return_data": [
        {
          "name": "AccountType",
          "id": "33240000000060041",
          "value": "AWS",
          "variation": 0
        },
        {
          "name": "CloudSpend",
          "id": "33240000000060043",
          "value": "Development",
          "variation": 0
        },
        {
          "name": "createdBy",
          "id": "33240000000060181",
          "value": "IAMUser:AIDAQ5OQQSKLIR6WWYKPI:16240",
          "variation": 0
        }
      ]
    },
    "code": 0
  }
                
Show full

Sample Response: HTTP 400

Copied!
  {
    "message": "Bad Request",
    "error": "Invalid parameter format or missing required fields",
    "code": 400
  }
                
Show full

Sample Response: HTTP 401

Copied!
  {
    "message": "Unauthorized",
    "error": "Invalid authentication credentials or expired token",
    "code": 401
  }
                
Show full

Sample Response: HTTP 404

Copied!
  {
    "message": "Not Found",
    "error": "The requested resource was not found",
    "code": 404
  }
                
Show full

Sample Response: HTTP 500

Copied!
  {
    "message": "Internal Server Error",
    "error": "An unexpected error occurred while processing the request",
    "code": 500
  }
                
Show full
Endpoints

Sample Request

Curl
Copied!
curl --request GET \
  --url https://www.site24x7.com/cs/api/cost/admin/tag_profiles \
  --header 'Authorization:  d92d4xxxxxxxxxxxxx15f52'
Show full

Sample Response: HTTP 200

Copied!
  {
    "message": "success",
    "data": {
      "return_data": [
        {
          "color": "#43b8c6",
          "tagId": "33240000000077029",
          "value": "sada",
          "key": "tagProfile",
          "v": 10,
          "mapIds": [
            "33240000000011003"
          ]
        }
      ]
    },
    "code": 0
  }
                
Show full

Sample Response: HTTP 400

Copied!
  {
    "message": "Bad Request",
    "error": "Invalid parameter format or missing required fields",
    "code": 400
  }
                
Show full

Sample Response: HTTP 401

Copied!
  {
    "message": "Unauthorized",
    "error": "Invalid authentication credentials or expired token",
    "code": 401
  }
                
Show full

Sample Response: HTTP 403

Copied!
  {
    "message": "Forbidden",
    "error": "Insufficient permissions to access this resource",
    "code": 403
  }
                
Show full

Sample Response: HTTP 500

Copied!
  {
    "message": "Internal Server Error",
    "error": "An unexpected error occurred while processing the request",
    "code": 500
  }
                
Show full
Endpoints

Sample Request

Curl
Copied!
curl --request GET \
  --url 'https://www.site24x7.com/cs/api/cost/cost_centers/cc_tags?JSONString={"cost_account_id":["33412000000178017","33412000000219009","33412000000629001","33412000000219015","33412000000219001"]}' \
  --header 'Authorization:  d92d4xxxxxxxxxxxxx15f52'
Show full

Sample Response: HTTP 200

Copied!
  {
    "message": "success",
    "data": {
      "meta": {
        "33412000000629001": "Azure Linked account",
        "33412000000219009": "GCP testing",
        "33412000000219001": "Azure testing",
        "33412000000178017": "Azure Account",
        "33412000000219015": "AWS ORG testing"
      },
      "bu_tag_Data": {
        "33412000000178017": [
          {
            "type": "",
            "tagId": "33412000000180003",
            "value": "Recurring",
            "v": 1001,
            "key": "frequency"
          },
          {
            "type": "",
            "tagId": "33412000000180005",
            "value": "Purchase",
            "v": 1002,
            "key": "chargeType"
          },
          {
            "type": "",
            "tagId": "33412000000180007",
            "value": "microsoft.capacity",
            "v": 1003,
            "key": "consumedService"
          },
          {
            "type": "",
            "tagId": "33412000000180009",
            "value": "Virtual Machines",
            "v": 1004,
            "key": "meterCategory"
          },
          {
            "type": "",
            "tagId": "33412000000180077",
            "value": "Cloudspend",
            "v": 0,
            "key": "App"
          }
        ]
      }
    },
    "code": 0
  }
                
Show full

Sample Response: HTTP 400

Copied!
  {
    "message": "Bad Request",
    "error": "Invalid parameter format or missing required fields",
    "code": 400
  }
                
Show full

Sample Response: HTTP 401

Copied!
  {
    "message": "Unauthorized",
    "error": "Invalid authentication credentials or expired token",
    "code": 401
  }
                
Show full

Sample Response: HTTP 500

Copied!
  {
    "message": "Internal Server Error",
    "error": "An unexpected error occurred while processing the request",
    "code": 500
  }
                
Show full
Endpoints

Sample Request

Curl
Copied!
curl --request POST \
  --url https://www.site24x7.com/cs/api/cost/cost_center \
  --header 'Authorization:  d92d4xxxxxxxxxxxxx15f52' \
  --header 'content-type: application/json' \
  --data '{"business_unit_name":"Hybrid Team","cost_tags":[],"integrated_zaaids":[],"billing_account_ids":["33240000000012001","33240000000060001","33240000000636001"]}'
Show full

Sample Request Body

Copied!
  {
    "business_unit_name": "Hybrid Team",
    "cost_tags": [],
    "integrated_zaaids": [],
    "billing_account_ids": [
      "33240000000012001",
      "33240000000060001",
      "33240000000636001"
    ]
  }
                
Show full
Copied!
  {
    "business_unit_name": "Tagged CC",
    "cost_tags": [
      {
        "v": 1,
        "id": "tag123"
      }
    ],
    "integrated_zaaids": [],
    "billing_account_ids": [
      "33240000000012001",
      "33240000000012021"
    ]
  }
                
Show full
Copied!
  {
    "business_unit_name": "Azure Production",
    "cost_tags": [],
    "integrated_zaaids": [],
    "billing_account_ids": [
      "33240000000012207",
      "33240000000012021",
      "33240000000012033",
      "33240000000012001",
      "33240000000216281"
    ]
  }
                
Show full

Sample Response: HTTP 200

Copied!
  {
    "message": "success",
    "data": {
      "business_unit_id": "33240000000829001"
    },
    "code": 0
  }
                
Show full

Sample Response: HTTP 400

Copied!
  {
    "message": "Bad Request",
    "error": "Invalid parameter format or missing required fields",
    "code": 400
  }
                
Show full

Sample Response: HTTP 401

Copied!
  {
    "message": "Unauthorized",
    "error": "Invalid authentication credentials or expired token",
    "code": 401
  }
                
Show full

Sample Response: HTTP 500

Copied!
  {
    "message": "Internal Server Error",
    "error": "An unexpected error occurred while processing the request",
    "code": 500
  }
                
Show full
Endpoints

Sample Request

Curl
Copied!
curl --request GET \
  --url 'https://www.site24x7.com/cs/api/cost/governance/checks/tags?governanceCheckId=94' \
  --header 'Authorization:  d92d4xxxxxxxxxxxxx15f52'
Show full

Sample Response: HTTP 200

Copied!
  {
    "message": "success",
    "data": {
      "tags": {
        "tags": "test_value : test_value"
      }
    },
    "code": 0
  }
                
Show full

Sample Response: HTTP 400

Copied!
  {
    "message": "Bad Request",
    "error": "Invalid parameter format or missing required fields",
    "code": 400
  }
                
Show full

Sample Response: HTTP 401

Copied!
  {
    "message": "Unauthorized",
    "error": "Invalid authentication credentials or expired token",
    "code": 401
  }
                
Show full

Sample Response: HTTP 500

Copied!
  {
    "message": "Internal Server Error",
    "error": "An unexpected error occurred while processing the request",
    "code": 500
  }
                
Show full
Endpoints

Sample Request

Curl
Copied!
curl --request GET \
  --url 'https://www.site24x7.com/cs/api/reports/anomaly/summary/list/similar?anomaly_id=5&start_date=2025-12-04&end_date=2026-01-08' \
  --header 'Authorization:  d92d4xxxxxxxxxxxxx15f52'
Show full

Sample Response: HTTP 200

Copied!
  {
    "message": "success",
    "data": {
      "similar_anomalies": [
        {
          "anomaly_name": "AWS Linked",
          "category": 10001,
          "anomaly_id": "1"
        },
        {
          "anomaly_name": "AWS (AccountType)",
          "category": 33,
          "anomaly_id": "3"
        },
        {
          "anomaly_name": "S247-AWS-team_AWS",
          "category": 3,
          "anomaly_id": "4"
        },
        {
          "anomaly_name": "Development (CloudSpend)",
          "category": 33,
          "anomaly_id": "6"
        },
        {
          "anomaly_name": "AmazonES",
          "category": 2,
          "anomaly_id": "9"
        },
        {
          "anomaly_name": "Azure subscription 1_Microsoft",
          "category": 3,
          "anomaly_id": "18"
        },
        {
          "anomaly_name": "AmazonRDS",
          "category": 2,
          "anomaly_id": "96"
        },
        {
          "anomaly_name": "AWS (AccountType)",
          "category": 33,
          "anomaly_id": "105"
        },
        {
          "anomaly_name": "Development (CloudSpend)",
          "category": 33,
          "anomaly_id": "106"
        },
        {
          "anomaly_name": "test2",
          "category": 10002,
          "anomaly_id": "117"
        },
        {
          "anomaly_name": "hybrid",
          "category": 10002,
          "anomaly_id": "118"
        }
      ]
    },
    "code": 0
  }
                
Show full

Sample Response: HTTP 400

Copied!
  {
    "message": "Bad Request",
    "error": "Invalid parameter format or missing required fields",
    "code": 400
  }
                
Show full

Sample Response: HTTP 401

Copied!
  {
    "message": "Unauthorized",
    "error": "Invalid authentication credentials or expired token",
    "code": 401
  }
                
Show full

Sample Response: HTTP 403

Copied!
  {
    "message": "Forbidden",
    "error": "Insufficient permissions to access this resource",
    "code": 403
  }
                
Show full

Sample Response: HTTP 500

Copied!
  {
    "message": "Internal Server Error",
    "error": "An unexpected error occurred while processing the request",
    "code": 500
  }
                
Show full
Endpoints

Sample Request

Curl
Copied!
curl --request GET \
  --url https://www.site24x7.com/cs/api/cost/report/profiles \
  --header 'Authorization:  d92d4xxxxxxxxxxxxx15f52'
Show full

Sample Response: HTTP 200

Copied!
  {
    "message": "success",
    "data": {
      "return_data": {
        "return_data": [
          {
            "period": 1,
            "report_hour_meridiem": 1,
            "timezone": "Asia/Kolkata",
            "report_hour": 2,
            "report_hour_meridiem_text": "AM",
            "frequency": 1,
            "report_day": 5,
            "report_time": 2,
            "profile_id": "1",
            "default_profile": 0,
            "name": "test",
            "report_month": 0,
            "config": "Asia/Kolkata"
          }
        ]
      }
    },
    "code": 0
  }
                
Show full

Sample Response: HTTP 400

Copied!
  {
    "message": "Bad Request",
    "error": "Invalid parameter format or missing required fields",
    "code": 400
  }
                
Show full

Sample Response: HTTP 401

Copied!
  {
    "message": "Unauthorized",
    "error": "Invalid authentication credentials or expired token",
    "code": 401
  }
                
Show full

Sample Response: HTTP 403

Copied!
  {
    "message": "Forbidden",
    "error": "Insufficient permissions to access this resource",
    "code": 403
  }
                
Show full

Sample Response: HTTP 500

Copied!
  {
    "message": "Internal Server Error",
    "error": "An unexpected error occurred while processing the request",
    "code": 500
  }
                
Show full
Endpoints

Sample Request

Curl
Copied!
curl --request GET \
  --url 'https://www.site24x7.com/cs/api/cost/reports/cc_spend_analysis?auto_bu=true&business_unit_id=33240000000073487' \
  --header 'Authorization:  d92d4xxxxxxxxxxxxx15f52'
Show full

Sample Response: HTTP 200

Copied!
  {
    "message": "success",
    "data": {
      "max_date": "2026-01-14T15:01:44+0530",
      "is_hybrid_account": false,
      "cost_account_ids": [
        "33240000000059001"
      ],
      "cloud_type": 0,
      "all_accounts": [
        {
          "default_tags": [
            {
              "tagId": "33240000000060405",
              "value": "FargateTask",
              "v": 2,
              "key": "operationType"
            }
          ],
          "child_accounts": [
            {
              "billing_account_id": "33240000000060001",
              "name": "S247-AWS-team",
              "aws_account_id": "063251190422",
              "cost_account_id": "33240000000059001",
              "is_payer_account": false,
              "name_with_entity": "S247-AWS-team_AWS_Anniversary"
            }
          ],
          "id": "33240000000073487",
          "bu_type": 1,
          "account_name": "FargateTask",
          "business_unit_tags": [
            {
              "v": "2",
              "id": "33240000000060405"
            }
          ]
        }
      ],
      "min_date": "2025-06-01T00:00:00+0000"
    },
    "code": 0
  }
                
Show full
Endpoints

Sample Request

Curl
Copied!
curl --request GET \
  --url https://www.site24x7.com/cs/api/cost/anomaly/cost_user_settings \
  --header 'Authorization:  d92d4xxxxxxxxxxxxx15f52'
Show full

Sample Response: HTTP 200

Copied!
  {
    "message": "success",
    "data": {
      "custom_report_settings_data": {
        "bg_color": "#FFFFFF",
        "from_email": "noreply@localsite24x7.com",
        "image_present": false,
        "font_color": "#22242a",
        "percision_digits": 3,
        "company_name": "CloudSpend"
      },
      "general_settings_data": {
        "default_from_mail": "noreply@localsite24x7.com",
        "monitor_integ_config": false,
        "az_payg_cost_as_actual": false
      },
      "mailer_settings_data": [
        {
          "report_id": "33240000000507001",
          "profile": {
            "profile_name": "CloudSpend Weekly Summary",
            "period": 0,
            "hour": 11,
            "day": 4,
            "profile_id": "-2",
            "timezone": "Asia/Kolkata"
          },
          "format": 1,
          "type": -2,
          "report_name": "CloudSpend Weekly Summary",
          "contact_ids": [],
          "frequency": 7,
          "status": 1
        }
      ]
    },
    "code": 0
  }
                
Show full

Sample Response: HTTP 400

Copied!
  {
    "message": "Bad Request",
    "error": "Invalid parameter format or missing required fields",
    "code": 400
  }
                
Show full

Sample Response: HTTP 401

Copied!
  {
    "message": "Unauthorized",
    "error": "Invalid authentication credentials or expired token",
    "code": 401
  }
                
Show full

Sample Response: HTTP 500

Copied!
  {
    "message": "Internal Server Error",
    "error": "An unexpected error occurred while processing the request",
    "code": 500
  }
                
Show full
Endpoints

Sample Request

Curl
Copied!
curl --request GET \
  --url https://www.site24x7.com/cs/api/cost/admin/budget_meta \
  --header 'Authorization:  d92d4xxxxxxxxxxxxx15f52'
Show full

Sample Response: HTTP 200

Copied!
  {
    "message": "success",
    "data": {
      "budget_data": [
        {
          "account_type": 1,
          "period": "Monthly",
          "account_id": "33240000000059007",
          "policy_id": "2",
          "budget_id": "2",
          "name": "bu anomaly",
          "checks_type": "ANOMALY",
          "status": 1
        }
      ]
    },
    "code": 0
  }
                
Show full

Sample Response: HTTP 400

Copied!
  {
    "message": "Bad Request",
    "error": "Invalid parameter format or missing required fields",
    "code": 400
  }
                
Show full

Sample Response: HTTP 401

Copied!
  {
    "message": "Unauthorized",
    "error": "Invalid authentication credentials or expired token",
    "code": 401
  }
                
Show full

Sample Response: HTTP 403

Copied!
  {
    "message": "Forbidden",
    "error": "Insufficient permissions to access this resource",
    "code": 403
  }
                
Show full

Sample Response: HTTP 500

Copied!
  {
    "message": "Internal Server Error",
    "error": "An unexpected error occurred while processing the request",
    "code": 500
  }
                
Show full
Endpoints

Sample Request

Curl
Copied!
curl --request POST \
  --url https://www.site24x7.com/cs/api/cost/ri_resouce_trend_chart \
  --header 'Authorization:  d92d4xxxxxxxxxxxxx15f52' \
  --header 'content-type: application/json' \
  --data '{"end_date":"2026-01-07","resource_id":"33240000000061819","accounts":[{"cost_account_id":"33240000000059001","billing_account_ids":["33240000000060001"]}],"start_date":"2025-12-01"}'
Show full

Sample Request Body

Copied!
  {
    "end_date": "2026-01-07",
    "resource_id": "33240000000061819",
    "accounts": [
      {
        "cost_account_id": "33240000000059001",
        "billing_account_ids": [
          "33240000000060001"
        ]
      }
    ],
    "start_date": "2025-12-01"
  }
                
Show full

Sample Response: HTTP 200

Copied!
  {
    "message": "success",
    "data": {
      "resource_cost": [
        [
          "2025-12-01T00:00:00+0530",
          0.14
        ],
        [
          "2025-12-02T00:00:00+0530",
          0.16
        ],
        [
          "2025-12-03T00:00:00+0530",
          0.13
        ]
      ]
    },
    "code": 0
  }
                
Show full

Sample Response: HTTP 400

Copied!
  {
    "message": "Bad Request",
    "error": "Invalid parameter format or missing required fields",
    "code": 400
  }
                
Show full

Sample Response: HTTP 401

Copied!
  {
    "message": "Unauthorized",
    "error": "Invalid authentication credentials or expired token",
    "code": 401
  }
                
Show full

Sample Response: HTTP 403

Copied!
  {
    "message": "Forbidden",
    "error": "Insufficient permissions to access this resource",
    "code": 403
  }
                
Show full

Sample Response: HTTP 500

Copied!
  {
    "message": "Internal Server Error",
    "error": "An unexpected error occurred while processing the request",
    "code": 500
  }
                
Show full
Endpoints

Sample Request

Curl
Copied!
curl --request GET \
  --url 'https://www.site24x7.com/cs/api/cost/reports/integration/msp_alert_configs?JSONString=SOME_STRING_VALUE' \
  --header 'Authorization:  d92d4xxxxxxxxxxxxx15f52'
Show full

Sample Response: HTTP 200

Copied!
  {}
                
Show full

Sample Response: HTTP 400

Copied!
  {
    "message": "Bad Request",
    "error": "Invalid parameter format or missing required fields",
    "code": 400
  }
                
Show full

Sample Response: HTTP 401

Copied!
  {
    "message": "Unauthorized",
    "error": "Invalid authentication credentials or expired token",
    "code": 401
  }
                
Show full

Sample Response: HTTP 500

Copied!
  {
    "message": "Internal Server Error",
    "error": "An unexpected error occurred while processing the request",
    "code": 500
  }
                
Show full
Endpoints

Sample Request

Curl
Copied!
curl --request GET \
  --url 'https://www.site24x7.com/cs/api/checks/anomaly/details/meta?anomaly_id=251&detected_time=1763856000000' \
  --header 'Authorization:  d92d4xxxxxxxxxxxxx15f52'
Show full

Sample Response: HTTP 200

Copied!
  {
    "message": "success",
    "data": {
      "info": {
        "updated_time": "1764060192432",
        "anomaly_id": "251",
        "detected_time": "1763856000000",
        "currency_symbol": "$",
        "currency_locale": "en-US",
        "anomaly_name": "AWSDEV_Anomaly",
        "deviation_percent": 51.349242613948256,
        "anomaly_level": "Medium",
        "currency_code": "USD",
        "cloud_type_name": "AWS",
        "updated_timestamp": "2025-11-25T14:13:12+0530",
        "anomaly_status": "OPEN",
        "anomaly_status_code": 1,
        "anomaly_type": "upper",
        "expected_value": 263.5414575660657,
        "detected_timestamp": "2025-11-23T05:30:00+0530",
        "value": 398.8680000000002
      }
    },
    "code": 0
  }
                
Show full

Sample Response: HTTP 400

Copied!
  {
    "message": "Bad Request",
    "error": "Invalid parameter format or missing required fields",
    "code": 400
  }
                
Show full

Sample Response: HTTP 401

Copied!
  {
    "message": "Unauthorized",
    "error": "Invalid authentication credentials or expired token",
    "code": 401
  }
                
Show full

Sample Response: HTTP 500

Copied!
  {
    "message": "Internal Server Error",
    "error": "An unexpected error occurred while processing the request",
    "code": 500
  }
                
Show full
Endpoints

Sample Request

Curl
Copied!
curl --request POST \
  --url https://www.site24x7.com/cs/api/cost/accounts/resource_count \
  --header 'Authorization:  d92d4xxxxxxxxxxxxx15f52' \
  --header 'content-type: application/json' \
  --data '{"end_date":"2019-08-24","cost_tags":["string"],"period":0,"cost_type":0,"service_name":"AmazonEC2","property":{"v":0,"id":"33240000000059001"},"group_by_tags":["33240000000060007","33240000000060008"],"accounts":[{"cost_account_id":"string","billing_account_ids":["string"]}],"page":-1,"group_by_type":"accounts","start_date":"2019-08-24"}'
Show full

Sample Request Body

Copied!
  {
    "end_date": "2019-08-24",
    "cost_tags": [
      "string"
    ],
    "period": 0,
    "cost_type": 0,
    "service_name": "AmazonEC2",
    "property": {
      "v": 0,
      "id": "33240000000059001"
    },
    "group_by_tags": [
      "33240000000060007",
      "33240000000060008"
    ],
    "accounts": [
      {
        "cost_account_id": "string",
        "billing_account_ids": [
          "string"
        ]
      }
    ],
    "page": -1,
    "group_by_type": "accounts",
    "start_date": "2019-08-24"
  }
                
Show full

Sample Response: HTTP 200

Copied!
  {
    "message": "success",
    "data": {
      "resources": [
        {
          "chartData": "",
          "regionName": "",
          "cloudAccountId": "",
          "name": "vidyaashankar_25803b31",
          "extraNameIdentifier": "",
          "id": "25",
          "productName": "",
          "variation": 0,
          "totalCost": 18.838,
          "costObject": "",
          "awsNameTagValue": "",
          "timeValueReference": ""
        },
        {
          "chartData": "",
          "regionName": "",
          "cloudAccountId": "",
          "name": "vm-3",
          "extraNameIdentifier": "",
          "id": "41",
          "productName": "",
          "variation": 0,
          "totalCost": 10.091,
          "costObject": "",
          "awsNameTagValue": "",
          "timeValueReference": ""
        },
        {
          "chartData": "",
          "regionName": "",
          "cloudAccountId": "",
          "name": "Ubuntu-Pro-18.04-LTS_OsDisk_1_023dfdb53f1c4acd903fb9fdb238f6ca",
          "extraNameIdentifier": "",
          "id": "29",
          "productName": "",
          "variation": 0,
          "totalCost": 9.472,
          "costObject": "",
          "awsNameTagValue": "",
          "timeValueReference": ""
        }
      ]
    },
    "code": 0
  }
                
Show full

Sample Response: HTTP 400

Copied!
  {
    "message": "Bad Request",
    "error": "Invalid parameter format or missing required fields",
    "code": 400
  }
                
Show full
Endpoints

Sample Request

Curl
Copied!
curl --request GET \
  --url 'https://www.site24x7.com/cs/api/cost/custom_report/checks/status?type=2&account_type=0&start_date=2026-01-01&end_date=2026-01-05' \
  --header 'Authorization:  d92d4xxxxxxxxxxxxx15f52'
Show full

Sample Response: HTTP 200

Copied!
  {
    "message": "success",
    "code": 0
  }
                
Show full

Sample Response: HTTP 400

Copied!
  {
    "message": "Bad Request",
    "error": "Invalid parameter format or missing required fields",
    "code": 400
  }
                
Show full

Sample Response: HTTP 401

Copied!
  {
    "message": "Unauthorized",
    "error": "Invalid authentication credentials or expired token",
    "code": 401
  }
                
Show full

Sample Response: HTTP 403

Copied!
  {
    "message": "Forbidden",
    "error": "Insufficient permissions to access this resource",
    "code": 403
  }
                
Show full

Sample Response: HTTP 500

Copied!
  {
    "message": "Internal Server Error",
    "error": "An unexpected error occurred while processing the request",
    "code": 500
  }
                
Show full
Endpoints

Sample Request

Curl
Copied!
curl --request POST \
  --url https://www.site24x7.com/cs/api/cost/reports/custom_report/report \
  --header 'Authorization:  d92d4xxxxxxxxxxxxx15f52' \
  --header 'content-type: application/json' \
  --data '{"cost_ids":["2"],"profile":{"profile_id":"1"},"format":1,"report_name":"test","type":24,"contact_ids":[{"contact_id":"53565000000014003","contact_type":"1"}],"frequency":1}'
Show full

Sample Request Body

Copied!
  {
    "cost_ids": [
      "2"
    ],
    "profile": {
      "profile_id": "1"
    },
    "format": 1,
    "report_name": "test",
    "type": 24,
    "contact_ids": [
      {
        "contact_id": "53565000000014003",
        "contact_type": "1"
      }
    ],
    "frequency": 1
  }
                
Show full

Sample Response: HTTP 200

Copied!
  {
    "message": "success",
    "data": {
      "report_id": "33240000000671001"
    },
    "code": 0
  }
                
Show full

Sample Response: HTTP 400

Copied!
  {
    "message": "Bad Request",
    "error": "Invalid parameter format or missing required fields",
    "code": 400
  }
                
Show full

Sample Response: HTTP 401

Copied!
  {
    "message": "Unauthorized",
    "error": "Invalid authentication credentials or expired token",
    "code": 401
  }
                
Show full

Sample Response: HTTP 403

Copied!
  {
    "message": "Forbidden",
    "error": "Insufficient permissions to access this resource",
    "code": 403
  }
                
Show full

Sample Response: HTTP 500

Copied!
  {
    "message": "Internal Server Error",
    "error": "An unexpected error occurred while processing the request",
    "code": 500
  }
                
Show full
Endpoints

Sample Request

Curl
Copied!
curl --request GET \
  --url https://www.site24x7.com/cs/api/cost/user_role/33240000000133105 \
  --header 'Authorization:  d92d4xxxxxxxxxxxxx15f52'
Show full

Sample Response: HTTP 200

Copied!
  {
    "message": "success",
    "data": {
      "name": "Budget Manager",
      "description": "Can manage budgets and view reports",
      "id": "33240000000133105"
    },
    "code": 0
  }
                
Show full

Sample Response: HTTP 400

Copied!
  {
    "message": "Bad Request",
    "error": "Invalid parameter format or missing required fields",
    "code": 400
  }
                
Show full

Sample Response: HTTP 401

Copied!
  {
    "message": "Unauthorized",
    "error": "Invalid authentication credentials or expired token",
    "code": 401
  }
                
Show full

Sample Response: HTTP 403

Copied!
  {
    "message": "Forbidden",
    "error": "Insufficient permissions to access this resource",
    "code": 403
  }
                
Show full

Sample Response: HTTP 500

Copied!
  {
    "message": "Internal Server Error",
    "error": "An unexpected error occurred while processing the request",
    "code": 500
  }
                
Show full
Endpoints

Sample Request

Curl
Copied!
curl --request POST \
  --url https://www.site24x7.com/cs/api/reports/anomaly/list/details/report \
  --header 'Authorization:  d92d4xxxxxxxxxxxxx15f52' \
  --header 'content-type: application/json' \
  --data '{"cost_ids":["5"],"config_id":"5","profile":{"profile_id":"35"},"format":1,"report_name":"US East 1 Region Anomaly - Detailed Analysis","type":16,"contact_ids":[{"contact_id":"53565000000014003","contact_type":"1"}],"frequency":7}'
Show full

Sample Request Body

Copied!
  {
    "cost_ids": [
      "5"
    ],
    "config_id": "5",
    "profile": {
      "profile_id": "35"
    },
    "format": 1,
    "report_name": "US East 1 Region Anomaly - Detailed Analysis",
    "type": 16,
    "contact_ids": [
      {
        "contact_id": "53565000000014003",
        "contact_type": "1"
      }
    ],
    "frequency": 7
  }
                
Show full

Sample Response: HTTP 200

Copied!
  {
    "message": "success",
    "data": {
      "report_id": "33240000000685013"
    },
    "code": 0
  }
                
Show full

Sample Response: HTTP 400

Copied!
  {
    "message": "Bad Request",
    "error": "Invalid parameter format or missing required fields",
    "code": 400
  }
                
Show full

Sample Response: HTTP 401

Copied!
  {
    "message": "Unauthorized",
    "error": "Invalid authentication credentials or expired token",
    "code": 401
  }
                
Show full

Sample Response: HTTP 403

Copied!
  {
    "message": "Forbidden",
    "error": "Insufficient permissions to access this resource",
    "code": 403
  }
                
Show full

Sample Response: HTTP 500

Copied!
  {
    "message": "Internal Server Error",
    "error": "An unexpected error occurred while processing the request",
    "code": 500
  }
                
Show full
Endpoints

Sample Request

Curl
Copied!
curl --request GET \
  --url https://www.site24x7.com/cs/api/cost/accounts/report/profiles \
  --header 'Authorization:  d92d4xxxxxxxxxxxxx15f52'
Show full

Sample Response: HTTP 200

Copied!
  {
    "message": "success",
    "data": {
      "return_data": {
        "return_data": [
          {
            "period": 1,
            "report_hour_meridiem": 1,
            "timezone": "Asia/Kolkata",
            "report_hour": 9,
            "report_hour_meridiem_text": "AM",
            "frequency": 1,
            "report_day": 1,
            "report_time": 9,
            "profile_id": "PROFILE_001",
            "default_profile": 0,
            "name": "daily_morning",
            "report_month": 0,
            "config": "Asia/Kolkata"
          },
          {
            "period": 14,
            "report_hour_meridiem": 1,
            "timezone": "Asia/Kolkata",
            "report_hour": 6,
            "report_hour_meridiem_text": "AM",
            "frequency": 7,
            "report_day": 1,
            "report_time": 6,
            "profile_id": "PROFILE_002",
            "default_profile": 0,
            "name": "weekly_monday",
            "report_month": 0,
            "config": "Asia/Kolkata"
          },
          {
            "period": 14,
            "report_hour_meridiem": 1,
            "timezone": "Asia/Kolkata",
            "report_hour": 12,
            "report_hour_meridiem_text": "AM",
            "frequency": 1,
            "report_day": 1,
            "report_time": 0,
            "profile_id": "PROFILE_003",
            "default_profile": 1,
            "name": "default_monthly_profile",
            "report_month": 0,
            "config": "Asia/Kolkata"
          },
          {
            "period": 11,
            "report_hour_meridiem": 2,
            "timezone": "UTC",
            "report_hour": 6,
            "report_hour_meridiem_text": "PM",
            "frequency": 4,
            "report_day": 15,
            "report_time": 18,
            "profile_id": "PROFILE_004",
            "default_profile": 0,
            "name": "monthly_mid_month",
            "report_month": 0,
            "config": "UTC"
          }
        ]
      }
    },
    "code": 0
  }
                
Show full

Sample Response: HTTP 400

Copied!
  {
    "message": "Bad Request",
    "error": "Invalid parameter format or missing required fields",
    "code": 400
  }
                
Show full

Sample Response: HTTP 401

Copied!
  {
    "message": "Unauthorized",
    "error": "Invalid authentication credentials or expired token",
    "code": 401
  }
                
Show full

Sample Response: HTTP 500

Copied!
  {
    "message": "Internal Server Error",
    "error": "An unexpected error occurred while processing the request",
    "code": 500
  }
                
Show full
Endpoints

Sample Request

Curl
Copied!
curl --request GET \
  --url 'https://www.site24x7.com/cs/api/accounts/spend_analysis/anomaly/details/rca?anomaly_id=1&detected_time=1759276800000' \
  --header 'Authorization:  d92d4xxxxxxxxxxxxx15f52'
Show full

Sample Response: HTTP 200

Copied!
  {
    "code": 0,
    "message": "success",
    "data": {
      "anomaly_id": "ACTUAL_ANOMALY_ID",
      "currency_symbol": "$",
      " CRITICAL REMINDER": "Agents must use ONLY actual API response data, NEVER this example template. Follow the exact field names and structure shown above.",
      "currency_locale": "ACTUAL_LOCALE",
      "resources": {
        "new_resources": {
          "total_cost": "ACTUAL_NEW_RESOURCE_COST",
          "cost_impact": "ACTUAL_COST_IMPACT_PERCENTAGE",
          "resources": {
            "ACTUAL_ACCOUNT_ID": "ARRAY_OF_NEW_RESOURCES"
          }
        },
        "top_resources": {
          "date_range": "ARRAY_OF_DATE_RANGES",
          "historical_mtd": "HISTORICAL_MTD_DATA_OBJECT",
          "resources": {
            "ACTUAL_ACCOUNT_ID": [
              {
                "cloud_account_id": "ACTUAL_CLOUD_ACCOUNT_ID",
                "anomaly_period_cost": "ACTUAL_COST_NUMBER",
                "cost_diff": "ACTUAL_COST_DIFFERENCE",
                "service": "ACTUAL_SERVICE_NAME",
                "name": "ACTUAL_RESOURCE_NAME",
                "alias": "ACTUAL_ALIAS",
                "billed_account_id": "ACTUAL_BILLED_ACCOUNT_ID",
                "rank": "ACTUAL_RANK_STRING",
                "id": "ACTUAL_RESOURCE_ID",
                "region": "ACTUAL_REGION_NAME",
                "cloud_account_name": "ACTUAL_CLOUD_ACCOUNT_NAME"
              }
            ]
          },
          "anomaly_month": {
            "mtd_days": "ACTUAL_MTD_DAYS",
            "cost": "ACTUAL_TOTAL_ANOMALY_MONTH_COST",
            "mtd_average": "ACTUAL_MTD_AVERAGE",
            "mtd_cost": "ACTUAL_MTD_COST"
          }
        }
      },
      "history": {
        "historical_cost": "ARRAY_OF_TIMESTAMP_COST_PAIRS",
        "forecast_cost": "ARRAY_OF_FORECAST_TIMESTAMP_COST_PAIRS",
        "currency_code_id": "ACTUAL_CURRENCY_ID",
        "currency_code": "ACTUAL_CURRENCY_CODE"
      },
      "currency_code": "ACTUAL_CURRENCY_CODE",
      "anomaly_detected_time": "ACTUAL_UNIX_TIMESTAMP"
    },
    " AGENTS: THIS IS ONLY AN EXAMPLE TEMPLATE - NEVER USE AS REAL DATA": "ALWAYS make actual API calls to get real response data. This example shows structure only."
  }
                
Show full

Sample Response: HTTP 400

Copied!
  {
    "message": "Bad Request",
    "error": "Invalid parameter format or missing required fields",
    "code": 400
  }
                
Show full

Sample Response: HTTP 401

Copied!
  {
    "message": "Unauthorized",
    "error": "Invalid authentication credentials or expired token",
    "code": 401
  }
                
Show full

Sample Response: HTTP 404

Copied!
  {
    "message": "Not Found",
    "error": "The requested resource was not found",
    "code": 404
  }
                
Show full

Sample Response: HTTP 500

Copied!
  {
    "message": "Internal Server Error",
    "error": "An unexpected error occurred while processing the request",
    "code": 500
  }
                
Show full
Endpoints

Sample Request

Curl
Copied!
curl --request POST \
  --url https://www.site24x7.com/cs/api/cost/anomaly/budget_policy \
  --header 'Authorization:  d92d4xxxxxxxxxxxxx15f52' \
  --header 'content-type: application/json' \
  --data '{"policy_name":"bu_anomaly_policy","budget_tags":[],"account_type":1,"policy_type":1,"account_id":"33240000000537001","cost_type":0}'
Show full

Sample Request Body

Copied!
  {
    "policy_name": "bu_anomaly_policy",
    "budget_tags": [],
    "account_type": 1,
    "policy_type": 1,
    "account_id": "33240000000537001",
    "cost_type": 0
  }
                
Show full
Copied!
  {
    "policy_name": "report_anomaly_policy",
    "budget_tags": [],
    "account_type": 2,
    "policy_type": 1,
    "account_id": "33240000000012271",
    "cost_type": 20
  }
                
Show full
Copied!
  {
    "policy_name": "anomaly_account_policy",
    "budget_tags": [
      {
        "v": 0,
        "id": "33240000000468001"
      }
    ],
    "account_type": 0,
    "policy_type": 1,
    "account_id": "33240000000011003",
    "cost_type": 20
  }
                
Show full

Sample Response: HTTP 200

Copied!
  {
    "message": "success",
    "data": {
      "data": "Policy Created Successfully",
      "policy_id": "117"
    },
    "code": 0
  }
                
Show full

Sample Response: HTTP 400

Copied!
  {
    "message": "Invalid policy configuration",
    "code": 1
  }
                
Show full

Sample Response: HTTP 401

Copied!
  {
    "message": "Unauthorized",
    "error": "Invalid authentication credentials or expired token",
    "code": 401
  }
                
Show full

Sample Response: HTTP 403

Copied!
  {
    "message": "Forbidden",
    "error": "Insufficient permissions to access this resource",
    "code": 403
  }
                
Show full

Sample Response: HTTP 500

Copied!
  {
    "message": "Internal Server Error",
    "error": "An unexpected error occurred while processing the request",
    "code": 500
  }
                
Show full
Endpoints

Sample Request

Curl
Copied!
curl --request GET \
  --url 'https://www.site24x7.com/cs/api/cost/reports/compliance/unbilled/autogenerated/tagging?business_unit_id=SOME_STRING_VALUE&billed_account_id=SOME_STRING_VALUE&offset=SOME_INTEGER_VALUE&limit=SOME_INTEGER_VALUE' \
  --header 'Authorization:  d92d4xxxxxxxxxxxxx15f52'
Show full

Sample Response: HTTP 200

Copied!
  {
    "message": "success",
    "code": 0
  }
                
Show full

Sample Response: HTTP 400

Copied!
  {
    "message": "Bad Request",
    "error": "Invalid parameter format or missing required fields",
    "code": 400
  }
                
Show full

Sample Response: HTTP 401

Copied!
  {
    "message": "Unauthorized",
    "error": "Invalid authentication credentials or expired token",
    "code": 401
  }
                
Show full

Sample Response: HTTP 403

Copied!
  {
    "message": "Forbidden",
    "error": "Insufficient permissions to access this resource",
    "code": 403
  }
                
Show full

Sample Response: HTTP 500

Copied!
  {
    "message": "Internal Server Error",
    "error": "An unexpected error occurred while processing the request",
    "code": 500
  }
                
Show full
Endpoints

Sample Request

Curl
Copied!
curl --request GET \
  --url 'https://www.site24x7.com/cs/api/cost/reports/spend_analysis?cost_account_id=33240000000011003' \
  --header 'Authorization:  d92d4xxxxxxxxxxxxx15f52'
Show full

Sample Response: HTTP 200

Copied!
  {
    "message": "success",
    "data": {
      "all_accounts": [
        {
          "cloud_type": 1,
          "integrated_zaaids": [
            "34700657"
          ],
          "child_accounts": [
            {
              "name": "Azure subscription 1_Microsoft",
              "billing_account_id": "33240000000012001",
              "aws_account_id": "8c8688f6-a2f3-46a3-9b1a-2f3e245f4f5f",
              "is_payer_account": false,
              "name_with_entity": "Azure subscription 1_Microsoft"
            },
            {
              "name": "Azure subscription 1_Marketplace",
              "billing_account_id": "33240000000012033",
              "aws_account_id": "8c8688f6-a2f3-46a3-9b1a-2f3e245f4f5f",
              "is_payer_account": false,
              "name_with_entity": "Azure subscription 1_Marketplace"
            },
            {
              "name": "Subscription-2_Microsoft",
              "billing_account_id": "33240000000012021",
              "aws_account_id": "7ec79aea-afa9-4671-b72d-bcb7c902bd14",
              "is_payer_account": false,
              "name_with_entity": "Subscription-2_Microsoft"
            }
          ],
          "cost_account_id": "33240000000011003",
          "account_name": "Azure linked account2"
        }
      ],
      "max_date": "2026-01-17T01:47:05+0530",
      "min_date": "2025-05-01T12:00:00+0000"
    },
    "code": 0
  }
                
Show full

Sample Response: HTTP 400

Copied!
  {
    "message": "Bad Request",
    "error": "Invalid parameter format or missing required fields",
    "code": 400
  }
                
Show full

Sample Response: HTTP 401

Copied!
  {
    "message": "Unauthorized",
    "error": "Invalid authentication credentials or expired token",
    "code": 401
  }
                
Show full

Sample Response: HTTP 403

Copied!
  {
    "message": "Forbidden",
    "error": "Insufficient permissions to access this resource",
    "code": 403
  }
                
Show full

Sample Response: HTTP 500

Copied!
  {
    "message": "Internal Server Error",
    "error": "An unexpected error occurred while processing the request",
    "code": 500
  }
                
Show full
Endpoints

Sample Request

Curl
Copied!
curl --request POST \
  --url https://www.site24x7.com/cs/api/cost/accounts/spend_analysis_panel \
  --header 'Authorization:  d92d4xxxxxxxxxxxxx15f52' \
  --header 'content-type: application/json' \
  --data '{"end_date":"2025-11-30","cost_tags":[],"period":1,"WRONG_EXAMPLE":"NEVER DO THIS - same ID for both fields","CORRECT_WORKFLOW":"getAccountsMetadata -> extract parent+children IDs -> use in payload","cost_type":20,"accounts":[{"cost_account_id":"PARENT_FROM_METADATA","billing_account_ids":["CHILD_FROM_METADATA_ARRAY"]}],"FORBIDDEN_PAYLOAD":{"note":"This causes errors - parent ID cannot equal child ID","accounts":[{"cost_account_id":"33240000000011003","billing_account_ids":["33240000000011003"]}]},"start_date":"2025-10-01"}'
Show full

Sample Request Body

Copied!
  {
    "end_date": "2025-11-30",
    "cost_tags": [],
    "period": 1,
    "WRONG_EXAMPLE": "NEVER DO THIS - same ID for both fields",
    "CORRECT_WORKFLOW": "getAccountsMetadata -> extract parent+children IDs -> use in payload",
    "cost_type": 20,
    "accounts": [
      {
        "cost_account_id": "PARENT_FROM_METADATA",
        "billing_account_ids": [
          "CHILD_FROM_METADATA_ARRAY"
        ]
      }
    ],
    "FORBIDDEN_PAYLOAD": {
      "note": "This causes errors - parent ID cannot equal child ID",
      "accounts": [
        {
          "cost_account_id": "33240000000011003",
          "billing_account_ids": [
            "33240000000011003"
          ]
        }
      ]
    },
    "start_date": "2025-10-01"
  }
                
Show full

Sample Response: HTTP 200

Copied!
  {
    "message": "success",
    "data": {
      "return_data": {
        "max_cost_account": "S247-AWS-team",
        "max_cost": 16120.723,
        "total_cost": 16120.723,
        "anomaly_widget": {
          "occurrences": "2",
          "anomaly_id": "1",
          "anomaly_last_detected_time": "2025-10-01T05:30:00+0530"
        },
        "min_cost": 16120.723,
        "difference": 2.916,
        "min_cost_account": "S247-AWS-team"
      }
    },
    "code": 0
  }
                
Show full

Sample Response: HTTP 400

Copied!
  {
    "message": "Bad Request",
    "error": "Invalid parameter format or missing required fields",
    "code": 400
  }
                
Show full
Endpoints

Sample Request

Curl
Copied!
curl --request POST \
  --url https://www.site24x7.com/cs/api/cost/reports/unit/economics/resource/list \
  --header 'Authorization:  d92d4xxxxxxxxxxxxx15f52' \
  --header 'content-type: application/json' \
  --data '{"end_date":"2026-03-31","cost_tags":[],"period":1,"cost_type":0,"usage_unit_id":33240000000800000,"product_id":33240000000070000,"region_id":33240000000065000,"accounts":[{"cost_account_id":"33240000000059001","billing_account_ids":["33240000000060001"]}],"usage_type_id":33240000000810000,"start_date":"2026-01-01"}'
Show full

Sample Request Body

Copied!
  {
    "end_date": "2026-03-31",
    "cost_tags": [],
    "period": 1,
    "cost_type": 0,
    "usage_unit_id": 33240000000800000,
    "product_id": 33240000000070000,
    "region_id": 33240000000065000,
    "accounts": [
      {
        "cost_account_id": "33240000000059001",
        "billing_account_ids": [
          "33240000000060001"
        ]
      }
    ],
    "usage_type_id": 33240000000810000,
    "start_date": "2026-01-01"
  }
                
Show full

Sample Response: HTTP 200

Copied!
  {
    "message": "success",
    "code": 0
  }
                
Show full

Sample Response: HTTP 400

Copied!
  {
    "message": "Bad Request",
    "error": "Invalid parameter format or missing required fields",
    "code": 400
  }
                
Show full

Sample Response: HTTP 401

Copied!
  {
    "message": "Unauthorized",
    "error": "Invalid authentication credentials or expired token",
    "code": 401
  }
                
Show full

Sample Response: HTTP 403

Copied!
  {
    "message": "Forbidden",
    "error": "Insufficient permissions to access this resource",
    "code": 403
  }
                
Show full

Sample Response: HTTP 500

Copied!
  {
    "message": "Internal Server Error",
    "error": "An unexpected error occurred while processing the request",
    "code": 500
  }
                
Show full
Endpoints

Sample Request

Curl
Copied!
curl --request GET \
  --url 'https://www.site24x7.com/cs/api/cost/cost_centers/spend_analysis/anomaly/data?anomaly_id=250&start_date=2025-10-01&end_date=2025-11-30' \
  --header 'Authorization:  d92d4xxxxxxxxxxxxx15f52'
Show full

Sample Response: HTTP 200

Copied!
  {
    "message": "success",
    "data": {
      "anomaly_name": "AWSInternalTeam",
      "anomalies": [
        {
          "updated_time": "1760807531964",
          "detected_time": "1759276800000",
          "currency_symbol": "$",
          "currency_locale": "en-US",
          "deviation_percentage": 71.26766876120725,
          "anomaly_level": "Medium",
          "currency_code": "USD",
          "updated_timestamp": "2025-10-18T22:42:11+0530",
          "anomaly_status": "Open",
          "anomaly_status_code": 1,
          "anomaly_type": "upper",
          "expected_value": 280.4463933409905,
          "detected_timestamp": "2025-10-01T05:30:00+0530",
          "value": 480.31399999999996
        }
      ]
    },
    "code": 0
  }
                
Show full

Sample Response: HTTP 400

Copied!
  {
    "message": "Bad Request",
    "error": "Invalid parameter format or missing required fields",
    "code": 400
  }
                
Show full

Sample Response: HTTP 401

Copied!
  {
    "message": "Unauthorized",
    "error": "Invalid authentication credentials or expired token",
    "code": 401
  }
                
Show full

Sample Response: HTTP 500

Copied!
  {
    "message": "Internal Server Error",
    "error": "An unexpected error occurred while processing the request",
    "code": 500
  }
                
Show full
Endpoints

Sample Request

Curl
Copied!
curl --request PUT \
  --url https://www.site24x7.com/cs/api/cost/users/53565000000014003 \
  --header 'Authorization:  d92d4xxxxxxxxxxxxx15f52' \
  --header 'content-type: application/json' \
  --data '{"user_role":10,"display_name":"John D. Smith","cloudspend_role":11,"cloudspend_custom_role_id":"33240000000133105","job_title":3,"user_groups":["53565000000072003","53565000000072005"]}'
Show full

Sample Request Body

Copied!
  {
    "user_role": 10,
    "display_name": "John D. Smith",
    "cloudspend_role": 11,
    "cloudspend_custom_role_id": "33240000000133105",
    "job_title": 3,
    "user_groups": [
      "53565000000072003",
      "53565000000072005"
    ]
  }
                
Show full

Sample Response: HTTP 200

Copied!
  {
    "message": "success",
    "data": {
      "status": "User updated successfully"
    },
    "code": 0
  }
                
Show full

Sample Response: HTTP 400

Copied!
  {
    "message": "Bad Request",
    "error": "Invalid parameter format or missing required fields",
    "code": 400
  }
                
Show full

Sample Response: HTTP 401

Copied!
  {
    "message": "Unauthorized",
    "error": "Invalid authentication credentials or expired token",
    "code": 401
  }
                
Show full

Sample Response: HTTP 403

Copied!
  {
    "message": "Forbidden",
    "error": "Insufficient permissions to access this resource",
    "code": 403
  }
                
Show full

Sample Response: HTTP 500

Copied!
  {
    "message": "Internal Server Error",
    "error": "An unexpected error occurred while processing the request",
    "code": 500
  }
                
Show full
Endpoints

Sample Request

Curl
Copied!
curl --request GET \
  --url https://www.site24x7.com/cs/api/cost/users/53565000000014003 \
  --header 'Authorization:  d92d4xxxxxxxxxxxxx15f52'
Show full

Sample Response: HTTP 200

Copied!
  {
    "message": "success",
    "data": {
      "return_data": {
        "user_role": 1,
        "email_address": "john.doe@example.com",
        "cloudspend_role": 12,
        "user_id": "53565000000014003",
        "is_invited": false,
        "alert_settings": {
          "email_format": 1,
          "dont_alert_on_days": []
        },
        "display_name": "John Doe",
        "job_title": 2,
        "user_groups": [
          "53565000000072003"
        ]
      }
    },
    "code": 0
  }
                
Show full

Sample Response: HTTP 400

Copied!
  {
    "message": "Bad Request",
    "error": "Invalid parameter format or missing required fields",
    "code": 400
  }
                
Show full

Sample Response: HTTP 401

Copied!
  {
    "message": "Unauthorized",
    "error": "Invalid authentication credentials or expired token",
    "code": 401
  }
                
Show full

Sample Response: HTTP 403

Copied!
  {
    "message": "Forbidden",
    "error": "Insufficient permissions to access this resource",
    "code": 403
  }
                
Show full

Sample Response: HTTP 500

Copied!
  {
    "message": "Internal Server Error",
    "error": "An unexpected error occurred while processing the request",
    "code": 500
  }
                
Show full
Endpoints

Sample Request

Curl
Copied!
curl --request POST \
  --url https://www.site24x7.com/cs/api/cost/custom_report/ri_top_service_list \
  --header 'Authorization:  d92d4xxxxxxxxxxxxx15f52' \
  --header 'content-type: application/json' \
  --data '{"end_date":"2026-01-05","cost_tags":[],"period":1,"accounts":[{"cost_account_id":"33240000000011003","billing_account_ids":["33240000000012207","33240000000012021","33240000000012033","33240000000012001","33240000000216281"]}],"start_date":"2026-01-01"}'
Show full

Sample Request Body

Copied!
  {
    "end_date": "2026-01-05",
    "cost_tags": [],
    "period": 1,
    "accounts": [
      {
        "cost_account_id": "33240000000011003",
        "billing_account_ids": [
          "33240000000012207",
          "33240000000012021",
          "33240000000012033",
          "33240000000012001",
          "33240000000216281"
        ]
      }
    ],
    "start_date": "2026-01-01"
  }
                
Show full

Sample Response: HTTP 200

Copied!
  {
    "message": "success",
    "data": {
      "return_data": [
        [
          "microsoft.compute",
          24
        ],
        [
          "microsoft.storage",
          11
        ],
        [
          "microsoft.network",
          10
        ]
      ]
    },
    "code": 0
  }
                
Show full

Sample Response: HTTP 400

Copied!
  {
    "message": "Bad Request",
    "error": "Invalid parameter format or missing required fields",
    "code": 400
  }
                
Show full

Sample Response: HTTP 401

Copied!
  {
    "message": "Unauthorized",
    "error": "Invalid authentication credentials or expired token",
    "code": 401
  }
                
Show full

Sample Response: HTTP 403

Copied!
  {
    "message": "Forbidden",
    "error": "Insufficient permissions to access this resource",
    "code": 403
  }
                
Show full

Sample Response: HTTP 500

Copied!
  {
    "message": "Internal Server Error",
    "error": "An unexpected error occurred while processing the request",
    "code": 500
  }
                
Show full
Endpoints

Sample Request

Curl
Copied!
curl --request GET \
  --url 'https://www.site24x7.com/cs/api/cost/governance/users?JSONString=%7B%22module_id%22:7,%22sub_module_id%22:1,%22source_details%22:%7B%22budget_policy_id%22:%22110%22%7D%7D' \
  --header 'Authorization:  d92d4xxxxxxxxxxxxx15f52'
Show full

Sample Response: HTTP 200

Copied!
  {
    "message": "success",
    "data": {
      "workspace_migration_info": [],
      "org_info": {
        "zd_security": "https://directory.localzoho.com/directory/enable?app_name=site24x7&zaaid=89335240&company_name=JaneSmith - Site24x7&is_auto_setup=true&module=security",
        "name": "JaneSmith - Site24x7",
        "admin": "jane.smith@example.com",
        "zd_users": "https://directory.localzoho.com/directory/enable?app_name=site24x7&zaaid=89335240&company_name=JaneSmith - Site24x7&is_auto_setup=true",
        "zd_org": "https://directory.localzoho.com/directory/enable?app_name=site24x7&zaaid=89335240&company_name=JaneSmith - Site24x7&is_auto_setup=true",
        "is_org_admin": true
      },
      "from_email": "noreply@localsite24x7.com",
      "contact_id": "53565000000014003",
      "users": [
        {
          "email_address": "jane.smith@example.com",
          "is_account_contact": true,
          "cloudspend_role": 12,
          "last_login_time": "2025-12-16T17:57:04+0530",
          "user_id": "53565000000014003",
          "is_invited": false,
          "display_name": "Jane Smith",
          "user_role_name": "Super Admin",
          "org_role": 2,
          "cloudspend_role_name": "Cost Administrator"
        }
      ],
      "user_groups": [
        {
          "is_master_group": true,
          "display_name": "Admin Group",
          "user_group_id": "53565000000014007",
          "users": [
            "53565000000014003"
          ],
          "product_id": 0
        }
      ]
    },
    "code": 0
  }
                
Show full

Sample Response: HTTP 400

Copied!
  {
    "message": "Bad Request",
    "error": "Invalid parameter format or missing required fields",
    "code": 400
  }
                
Show full

Sample Response: HTTP 401

Copied!
  {
    "message": "Unauthorized",
    "error": "Invalid authentication credentials or expired token",
    "code": 401
  }
                
Show full

Sample Response: HTTP 500

Copied!
  {
    "message": "Internal Server Error",
    "error": "An unexpected error occurred while processing the request",
    "code": 500
  }
                
Show full
Endpoints

Sample Request

Curl
Copied!
curl --request POST \
  --url https://www.site24x7.com/cs/api/cost/accounts/cost_by_instance \
  --header 'Authorization:  d92d4xxxxxxxxxxxxx15f52' \
  --header 'content-type: application/json' \
  --data '{"end_date":"2019-08-24","cost_tags":["string"],"period":0,"accounts":[{"cost_account_id":"string","billing_account_ids":["string"]}],"cost_type":0,"start_date":"2019-08-24"}'
Show full

Sample Request Body

Copied!
  {
    "end_date": "2019-08-24",
    "cost_tags": [
      "string"
    ],
    "period": 0,
    "accounts": [
      {
        "cost_account_id": "string",
        "billing_account_ids": [
          "string"
        ]
      }
    ],
    "cost_type": 0,
    "start_date": "2019-08-24"
  }
                
Show full

Sample Response: HTTP 200

Copied!
  {
    " REMINDER": "Never use 'AmazonRDS', 'AmazonES', 'db.r5.large', 't3.medium.search' from this template - use actual API response data only",
    "code": 0,
    "message": "success",
    "data": {
      "return_data": [
        {
          "name": "ACTUAL_SERVICE_NAME",
          "instance_type": "ACTUAL_INSTANCE_TYPE",
          "value": "ACTUAL_COST_VALUE",
          "avalability_zone": "ACTUAL_AVAILABILITY_ZONE"
        },
        {
          "name": "ACTUAL_SERVICE_NAME",
          "instance_type": "ACTUAL_INSTANCE_TYPE",
          "value": "ACTUAL_COST_VALUE",
          "avalability_zone": "ACTUAL_AVAILABILITY_ZONE"
        }
      ]
    },
    " AGENTS: THIS IS ONLY AN EXAMPLE TEMPLATE - NEVER USE AS REAL DATA": "ALWAYS make actual API calls to get real response data. This example shows structure only."
  }
                
Show full

Sample Response: HTTP 400

Copied!
  {
    "message": "Bad Request",
    "error": "Invalid parameter format or missing required fields",
    "code": 400
  }
                
Show full

Sample Response: HTTP 401

Copied!
  {
    "message": "Unauthorized",
    "error": "Invalid authentication credentials or expired token",
    "code": 401
  }
                
Show full

Sample Response: HTTP 404

Copied!
  {
    "message": "Not Found",
    "error": "The requested resource was not found",
    "code": 404
  }
                
Show full

Sample Response: HTTP 500

Copied!
  {
    "message": "Internal Server Error",
    "error": "An unexpected error occurred while processing the request",
    "code": 500
  }
                
Show full
Endpoints

Sample Request

Curl
Copied!
curl --request GET \
  --url https://www.site24x7.com/cs/api/cost/reports/accounts \
  --header 'Authorization:  d92d4xxxxxxxxxxxxx15f52'
Show full

Sample Response: HTTP 200

Copied!
  {
    "message": "success",
    "data": {
      "total_accounts": 0,
      "current_month_total": 2578.707,
      "previous_month_total": 18105.489
    },
    "code": 0
  }
                
Show full

Sample Response: HTTP 400

Copied!
  {
    "message": "Bad Request",
    "error": "Invalid parameter format or missing required fields",
    "code": 400
  }
                
Show full

Sample Response: HTTP 401

Copied!
  {
    "message": "Unauthorized",
    "error": "Invalid authentication credentials or expired token",
    "code": 401
  }
                
Show full

Sample Response: HTTP 403

Copied!
  {
    "message": "Forbidden",
    "error": "Insufficient permissions to access this resource",
    "code": 403
  }
                
Show full

Sample Response: HTTP 500

Copied!
  {
    "message": "Internal Server Error",
    "error": "An unexpected error occurred while processing the request",
    "code": 500
  }
                
Show full
Endpoints

Sample Request

Curl
Copied!
curl --request GET \
  --url https://www.site24x7.com/cs/api/cost/custom_report/budget_meta \
  --header 'Authorization:  d92d4xxxxxxxxxxxxx15f52'
Show full

Sample Response: HTTP 200

Copied!
  {
    "message": "success",
    "data": {
      "budget_data": [
        {
          "period": "Monthly",
          "account_type": 1,
          "account_id": "33240000000059007",
          "policy_id": "2",
          "budget_id": "2",
          "name": "bu anomaly",
          "checks_type": "ANOMALY",
          "status": 1
        }
      ]
    },
    "code": 0
  }
                
Show full

Sample Response: HTTP 400

Copied!
  {
    "message": "Bad Request",
    "error": "Invalid parameter format or missing required fields",
    "code": 400
  }
                
Show full

Sample Response: HTTP 401

Copied!
  {
    "message": "Unauthorized",
    "error": "Invalid authentication credentials or expired token",
    "code": 401
  }
                
Show full

Sample Response: HTTP 403

Copied!
  {
    "message": "Forbidden",
    "error": "Insufficient permissions to access this resource",
    "code": 403
  }
                
Show full

Sample Response: HTTP 500

Copied!
  {
    "message": "Internal Server Error",
    "error": "An unexpected error occurred while processing the request",
    "code": 500
  }
                
Show full
Endpoints

Sample Request

Curl
Copied!
curl --request POST \
  --url https://www.site24x7.com/cs/api/cost/admin/tag/virtual \
  --header 'Authorization:  d92d4xxxxxxxxxxxxx15f52' \
  --header 'content-type: application/json' \
  --data '{"value":"test32","rule_group_name":"test32","rules":[{"variation":-1000,"mode_id":1,"source_id":["33240000000011003"]}]}'
Show full

Sample Request Body

Copied!
  {
    "value": "test32",
    "rule_group_name": "test32",
    "rules": [
      {
        "variation": -1000,
        "mode_id": 1,
        "source_id": [
          "33240000000011003"
        ]
      }
    ]
  }
                
Show full

Sample Response: HTTP 200

Copied!
  {
    "message": "success",
    "data": {
      "tagId": "33240000000771003",
      "status": "Tag created"
    },
    "code": 0
  }
                
Show full

Sample Response: HTTP 400

Copied!
  {
    "message": "Bad Request",
    "error": "Invalid parameter format or missing required fields",
    "code": 400
  }
                
Show full

Sample Response: HTTP 401

Copied!
  {
    "message": "Unauthorized",
    "error": "Invalid authentication credentials or expired token",
    "code": 401
  }
                
Show full

Sample Response: HTTP 403

Copied!
  {
    "message": "Forbidden",
    "error": "Insufficient permissions to access this resource",
    "code": 403
  }
                
Show full

Sample Response: HTTP 500

Copied!
  {
    "message": "Internal Server Error",
    "error": "An unexpected error occurred while processing the request",
    "code": 500
  }
                
Show full
Endpoints

Sample Request

Curl
Copied!
curl --request DELETE \
  --url 'https://www.site24x7.com/cs/api/cost/admin/tag/virtual?tag_id=33240000000771003' \
  --header 'Authorization:  d92d4xxxxxxxxxxxxx15f52'
Show full

Sample Response: HTTP 200

Copied!
  {
    "message": "success",
    "code": 0
  }
                
Show full

Sample Response: HTTP 400

Copied!
  {
    "message": "Permission boundary is assigned to roles and cannot be deleted",
    "code": 1001
  }
                
Show full

Sample Response: HTTP 401

Copied!
  {
    "message": "Unauthorized",
    "error": "Invalid authentication credentials or expired token",
    "code": 401
  }
                
Show full

Sample Response: HTTP 403

Copied!
  {
    "message": "Forbidden",
    "error": "Insufficient permissions to access this resource",
    "code": 403
  }
                
Show full

Sample Response: HTTP 500

Copied!
  {
    "message": "Internal Server Error",
    "error": "An unexpected error occurred while processing the request",
    "code": 500
  }
                
Show full
Endpoints

Sample Request

Curl
Copied!
curl --request PUT \
  --url https://www.site24x7.com/cs/api/cost/admin/tag/virtual \
  --header 'Authorization:  d92d4xxxxxxxxxxxxx15f52' \
  --header 'content-type: application/json' \
  --data '{"tag_id":"33240000000771003","rules_edited":[{"rule_id":"8","source_id":["33240000000011003"],"variation":-1000,"mode_id":1}],"rule_group_name":"test91_updated","rules_added":[{"variation":-1000,"mode_id":1,"source_id":["33240000000011003"]}],"value":"test91_updated","rules_deleted":["5","6"]}'
Show full

Sample Request Body

Copied!
  {
    "tag_id": "33240000000771003",
    "rules_edited": [
      {
        "rule_id": "8",
        "source_id": [
          "33240000000011003"
        ],
        "variation": -1000,
        "mode_id": 1
      }
    ],
    "rule_group_name": "test91_updated",
    "rules_added": [
      {
        "variation": -1000,
        "mode_id": 1,
        "source_id": [
          "33240000000011003"
        ]
      }
    ],
    "value": "test91_updated",
    "rules_deleted": [
      "5",
      "6"
    ]
  }
                
Show full

Sample Response: HTTP 200

Copied!
  {
    "message": "success",
    "code": 0
  }
                
Show full

Sample Response: HTTP 400

Copied!
  {
    "message": "Bad Request",
    "error": "Invalid parameter format or missing required fields",
    "code": 400
  }
                
Show full

Sample Response: HTTP 401

Copied!
  {
    "message": "Unauthorized",
    "error": "Invalid authentication credentials or expired token",
    "code": 401
  }
                
Show full

Sample Response: HTTP 403

Copied!
  {
    "message": "Forbidden",
    "error": "Insufficient permissions to access this resource",
    "code": 403
  }
                
Show full

Sample Response: HTTP 500

Copied!
  {
    "message": "Internal Server Error",
    "error": "An unexpected error occurred while processing the request",
    "code": 500
  }
                
Show full
Endpoints

Sample Request

Curl
Copied!
curl --request GET \
  --url 'https://www.site24x7.com/cs/api/cost/governance/spend_analysis?cost_account_id=33240000000059001' \
  --header 'Authorization:  d92d4xxxxxxxxxxxxx15f52'
Show full

Sample Response: HTTP 200

Copied!
  {
    "message": "success",
    "data": {
      "all_accounts": [
        {
          "cloud_type": 0,
          "child_accounts": [
            {
              "name": "S247-AWS-team",
              "billing_account_id": "33240000000060001",
              "aws_account_id": "063251190422",
              "is_payer_account": false,
              "name_with_entity": "S247-AWS-team_AWS_Anniversary"
            }
          ],
          "integrated_zaaids": [
            "89335240"
          ],
          "cost_account_id": "33240000000059001",
          "account_name": "AWS Linked"
        }
      ],
      "max_date": "2025-12-22T16:06:44+0530",
      "min_date": "2025-06-01T00:00:00+0000"
    },
    "code": 0
  }
                
Show full

Sample Response: HTTP 400

Copied!
  {
    "message": "Bad Request",
    "error": "Invalid parameter format or missing required fields",
    "code": 400
  }
                
Show full

Sample Response: HTTP 401

Copied!
  {
    "message": "Unauthorized",
    "error": "Invalid authentication credentials or expired token",
    "code": 401
  }
                
Show full

Sample Response: HTTP 500

Copied!
  {
    "message": "Internal Server Error",
    "error": "An unexpected error occurred while processing the request",
    "code": 500
  }
                
Show full
Endpoints

Sample Request

Curl
Copied!
curl --request GET \
  --url https://www.site24x7.com/cs/api/cost/cost_centers/spend_analysis/report/profiles \
  --header 'Authorization:  d92d4xxxxxxxxxxxxx15f52'
Show full

Sample Response: HTTP 200

Copied!
  {
    "message": "success",
    "data": {
      "return_data": {
        "return_data": [
          {
            "period": 14,
            "report_hour_meridiem": 1,
            "timezone": "Pacific/Kiritimati",
            "report_hour": 12,
            "report_hour_meridiem_text": "AM",
            "frequency": 1,
            "report_day": 2,
            "report_time": 0,
            "profile_id": "1",
            "default_profile": 1,
            "name": "cl.cst.schedule.profile.default.monthly.thismonth",
            "report_month": 0,
            "config": "Pacific/Kiritimati"
          }
        ]
      }
    },
    "code": 0
  }
                
Show full

Sample Response: HTTP 400

Copied!
  {
    "message": "Bad Request",
    "error": "Invalid parameter format or missing required fields",
    "code": 400
  }
                
Show full

Sample Response: HTTP 401

Copied!
  {
    "message": "Unauthorized",
    "error": "Invalid authentication credentials or expired token",
    "code": 401
  }
                
Show full

Sample Response: HTTP 500

Copied!
  {
    "message": "Internal Server Error",
    "error": "An unexpected error occurred while processing the request",
    "code": 500
  }
                
Show full
Endpoints

Sample Request

Curl
Copied!
curl --request GET \
  --url 'https://www.site24x7.com/cs/api/cost/anomaly/tags?JSONString={"cost_account_id":["33240000000011003"]}' \
  --header 'Authorization:  d92d4xxxxxxxxxxxxx15f52'
Show full

Sample Response: HTTP 200

Copied!
  {
    "message": "success",
    "data": {
      "Tags": [
        {
          "type": "",
          "color": "#43b8c6",
          "tagId": "33240000000552001",
          "value": "mcp_bu",
          "key": "mcp_bu",
          "v": -4
        }
      ]
    },
    "code": 0
  }
                
Show full

Sample Response: HTTP 400

Copied!
  {
    "message": "Invalid JSONString parameter",
    "code": 1
  }
                
Show full

Sample Response: HTTP 401

Copied!
  {
    "message": "Unauthorized",
    "error": "Invalid authentication credentials or expired token",
    "code": 401
  }
                
Show full

Sample Response: HTTP 403

Copied!
  {
    "message": "Forbidden",
    "error": "Insufficient permissions to access this resource",
    "code": 403
  }
                
Show full

Sample Response: HTTP 500

Copied!
  {
    "message": "Internal Server Error",
    "error": "An unexpected error occurred while processing the request",
    "code": 500
  }
                
Show full
Endpoints

Sample Request

Curl
Copied!
curl --request POST \
  --url https://www.site24x7.com/cs/api/cost/reports/resource_inventory/ri_list/report \
  --header 'Authorization:  d92d4xxxxxxxxxxxxx15f52' \
  --header 'content-type: application/json' \
  --data '{"cost_ids":["33240000000059001"],"profile":{"profile_id":"1"},"format":2,"report_name":"test","type":21,"contact_ids":[{"contact_id":"53565000000014003","contact_type":"1"}],"group_by_type":3,"frequency":1}'
Show full

Sample Request Body

Copied!
  {
    "cost_ids": [
      "33240000000059001"
    ],
    "profile": {
      "profile_id": "1"
    },
    "format": 2,
    "report_name": "test",
    "type": 21,
    "contact_ids": [
      {
        "contact_id": "53565000000014003",
        "contact_type": "1"
      }
    ],
    "group_by_type": 3,
    "frequency": 1
  }
                
Show full

Sample Response: HTTP 200

Copied!
  {
    "message": "success",
    "data": {
      "report_id": "33240000000675001"
    },
    "code": 0
  }
                
Show full

Sample Response: HTTP 400

Copied!
  {
    "message": "Bad Request",
    "error": "Invalid parameter format or missing required fields",
    "code": 400
  }
                
Show full

Sample Response: HTTP 401

Copied!
  {
    "message": "Unauthorized",
    "error": "Invalid authentication credentials or expired token",
    "code": 401
  }
                
Show full

Sample Response: HTTP 403

Copied!
  {
    "message": "Forbidden",
    "error": "Insufficient permissions to access this resource",
    "code": 403
  }
                
Show full

Sample Response: HTTP 500

Copied!
  {
    "message": "Internal Server Error",
    "error": "An unexpected error occurred while processing the request",
    "code": 500
  }
                
Show full
Endpoints

Sample Request

Curl
Copied!
curl --request POST \
  --url https://www.site24x7.com/cs/api/cost/resend_invite \
  --header 'Authorization:  d92d4xxxxxxxxxxxxx15f52' \
  --header 'content-type: application/json' \
  --data '{"email":"jane.smith@example.com"}'
Show full

Sample Request Body

Copied!
  {
    "email": "jane.smith@example.com"
  }
                
Show full

Sample Response: HTTP 200

Copied!
  {
    "message": "success",
    "data": {
      "status": "Invitation resent successfully"
    },
    "code": 0
  }
                
Show full

Sample Response: HTTP 400

Copied!
  {
    "message": "Bad Request",
    "error": "Invalid parameter format or missing required fields",
    "code": 400
  }
                
Show full

Sample Response: HTTP 401

Copied!
  {
    "message": "Unauthorized",
    "error": "Invalid authentication credentials or expired token",
    "code": 401
  }
                
Show full

Sample Response: HTTP 403

Copied!
  {
    "message": "Forbidden",
    "error": "Insufficient permissions to access this resource",
    "code": 403
  }
                
Show full

Sample Response: HTTP 500

Copied!
  {
    "message": "Internal Server Error",
    "error": "An unexpected error occurred while processing the request",
    "code": 500
  }
                
Show full
Endpoints

Sample Request

Curl
Copied!
curl --request POST \
  --url https://www.site24x7.com/cs/api/cost/admin/rule \
  --header 'Authorization:  d92d4xxxxxxxxxxxxx15f52' \
  --header 'content-type: application/json' \
  --data '{"cost_account_id":33240000000011004,"action_id":1,"action_tags":"[{\"id\":\"environment\",\"v\":\"production\"}]","description":"Apply environment tags to all us-east-1 resources","run":0,"run_after_parsing":true,"report_type":0,"display_name":"Tag resources from us east region","criteria_tags":"[{\"tagId\":\"1\",\"values\":[\"us-east-1\"],\"mode\":\"include\"}]"}'
Show full

Sample Request Body

Copied!
  {
    "cost_account_id": 33240000000011004,
    "action_id": 1,
    "action_tags": "[{\"id\":\"environment\",\"v\":\"production\"}]",
    "description": "Apply environment tags to all us-east-1 resources",
    "run": 0,
    "run_after_parsing": true,
    "report_type": 0,
    "display_name": "Tag resources from us east region",
    "criteria_tags": "[{\"tagId\":\"1\",\"values\":[\"us-east-1\"],\"mode\":\"include\"}]"
  }
                
Show full

Sample Response: HTTP 200

Copied!
  {}
                
Show full

Sample Response: HTTP 400

Copied!
  {
    "message": "Bad Request",
    "error": "Invalid parameter format or missing required fields",
    "code": 400
  }
                
Show full

Sample Response: HTTP 401

Copied!
  {
    "message": "Unauthorized",
    "error": "Invalid authentication credentials or expired token",
    "code": 401
  }
                
Show full

Sample Response: HTTP 403

Copied!
  {
    "message": "Forbidden",
    "error": "Insufficient permissions to access this resource",
    "code": 403
  }
                
Show full

Sample Response: HTTP 500

Copied!
  {
    "message": "Internal Server Error",
    "error": "An unexpected error occurred while processing the request",
    "code": 500
  }
                
Show full
Endpoints

Sample Request

Curl
Copied!
curl --request GET \
  --url https://www.site24x7.com/cs/api/cost/admin/rule \
  --header 'Authorization:  d92d4xxxxxxxxxxxxx15f52'
Show full

Sample Response: HTTP 200

Copied!
  {}
                
Show full

Sample Response: HTTP 400

Copied!
  {
    "message": "Bad Request",
    "error": "Invalid parameter format or missing required fields",
    "code": 400
  }
                
Show full

Sample Response: HTTP 401

Copied!
  {
    "message": "Unauthorized",
    "error": "Invalid authentication credentials or expired token",
    "code": 401
  }
                
Show full

Sample Response: HTTP 403

Copied!
  {
    "message": "Forbidden",
    "error": "Insufficient permissions to access this resource",
    "code": 403
  }
                
Show full

Sample Response: HTTP 500

Copied!
  {
    "message": "Internal Server Error",
    "error": "An unexpected error occurred while processing the request",
    "code": 500
  }
                
Show full
Endpoints

Sample Request

Curl
Copied!
curl --request GET \
  --url https://www.site24x7.com/cs/api/cost/budget/accounts \
  --header 'Authorization:  d92d4xxxxxxxxxxxxx15f52'
Show full

Sample Response: HTTP 200

Copied!
  {
    "message": "success",
    "data": {
      "current_month_total": 838.829,
      "previous_month_total": 15118.607,
      "total_accounts": 0,
      "all_accounts": {
        "processing_accounts": {},
        "suspended_accounts": {},
        "config_error_accounts": {},
        "processed_accounts": {
          "33240000000059001": {
            "creation_time": "18-Aug-2025 14:44",
            "total_current_month": 836.17,
            "chart_data": [
              [
                "2025-11-01T00:00:00+0530",
                15003.415
              ],
              [
                "2025-12-01T00:00:00+0530",
                836.165
              ]
            ],
            "bill_processed": true,
            "top_spend_entity": {
              "linked_account_cost": 836.17,
              "service_cost": 378.973,
              "region": "us-east-1",
              "linked_account": "S247-AWS-team",
              "service": "AmazonCloudWatch",
              "region_cost": 755.462
            },
            "cloud_type": 0,
            "not_to_delete": false,
            "fc_percent_change": -6.3054165390846295,
            "account_name": "AWS Linked",
            "last_processed_time": "02-Dec-2025 16:31",
            "billing_currency": "$",
            "percent_change": -35.80081415043203,
            "total_prev_month": 15003.418,
            "forecast_val": 14057.39
          }
        }
      }
    },
    "code": 0
  }
                
Show full

Sample Response: HTTP 400

Copied!
  {
    "message": "Bad Request",
    "error": "Invalid parameter format or missing required fields",
    "code": 400
  }
                
Show full

Sample Response: HTTP 401

Copied!
  {
    "message": "Unauthorized",
    "error": "Invalid authentication credentials or expired token",
    "code": 401
  }
                
Show full

Sample Response: HTTP 500

Copied!
  {
    "message": "Internal Server Error",
    "error": "An unexpected error occurred while processing the request",
    "code": 500
  }
                
Show full
Endpoints

Sample Request

Curl
Copied!
curl --request POST \
  --url https://www.site24x7.com/cs/api/cost/governance/budget_policy \
  --header 'Authorization:  d92d4xxxxxxxxxxxxx15f52' \
  --header 'content-type: application/json' \
  --data '{"governance_tags":[[{"v":0,"id":"33240000000060037"}]],"policy_name":"test","account_type":0,"policy_type":2,"account_id":"33240000000059001"}'
Show full

Sample Request Body

Copied!
  {
    "governance_tags": [
      [
        {
          "v": 0,
          "id": "33240000000060037"
        }
      ]
    ],
    "policy_name": "test",
    "account_type": 0,
    "policy_type": 2,
    "account_id": "33240000000059001"
  }
                
Show full

Sample Response: HTTP 200

Copied!
  {
    "message": "success",
    "data": {
      "data": "Policy Created Successfully",
      "policy_id": "120"
    },
    "code": 0
  }
                
Show full

Sample Response: HTTP 400

Copied!
  {
    "message": "Bad Request",
    "error": "Invalid parameter format or missing required fields",
    "code": 400
  }
                
Show full

Sample Response: HTTP 401

Copied!
  {
    "message": "Unauthorized",
    "error": "Invalid authentication credentials or expired token",
    "code": 401
  }
                
Show full

Sample Response: HTTP 500

Copied!
  {
    "message": "Internal Server Error",
    "error": "An unexpected error occurred while processing the request",
    "code": 500
  }
                
Show full
Endpoints

Sample Request

Curl
Copied!
curl --request POST \
  --url https://www.site24x7.com/cs/api/cost/report/profile \
  --header 'Authorization:  d92d4xxxxxxxxxxxxx15f52' \
  --header 'content-type: application/json' \
  --data '{"profile_name":"19jan","period":11,"hour":0,"month":0,"timezone":"Asia/Kolkata","day":1,"frequency":4}'
Show full

Sample Request Body

Copied!
  {
    "profile_name": "19jan",
    "period": 11,
    "hour": 0,
    "month": 0,
    "timezone": "Asia/Kolkata",
    "day": 1,
    "frequency": 4
  }
                
Show full

Sample Response: HTTP 200

Copied!
  {
    "message": "success",
    "data": {
      "profile_id": "40"
    },
    "code": 0
  }
                
Show full

Sample Response: HTTP 400

Copied!
  {
    "message": "Bad Request",
    "error": "Invalid parameter format or missing required fields",
    "code": 400
  }
                
Show full

Sample Response: HTTP 401

Copied!
  {
    "message": "Unauthorized",
    "error": "Invalid authentication credentials or expired token",
    "code": 401
  }
                
Show full

Sample Response: HTTP 403

Copied!
  {
    "message": "Forbidden",
    "error": "Insufficient permissions to access this resource",
    "code": 403
  }
                
Show full

Sample Response: HTTP 500

Copied!
  {
    "message": "Internal Server Error",
    "error": "An unexpected error occurred while processing the request",
    "code": 500
  }
                
Show full
Endpoints

Sample Request

Curl
Copied!
curl --request GET \
  --url https://www.site24x7.com/cs/api/reports/anomaly/list/details/report/profiles \
  --header 'Authorization:  d92d4xxxxxxxxxxxxx15f52'
Show full

Sample Response: HTTP 200

Copied!
  {
    "message": "success",
    "code": 0
  }
                
Show full

Sample Response: HTTP 400

Copied!
  {
    "message": "Bad Request",
    "error": "Invalid parameter format or missing required fields",
    "code": 400
  }
                
Show full

Sample Response: HTTP 401

Copied!
  {
    "message": "Unauthorized",
    "error": "Invalid authentication credentials or expired token",
    "code": 401
  }
                
Show full

Sample Response: HTTP 403

Copied!
  {
    "message": "Forbidden",
    "error": "Insufficient permissions to access this resource",
    "code": 403
  }
                
Show full

Sample Response: HTTP 500

Copied!
  {
    "message": "Internal Server Error",
    "error": "An unexpected error occurred while processing the request",
    "code": 500
  }
                
Show full
Endpoints

Sample Request

Curl
Copied!
curl --request POST \
  --url https://www.site24x7.com/cs/api/cost/accounts/spend_analysis/anomaly/details/report \
  --header 'Authorization:  d92d4xxxxxxxxxxxxx15f52' \
  --header 'content-type: application/json' \
  --data '{"cost_ids":["string"],"profile":{"profile_id":"string"},"format":1,"report_name":"string","type":26,"contact_ids":[{"contact_id":"string","contact_type":"1"}],"frequency":0}'
Show full

Sample Request Body

Copied!
  {
    "cost_ids": [
      "string"
    ],
    "profile": {
      "profile_id": "string"
    },
    "format": 1,
    "report_name": "string",
    "type": 26,
    "contact_ids": [
      {
        "contact_id": "string",
        "contact_type": "1"
      }
    ],
    "frequency": 0
  }
                
Show full

Sample Response: HTTP 200

Copied!
  {
    "message": "Anomaly details report scheduled successfully",
    "data": {
      "anomaly_count": 5,
      "scheduled_time": "2025-02-09T09:00:00+05:30",
      "report_id": "REPORT_ID",
      "status": "scheduled"
    },
    "code": 0
  }
                
Show full

Sample Response: HTTP 400

Copied!
  {
    "message": "Bad Request",
    "error": "Invalid parameter format or missing required fields",
    "code": 400
  }
                
Show full
Endpoints

Sample Request

Curl
Copied!
curl --request POST \
  --url https://www.site24x7.com/cs/api/cost/reports/unit/economics/list \
  --header 'Authorization:  d92d4xxxxxxxxxxxxx15f52' \
  --header 'content-type: application/json' \
  --data '{"end_date":"2026-03-31","cost_tags":[],"period":1,"unit_economics_type":1,"unit_economics_id":33240000000800000,"cost_type":0,"accounts":[{"cost_account_id":"33240000000059001","billing_account_ids":["33240000000060001"]}],"start_date":"2026-01-01"}'
Show full

Sample Request Body

Copied!
  {
    "end_date": "2026-03-31",
    "cost_tags": [],
    "period": 1,
    "unit_economics_type": 1,
    "unit_economics_id": 33240000000800000,
    "cost_type": 0,
    "accounts": [
      {
        "cost_account_id": "33240000000059001",
        "billing_account_ids": [
          "33240000000060001"
        ]
      }
    ],
    "start_date": "2026-01-01"
  }
                
Show full

Sample Response: HTTP 200

Copied!
  {
    "message": "success",
    "code": 0
  }
                
Show full

Sample Response: HTTP 400

Copied!
  {
    "message": "Bad Request",
    "error": "Invalid parameter format or missing required fields",
    "code": 400
  }
                
Show full

Sample Response: HTTP 401

Copied!
  {
    "message": "Unauthorized",
    "error": "Invalid authentication credentials or expired token",
    "code": 401
  }
                
Show full

Sample Response: HTTP 403

Copied!
  {
    "message": "Forbidden",
    "error": "Insufficient permissions to access this resource",
    "code": 403
  }
                
Show full

Sample Response: HTTP 500

Copied!
  {
    "message": "Internal Server Error",
    "error": "An unexpected error occurred while processing the request",
    "code": 500
  }
                
Show full
Endpoints

Sample Request

Curl
Copied!
curl --request GET \
  --url https://www.site24x7.com/cs/api/cost/cost_centers/accounts_data \
  --header 'Authorization:  d92d4xxxxxxxxxxxxx15f52'
Show full

Sample Response: HTTP 200

Copied!
  {
    "message": "success",
    "data": {
      "all_accounts": [
        {
          "zaaid": "761048954",
          "cloud_type": 0,
          "child_accounts": [
            {
              "name": "S247-AWS-team",
              "billing_account_id": "403793000001434279",
              "cloud_type": 0,
              "aws_account_id": "063251190422",
              "is_payer_account": false,
              "name_with_entity": "S247-AWS-team_AWS_Anniversary"
            }
          ],
          "cost_account_id": "403793000001435001",
          "account_name": "AWSLinked"
        }
      ]
    },
    "code": 0
  }
                
Show full

Sample Response: HTTP 400

Copied!
  {
    "message": "Bad Request",
    "error": "Invalid parameter format or missing required fields",
    "code": 400
  }
                
Show full

Sample Response: HTTP 401

Copied!
  {
    "message": "Unauthorized",
    "error": "Invalid authentication credentials or expired token",
    "code": 401
  }
                
Show full

Sample Response: HTTP 500

Copied!
  {
    "message": "Internal Server Error",
    "error": "An unexpected error occurred while processing the request",
    "code": 500
  }
                
Show full
Endpoints

Sample Request

Curl
Copied!
curl --request POST \
  --url https://www.site24x7.com/cs/api/cost/accounts/common_widget_api \
  --header 'Authorization:  d92d4xxxxxxxxxxxxx15f52' \
  --header 'content-type: application/json' \
  --data '{"end_date":"2019-08-24","cost_tags":["string"],"period":0,"accounts":[{"cost_account_id":"string","billing_account_ids":["string"]}],"cost_type":0,"start_date":"2019-08-24"}'
Show full

Sample Request Body

Copied!
  {
    "end_date": "2019-08-24",
    "cost_tags": [
      "string"
    ],
    "period": 0,
    "accounts": [
      {
        "cost_account_id": "string",
        "billing_account_ids": [
          "string"
        ]
      }
    ],
    "cost_type": 0,
    "start_date": "2019-08-24"
  }
                
Show full

Sample Response: HTTP 200

Copied!
  {
    "message": "success",
    "data": {
      "return_data": [
        [
          [
            "us-east-1",
            1250.5
          ],
          [
            "us-west-2",
            850.25
          ],
          [
            "eu-west-1",
            420
          ]
        ],
        [
          [
            "AmazonEC2",
            1500
          ],
          [
            "AmazonS3",
            750.5
          ],
          [
            "AmazonRDS",
            270.25
          ]
        ],
        [
          [
            "DataTransfer-Out-Bytes",
            125
          ],
          [
            "DataTransfer-In-Bytes",
            50
          ]
        ],
        [
          [
            "BoxUsage",
            1200
          ],
          [
            "EBS:VolumeUsage",
            300
          ],
          [
            "LoadBalancerUsage",
            200
          ]
        ]
      ]
    },
    "code": 0
  }
                
Show full

Sample Response: HTTP 400

Copied!
  {
    "message": "Bad Request",
    "error": "Invalid parameter format or missing required fields",
    "code": 400
  }
                
Show full
Endpoints

Sample Request

Curl
Copied!
curl --request POST \
  --url https://www.site24x7.com/cs/api/cost/governance/checks \
  --header 'Authorization:  d92d4xxxxxxxxxxxxx15f52' \
  --header 'content-type: application/json' \
  --data '{"account_type":2,"budget_name":"MCP Report Governance","account_id":"33240000000012271","budget_value":500,"alert_configs":[{"notify_percentage":80},{"notify_percentage":100}],"checks_type":3,"contact_ids":[]}'
Show full

Sample Request Body

Copied!
  {
    "account_type": 2,
    "budget_name": "MCP Report Governance",
    "account_id": "33240000000012271",
    "budget_value": 500,
    "alert_configs": [
      {
        "notify_percentage": 80
      },
      {
        "notify_percentage": 100
      }
    ],
    "checks_type": 3,
    "contact_ids": []
  }
                
Show full
Copied!
  {
    "account_type": 0,
    "budget_name": "MCP Account Governance",
    "account_id": "33240000000059001",
    "budget_value": 100,
    "alert_configs": [
      {
        "notify_percentage": 80
      },
      {
        "notify_percentage": 100
      }
    ],
    "checks_type": 3,
    "contact_ids": []
  }
                
Show full
Copied!
  {
    "account_type": 1,
    "budget_name": "MCP BU Governance",
    "account_id": "33240000000537001",
    "budget_value": 200,
    "alert_configs": [
      {
        "notify_percentage": 80
      },
      {
        "notify_percentage": 100
      }
    ],
    "checks_type": 3,
    "contact_ids": []
  }
                
Show full

Sample Response: HTTP 200

Copied!
  {
    "message": "success",
    "data": {
      "checks_id": "101",
      "data": "Governance Check Created Successfully"
    },
    "code": 0
  }
                
Show full

Sample Response: HTTP 400

Copied!
  {
    "message": "Bad Request",
    "error": "Invalid parameter format or missing required fields",
    "code": 400
  }
                
Show full

Sample Response: HTTP 401

Copied!
  {
    "message": "Unauthorized",
    "error": "Invalid authentication credentials or expired token",
    "code": 401
  }
                
Show full

Sample Response: HTTP 500

Copied!
  {
    "message": "Internal Server Error",
    "error": "An unexpected error occurred while processing the request",
    "code": 500
  }
                
Show full
Endpoints

Sample Request

Curl
Copied!
curl --request GET \
  --url https://www.site24x7.com/cs/api/cost/reports/custom_report/report/profiles \
  --header 'Authorization:  d92d4xxxxxxxxxxxxx15f52'
Show full

Sample Response: HTTP 200

Copied!
  {
    "message": "success",
    "data": {
      "return_data": {
        "return_data": [
          {
            "period": 1,
            "report_hour_meridiem": 1,
            "timezone": "Asia/Kolkata",
            "report_hour": 2,
            "report_hour_meridiem_text": "AM",
            "frequency": 1,
            "report_day": 5,
            "report_time": 2,
            "profile_id": "1",
            "default_profile": 0,
            "name": "test",
            "report_month": 0,
            "config": "Asia/Kolkata"
          }
        ]
      }
    },
    "code": 0
  }
                
Show full

Sample Response: HTTP 400

Copied!
  {
    "message": "Bad Request",
    "error": "Invalid parameter format or missing required fields",
    "code": 400
  }
                
Show full

Sample Response: HTTP 401

Copied!
  {
    "message": "Unauthorized",
    "error": "Invalid authentication credentials or expired token",
    "code": 401
  }
                
Show full

Sample Response: HTTP 403

Copied!
  {
    "message": "Forbidden",
    "error": "Insufficient permissions to access this resource",
    "code": 403
  }
                
Show full

Sample Response: HTTP 500

Copied!
  {
    "message": "Internal Server Error",
    "error": "An unexpected error occurred while processing the request",
    "code": 500
  }
                
Show full
Endpoints

Sample Request

Curl
Copied!
curl --request GET \
  --url https://www.site24x7.com/cs/api/cost/reports/savings_report/report/profiles \
  --header 'Authorization:  d92d4xxxxxxxxxxxxx15f52'
Show full

Sample Response: HTTP 200

Copied!
  {
    "message": "success",
    "data": {
      "return_data": {
        "return_data": [
          {
            "period": 1,
            "report_hour_meridiem": 1,
            "timezone": "Asia/Kolkata",
            "report_hour": 2,
            "report_hour_meridiem_text": "AM",
            "frequency": 1,
            "report_day": 5,
            "report_time": 2,
            "profile_id": "1",
            "default_profile": 0,
            "name": "test",
            "report_month": 0,
            "config": "Asia/Kolkata"
          }
        ]
      }
    },
    "code": 0
  }
                
Show full

Sample Response: HTTP 400

Copied!
  {
    "message": "Bad Request",
    "error": "Invalid parameter format or missing required fields",
    "code": 400
  }
                
Show full

Sample Response: HTTP 401

Copied!
  {
    "message": "Unauthorized",
    "error": "Invalid authentication credentials or expired token",
    "code": 401
  }
                
Show full

Sample Response: HTTP 403

Copied!
  {
    "message": "Forbidden",
    "error": "Insufficient permissions to access this resource",
    "code": 403
  }
                
Show full

Sample Response: HTTP 500

Copied!
  {
    "message": "Internal Server Error",
    "error": "An unexpected error occurred while processing the request",
    "code": 500
  }
                
Show full
Endpoints

Sample Request

Curl
Copied!
curl --request GET \
  --url https://www.site24x7.com/cs/api/cost/integration/msp_customers \
  --header 'Authorization:  d92d4xxxxxxxxxxxxx15f52'
Show full

Sample Response: HTTP 200

Copied!
  {
    "message": "success",
    "data": {
      "isMSPAdmin": false
    },
    "code": 0
  }
                
Show full

Sample Response: HTTP 400

Copied!
  {
    "message": "Bad Request",
    "error": "Invalid parameter format or missing required fields",
    "code": 400
  }
                
Show full

Sample Response: HTTP 401

Copied!
  {
    "message": "Unauthorized",
    "error": "Invalid authentication credentials or expired token",
    "code": 401
  }
                
Show full

Sample Response: HTTP 500

Copied!
  {
    "message": "Internal Server Error",
    "error": "An unexpected error occurred while processing the request",
    "code": 500
  }
                
Show full
Endpoints

Sample Request

Curl
Copied!
curl --request POST \
  --url https://www.site24x7.com/cs/api/cost/reports/summary_report/report \
  --header 'Authorization:  d92d4xxxxxxxxxxxxx15f52' \
  --header 'content-type: application/json' \
  --data '{"cost_ids":[],"profile":{"profile_id":"35"},"format":1,"report_name":"Monthly Summary Report","type":18,"contact_ids":[{"contact_id":"53565000000014003","contact_type":"1"}],"frequency":1}'
Show full

Sample Request Body

Copied!
  {
    "cost_ids": [],
    "profile": {
      "profile_id": "35"
    },
    "format": 1,
    "report_name": "Monthly Summary Report",
    "type": 18,
    "contact_ids": [
      {
        "contact_id": "53565000000014003",
        "contact_type": "1"
      }
    ],
    "frequency": 1
  }
                
Show full

Sample Response: HTTP 200

Copied!
  {
    "message": "success",
    "data": {
      "report_id": "33240000000697001"
    },
    "code": 0
  }
                
Show full

Sample Response: HTTP 400

Copied!
  {
    "message": "Bad Request",
    "error": "Invalid parameter format or missing required fields",
    "code": 400
  }
                
Show full

Sample Response: HTTP 401

Copied!
  {
    "message": "Unauthorized",
    "error": "Invalid authentication credentials or expired token",
    "code": 401
  }
                
Show full

Sample Response: HTTP 403

Copied!
  {
    "message": "Forbidden",
    "error": "Insufficient permissions to access this resource",
    "code": 403
  }
                
Show full

Sample Response: HTTP 500

Copied!
  {
    "message": "Internal Server Error",
    "error": "An unexpected error occurred while processing the request",
    "code": 500
  }
                
Show full
Endpoints

Sample Request

Curl
Copied!
curl --request POST \
  --url https://www.site24x7.com/cs/api/cost/accounts/accounts_splitup \
  --header 'Authorization:  d92d4xxxxxxxxxxxxx15f52' \
  --header 'content-type: application/json' \
  --data '{"end_date":"2019-08-24","cost_tags":["string"],"period":0,"accounts":[{"cost_account_id":"string","billing_account_ids":["string"]}],"cost_type":0,"start_date":"2019-08-24"}'
Show full

Sample Request Body

Copied!
  {
    "end_date": "2019-08-24",
    "cost_tags": [
      "string"
    ],
    "period": 0,
    "accounts": [
      {
        "cost_account_id": "string",
        "billing_account_ids": [
          "string"
        ]
      }
    ],
    "cost_type": 0,
    "start_date": "2019-08-24"
  }
                
Show full

Sample Response: HTTP 200

Copied!
  {
    "message": "success",
    "data": {
      "return_data": [
        [
          "Azure subscription 1_Microsoft",
          63.729
        ],
        [
          "Azure subscription 1_Marketplace",
          1.211
        ],
        [
          "Subscription-2_Microsoft",
          81.536
        ],
        [
          "Subscription-2_Marketplace",
          2.645
        ]
      ]
    },
    "code": 0
  }
                
Show full

Sample Response: HTTP 400

Copied!
  {
    "message": "Bad Request",
    "error": "Invalid parameter format or missing required fields",
    "code": 400
  }
                
Show full

Sample Response: HTTP 401

Copied!
  {
    "message": "Unauthorized",
    "error": "Invalid authentication credentials or expired token",
    "code": 401
  }
                
Show full

Sample Response: HTTP 404

Copied!
  {
    "message": "Not Found",
    "error": "The requested resource was not found",
    "code": 404
  }
                
Show full

Sample Response: HTTP 500

Copied!
  {
    "message": "Internal Server Error",
    "error": "An unexpected error occurred while processing the request",
    "code": 500
  }
                
Show full
Endpoints

Sample Request

Curl
Copied!
curl --request GET \
  --url https://www.site24x7.com/cs/api/cost/admin/rule/history \
  --header 'Authorization:  d92d4xxxxxxxxxxxxx15f52'
Show full

Sample Response: HTTP 200

Copied!
  {}
                
Show full

Sample Response: HTTP 400

Copied!
  {
    "message": "Bad Request",
    "error": "Invalid parameter format or missing required fields",
    "code": 400
  }
                
Show full

Sample Response: HTTP 401

Copied!
  {
    "message": "Unauthorized",
    "error": "Invalid authentication credentials or expired token",
    "code": 401
  }
                
Show full

Sample Response: HTTP 403

Copied!
  {
    "message": "Forbidden",
    "error": "Insufficient permissions to access this resource",
    "code": 403
  }
                
Show full

Sample Response: HTTP 500

Copied!
  {
    "message": "Internal Server Error",
    "error": "An unexpected error occurred while processing the request",
    "code": 500
  }
                
Show full
Endpoints

Sample Request

Curl
Copied!
curl --request POST \
  --url https://www.site24x7.com/cs/api/cost/cost_centers/custom_tags_for_cc_ca \
  --header 'Authorization:  d92d4xxxxxxxxxxxxx15f52' \
  --header 'content-type: application/json' \
  --data '{"cost_account_id":"33240000000537001","type":"businessUnits","variation":-4,"tags":[{"value":"Production","key":"Environment"}]}'
Show full

Sample Request Body

Copied!
  {
    "cost_account_id": "33240000000537001",
    "type": "businessUnits",
    "variation": -4,
    "tags": [
      {
        "value": "Production",
        "key": "Environment"
      }
    ]
  }
                
Show full
Copied!
  {
    "cost_account_id": "33240000000537001",
    "type": "businessUnits",
    "variation": -4,
    "tags": [
      {
        "value": "Engineering",
        "key": "Department"
      },
      {
        "value": "CloudMigration",
        "key": "Project"
      },
      {
        "value": "ENG-2024",
        "key": "CostCenter"
      }
    ]
  }
                
Show full

Sample Response: HTTP 200

Copied!
  {
    "message": "success",
    "data": {
      "tagId": "",
      "status": "Tag created"
    },
    "code": 0
  }
                
Show full

Sample Response: HTTP 400

Copied!
  {
    "message": "Bad Request",
    "error": "Invalid parameter format or missing required fields",
    "code": 400
  }
                
Show full

Sample Response: HTTP 401

Copied!
  {
    "message": "Unauthorized",
    "error": "Invalid authentication credentials or expired token",
    "code": 401
  }
                
Show full

Sample Response: HTTP 500

Copied!
  {
    "message": "Internal Server Error",
    "error": "An unexpected error occurred while processing the request",
    "code": 500
  }
                
Show full
Endpoints

Sample Request

Curl
Copied!
curl --request POST \
  --url https://www.site24x7.com/cs/api/cost/reports/savings_report/report \
  --header 'Authorization:  d92d4xxxxxxxxxxxxx15f52' \
  --header 'content-type: application/json' \
  --data '{"cost_ids":["33240000000635001"],"profile":{"profile_id":"1"},"format":1,"report_name":"Weekly Savings Report","type":23,"contact_ids":[{"contact_id":"53565000000014003","contact_type":"1"}],"frequency":1}'
Show full

Sample Request Body

Copied!
  {
    "cost_ids": [
      "33240000000635001"
    ],
    "profile": {
      "profile_id": "1"
    },
    "format": 1,
    "report_name": "Weekly Savings Report",
    "type": 23,
    "contact_ids": [
      {
        "contact_id": "53565000000014003",
        "contact_type": "1"
      }
    ],
    "frequency": 1
  }
                
Show full

Sample Response: HTTP 200

Copied!
  {
    "message": "success",
    "data": {
      "report_id": "33240000000671067"
    },
    "code": 0
  }
                
Show full

Sample Response: HTTP 400

Copied!
  {
    "message": "Bad Request",
    "error": "Invalid parameter format or missing required fields",
    "code": 400
  }
                
Show full

Sample Response: HTTP 401

Copied!
  {
    "message": "Unauthorized",
    "error": "Invalid authentication credentials or expired token",
    "code": 401
  }
                
Show full

Sample Response: HTTP 403

Copied!
  {
    "message": "Forbidden",
    "error": "Insufficient permissions to access this resource",
    "code": 403
  }
                
Show full

Sample Response: HTTP 500

Copied!
  {
    "message": "Internal Server Error",
    "error": "An unexpected error occurred while processing the request",
    "code": 500
  }
                
Show full
Endpoints

Sample Request

Curl
Copied!
curl --request POST \
  --url https://www.site24x7.com/cs/api/cost/accounts/cost_by_resource \
  --header 'Authorization:  d92d4xxxxxxxxxxxxx15f52' \
  --header 'content-type: application/json' \
  --data '{"end_date":"2019-08-24","cost_tags":["string"],"period":0,"accounts":[{"cost_account_id":"string","billing_account_ids":["string"]}],"cost_type":0,"start_date":"2019-08-24"}'
Show full

Sample Request Body

Copied!
  {
    "end_date": "2019-08-24",
    "cost_tags": [
      "string"
    ],
    "period": 0,
    "accounts": [
      {
        "cost_account_id": "string",
        "billing_account_ids": [
          "string"
        ]
      }
    ],
    "cost_type": 0,
    "start_date": "2019-08-24"
  }
                
Show full

Sample Response: HTTP 200

Copied!
  {
    "message": "success",
    "data": {
      "return_data": [
        {
          "name": "aws-cloudtrail-logs-063251190422-94055981",
          "id": "33240000000062935",
          "type": "AmazonCloudWatch",
          "value": 841.713,
          "group": "-"
        },
        {
          "name": "database-1-instance-1",
          "id": "33240000000207015",
          "type": "AmazonRDS",
          "value": 324.997,
          "group": "-"
        },
        {
          "name": "eksctl-testeks5-cluster/ControlPlane",
          "id": "33240000000420049",
          "type": "AmazonEKS",
          "value": 300.856,
          "group": "-"
        },
        {
          "name": "opensearch-t3-medium",
          "id": "33240000000061747",
          "type": "AmazonES",
          "value": 263.494,
          "group": "-"
        },
        {
          "name": "renamed-cluster-instance-1",
          "id": "33240000000420073",
          "type": "AmazonRDS",
          "value": 227.72,
          "group": "-"
        }
      ]
    },
    "code": 0
  }
                
Show full

Sample Response: HTTP 400

Copied!
  {
    "message": "Bad Request",
    "error": "Invalid parameter format or missing required fields",
    "code": 400
  }
                
Show full

Sample Response: HTTP 401

Copied!
  {
    "message": "Unauthorized",
    "error": "Invalid authentication credentials or expired token",
    "code": 401
  }
                
Show full

Sample Response: HTTP 404

Copied!
  {
    "message": "Not Found",
    "error": "The requested resource was not found",
    "code": 404
  }
                
Show full

Sample Response: HTTP 500

Copied!
  {
    "message": "Internal Server Error",
    "error": "An unexpected error occurred while processing the request",
    "code": 500
  }
                
Show full
Endpoints

Sample Request

Curl
Copied!
curl --request POST \
  --url https://www.site24x7.com/cs/api/cost/governance/resource/33240000000062935/data_transfer \
  --header 'Authorization:  d92d4xxxxxxxxxxxxx15f52' \
  --header 'content-type: application/json' \
  --data '{"end_date":"2025-12-22","cost_tags":[],"period":-1,"cost_type":0,"resource_id":"33240000000062935","accounts":[{"cost_account_id":"33240000000059001","billing_account_ids":["33240000000060001"]}],"start_date":"2025-11-01"}'
Show full

Sample Request Body

Copied!
  {
    "end_date": "2025-12-22",
    "cost_tags": [],
    "period": -1,
    "cost_type": 0,
    "resource_id": "33240000000062935",
    "accounts": [
      {
        "cost_account_id": "33240000000059001",
        "billing_account_ids": [
          "33240000000060001"
        ]
      }
    ],
    "start_date": "2025-11-01"
  }
                
Show full

Sample Response: HTTP 200

Copied!
  {
    "message": "success",
    "data": {
      "return_data": {
        "values": []
      }
    },
    "code": 0
  }
                
Show full

Sample Response: HTTP 400

Copied!
  {
    "message": "Bad Request",
    "error": "Invalid parameter format or missing required fields",
    "code": 400
  }
                
Show full

Sample Response: HTTP 401

Copied!
  {
    "message": "Unauthorized",
    "error": "Invalid authentication credentials or expired token",
    "code": 401
  }
                
Show full

Sample Response: HTTP 500

Copied!
  {
    "message": "Internal Server Error",
    "error": "An unexpected error occurred while processing the request",
    "code": 500
  }
                
Show full
Endpoints

Sample Request

Curl
Copied!
curl --request POST \
  --url https://www.site24x7.com/cs/api/cost/reports/resource_inventory/report \
  --header 'Authorization:  d92d4xxxxxxxxxxxxx15f52' \
  --header 'content-type: application/json' \
  --data '{"cost_ids":["33240000000059001"],"profile":{"profile_id":"1"},"format":1,"report_name":"test","type":20,"contact_ids":[{"contact_id":"53565000000014003","contact_type":"1"}],"frequency":1}'
Show full

Sample Request Body

Copied!
  {
    "cost_ids": [
      "33240000000059001"
    ],
    "profile": {
      "profile_id": "1"
    },
    "format": 1,
    "report_name": "test",
    "type": 20,
    "contact_ids": [
      {
        "contact_id": "53565000000014003",
        "contact_type": "1"
      }
    ],
    "frequency": 1
  }
                
Show full

Sample Response: HTTP 200

Copied!
  {
    "message": "success",
    "data": {
      "report_id": "33240000000675001"
    },
    "code": 0
  }
                
Show full

Sample Response: HTTP 400

Copied!
  {
    "message": "Bad Request",
    "error": "Invalid parameter format or missing required fields",
    "code": 400
  }
                
Show full

Sample Response: HTTP 401

Copied!
  {
    "message": "Unauthorized",
    "error": "Invalid authentication credentials or expired token",
    "code": 401
  }
                
Show full

Sample Response: HTTP 403

Copied!
  {
    "message": "Forbidden",
    "error": "Insufficient permissions to access this resource",
    "code": 403
  }
                
Show full

Sample Response: HTTP 500

Copied!
  {
    "message": "Internal Server Error",
    "error": "An unexpected error occurred while processing the request",
    "code": 500
  }
                
Show full
Endpoints

Sample Request

Curl
Copied!
curl --request POST \
  --url https://www.site24x7.com/cs/api/cost/reports/unit/economics/resource/trend \
  --header 'Authorization:  d92d4xxxxxxxxxxxxx15f52' \
  --header 'content-type: application/json' \
  --data '{"end_date":"2026-03-31","cost_tags":[],"period":1,"cost_type":0,"usage_unit_id":33240000000800000,"product_id":33240000000070000,"region_id":33240000000065000,"accounts":[{"cost_account_id":"33240000000059001","billing_account_ids":["33240000000060001"]}],"usage_type_id":33240000000810000,"start_date":"2026-01-01"}'
Show full

Sample Request Body

Copied!
  {
    "end_date": "2026-03-31",
    "cost_tags": [],
    "period": 1,
    "cost_type": 0,
    "usage_unit_id": 33240000000800000,
    "product_id": 33240000000070000,
    "region_id": 33240000000065000,
    "accounts": [
      {
        "cost_account_id": "33240000000059001",
        "billing_account_ids": [
          "33240000000060001"
        ]
      }
    ],
    "usage_type_id": 33240000000810000,
    "start_date": "2026-01-01"
  }
                
Show full

Sample Response: HTTP 200

Copied!
  {
    "message": "success",
    "code": 0
  }
                
Show full

Sample Response: HTTP 400

Copied!
  {
    "message": "Bad Request",
    "error": "Invalid parameter format or missing required fields",
    "code": 400
  }
                
Show full

Sample Response: HTTP 401

Copied!
  {
    "message": "Unauthorized",
    "error": "Invalid authentication credentials or expired token",
    "code": 401
  }
                
Show full

Sample Response: HTTP 403

Copied!
  {
    "message": "Forbidden",
    "error": "Insufficient permissions to access this resource",
    "code": 403
  }
                
Show full

Sample Response: HTTP 500

Copied!
  {
    "message": "Internal Server Error",
    "error": "An unexpected error occurred while processing the request",
    "code": 500
  }
                
Show full
Endpoints

Sample Request

Curl
Copied!
curl --request POST \
  --url https://www.site24x7.com/cs/api/cost/sol_reports/group_by_property \
  --header 'Authorization:  d92d4xxxxxxxxxxxxx15f52' \
  --header 'content-type: application/json' \
  --data '{"end_date":"2026-01-16","cost_tags":[],"period":1,"business_unit_id":"33240000000073491","cost_type":0,"accounts":[{"cost_account_id":"33240000000059001","billing_account_ids":["33240000000060001"]}],"bu_type":1,"group_by_type":"accounts","start_date":"2025-12-01"}'
Show full

Sample Request Body

Copied!
  {
    "end_date": "2026-01-16",
    "cost_tags": [],
    "period": 1,
    "business_unit_id": "33240000000073491",
    "cost_type": 0,
    "accounts": [
      {
        "cost_account_id": "33240000000059001",
        "billing_account_ids": [
          "33240000000060001"
        ]
      }
    ],
    "bu_type": 1,
    "group_by_type": "accounts",
    "start_date": "2025-12-01"
  }
                
Show full
Copied!
  {
    "end_date": "2026-01-16",
    "cost_tags": [],
    "period": 1,
    "business_unit_id": "33240000000073491",
    "cost_type": 0,
    "accounts": [
      {
        "cost_account_id": "33240000000059001",
        "billing_account_ids": [
          "33240000000060001"
        ]
      }
    ],
    "bu_type": 1,
    "group_by_type": "region",
    "start_date": "2025-12-01"
  }
                
Show full
Copied!
  {
    "end_date": "2026-01-16",
    "cost_tags": [],
    "period": 1,
    "business_unit_id": "33240000000073491",
    "cost_type": 0,
    "accounts": [
      {
        "cost_account_id": "33240000000059001",
        "billing_account_ids": [
          "33240000000060001"
        ]
      }
    ],
    "bu_type": 1,
    "group_by_type": "service",
    "start_date": "2025-12-01"
  }
                
Show full
Copied!
  {
    "end_date": "2026-01-16",
    "cost_tags": [
      {
        "v": 3,
        "id": "33240000000060395"
      }
    ],
    "period": 1,
    "business_unit_id": "33240000000073491",
    "cost_type": 0,
    "group_by_tags": [
      {
        "v": 1,
        "id": "33240000000060007"
      }
    ],
    "accounts": [
      {
        "cost_account_id": "33240000000059001",
        "billing_account_ids": [
          "33240000000060001"
        ]
      }
    ],
    "bu_type": 1,
    "group_by_type": "tag",
    "start_date": "2025-12-01"
  }
                
Show full

Sample Response: HTTP 200

Copied!
  {
    "message": "success",
    "data": {
      "return_data": {
        "mode": 1,
        "values": {
          "S247-AWS-team - AWS-Anniversary ": {
            "cloud_account_id": "063251190422",
            "property": {
              "v": 0,
              "id": "33240000000060001"
            },
            "chart_data": [
              [
                "2025-12-01T00:00:00+0530",
                4.177
              ],
              [
                "2026-01-01T00:00:00+0530",
                1.839
              ]
            ]
          },
          "usageType:Usage": {
            "property": {
              "v": 1,
              "id": "33240000000060007"
            },
            "chart_data": [
              [
                "2025-12-01T00:00:00+0530",
                89.258
              ],
              [
                "2026-01-01T00:00:00+0530",
                42.915
              ]
            ]
          }
        }
      }
    },
    "code": 0
  }
                
Show full
Endpoints

Sample Request

Curl
Copied!
curl --request GET \
  --url 'https://www.site24x7.com/cs/api/cost/sankey_chart_data?JSONString={"start_date":"2026-01-01","end_date":"2026-02-11"}' \
  --header 'Authorization:  d92d4xxxxxxxxxxxxx15f52'
Show full

Sample Response: HTTP 200

Copied!
  {
    "message": "success",
    "data": {
      "data": [
        [
          "AWS",
          "Usage",
          "us-east-1",
          "AmazonCloudWatch",
          19801.478
        ],
        [
          "AWS",
          "Usage",
          "us-east-2",
          "AmazonCloudWatch",
          2231.587
        ],
        [
          "AWS",
          "RIFee",
          "us-east-1",
          "AmazonMemoryDB",
          406.712
        ],
        [
          "AZURE",
          "Usage",
          "US East",
          "microsoft.compute",
          34.818
        ],
        [
          "GCP",
          "regular",
          "us-central1",
          "Compute Engine",
          12.771
        ],
        [
          "AWS",
          "SavingsPlanNegation",
          "us-east-1",
          "AmazonEC2",
          -5.636
        ]
      ]
    },
    "code": 0
  }
                
Show full

Sample Response: HTTP 400

Copied!
  {
    "message": "Bad Request",
    "error": "Invalid parameter format or missing required fields",
    "code": 400
  }
                
Show full

Sample Response: HTTP 401

Copied!
  {
    "message": "Unauthorized",
    "error": "Invalid authentication credentials or expired token",
    "code": 401
  }
                
Show full

Sample Response: HTTP 403

Copied!
  {
    "message": "Forbidden",
    "error": "Insufficient permissions to access this resource",
    "code": 403
  }
                
Show full

Sample Response: HTTP 500

Copied!
  {
    "message": "Internal Server Error",
    "error": "An unexpected error occurred while processing the request",
    "code": 500
  }
                
Show full
Endpoints

Sample Request

Curl
Copied!
curl --request POST \
  --url https://www.site24x7.com/cs/api/cost/accounts/entity_forecast \
  --header 'Authorization:  d92d4xxxxxxxxxxxxx15f52' \
  --header 'content-type: application/json' \
  --data '{"accounts":[{"cost_account_id":"string","billing_account_ids":["string"]}],"cloud_type":0,"resource_ids":[0],"cost_type":0,"group_by_type":"service","variation":1}'
Show full

Sample Request Body

Copied!
  {
    "accounts": [
      {
        "cost_account_id": "string",
        "billing_account_ids": [
          "string"
        ]
      }
    ],
    "cloud_type": 0,
    "resource_ids": [
      0
    ],
    "cost_type": 0,
    "group_by_type": "service",
    "variation": 1
  }
                
Show full

Sample Response: HTTP 200

Copied!
  {
    "message": "success",
    "code": 0
  }
                
Show full

Sample Response: HTTP 400

Copied!
  {
    "message": "Bad Request",
    "error": "Invalid parameter format or missing required fields",
    "code": 400
  }
                
Show full

Sample Response: HTTP 401

Copied!
  {
    "message": "Unauthorized",
    "error": "Invalid authentication credentials or expired token",
    "code": 401
  }
                
Show full

Sample Response: HTTP 500

Copied!
  {
    "message": "Internal Server Error",
    "error": "An unexpected error occurred while processing the request",
    "code": 500
  }
                
Show full
Endpoints

Sample Request

Curl
Copied!
curl --request GET \
  --url https://www.site24x7.com/cs/api/cost/reports/report_tile_status \
  --header 'Authorization:  d92d4xxxxxxxxxxxxx15f52'
Show full

Sample Response: HTTP 200

Copied!
  {
    "message": "success",
    "data": {
      "tiles": {
        "reservations": {
          "report_type": 1,
          "processed_cost_account_ids": [
            1001,
            1002
          ]
        }
      }
    },
    "code": 0
  }
                
Show full