---
title: "List scheduled tasks"
method: GET
path: "/tasks/scheduled"
tags: ["Scheduled Tasks"]
---

# List scheduled tasks

`GET /tasks/scheduled`

Use when listing or managing scheduled tasks in an admin UI. Returns a list; supports filtering by status, type, and pagination.

## Query parameters

- `limit` integer
- `offset` integer
- `connection_id` string
- `entity_type` string
- `interval` string
- `enabled` boolean

## Response `200`

OK

- ListScheduledTasksResponse
  - `items` ScheduledTaskResponse[]
    - `connection_id` string
    - `created_at` string, date-time
    - `enabled` boolean
    - `entity_type` 'events' | 'invoice' | 'credit_topups' | 'credit_usage' | 'usage_analytics'
    - `environment_id` string
    - `id` string
    - `interval` '15MIN' | '30MIN' | 'custom' | 'hourly' | 'daily'
    - `job_config` TypesS3JobConfig
      - `bucket` string — S3 bucket name
      - `compression` 'none' | 'gzip'
      - `encryption` 'AES256' | 'aws:kms' | 'aws:kms:dsse'
      - `endpoint_url` string — Custom S3 endpoint URL (e.g., "http://minio:9000" for MinIO)
      - `export_metadata_fields` TypesExportMetadataField[] — Optional user-selected metadata columns
        - `column_name` string — CSV column header to be shown in the exported file
        - `entity_type` 'customer' | 'wallet', required
        - `field_key` string, required — metadata key to look up
      - `key_prefix` string — Optional prefix for S3 keys (e.g., "flexprice-exports/")
      - `region` string — AWS region (e.g., "us-west-2")
      - `use_path_style` boolean — Use path-style addressing (required for MinIO)
    - `status` string
    - `tenant_id` string
    - `updated_at` string, date-time
  - `pagination` TypesPaginationResponse
    - `limit` integer
    - `offset` integer
    - `total` integer

## Other responses

- `400` — Invalid request
- `500` — Server error

## Changes

- **2026-05-18** `8ec2edea6b20` — 4 warning
  - removed the optional property `details` from the response with the `400` status
  - removed the optional property `details` from the response with the `500` status
  - added the new `too_many_requests` enum value to the `code` response property for the response status `400`
  - added the new `too_many_requests` enum value to the `code` response property for the response status `500`
- **2026-05-13** `7934fabd26c1` — 1 warning, 1 info
  - added the new `usage_analytics` enum value to the `items/items/entity_type` response property for the response status `200`
  - added the optional property `items/items/job_config/export_metadata_fields` to the response with the `200` status
- **2026-04-06** `95af41a12111` — 4 warning, 8 info
  - removed the optional property `error` from the response with the `400` status
  - removed the optional property `error` from the response with the `500` status
  - removed the optional property `success` from the response with the `400` status
  - removed the optional property `success` from the response with the `500` status
  - …8 more
- **2026-04-04** `3d452eb9ebcc` — 1 warning
  - added the new `30MIN` enum value to the `items/items/interval` response property for the response status `200`

[Change history](https://skmtc.dev/flexprice/apis/flexprice-api/changes/tasks/scheduled/get.md)

---

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