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

# List export schedules

`GET /v1/ai-cost-management/export-schedules`

## Request

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

Returns a page of the organization's export schedules, sorted by `name` unless the request sets `sort`. Filters on `name`, `status`, and `cadence` narrow the list.

## Query parameters

- `filter` AICostExportScheduleFilterParameters: Filters on the export schedules' fields. Every filter must match, and a bare value means `eq`. - `name`: `eq`, `neq`, `oeq`, `contains`, and `ocontains`. - `status` and `cadence`: `eq`, `neq`, and `oeq`. - `labels.<key>`: the value of the label `<key>`, with the operators of `name` plus `exists` and `nexists`. A bare key with no value matches schedules that have the label. - `managed_by.<key>`: the value of the `managed_by` key `<key>`, such as `filter[managed_by.tool]=terraform-provider-konnect`, with the operators of `labels.<key>`. A bare key with no value matches schedules that have the key. Any other filter key fails with `400`. `eq`, `neq`, and `oeq` compare strings case-sensitively, and `contains` and `ocontains` ignore case. Enum values are case-sensitive, so any other spelling, such as `ACTIVE`, fails with `400`.
  - `name` StringFieldFilter: Filter using **one** of the following operators: `eq`, `oeq`, `neq`, `contains`, `ocontains`
    - `eq` string: The field exactly matches the provided value.
    - `contains` string: The field contains the provided value.
    - `ocontains` string: The field contains any of the provided values.
    - `oeq` string: The field matches any of the provided values.
    - `neq` string: The field does not match the provided value.
  - `status` union: Filters a field by its value with `eq`, `neq`, or `oeq`. Accepts `active` and `paused`. A bare value means `eq`.
    - 'active' | 'paused': Whether a schedule creates exports. An `active` schedule creates an export of each period as the period ends. A `paused` schedule skips every period that ends while it is paused, and resuming the schedule doesn't export those periods.
    - AICostExportScheduleStatusFieldEqualsFilter: Matches a value equal to the given one.
      - `eq` 'active' | 'paused', required: The value to match.
    - AICostExportScheduleStatusFieldNEQFilter: Matches a value other than the given one.
      - `neq` 'active' | 'paused', required: The value to exclude.
    - StringFieldOEQFilter: Returns entities that exact match any of the comma-delimited phrases in the filter string.
      - `oeq` string, required
  - `cadence` union: Filters a field by its value with `eq`, `neq`, or `oeq`. Accepts `daily`, `weekly`, and `monthly`. A bare value means `eq`.
    - 'daily' | 'weekly' | 'monthly': The length of a schedule's periods, in the schedule's `time_zone`: - `daily`: a day, from the start of one day to the start of the next. - `weekly`: a week, from the start of a Monday to the start of the next Monday. - `monthly`: a calendar month, from the start of its first day to the start of the next month's first day. Each period ends where the next one starts, so the periods follow each other without a gap or an overlap. A day lasts 23 or 25 hours when the clocks change.
    - AICostExportScheduleCadenceFieldEqualsFilter: Matches a value equal to the given one.
      - `eq` 'daily' | 'weekly' | 'monthly', required: The value to match.
    - AICostExportScheduleCadenceFieldNEQFilter: Matches a value other than the given one.
      - `neq` 'daily' | 'weekly' | 'monthly', required: The value to exclude.
    - StringFieldOEQFilter: Returns entities that exact match any of the comma-delimited phrases in the filter string.
      - `oeq` string, required
- `sort` string
- `page[size]` integer
- `page[after]` string
- `page[before]` string

## Response `200`

A page of export schedules.

- object
  - `data` AICostExportSchedule[], required: The export schedules on this page, in `sort` order.
    - union
      - object: An export schedule exports the organization's usage period by period, such as month by month. An `active` schedule creates one export of each period as the period ends. Each export is an ordinary export whose `schedule` names the schedule: it's listed, downloaded, and expires like a one-time export. Its files follow the dataset's rule: one for each day for `usage_events`, and one for each calendar month for `focus`. Each export of a `daily` `usage_events` schedule or a `monthly` `focus` schedule therefore has one file. - The export of a period has the period's start as `starts_at` and its end as `ends_at`, and the schedule's other settings as they are when the export is created. - When a schedule becomes `active`, by creation or by resuming, its first period is the one in progress. That period's export covers the whole period, including the time before the schedule became `active`. - A schedule exports each period once and never refreshes it, even when events of the period arrive later. A scheduled export that fails stays `failed`, and the schedule doesn't create it again. To include later events or to fill a failed period, a client creates a one-time export of the same range. - When runs are late, for example after an outage, the schedule catches up on at most the 31 most recent periods that ended while it was `active`, and skips older ones.
        - `id` string, uuid, required: Contains a unique identifier used for this resource.
        - `name` string, required: A human-readable name for the schedule. 1 to 100 characters after the server removes leading and trailing whitespace.
        - `cadence` 'daily' | 'weekly' | 'monthly', required: The length of each period, which sets the range of each export. A replacement can't change it.
        - `time_zone` string, iana-time-zone, required: The IANA time zone in which the periods start. Each export that the schedule creates has this `time_zone`. A replacement can't change it.
        - `status` 'active' | 'paused', required: Whether the schedule creates exports.
        - `dataset` 'usage_events' | 'focus', required: The data that each export holds.
        - `schema_version` 1, required: The schema version of each export's data files within the dataset, which fixes their columns and values.
        - `focus` AICostFocusOptions, nullable, required: The FOCUS options of each 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 each 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 each export's data files are compressed.
          - [`AICostExportCompression`](https://skmtc.dev/kong/apis/konnect-api-go-sdk/revisions/3b071797f6e4/schema?at=%2Fcomponents%2Fschemas%2FAICostExportCompression)
          - 'none' | 'gzip'
        - `filters` object, required: The filters of each export. `{}` for none.
        - `labels` Labels, required: Key-value metadata on the schedule. The schedule list can filter by label. Each export that the schedule creates copies the labels as they are at that moment.
        - `managed_by` ManagedBy, required: Identifies the tool that manages this resource, such as `{"tool": "terraform-provider-konnect"}`. The service stores the value and never acts on it.
        - `next_run_at` string, date-time, nullable, required: When the period in progress ends and the schedule creates its export, as an RFC 3339 timestamp in UTC. That export starts 6 hours later, so that events that arrive late can be stored first. `null` while the schedule is `paused`. It's in the past while a run is late.
        - `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.
      - object: An export schedule exports the organization's usage period by period, such as month by month. An `active` schedule creates one export of each period as the period ends. Each export is an ordinary export whose `schedule` names the schedule: it's listed, downloaded, and expires like a one-time export. Its files follow the dataset's rule: one for each day for `usage_events`, and one for each calendar month for `focus`. Each export of a `daily` `usage_events` schedule or a `monthly` `focus` schedule therefore has one file. - The export of a period has the period's start as `starts_at` and its end as `ends_at`, and the schedule's other settings as they are when the export is created. - When a schedule becomes `active`, by creation or by resuming, its first period is the one in progress. That period's export covers the whole period, including the time before the schedule became `active`. - A schedule exports each period once and never refreshes it, even when events of the period arrive later. A scheduled export that fails stays `failed`, and the schedule doesn't create it again. To include later events or to fill a failed period, a client creates a one-time export of the same range. - When runs are late, for example after an outage, the schedule catches up on at most the 31 most recent periods that ended while it was `active`, and skips older ones.
        - `id` string, uuid, required: Contains a unique identifier used for this resource.
        - `name` string, required: A human-readable name for the schedule. 1 to 100 characters after the server removes leading and trailing whitespace.
        - `cadence` 'daily' | 'weekly' | 'monthly', required: The length of each period, which sets the range of each export. A replacement can't change it.
        - `time_zone` string, iana-time-zone, required: The IANA time zone in which the periods start. Each export that the schedule creates has this `time_zone`. A replacement can't change it.
        - `status` 'active' | 'paused', required: Whether the schedule creates exports.
        - `dataset` 'usage_events' | 'focus', required: The data that each export holds.
        - `schema_version` 1, required: The schema version of each export's data files within the dataset, which fixes their columns and values.
        - `focus` AICostFocusOptions, nullable, required: The FOCUS options of each 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 each 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 each export's data files are compressed.
          - [`AICostExportCompression`](https://skmtc.dev/kong/apis/konnect-api-go-sdk/revisions/3b071797f6e4/schema?at=%2Fcomponents%2Fschemas%2FAICostExportCompression)
          - 'zstd'
        - `filters` object, required: The filters of each export. `{}` for none.
        - `labels` Labels, required: Key-value metadata on the schedule. The schedule list can filter by label. Each export that the schedule creates copies the labels as they are at that moment.
        - `managed_by` ManagedBy, required: Identifies the tool that manages this resource, such as `{"tool": "terraform-provider-konnect"}`. The service stores the value and never acts on it.
        - `next_run_at` string, date-time, nullable, required: When the period in progress ends and the schedule creates its export, as an RFC 3339 timestamp in UTC. That export starts 6 hours later, so that events that arrive late can be stored first. `null` while the schedule is `paused`. It's in the past while a run is late.
        - `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.
  - `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/export-schedules/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)
