---
title: "Get tasks."
method: GET
path: "/ScheduledTasks"
tags: ["ScheduledTasks"]
---

# Get tasks.

`GET /ScheduledTasks`

## Query parameters

- `isHidden` boolean, nullable — Optional filter tasks that are hidden, or not.
- `isEnabled` boolean, nullable — Optional filter tasks that are enabled, or not.

## Response `200`

Scheduled tasks retrieved.

- TaskInfo[]
  - `Name` string, nullable — Gets or sets the name.
  - `State` 'Idle' | 'Cancelling' | 'Running' — Enum TaskState.
  - `CurrentProgressPercentage` number, double, nullable — Gets or sets the progress.
  - `Id` string, nullable — Gets or sets the id.
  - `LastExecutionResult` TaskResult — Class TaskExecutionInfo.
    - `StartTimeUtc` string, date-time — Gets or sets the start time UTC.
    - `EndTimeUtc` string, date-time — Gets or sets the end time UTC.
    - `Status` 'Completed' | 'Failed' | 'Cancelled' | 'Aborted' — Enum TaskCompletionStatus.
    - `Name` string, nullable — Gets or sets the name.
    - `Key` string, nullable — Gets or sets the key.
    - `Id` string, nullable — Gets or sets the id.
    - `ErrorMessage` string, nullable — Gets or sets the error message.
    - `LongErrorMessage` string, nullable — Gets or sets the long error message.
  - `Triggers` TaskTriggerInfo[], nullable — Gets or sets the triggers.
    - `Type` string, nullable — Gets or sets the type.
    - `TimeOfDayTicks` integer, nullable — Gets or sets the time of day.
    - `IntervalTicks` integer, nullable — Gets or sets the interval.
    - `DayOfWeek` 'Sunday' | 'Monday' | 'Tuesday' | 'Wednesday' | 'Thursday' | 'Friday' | 'Saturday'
    - `MaxRuntimeTicks` integer, nullable — Gets or sets the maximum runtime ticks.
  - `Description` string, nullable — Gets or sets the description.
  - `Category` string, nullable — Gets or sets the category.
  - `IsHidden` boolean — Gets or sets a value indicating whether this instance is hidden.
  - `Key` string, nullable — Gets or sets the key.

## Other responses

- `401` — Unauthorized
- `403` — Forbidden

---

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