---
title: "GET /v2/connections/billing"
method: GET
path: "/v2/connections/billing"
tags: ["billing_connections"]
---

# GET /v2/connections/billing

`GET /v2/connections/billing`

Get a list of Billing Connections

## Query parameters

- `limit` number
- `cursor` string
- `sort_key` 'connection_name' | 'creation_date' | 'name' | 'cloud_provider' | 'created' | 'last_updated' | 'is_enabled' — Sortable Billing Connection properties
- `sort_order` 'asc' | 'desc'

## Headers

- `cloudzero-idempotency-key` string
- `cloudzero-test-key` string

## Response `200`

Successful Operation

- object
  - `pagination` Pagination — Supports programmatic pagination
    - `page_count` integer
    - `item_count` integer
    - `total_count` integer
    - `cursor` object
      - `next_cursor` union
        - string
        - unknown
      - `previous_cursor` union
        - string
        - unknown
      - `has_next` boolean
      - `has_previous` boolean
  - `sorting` BillingConnectionSorting — This response key contains sorting options, where: - `available`: is an object with two keys: - `sort_keys`: list of available sort keys - `sort_orders`: list of available sort orders - `current`: is an array of `{sort_key: sort_order}` objects, the response is sorted in order of this array
    - `available` object
      - `sort_keys` BillingConnectionSortKeys[]
      - `sort_orders` SortOrder[]
    - `current` object[]
      - `sort_key` 'connection_name' | 'creation_date' | 'name' | 'cloud_provider' | 'created' | 'last_updated' | 'is_enabled' — Sortable Billing Connection properties
      - `sort_order` 'asc' | 'desc'
  - `filtering` BillingConnectionFiltering — unresolved $ref
  - `connections` BillingConnection[]
    - `id` string, required
    - `name` string, required
    - `connection_type` string, required
    - `cloud_provider` string, required
    - `s3_bucket_info` S3BucketInfoNew, required
      - `bucket_name` string, required
      - `bucket_path` string, required
      - `cloud_account_id` string — This is the AWS Account ID with the S3 Bucket that the AnyCost Adaptor will be writing Common Bill Format files into.
    - `expected_ingest_rate` number, float, required
    - `is_enabled` boolean, required
    - `capabilities` object, required
    - `is_draft` boolean, required
    - `connection_id` string, required
    - `created` string, required — String representation of an epoch (UTC timestamp)
    - `last_updated` string, required — String representation of an epoch (UTC timestamp)

## Other responses

- `400` — Bad Request Error
- `403` — Forbidden

---

[API](https://skmtc.dev/cloudzero/apis/cloudzero-api-v2-resources.md) · [All operations](https://skmtc.dev/cloudzero/apis/cloudzero-api-v2-resources/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/cloudzero/cloudzero-api-v2-resources/revisions/fd805a0e75e5/schema)
