---
title: "List exports"
method: GET
path: "/v1/ai-cost-management/exports"
tags: ["exports"]
---

# List exports

`GET /v1/ai-cost-management/exports`

## Request

- Base URL: `https://global.api.konghq.com`
- URL: `https://global.api.konghq.com/v1/ai-cost-management/exports`
- Auth: one of:
  - HTTP bearer
  - HTTP bearer
  - HTTP bearer
  - HTTP bearer

Returns a page of the organization's exports, newest first unless the request sets `sort`. Filters on `status`, `dataset`, `schedule.id`, and `created_at` narrow the list.

## Query parameters

- `filter` AICostExportFilterParameters: Filters on the exports' fields. Every filter must match, and a bare value means `eq`. - `status`: `eq`, `neq`, and `oeq`. `filter[status]=succeeded` excludes expired exports, and `filter[status]=expired` selects them. - `dataset`: `eq`, `neq`, and `oeq`. - `schedule.id`: `eq`, `neq`, and `oeq`. `filter[schedule.id]` selects the exports that one schedule created. - `created_at`: `eq`, `gt`, `gte`, `lt`, and `lte`. - `labels.<key>`: the value of the label `<key>`, with `eq`, `neq`, `oeq`, `contains`, `ocontains`, `exists`, and `nexists`. A bare key with no value matches exports that have the label. `eq`, `neq`, and `oeq` compare case-sensitively, and `contains` and `ocontains` ignore case. Any other filter key fails with `400`. Enum values are case-sensitive, so any other spelling, such as `SUCCEEDED`, fails with `400`. UUIDs compare case-insensitively.
  - `status` union: Filters a field by its value with `eq`, `neq`, or `oeq`. Accepts `pending`, `running`, `succeeded`, `failed`, and `expired`. A bare value means `eq`.
    - 'pending' | 'running' | 'succeeded' | 'failed' | 'expired': Where an export is in its lifecycle. An export moves from `pending` to `running`, and then to `succeeded` or `failed`: - `pending`: the export waits to run. Only one export per organization runs at a time, and the others wait as `pending`. - `running`: an attempt has started, and the export hasn't finished. When an attempt fails and another follows, the export stays `running` in between. - `succeeded`: the files can be downloaded until `expires_at`, 30 days after the export finishes. - `failed`: the export stopped without files, and `failure_reason` says why. - `expired`: the export succeeded, but `expires_at` has passed, so its files can't be downloaded. The export keeps its `files` list and its other results.
    - AICostExportStatusFieldEqualsFilter: Matches a value equal to the given one.
      - `eq` 'pending' | 'running' | 'succeeded' | 'failed' | 'expired', required: The value to match.
    - AICostExportStatusFieldNEQFilter: Matches a value other than the given one.
      - `neq` 'pending' | 'running' | 'succeeded' | 'failed' | 'expired', required: The value to exclude.
    - StringFieldOEQFilter: Returns entities that exact match any of the comma-delimited phrases in the filter string.
      - `oeq` string, required
  - `dataset` union: Filters a field by its value with `eq`, `neq`, or `oeq`. Accepts `usage_events` and `focus`. A bare value means `eq`.
    - 'usage_events' | 'focus': The data an export holds, which also decides how its files divide the range. `usage_events` has one row per stored usage event, with the fields that `GET /v1/ai-cost-management/events` returns for an event, and one file for each day of the range. `focus` holds the AI usage as FinOps FOCUS cost-and-usage data, with one file for each calendar month. Each `focus` row sums the events of one charge period that share a provider, model, region, subject, application, list of groups, list of teams, and values of the named tag keys.
    - AICostExportDatasetFieldEqualsFilter: Matches a value equal to the given one.
      - `eq` 'usage_events' | 'focus', required: The value to match.
    - AICostExportDatasetFieldNEQFilter: Matches a value other than the given one.
      - `neq` 'usage_events' | 'focus', required: The value to exclude.
    - StringFieldOEQFilter: Returns entities that exact match any of the comma-delimited phrases in the filter string.
      - `oeq` string, required
  - `schedule.id` UuidFieldFilter: Filter using **one** of the following operators: `eq`, `oeq`, `neq`
    - `eq` string: The field exactly matches the provided value.
    - `oeq` string: The field matches any of the provided values.
    - `neq` string: The field does not match the provided value.
  - `created_at` union: Filters on the given datetime (RFC-3339) field value.
    - object
      - `eq` string, date-time, required: Value strictly equals given RFC-3339 formatted timestamp in UTC
    - object
      - `lt` string, date-time, required: Value is less than the given RFC-3339 formatted timestamp in UTC
    - object
      - `lte` string, date-time, required: Value is less than or equal to the given RFC-3339 formatted timestamp in UTC
    - object
      - `gt` string, date-time, required: Value is greater than the given RFC-3339 formatted timestamp in UTC
    - object
      - `gte` string, date-time, required: Value is greater than or equal to the given RFC-3339 formatted timestamp in UTC
- `sort` string
- `page[size]` integer
- `page[after]` string
- `page[before]` string

## Response `200`

A page of exports.

- object
  - `data` AICostExport[], required: The exports on this page, in `sort` order.
    - union
      - object: An export copies the organization's stored usage events in a time range into files to download. It runs asynchronously: `status` follows its progress, and once it succeeds, `files` lists the data files, which can be downloaded until `expires_at`. After creation, only an export's status and results change. A client creates a one-time export, and an export schedule creates one export of each of its periods.
        - `id` string, uuid, required: Contains a unique identifier used for this resource.
        - `dataset` 'usage_events' | 'focus', required: The data the export holds.
        - `schema_version` 1, required: The schema version of the data files within the dataset, which fixes their columns and values.
        - `focus` AICostFocusOptions, nullable, required: The FOCUS options of the export, with defaults applied. `null` unless `dataset` is `focus`.
          - `version` '1.3' | '1.4', required: The FOCUS version that the files follow.
          - `charge_period` 'day' | 'hour', required: The length of each row's charge period: a calendar day or an hour in `time_zone`, which `ChargePeriodStart` and `ChargePeriodEnd` bound. The range selects the events and doesn't shorten the first or last period, so those periods can extend beyond `starts_at` and `ends_at`.
          - `tag_keys` string[], required: The tag keys whose values split the rows. A row's `Tags` column holds the named keys that its events carry, with their values. `[]` when the request named none.
        - `format` intersection, required: The file format of the export's data files.
          - [`AICostExportFormat`](https://skmtc.dev/kong/apis/konnect-api-go-sdk/revisions/3b071797f6e4/schema?at=%2Fcomponents%2Fschemas%2FAICostExportFormat)
          - 'csv'
        - `compression` intersection, required: How the export's data files are compressed. Together with `format`, it sets the files' extension and content type.
          - [`AICostExportCompression`](https://skmtc.dev/kong/apis/konnect-api-go-sdk/revisions/3b071797f6e4/schema?at=%2Fcomponents%2Fschemas%2FAICostExportCompression)
          - 'none' | 'gzip'
        - `starts_at` string, date-time, required: The start of the range, inclusive, as an RFC 3339 timestamp in UTC. The export holds the events whose `time` is at or after `starts_at`.
        - `ends_at` string, date-time, required: The end of the range, exclusive, as an RFC 3339 timestamp in UTC. The export holds the events whose `time` is before `ends_at`.
        - `time_zone` string, iana-time-zone, required: The IANA time zone that decides where each file's period starts: a day for a `usage_events` export, or a calendar month for a `focus` export. For a `focus` export, it also decides where the charge and billing periods start.
        - `filters` object, required: The filters that select the exported events. `{}` for none.
        - `schedule` object, nullable, required: The schedule that created the export. `null` for a one-time export, and once the schedule is deleted.
          - `id` string, uuid, required: The identifier of the schedule that created the export, which the export schedule operations take as `scheduleId`.
        - `labels` Labels, required: Key-value metadata on the export, set when it's created, or copied from the schedule that created it. The export list can filter by label. Labels don't change which events the export holds.
        - `status` 'pending' | 'running' | 'succeeded' | 'failed' | 'expired', required: Where the export is in its lifecycle. A client reads the export again with `GET /v1/ai-cost-management/exports/{exportId}` to follow its progress.
        - `failure_reason` string, nullable, required: Why the export failed. `query_limit_exceeded` means that reading the events took more time or memory than one export may use, so an export with a shorter range or narrower filters can succeed, and a `focus` export can also name fewer `tag_keys` or use `day` for `charge_period`. `attempts_exhausted` means that every attempt failed for a reason that a later attempt could overcome, such as an outage, so the same export created later can succeed. A schedule doesn't create a failed export again. The set of reasons can grow, so a client treats a reason it doesn't know as a general failure. `null` unless `status` is `failed`.
        - `record_count` integer, nullable, required: The number of records across all data files. `null` until the export succeeds.
        - `data_read_at` string, date-time, nullable, required: When the successful attempt began reading the stored events, as an RFC 3339 timestamp in UTC. An event stored after this time can be missing from the files. Comparing the `data_read_at` and `record_count` of 2 exports of the same range and filters shows whether they differ. `null` until the export succeeds.
        - `files` object[], required: The data files, in date order. A `usage_events` export has one file for each day of the range in `time_zone`, and a `focus` export has one for each calendar month. The first and last files can cover part of their period, and a period without matching events still has a file, with no records. The list doesn't include `manifest.json`. `[]` until the export succeeds.
          - `name` string, required: The file's name, which the download operation takes as `file`. A `usage_events` file is named by its day as `YYYY-MM-DD`, and a `focus` file by its month as `YYYY-MM`, both in the export's `time_zone`. The extension that `format` and `compression` set follows, as in `2026-09-01.parquet` or `2026-09.csv.gz`.
          - `record_count` integer, required: The number of records in the file.
          - `size_bytes` integer, required: The size of the file as downloaded, in bytes.
          - `sha256` string, required: The SHA-256 digest of the file as downloaded. A client checks a download by comparing its size and digest with `size_bytes` and `sha256`. 64 lowercase hexadecimal digits.
        - `created_at` string, date-time, required: An ISO-8601 timestamp representation of entity creation date.
        - `updated_at` string, date-time, required: An ISO-8601 timestamp representation of entity update date.
        - `started_at` string, date-time, nullable, required: When the first attempt started, as an RFC 3339 timestamp in UTC. `null` while the export is `pending`.
        - `finished_at` string, date-time, nullable, required: When the export succeeded or failed, as an RFC 3339 timestamp in UTC. `null` until then.
        - `expires_at` string, date-time, nullable, required: An ISO-8601 timestamp representation of entity expiration date.
      - object: An export copies the organization's stored usage events in a time range into files to download. It runs asynchronously: `status` follows its progress, and once it succeeds, `files` lists the data files, which can be downloaded until `expires_at`. After creation, only an export's status and results change. A client creates a one-time export, and an export schedule creates one export of each of its periods.
        - `id` string, uuid, required: Contains a unique identifier used for this resource.
        - `dataset` 'usage_events' | 'focus', required: The data the export holds.
        - `schema_version` 1, required: The schema version of the data files within the dataset, which fixes their columns and values.
        - `focus` AICostFocusOptions, nullable, required: The FOCUS options of the export, with defaults applied. `null` unless `dataset` is `focus`.
          - `version` '1.3' | '1.4', required: The FOCUS version that the files follow.
          - `charge_period` 'day' | 'hour', required: The length of each row's charge period: a calendar day or an hour in `time_zone`, which `ChargePeriodStart` and `ChargePeriodEnd` bound. The range selects the events and doesn't shorten the first or last period, so those periods can extend beyond `starts_at` and `ends_at`.
          - `tag_keys` string[], required: The tag keys whose values split the rows. A row's `Tags` column holds the named keys that its events carry, with their values. `[]` when the request named none.
        - `format` intersection, required: The file format of the export's data files.
          - [`AICostExportFormat`](https://skmtc.dev/kong/apis/konnect-api-go-sdk/revisions/3b071797f6e4/schema?at=%2Fcomponents%2Fschemas%2FAICostExportFormat)
          - 'parquet'
        - `compression` intersection, required: How the export's data files are compressed. Together with `format`, it sets the files' extension and content type.
          - [`AICostExportCompression`](https://skmtc.dev/kong/apis/konnect-api-go-sdk/revisions/3b071797f6e4/schema?at=%2Fcomponents%2Fschemas%2FAICostExportCompression)
          - 'zstd'
        - `starts_at` string, date-time, required: The start of the range, inclusive, as an RFC 3339 timestamp in UTC. The export holds the events whose `time` is at or after `starts_at`.
        - `ends_at` string, date-time, required: The end of the range, exclusive, as an RFC 3339 timestamp in UTC. The export holds the events whose `time` is before `ends_at`.
        - `time_zone` string, iana-time-zone, required: The IANA time zone that decides where each file's period starts: a day for a `usage_events` export, or a calendar month for a `focus` export. For a `focus` export, it also decides where the charge and billing periods start.
        - `filters` object, required: The filters that select the exported events. `{}` for none.
        - `schedule` object, nullable, required: The schedule that created the export. `null` for a one-time export, and once the schedule is deleted.
          - `id` string, uuid, required: The identifier of the schedule that created the export, which the export schedule operations take as `scheduleId`.
        - `labels` Labels, required: Key-value metadata on the export, set when it's created, or copied from the schedule that created it. The export list can filter by label. Labels don't change which events the export holds.
        - `status` 'pending' | 'running' | 'succeeded' | 'failed' | 'expired', required: Where the export is in its lifecycle. A client reads the export again with `GET /v1/ai-cost-management/exports/{exportId}` to follow its progress.
        - `failure_reason` string, nullable, required: Why the export failed. `query_limit_exceeded` means that reading the events took more time or memory than one export may use, so an export with a shorter range or narrower filters can succeed, and a `focus` export can also name fewer `tag_keys` or use `day` for `charge_period`. `attempts_exhausted` means that every attempt failed for a reason that a later attempt could overcome, such as an outage, so the same export created later can succeed. A schedule doesn't create a failed export again. The set of reasons can grow, so a client treats a reason it doesn't know as a general failure. `null` unless `status` is `failed`.
        - `record_count` integer, nullable, required: The number of records across all data files. `null` until the export succeeds.
        - `data_read_at` string, date-time, nullable, required: When the successful attempt began reading the stored events, as an RFC 3339 timestamp in UTC. An event stored after this time can be missing from the files. Comparing the `data_read_at` and `record_count` of 2 exports of the same range and filters shows whether they differ. `null` until the export succeeds.
        - `files` object[], required: The data files, in date order. A `usage_events` export has one file for each day of the range in `time_zone`, and a `focus` export has one for each calendar month. The first and last files can cover part of their period, and a period without matching events still has a file, with no records. The list doesn't include `manifest.json`. `[]` until the export succeeds.
          - `name` string, required: The file's name, which the download operation takes as `file`. A `usage_events` file is named by its day as `YYYY-MM-DD`, and a `focus` file by its month as `YYYY-MM`, both in the export's `time_zone`. The extension that `format` and `compression` set follows, as in `2026-09-01.parquet` or `2026-09.csv.gz`.
          - `record_count` integer, required: The number of records in the file.
          - `size_bytes` integer, required: The size of the file as downloaded, in bytes.
          - `sha256` string, required: The SHA-256 digest of the file as downloaded. A client checks a download by comparing its size and digest with `size_bytes` and `sha256`. 64 lowercase hexadecimal digits.
        - `created_at` string, date-time, required: An ISO-8601 timestamp representation of entity creation date.
        - `updated_at` string, date-time, required: An ISO-8601 timestamp representation of entity update date.
        - `started_at` string, date-time, nullable, required: When the first attempt started, as an RFC 3339 timestamp in UTC. `null` while the export is `pending`.
        - `finished_at` string, date-time, nullable, required: When the export succeeded or failed, as an RFC 3339 timestamp in UTC. `null` until then.
        - `expires_at` string, date-time, nullable, required: An ISO-8601 timestamp representation of entity expiration date.
  - `meta` CursorMeta, required: Pagination metadata.
    - `page` CursorMetaPage, required
      - `first` string, path: URI to the first page
      - `last` string, path: URI to the last page
      - `next` string, path, nullable, required: URI to the next page
      - `previous` string, path, nullable, required: URI to the previous page
      - `size` number, required: Requested page size

## Other responses

- `400`: A query parameter is invalid. `invalid_parameters` names each invalid parameter.
- `401`: The request has no valid access token. The token is missing, malformed, or expired, or it fails another check, and the response doesn't say which.
- `403`: The access token is valid, but its principal lacks the permission this operation requires. For an operation on one resource, the response doesn't reveal whether that resource exists.

## Changes

- **2026-11-19** `3b071797f6e4`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/kong/apis/konnect-api-go-sdk/changes/v1/ai-cost-management/exports/get.md)

---

[API](https://skmtc.dev/kong/apis/konnect-api-go-sdk.md) - [All operations](https://skmtc.dev/kong/apis/konnect-api-go-sdk/llms.txt) - [OpenAPI document](https://skmtc.dev/kong/apis/konnect-api-go-sdk/revisions/3b071797f6e4?raw)
