---
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

---

[API](https://skmtc.net/flexprice/apis/flexprice-api.md) · [All operations](https://skmtc.net/flexprice/apis/flexprice-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/flexprice/flexprice-api/versions/f0601ed97bd3/schema)
