Skip to main content

List of Exports

GET 

/billing/v1/cost-allocation-exports

Early Access Request Access To Cost Allocation Export API

Retrieve a sorted, filtered, paginated list of all exports.

Returns exports submitted between from and to (inclusive, YYYY-MM-DD). Download URLs are not included in list responses; read a single export to obtain one.

Paging is forward-only: of the pagination links only next is populated, and it is absent on the last page.

Listing exports requires the Describe operation on the Billing resource. For example, the BillingAdmin or OrganizationAdmin role.

Request​

Responses​

Export.

Response Headers
    X-Request-Id

    The unique identifier for the API request.

    X-RateLimit-Limit

    The maximum number of requests you're permitted to make per time period.

    X-RateLimit-Remaining

    The number of requests remaining in the current rate limit window.

    X-RateLimit-Reset

    The relative time in seconds until the current rate-limit window resets.

    Important: This differs from Github and Twitter's same-named header which uses UTC epoch seconds. We use relative time to avoid client/server time synchronization issues.

OpenAPI definition (YAML)
paths:
  /billing/v1/cost-allocation-exports:
    get:
      x-lifecycle-stage: Early Access
      x-self-access: false
      x-request-access-name: Cost Allocation Export API
      operationId: listBillingV1Exports
      description: '[![Early Access](https://img.shields.io/badge/Lifecycle%20Stage-Early%20Access-%2345c6e8)](#section/Versioning/API-Lifecycle-Policy)
        [![Request Access To Cost Allocation Export API](https://img.shields.io/badge/-Request%20Access%20To%20Cost%20Allocation%20Export%20API-%23bc8540)](mailto:ccloud-api-access_billing-cost-allocation-early-access@confluent.io?subject=Request%20to%20join%20billing/v1%20API%20Early%20Access&body=I%E2%80%99d%20like%20to%20join%20the%20Confluent%20Cloud%20API%20Early%20Access%20for%20billing/v1%20to%20provide%20early%20feedback%21%20My%20Cloud%20Organization%20ID%20is%20%3Cretrieve%20from%20https%3A//confluent.cloud/settings/billing/payment%3E.)


        Retrieve a sorted, filtered, paginated list of all exports.


        Returns exports submitted between `from` and `to` (inclusive,

        `YYYY-MM-DD`). Download URLs are not included in list responses;

        read a single export to obtain one.


        Paging is forward-only: of the pagination links only `next` is

        populated, and it is absent on the last page.


        Listing exports requires the `Describe` operation on the `Billing`

        resource. For example, the `BillingAdmin` or `OrganizationAdmin`

        role.

        '
      parameters:
      - name: from
        in: query
        required: true
        schema:
          description: Filter a collection by a string search
          type: string
          title: SearchFilter
        example: '2026-07-01'
        description: 'Only return exports submitted on or after this date (`YYYY-MM-DD`).

          '
      - name: to
        in: query
        required: true
        schema:
          description: Filter a collection by a string search
          type: string
          title: SearchFilter
        example: '2026-07-31'
        description: 'Only return exports submitted on or before this date (`YYYY-MM-DD`).

          Must not be before `from`.

          '
      - name: page_size
        in: query
        required: false
        schema:
          type: integer
          default: 10
          maximum: 100
          x-max-page-items: 500
        description: A pagination size for collection requests.
      - name: page_token
        in: query
        required: false
        schema:
          type: string
          maxLength: 255
        description: An opaque pagination token for collection requests.
      tags:
      - Exports (billing/v1)
      security:
      - cloud-api-key: []
      - global-api-key: []
      - confluent-sts-access-token: []
      responses:
        '200':
          description: Export.
          content:
            application/json:
              schema:
                allOf:
                - type: object
                  description: 'A paginated list of `Export` objects.

                    '
                  required:
                  - api_version
                  - kind
                  - metadata
                  - data
                  properties:
                    api_version:
                      type: string
                      enum:
                      - billing/v1
                      description: APIVersion defines the schema version of this representation of a resource.
                      readOnly: true
                    kind:
                      type: string
                      description: Kind defines the object this REST resource represents.
                      readOnly: true
                      enum:
                      - ExportList
                    metadata:
                      allOf:
                      - type: object
                        description: ExportListMeta describes metadata that resource collections may have
                        properties:
                          next:
                            description: A link to the next page of results. If a response does not contain
                              a next link, then there is no more data available.
                            type: string
                            format: uri
                            nullable: true
                            example: https://api.confluent.cloud/v2/resourcekinds?page_token=UvmDWOB1iwfAIBPj6EYb
                        title: ExportListMeta
                      - properties:
                          next:
                            example: https://api.confluent.cloud/billing/v1/cost-allocation-exports?page_token=UvmDWOB1iwfAIBPj6EYb
                    data:
                      type: array
                      description: A data property that contains an array of resource items. Each entry
                        in the array is a separate resource.
                      items:
                        allOf:
                        - description: '`Export` objects represent asynchronous exports of an

                            organization''s cost allocation (chargeback) report.


                            Creating an export starts an asynchronous job that aggregates the

                            organization''s cost allocation data for the requested date range and

                            granularity into a downloadable CSV report. Poll the export until its

                            `export_status` is `COMPLETED`, then use the returned `download_url` (a

                            short-lived presigned URL) to retrieve the report. Reports are retained

                            for a limited window, after which the export''s `export_status` becomes

                            `EXPIRED` and it can no longer be downloaded.



                            Related guide: [Confluent Cloud Cost Allocation (Chargeback)](https://docs.confluent.io/cloud/current/billing/overview.html).

                            '
                          allOf:
                          - type: object
                            description: 'The `Export` fields returned when a create request is accepted.
                              Generation has

                              not run yet, so the fields the server only learns while producing the report

                              are absent here and appear on a read.'
                            properties:
                              api_version:
                                type: string
                                enum:
                                - billing/v1
                                description: APIVersion defines the schema version of this representation
                                  of a resource.
                                readOnly: true
                              kind:
                                type: string
                                description: Kind defines the object this REST resource represents.
                                readOnly: true
                                enum:
                                - Export
                              id:
                                description: ID is the "natural identifier" for an object within its scope/namespace;
                                  it is normally unique across time but not space. That is, you can assume
                                  that the ID will not be reclaimed and reused after an object is deleted
                                  ("time"); however, it may collide with IDs for other object `kinds`
                                  or objects of the same `kind` within a different scope/namespace ("space").
                                type: string
                                maxLength: 255
                                readOnly: true
                                example: 9f2b2f68-6f70-4f03-96f5-ae26241be7e1
                              display_name:
                                type: string
                                description: A human-readable name for the export.
                                example: Test Finance Report
                                x-immutable: true
                              description:
                                type: string
                                description: An optional description of the export.
                                example: This is a description for the report
                                x-immutable: true
                              date_range:
                                description: The date range the report covers.
                                allOf:
                                - type: object
                                  description: 'The date range a cost allocation report covers, either
                                    as a preset

                                    relative to the submission time or as a custom interval.

                                    '
                                  required:
                                  - preset
                                  properties:
                                    preset:
                                      type: string
                                      description: "The date range preset:\n\n  LAST_7_DAYS: The 7 days\
                                        \ preceding submission.\n\n  LAST_30_DAYS: The 30 days preceding\
                                        \ submission.\n\n  CUSTOM: The explicit interval given by `start_time`\
                                        \ and `end_time`.\n"
                                      example: CUSTOM
                                      enum:
                                      - LAST_7_DAYS
                                      - LAST_30_DAYS
                                      - CUSTOM
                                    start_time:
                                      type: string
                                      format: date-time
                                      description: 'The inclusive start of the range. Required when `preset`
                                        is `CUSTOM`;

                                        ignored otherwise.


                                        For a preset the server resolves this only after the export is

                                        accepted, so it is absent from the create response and present
                                        on

                                        read.

                                        '
                                      example: '2026-07-01T00:00:00Z'
                                    end_time:
                                      type: string
                                      format: date-time
                                      description: 'The exclusive end of the range. Required when `preset`
                                        is `CUSTOM`;

                                        ignored otherwise.


                                        For a preset the server resolves this only after the export is

                                        accepted, so it is absent from the create response and present
                                        on

                                        read.

                                        '
                                      example: '2026-07-08T00:00:00Z'
                                  title: billing.v1.ExportDateRange
                                x-immutable: true
                              granularity:
                                type: string
                                description: 'The time bucket granularity of rows in the report.

                                  '
                                example: DAILY
                                x-immutable: true
                                enum:
                                - DAILY
                                - WEEKLY
                                - MONTHLY
                              export_status:
                                type: string
                                description: "The current status of the export:\n\n  IN_PROGRESS: The\
                                  \ report is being generated.\n\n  COMPLETED: The report is ready for\
                                  \ download.\n\n  INCOMPLETE: The report is ready for download, but some\
                                  \ source data\n  for the requested range was unavailable.\n\n  FAILED:\
                                  \ Report generation failed.\n\n  EXPIRED: The report is past its retention\
                                  \ window and can no longer\n  be downloaded.\n"
                                example: COMPLETED
                                readOnly: true
                                enum:
                                - IN_PROGRESS
                                - COMPLETED
                                - INCOMPLETE
                                - FAILED
                                - EXPIRED
                              submitted_at:
                                type: string
                                format: date-time
                                description: The timestamp at which the export was submitted.
                                example: '2026-07-08T15:42:03Z'
                                readOnly: true
                            title: billing.v1.ExportAccepted
                          - type: object
                            properties:
                              requested_by:
                                type: string
                                description: 'The email address of the user that requested the export,
                                  falling back

                                  to their user ID when no email address is available.

                                  '
                                example: user@example.com
                                readOnly: true
                              completed_at:
                                type: string
                                format: date-time
                                description: The timestamp at which report generation finished.
                                example: '2026-07-08T15:47:20Z'
                                readOnly: true
                              expired_at:
                                type: string
                                format: date-time
                                description: 'The timestamp at which the report passed its retention window.

                                  Present only when `export_status` is `EXPIRED`.

                                  '
                                example: '2026-08-07T15:47:20Z'
                                readOnly: true
                              error_code:
                                type: string
                                description: "Why report generation failed. Present only when generation\
                                  \ failed:\n\n  INVALID_REQUEST: The requested date range or granularity\
                                  \ was not\n  valid.\n\n  DATA_UNAVAILABLE: No cost allocation data exists\
                                  \ for the requested\n  range.\n\n  INTERNAL: An unexpected error occurred\
                                  \ while generating the report.\n"
                                example: DATA_UNAVAILABLE
                                readOnly: true
                                enum:
                                - INVALID_REQUEST
                                - DATA_UNAVAILABLE
                                - INTERNAL
                              incomplete_dates:
                                type: array
                                items:
                                  type: string
                                description: 'The dates within the requested range for which source data
                                  was

                                  unavailable, so the report omits them. Present only when

                                  `export_status` is `INCOMPLETE`.


                                  Consecutive missing days are collapsed into a range, so each entry is

                                  either a single date (`YYYY-MM-DD`) or an inclusive range

                                  (`YYYY-MM-DD - YYYY-MM-DD`).

                                  '
                                example:
                                - '2026-07-05'
                                - 2026-07-07 - 2026-07-09
                                readOnly: true
                          title: billing.v1.Export
                        - type: object
                          required:
                          - id
                          - display_name
                          - date_range
                          - granularity
                          - export_status
                          - submitted_at
                      uniqueItems: true
                  title: billing.v1.ExportList
          headers:
            X-Request-Id:
              schema:
                type: string
              description: The unique identifier for the API request.
            X-RateLimit-Limit:
              schema:
                type: integer
              description: The maximum number of requests you're permitted to make per time period.
            X-RateLimit-Remaining:
              schema:
                type: integer
              description: The number of requests remaining in the current rate limit window.
            X-RateLimit-Reset:
              schema:
                type: integer
              description: "The relative time in seconds until the current rate-limit window resets. \
                \ \n  \n**Important:** This differs from Github and Twitter's same-named header which\
                \ uses UTC epoch seconds. We use relative time to avoid client/server time synchronization\
                \ issues."
        '400':
          description: Bad Request
          headers:
            X-Request-Id:
              schema:
                type: string
              description: The unique identifier for the API request.
          content:
            application/json:
              schema:
                type: object
                description: Provides information about problems encountered while performing an operation.
                required:
                - errors
                properties:
                  errors:
                    description: List of errors which caused this operation to fail
                    type: array
                    items:
                      type: object
                      description: Describes a particular error encountered while performing an operation.
                      properties:
                        id:
                          description: A unique identifier for this particular occurrence of the problem.
                          type: string
                          maxLength: 255
                        status:
                          description: The HTTP status code applicable to this problem, expressed as a
                            string value.
                          type: string
                        code:
                          description: An application-specific error code, expressed as a string value.
                          type: string
                        title:
                          description: A short, human-readable summary of the problem. It **SHOULD NOT**
                            change from occurrence to occurrence of the problem, except for purposes of
                            localization.
                          type: string
                        detail:
                          description: A human-readable explanation specific to this occurrence of the
                            problem.
                          type: string
                        source:
                          type: object
                          description: If this error was caused by a particular part of the API request,
                            the source will point to the query string parameter or request body property
                            that caused it.
                          properties:
                            pointer:
                              description: A JSON Pointer [RFC6901] to the associated entity in the request
                                document [e.g. "/spec" for a spec object, or "/spec/title" for a specific
                                field].
                              type: string
                            parameter:
                              description: A string indicating which query parameter caused the error.
                              type: string
                        error_code:
                          type: integer
                          format: int32
                        message:
                          type: string
                          nullable: true
                      additionalProperties: false
                      title: Error
                    uniqueItems: true
                title: Failure
              example:
                errors:
                - id: ed42afdc-f0d5-4c0d-b428-9fc6ed6e279d
                  status: '400'
                  code: invalid_filter
                  title: Invalid Filter
                  detail: The 'delorean' resource can't be filtered by 'num_doors'
                  source:
                    parameter: num_doors
        '401':
          x-summary: Unauthorized
          description: The request lacks valid authentication credentials for this resource.
          headers:
            X-Request-Id:
              schema:
                type: string
              description: The unique identifier for the API request.
            WWW-Authenticate:
              schema:
                type: string
              description: The unique identifier for the API request.
              example: Basic error="invalid_key", error_description="The API Key is invalid"
          content:
            application/json:
              schema:
                type: object
                description: Provides information about problems encountered while performing an operation.
                required:
                - errors
                properties:
                  errors:
                    description: List of errors which caused this operation to fail
                    type: array
                    items:
                      type: object
                      description: Describes a particular error encountered while performing an operation.
                      properties:
                        id:
                          description: A unique identifier for this particular occurrence of the problem.
                          type: string
                          maxLength: 255
                        status:
                          description: The HTTP status code applicable to this problem, expressed as a
                            string value.
                          type: string
                        code:
                          description: An application-specific error code, expressed as a string value.
                          type: string
                        title:
                          description: A short, human-readable summary of the problem. It **SHOULD NOT**
                            change from occurrence to occurrence of the problem, except for purposes of
                            localization.
                          type: string
                        detail:
                          description: A human-readable explanation specific to this occurrence of the
                            problem.
                          type: string
                        source:
                          type: object
                          description: If this error was caused by a particular part of the API request,
                            the source will point to the query string parameter or request body property
                            that caused it.
                          properties:
                            pointer:
                              description: A JSON Pointer [RFC6901] to the associated entity in the request
                                document [e.g. "/spec" for a spec object, or "/spec/title" for a specific
                                field].
                              type: string
                            parameter:
                              description: A string indicating which query parameter caused the error.
                              type: string
                        error_code:
                          type: integer
                          format: int32
                        message:
                          type: string
                          nullable: true
                      additionalProperties: false
                      title: Error
                    uniqueItems: true
                title: Failure
              example:
                errors:
                - id: ed42afdc-f0d5-4c0d-b428-9fc6ed6e279d
                  status: '401'
                  code: user_unauthenticated
                  title: Authentication Required
                  detail: Valid authentication credentials must be provided
        '403':
          x-summary: Forbidden
          description: The access credentials were considered insufficient to grant access
          headers:
            X-Request-Id:
              schema:
                type: string
              description: The unique identifier for the API request.
          content:
            application/json:
              schema:
                type: object
                description: Provides information about problems encountered while performing an operation.
                required:
                - errors
                properties:
                  errors:
                    description: List of errors which caused this operation to fail
                    type: array
                    items:
                      type: object
                      description: Describes a particular error encountered while performing an operation.
                      properties:
                        id:
                          description: A unique identifier for this particular occurrence of the problem.
                          type: string
                          maxLength: 255
                        status:
                          description: The HTTP status code applicable to this problem, expressed as a
                            string value.
                          type: string
                        code:
                          description: An application-specific error code, expressed as a string value.
                          type: string
                        title:
                          description: A short, human-readable summary of the problem. It **SHOULD NOT**
                            change from occurrence to occurrence of the problem, except for purposes of
                            localization.
                          type: string
                        detail:
                          description: A human-readable explanation specific to this occurrence of the
                            problem.
                          type: string
                        source:
                          type: object
                          description: If this error was caused by a particular part of the API request,
                            the source will point to the query string parameter or request body property
                            that caused it.
                          properties:
                            pointer:
                              description: A JSON Pointer [RFC6901] to the associated entity in the request
                                document [e.g. "/spec" for a spec object, or "/spec/title" for a specific
                                field].
                              type: string
                            parameter:
                              description: A string indicating which query parameter caused the error.
                              type: string
                        error_code:
                          type: integer
                          format: int32
                        message:
                          type: string
                          nullable: true
                      additionalProperties: false
                      title: Error
                    uniqueItems: true
                title: Failure
              example:
                errors:
                - id: ed42afdc-f0d5-4c0d-b428-9fc6ed6e279d
                  status: '403'
                  code: user_unauthorized
                  title: User Access Unauthorized
                  detail: The user 'mcfly' is not allowed to access the 'delorean' resource without the
                    'plutonium' role.
        '429':
          description: Rate Limit Exceeded
          headers:
            X-Request-Id:
              schema:
                type: string
              description: The unique identifier for the API request.
            X-RateLimit-Limit:
              schema:
                type: integer
              description: The maximum number of requests you're permitted to make per time period.
            X-RateLimit-Remaining:
              schema:
                type: integer
              description: The number of requests remaining in the current rate limit window.
            X-RateLimit-Reset:
              schema:
                type: integer
              description: "The relative time in seconds until the current rate-limit window resets. \
                \ \n  \n**Important:** This differs from Github and Twitter's same-named header which\
                \ uses UTC epoch seconds. We use relative time to avoid client/server time synchronization\
                \ issues."
            Retry-After:
              schema:
                type: integer
              description: The number of seconds to wait until the rate limit window resets. Only sent
                when the rate limit is reached.
        '500':
          description: Oops, something went wrong!
          headers:
            X-Request-Id:
              schema:
                type: string
              description: The unique identifier for the API request.
          content:
            application/json:
              schema:
                type: object
                description: Provides information about problems encountered while performing an operation.
                required:
                - errors
                properties:
                  errors:
                    description: List of errors which caused this operation to fail
                    type: array
                    items:
                      type: object
                      description: Describes a particular error encountered while performing an operation.
                      properties:
                        id:
                          description: A unique identifier for this particular occurrence of the problem.
                          type: string
                          maxLength: 255
                        status:
                          description: The HTTP status code applicable to this problem, expressed as a
                            string value.
                          type: string
                        code:
                          description: An application-specific error code, expressed as a string value.
                          type: string
                        title:
                          description: A short, human-readable summary of the problem. It **SHOULD NOT**
                            change from occurrence to occurrence of the problem, except for purposes of
                            localization.
                          type: string
                        detail:
                          description: A human-readable explanation specific to this occurrence of the
                            problem.
                          type: string
                        source:
                          type: object
                          description: If this error was caused by a particular part of the API request,
                            the source will point to the query string parameter or request body property
                            that caused it.
                          properties:
                            pointer:
                              description: A JSON Pointer [RFC6901] to the associated entity in the request
                                document [e.g. "/spec" for a spec object, or "/spec/title" for a specific
                                field].
                              type: string
                            parameter:
                              description: A string indicating which query parameter caused the error.
                              type: string
                        error_code:
                          type: integer
                          format: int32
                        message:
                          type: string
                          nullable: true
                      additionalProperties: false
                      title: Error
                    uniqueItems: true
                title: Failure
              example:
                errors:
                - id: ed42afdc-f0d5-4c0d-b428-9fc6ed6e279d
                  status: '500'
                  code: out_of_gas
                  title: DeLorean Out Of Gas
                  detail: The DeLorean has run out of gas, but Doc Brown will fill 'er up for you asap
      x-page-first-available: false
      x-page-last-available: false
      x-page-from-start: true
      x-page-from-end: false
      servers:
      - url: https://api.confluent.cloud
        description: Confluent Cloud API