---
title: "Get scheduled task"
method: GET
path: "/tasks/scheduled/{id}"
tags: ["Scheduled Tasks"]
---

# Get scheduled task

`GET /tasks/scheduled/{id}`

Use when you need to load a single scheduled task (e.g. to show details in a UI or check its configuration).

## Path parameters

- `id` string, required

## Response `200`

OK

- DtoScheduledTaskResponse
  - `connection_id` string
  - `created_at` string
  - `enabled` boolean
  - `entity_type` 'events' | 'invoice' | 'credit_topups' | 'credit_usage'
  - `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)
    - `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 instead of virtual-hosted-style (required for MinIO)
  - `status` string
  - `tenant_id` string
  - `updated_at` string

## Other responses

- `400` — Invalid request
- `404` — Resource not found
- `500` — Server error

## Changes

- **2026-04-04** `3d452eb9ebcc` — 1 warning
  - added the new `30MIN` enum value to the `interval` response property for the response status `200`

[Change history](https://skmtc.dev/flexprice/apis/flexprice-api/changes/tasks/scheduled/:id/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/3d452eb9ebcc/schema)
