CloudZero

App · 22 actions

Track cloud spend, budgets, cost insights and anomaly incidents across your billing connections.

Actions

ActionWhat it does
Get a billing connectionGet details of a connected billing source.
Get a budgetGet a budget, including its planned limits and alert configuration.
Get a namespaceGet the display name and role access of a CostFormation namespace.
Get a roleGet a role and its assigned permission sets.
Get a viewGet the filters and notification settings for a saved view.
Get an incidentGet an anomaly incident with its current status and cost impact.
Get an insightGet the status and estimated cost impact of an insight.
Get billing costsRetrieve cloud billing costs for a date range, grouped by billing dimensions.
List AI Signals dimensionsList dimensions available to group and filter AI Signals usage.
List billing connectionsList services connected to your CloudZero billing data.
List billing dimensionsList dimensions available to group and filter billing costs.
List budgetsList cloud budgets with optional sorting and expansion.
List definition versionsList historical CostFormation definition versions.
List incidentsList cost anomaly incidents and filter by monitors or status.
List insight commentsList comments recorded against a cost insight.
List insightsList cost insights and filter by status or implementation effort.
List monitorsList cloud cost anomaly monitors and their notification settings.
List namespacesList user-managed CostFormation namespaces.
List publish jobsList asynchronous CostFormation publish jobs and their status.
List recommendation typesList optimization recommendation types for selected cloud providers.
List rolesList organization roles and their permission sets.
List viewsList saved views for monitoring the cost of selected resources.

Get a billing connection

Get details of a connected billing source.

Inputs

Record connectionrecord_connection_idtextRequired
Unique Billing Connection identifier

Outputs

dataobject
The response from CloudZero.
Example output
{
  "data": {
    "connection": {
      "capabilities": {},
      "cloud_provider": "sample_cloud_provider",
      "connection_id": "sample_connection_id",
      "connection_type": "Example",
      "created": "Example",
      "expected_ingest_rate": 1,
      "id": "sample_id",
      "is_draft": false,
      "is_enabled": false,
      "last_updated": "Example",
      "name": "Example",
      "s3_bucket_info": {
        "bucket_name": "Example",
        "bucket_path": "Example",
        "cloud_account_id": "sample_cloud_account_id"
      }
    }
  }
}

Get a budget

Get a budget, including its planned limits and alert configuration.

Inputs

Budgetbudget_idtextRequired
Unique budget identifier
Expandexpandlist
If passed, query will expand the properties specified. This is a multi-value query parameter, pass it more than once to specify multiple values, e.g. - `&expand=current&expand=history`One or more of: current, history, burnup.

Outputs

dataobject
The response from CloudZero.
Example output
{
  "data": {
    "budget": {
      "alerts": {},
      "cost_type": "real_cost",
      "created": "Example",
      "granularity": "monthly",
      "id": "sample_id",
      "last_updated": "Example",
      "name": "Example",
      "planned_limits": {
        "monthly": {}
      },
      "view": {
        "id": "sample_id"
      }
    }
  }
}

Get a namespace

Get the display name and role access of a CostFormation namespace.

Inputs

IDidtextRequired
The namespace identifier (FQN format)

Outputs

dataobject
Wrapper object for a single namespace response
Example output
{
  "data": {
    "namespace": {
      "display_name": "Example",
      "edit_role_ids": [
        "sample_edit_role_ids"
      ],
      "id": "sample_id",
      "view_role_ids": [
        "sample_view_role_ids"
      ]
    }
  }
}

Get a role

Get a role and its assigned permission sets.

Inputs

Rolerole_idtextRequired
The unique identifier of the role

Outputs

dataobject
The response from CloudZero.
Example output
{
  "data": {
    "role": {
      "created_at": "2026-11-30T12:00:00Z",
      "created_by": "Example",
      "data_access_filter": {
        "attribute_filters": {},
        "description": "Example",
        "dynamic_filter_dimensions": {},
        "filter_dimensions": {},
        "filter_type": "Example",
        "name": "Example"
      },
      "description": "Example",
      "id": "sample_id",
      "last_updated_at": "2026-11-30T12:00:00Z",
      "last_updated_by": "Example",
      "name": "Example",
      "permission_set_ids": [
        "sample_permission_set_ids"
      ]
    }
  }
}

Get a view

Get the filters and notification settings for a saved view.

Inputs

Viewview_idtextRequired
Unique View identifier

Outputs

dataobject
The response from CloudZero.
Example output
{
  "data": {
    "view": {
      "anomalies": {
        "enabled": false,
        "min_cost_impact": 1,
        "threshold_amount": 1,
        "threshold_type": "Automatic"
      },
      "connections": {
        "email": {
          "addresses": [
            "Example"
          ],
          "include_all_organizers": false
        },
        "slack": [
          {}
        ]
      },
      "created_by": "Example",
      "filter": {},
      "id": "sample_id",
      "last_updated": "Example",
      "name": "Example",
      "notifications": {
        "monthly": false,
        "weekly": false
      },
      "owner": "Example",
      "principal_dimension": "Example",
      "source_view_id": "sample_source_view_id",
      "visibility": "personal"
    }
  }
}

Get an incident

Get an anomaly incident with its current status and cost impact.

Inputs

Incidentincident_idtextRequired
The ID of the incident

Outputs

dataobject
An incident as the detail endpoint returns it.
Example output
{
  "data": {
    "affected_resources": [
      {}
    ],
    "anomalous_days": {},
    "attribution_tags": {},
    "cost_impact": 1,
    "cost_type": "Example",
    "created_at": "2026-11-30T12:00:00Z",
    "description": "Example",
    "end_date": "2026-11-30",
    "forecast": {
      "actual_crossing": {
        "crossing_date": "Example",
        "month_to_date_at_crossing": 1,
        "observed_at": "Example",
        "revisions": [
          {}
        ]
      },
      "limit": 1,
      "projection": {
        "frozen_at": "Example",
        "last_actual_day": "Example",
        "lower95": 1,
        "projected_overage": 1,
        "projected_total": 1,
        "upper95": 1
      }
    },
    "growth_rate": 1,
    "incident_id": "sample_incident_id",
    "monitor_id": "sample_monitor_id",
    "monitor_name": "Example",
    "pct_above_baseline": 1,
    "resolution_reason": "intentional",
    "resolution_reason_detail": "Example",
    "spend_status": "Example",
    "start_date": "2026-11-30",
    "status": "Example",
    "summary": "Example",
    "threshold_level": {
      "amount": 1,
      "as_of": "Example",
      "crossed_levels": [
        1
      ],
      "kind": "alert",
      "percentage": 1,
      "remaining_balance": 1,
      "spend_to_date": 1
    },
    "title": "Example",
    "trend_basis": "week_over_week",
    "updated_at": "2026-11-30T12:00:00Z"
  }
}

Get an insight

Get the status and estimated cost impact of an insight.

Inputs

Insightinsight_idtextRequired
Unique Insight identifier

Outputs

dataobject
The response from CloudZero.
Example output
{
  "data": {
    "insight": {
      "category": "Example",
      "cost_impact": "Example",
      "created": "Example",
      "description": "Example",
      "effort": "not_set",
      "id": "sample_id",
      "last_updated": "Example",
      "link": "Example",
      "status": "new",
      "title": "Example"
    }
  }
}

Get billing costs

Retrieve cloud billing costs for a date range, grouped by billing dimensions.

Inputs

Start datestart_datedateRequired
First billing date to include.
End dateend_datedate
Last billing date to include.
Granularitygranularitytext
Supported periods, e.g. "daily"One of: hourly, daily, weekly, monthly. Default: daily.
Group bygroup_bylist
Dimension ID(s) by which to group the results. This is a multi-value query parameter, pass it more than once to specify multiple values. - When using this form: `Region` and `Tag:Name` - When using HTTP URL: `&group_by=Region&group_by=Tag:Name`
Filtersfilterstext
An encoded JSON mapping of Dimension IDs to values by which to filter the results. The keys are dimension IDs; they may be negated with a '!' prefix. For a list of the Dimension IDs, see the CostDefinition Language Reference. - When using this form (Do not encode): - `{"Region": ["us-east-1"], "!Account": ["123456789012"]}` - When using HTTP URL (This must be encoded!): - Encoded: `%26filters%3D%7B%22Region%22%3A%20%5B%22us-east-1%22%5D%2C%20%22%21Account%22%3A%20%5B%22123456789012%22%5D%7D` - Decoded: `&filters={"Region": ["us-east-1"], "!Account": ["123456789012"]}`
Cost typecost_typetext
https://docs.cloudzero.com/docs/explorer#cost-typesOne of: billed_cost (Billed cost), discounted_cost (Discounted cost), amortized_cost (Amortized cost), discounted_amortized_cost (Discounted amortized cost), real_cost (Real cost), on_demand_cost (On demand cost), invoiced_amortized_cost (Invoiced amortized cost), usage_amount (Usage amount). Default: real_cost.
Align to granularityalign_to_granularitytrue/false
Controls whether the requested date range is expanded to align with granularity period boundaries. When `true` (default), dates are snapped to the start of the granularity period. For example, requesting `start_date=2024-09-15` with `granularity=monthly` will return data starting from `2024-09-01`. When `false`, the exact date range you specify is used. Partial periods will be included in the results. For example, requesting `start_date=2024-09-15&end_date=2024-11-15&granularity=monthly` will return monthly buckets containing only the costs within the September 15 through November 15 window.Default: true.
Include projected row countinclude_projected_row_counttrue/false
When `true`, each result row includes a `projected_row_count` field showing the number of underlying cost records aggregated into that row. A single record is a unique set of values across all core dimensions at daily grain. When allocation dimensions split records across multiple targets, the count reflects the total after expansion but before final aggregation. Returns an integer for `daily`, `weekly`, and `monthly` granularities. For `hourly` granularity, the field is omitted because the metric is not computed at that grain. When `false` (default), the field is omitted from the response.Default: false.
Cursorcursortext
Allows you to page forward and back in your results. NOTE: This must be URL Encoded! - See the Pagination section of the API Reference for more information!

Outputs

dataobject
The response from CloudZero.
Example output
{
  "data": {
    "costs": [
      {
        "cost": 1,
        "projected_row_count": 1,
        "usage_date": "Example"
      }
    ],
    "pagination": {
      "cursor": {
        "has_next": false,
        "has_previous": false,
        "next_cursor": "Example",
        "previous_cursor": "Example"
      },
      "item_count": 1,
      "page_count": 1,
      "total_count": 1
    }
  }
}

List AI Signals dimensions

List dimensions available to group and filter AI Signals usage.

Inputs

Include hiddeninclude_hiddentrue/false
Include dimensions marked as hidden in CostFormation, which do not appear in the CloudZero ExplorerDefault: false.

Outputs

dataobject
The response from CloudZero.
Example output
{
  "data": {
    "dimensions": [
      {
        "id": "sample_id",
        "name": "Example"
      }
    ]
  }
}

List billing connections

List services connected to your CloudZero billing data.

Inputs

Limitlimitnumber
Number of items to return per page
Cursorcursortext
Allows you to page forward and back in your results. NOTE: This must be URL Encoded! - See the Pagination section of the API Reference for more information!
Sort keysort_keytext
Sortable Billing Connection propertiesOne of: connection_name (Connection name), creation_date (Creation date), name, cloud_provider (Cloud provider), created, last_updated (Last updated), is_enabled (Is enabled).
Sort ordersort_ordertext
ASC or DESC sort orderOne of: asc, desc.

Outputs

dataobject
The response from CloudZero.
Example output
{
  "data": {
    "connections": [
      {
        "capabilities": {},
        "cloud_provider": "sample_cloud_provider",
        "connection_id": "sample_connection_id",
        "connection_type": "Example",
        "created": "Example",
        "expected_ingest_rate": 1,
        "id": "sample_id",
        "is_draft": false,
        "is_enabled": false,
        "last_updated": "Example",
        "name": "Example",
        "s3_bucket_info": {
          "bucket_name": "Example",
          "bucket_path": "Example",
          "cloud_account_id": "sample_cloud_account_id"
        }
      }
    ],
    "filtering": {
      "available": [
        {
          "field": "Example",
          "valid_types": [
            "sample_valid_types"
          ],
          "valid_values": [
            {}
          ]
        }
      ],
      "current": {}
    },
    "pagination": {
      "cursor": {
        "has_next": false,
        "has_previous": false,
        "next_cursor": "Example",
        "previous_cursor": "Example"
      },
      "item_count": 1,
      "page_count": 1,
      "total_count": 1
    },
    "sorting": {
      "available": {
        "sort_keys": [
          "connection_name"
        ],
        "sort_orders": [
          "asc"
        ]
      },
      "current": [
        {
          "sort_key": "connection_name",
          "sort_order": "asc"
        }
      ]
    }
  }
}

List billing dimensions

List dimensions available to group and filter billing costs.

Inputs

Include hiddeninclude_hiddentrue/false
Include dimensions marked as hidden in CostFormation, which do not appear in the CloudZero ExplorerDefault: false.

Outputs

dataobject
The response from CloudZero.
Example output
{
  "data": {
    "dimensions": [
      {
        "id": "sample_id",
        "name": "Example"
      }
    ]
  }
}

List budgets

List cloud budgets with optional sorting and expansion.

Inputs

Limitlimitnumber
Number of items to return per page
Cursorcursortext
Allows you to page forward and back in your results. NOTE: This must be URL Encoded! - See the Pagination section of the API Reference for more information!
Sort keysort_keytext
Sortable Budget propertiesOne of: last_updated (Last updated), name.
Sort ordersort_ordertext
ASC or DESC sort orderOne of: asc, desc.
Expandexpandlist
If passed, query will expand the properties specified. This is a multi-value query parameter, pass it more than once to specify multiple values, e.g. - `&expand=current&expand=history`One or more of: current.

Outputs

dataobject
The response from CloudZero.
Example output
{
  "data": {
    "budgets": [
      {
        "alerts": {},
        "cost_type": "real_cost",
        "created": "Example",
        "granularity": "monthly",
        "id": "sample_id",
        "last_updated": "Example",
        "name": "Example",
        "planned_limits": {
          "monthly": {}
        },
        "view": {
          "id": "sample_id"
        }
      }
    ],
    "filtering": {
      "available": [
        {
          "field": "Example",
          "valid_types": [
            "sample_valid_types"
          ],
          "valid_values": [
            {}
          ]
        }
      ],
      "current": {}
    },
    "pagination": {
      "cursor": {
        "has_next": false,
        "has_previous": false,
        "next_cursor": "Example",
        "previous_cursor": "Example"
      },
      "item_count": 1,
      "page_count": 1,
      "total_count": 1
    },
    "sorting": {
      "available": {
        "sort_keys": [
          "last_updated"
        ],
        "sort_orders": [
          "asc"
        ]
      },
      "current": [
        {
          "sort_key": "last_updated",
          "sort_order": "asc"
        }
      ]
    }
  }
}

List definition versions

List historical CostFormation definition versions.

Inputs

Limitlimitnumber
Number of items to return per page
Cursorcursortext
Allows you to page forward and back in your results. NOTE: This must be URL Encoded! - See the Pagination section of the API Reference for more information!
Namespacenamespacetext
If using namespaced multi-file CloudZero CostFormation, specify the namespace to interact with.
Sort keysort_keytext
Sortable CloudZero CostFormation Definition PropertiesOne of: version.
Sort ordersort_ordertext
ASC or DESC sort orderOne of: asc, desc.

Outputs

dataobject
The response from CloudZero.
Example output
{
  "data": {
    "filtering": {
      "available": [
        {
          "field": "Example",
          "valid_types": [
            "sample_valid_types"
          ],
          "valid_values": [
            {}
          ]
        }
      ],
      "current": {}
    },
    "pagination": {
      "cursor": {
        "has_next": false,
        "has_previous": false,
        "next_cursor": "Example",
        "previous_cursor": "Example"
      },
      "item_count": 1,
      "page_count": 1,
      "total_count": 1
    },
    "sorting": {
      "available": {
        "sort_keys": [
          "version"
        ],
        "sort_orders": [
          "asc"
        ]
      },
      "current": [
        {
          "sort_key": "version",
          "sort_order": "asc"
        }
      ]
    },
    "versions": [
      {
        "last_updated": "Example",
        "last_updated_by": "Example",
        "version": "Example"
      }
    ]
  }
}

List incidents

List cost anomaly incidents and filter by monitors or status.

Inputs

Limitlimitnumber
Page size, 1-100From 1 to 100.
Sort keysort_keytext
cost_impact or start_date
Sort ordersort_ordertext
asc or desc
Monitor IDmonitor_idlist
Only incidents from these monitors
Statusstatuslist
active, investigating and/or resolved
Spend statusspend_statuslist
ongoing and/or returned_to_baseline
Cursorcursortext
Opaque `next_cursor` from the previous page

Outputs

dataobject
The response from CloudZero.
Example output
{
  "data": {
    "items": [
      {
        "cost_impact": 1,
        "incident_id": "sample_incident_id",
        "monitor_id": "sample_monitor_id",
        "monitor_name": "Example",
        "pct_above_baseline": 1,
        "spend_status": "Example",
        "start_date": "2026-11-30",
        "status": "Example",
        "summary": "Example",
        "title": "Example",
        "work_item": {
          "display_id": "sample_display_id",
          "display_name": "Example",
          "provider": "sample_provider",
          "ticket_url": "Example"
        }
      }
    ],
    "next_cursor": "Example"
  }
}

List insight comments

List comments recorded against a cost insight.

Inputs

Insightinsight_idtextRequired
Unique Insight identifier

Outputs

dataobject
The response from CloudZero.
Example output
{
  "data": {
    "comments": [
      {
        "author": "Example",
        "created": "Example",
        "id": "sample_id",
        "insight": {
          "id": "sample_id"
        },
        "last_updated": "Example",
        "message": "Example"
      }
    ],
    "insight": {
      "id": "sample_id"
    }
  }
}

List insights

List cost insights and filter by status or implementation effort.

Inputs

Limitlimitnumber
Number of items to return per page
Cursorcursortext
Allows you to page forward and back in your results. NOTE: This must be URL Encoded! - See the Pagination section of the API Reference for more information!
Sort keysort_keytext
Sortable Insight propertiesOne of: category, cost_impact (Cost impact), effort, last_updated (Last updated), status, title.
Sort ordersort_ordertext
ASC or DESC sort orderOne of: asc, desc.
Statusstatuslist
If passed, query will be filtered by the properties specified. This is a multi-value query parameter, pass it more than once to specify multiple values, e.g. - `&status=new&status=in_progress`One or more of: new, in_progress (In progress), on_hold (On hold), addressed, ignored.
Efforteffortlist
If passed, query will be filtered by the properties specified. This is a multi-value query parameter, pass it more than once to specify multiple values, e.g. - `&effort=low&effort=medium`One or more of: not_set (Not set), low, medium, high.

Outputs

dataobject
The response from CloudZero.
Example output
{
  "data": {
    "filtering": {
      "available": [
        {
          "field": "Example",
          "valid_types": [
            "sample_valid_types"
          ],
          "valid_values": [
            {}
          ]
        }
      ],
      "current": {}
    },
    "insights": [
      {
        "category": "Example",
        "cost_impact": "Example",
        "created": "Example",
        "description": "Example",
        "effort": "not_set",
        "id": "sample_id",
        "last_updated": "Example",
        "link": "Example",
        "status": "new",
        "title": "Example"
      }
    ],
    "pagination": {
      "cursor": {
        "has_next": false,
        "has_previous": false,
        "next_cursor": "Example",
        "previous_cursor": "Example"
      },
      "item_count": 1,
      "page_count": 1,
      "total_count": 1
    },
    "sorting": {
      "available": {
        "sort_keys": [
          "category"
        ],
        "sort_orders": [
          "asc"
        ]
      },
      "current": [
        {
          "sort_key": "category",
          "sort_order": "asc"
        }
      ]
    }
  }
}

List monitors

List cloud cost anomaly monitors and their notification settings.

Inputs

None.

Outputs

dataobject
The response from CloudZero.
Example output
{
  "data": {
    "items": [
      {
        "cost_type": "REAL_COST",
        "created_at": "2026-11-30T12:00:00Z",
        "description": "Example",
        "detection_type": "Example",
        "filter_set": {},
        "group_by": [
          "Example"
        ],
        "is_enabled": false,
        "last_triggered_at": "2026-11-30T12:00:00Z",
        "monitor_id": "sample_monitor_id",
        "monitor_name": "Example",
        "notification_channels": [
          {}
        ],
        "open_incident_count": 1,
        "owner_id": "sample_owner_id",
        "source": "billing",
        "source_reason": "mixed_dimensions",
        "threshold": {
          "min_cost_impact": 1,
          "operator": "AND",
          "percentage": 1
        },
        "total_incident_count": 1,
        "updated_at": "2026-11-30T12:00:00Z"
      }
    ],
    "next_cursor": "Example"
  }
}

List namespaces

List user-managed CostFormation namespaces.

Inputs

Limitlimitnumber
Number of items to return per page
Cursorcursortext
Allows you to page forward and back in your results. NOTE: This must be URL Encoded! - See the Pagination section of the API Reference for more information!
Sort keysort_keytext
Sortable Namespace propertiesOne of: last_updated (Last updated), fqn.
Sort ordersort_ordertext
ASC or DESC sort orderOne of: asc, desc.

Outputs

dataobject
The response from CloudZero.
Example output
{
  "data": {
    "namespaces": [
      {
        "display_name": "Example",
        "edit_role_ids": [
          "sample_edit_role_ids"
        ],
        "id": "sample_id",
        "view_role_ids": [
          "sample_view_role_ids"
        ]
      }
    ]
  }
}

List publish jobs

List asynchronous CostFormation publish jobs and their status.

Inputs

Statusstatustext
Filter jobs by status. One of: `pending`, `in_progress`, `completed`, `failed`, `superseded`, `cancelled`.
Limitlimitnumber
Maximum number of jobs to return. Default is 50, maximum is 100.At most 100. Default: 50.

Outputs

dataobject
The response from CloudZero.
Example output
{
  "data": {
    "count": 1,
    "jobs": [
      {
        "attempt_count": 1,
        "completed_at": "2026-11-30T12:00:00Z",
        "created_at": "2026-11-30T12:00:00Z",
        "cz_organization_id": "sample_cz_organization_id",
        "definition_version": "Example",
        "error_code": "Example",
        "error_message": "Example",
        "job_id": "sample_job_id",
        "max_attempts": 1,
        "status": "Example",
        "updated_at": "2026-11-30T12:00:00Z",
        "validation_errors": {}
      }
    ]
  }
}

List recommendation types

List optimization recommendation types for selected cloud providers.

Inputs

Statusstatuslist
Filter by status (comma-separated list)One or more of: enabled, disabled.
Cloud providercloud_providerlist
Filter by cloud provider (comma-separated list)One or more of: AWS, Azure, GCP, Kubernetes, Databricks, Unknown.

Outputs

datalist
The response from CloudZero.
Example output
{
  "data": [
    {
      "category": "usage",
      "cloud_provider": "AWS",
      "description": "Example",
      "effort": "low",
      "id": "sample_id",
      "stage": "alpha",
      "status": "enabled",
      "title": "Example"
    }
  ]
}

List roles

List organization roles and their permission sets.

Inputs

Limitlimitnumber
Number of items per pageDefault: 100.
Cursorcursortext
Opaque pagination cursor
Namenametext
Filter roles by name (case-insensitive contains)
Sort keysort_keytext
Field to sort byOne of: name, created_at (Created at), last_updated_at (Last updated at). Default: name.
Sort ordersort_ordertext
Sort directionOne of: asc, desc. Default: asc.

Outputs

dataobject
The response from CloudZero.
Example output
{
  "data": {
    "filtering": {
      "available": [
        {
          "field": "Example",
          "valid_types": [
            "sample_valid_types"
          ],
          "valid_values": [
            {}
          ]
        }
      ],
      "current": {}
    },
    "pagination": {
      "cursor": {
        "has_next": false,
        "has_previous": false,
        "next_cursor": "Example",
        "previous_cursor": "Example"
      },
      "item_count": 1,
      "page_count": 1,
      "total_count": 1
    },
    "roles": [
      {
        "created_at": "2026-11-30T12:00:00Z",
        "created_by": "Example",
        "data_access_filter": {
          "attribute_filters": {},
          "description": "Example",
          "dynamic_filter_dimensions": {},
          "filter_dimensions": {},
          "filter_type": "Example",
          "name": "Example"
        },
        "description": "Example",
        "id": "sample_id",
        "last_updated_at": "2026-11-30T12:00:00Z",
        "last_updated_by": "Example",
        "name": "Example",
        "permission_set_ids": [
          "sample_permission_set_ids"
        ]
      }
    ],
    "sorting": {
      "available": [
        "name"
      ],
      "ordering": [
        {
          "sort_key": "name",
          "sort_order": "asc"
        }
      ]
    }
  }
}

List views

List saved views for monitoring the cost of selected resources.

Inputs

Limitlimitnumber
Number of items to return per page
Cursorcursortext
Allows you to page forward and back in your results. NOTE: This must be URL Encoded! - See the Pagination section of the API Reference for more information!
Sort keysort_keytext
Sortable View propertiesOne of: last_updated (Last updated).
Sort ordersort_ordertext
ASC or DESC sort orderOne of: asc, desc.

Outputs

dataobject
The response from CloudZero.
Example output
{
  "data": {
    "filtering": {
      "available": [
        {
          "field": "Example",
          "valid_types": [
            "sample_valid_types"
          ],
          "valid_values": [
            {}
          ]
        }
      ],
      "current": {}
    },
    "pagination": {
      "cursor": {
        "has_next": false,
        "has_previous": false,
        "next_cursor": "Example",
        "previous_cursor": "Example"
      },
      "item_count": 1,
      "page_count": 1,
      "total_count": 1
    },
    "sorting": {
      "available": {
        "sort_keys": [
          "last_updated"
        ],
        "sort_orders": [
          "asc"
        ]
      },
      "current": [
        {
          "sort_key": "last_updated",
          "sort_order": "asc"
        }
      ]
    },
    "views": [
      {
        "anomalies": {
          "enabled": false,
          "min_cost_impact": 1,
          "threshold_amount": 1,
          "threshold_type": "Automatic"
        },
        "connections": {
          "email": {},
          "slack": [
            {}
          ]
        },
        "created_by": "Example",
        "filter": {},
        "id": "sample_id",
        "last_updated": "Example",
        "name": "Example",
        "notifications": {
          "monthly": false,
          "weekly": false
        },
        "owner": "Example",
        "principal_dimension": "Example",
        "source_view_id": "sample_source_view_id",
        "visibility": "personal"
      }
    ]
  }
}

On this page