---
title: "List active lifecycle tasks"
method: GET
path: "/tasks/lifecycle/active"
tags: ["Tasks"]
---

# List active lifecycle tasks

`GET /tasks/lifecycle/active`

List queued and running guest lifecycle tasks, optionally filtered by guest type and positive guest ID

## Query parameters

- `guestType` 'vm' | 'jail' | 'jail-template' | 'vm-template'
- `guestId` integer

## Response `200`

Success

- GithubComAlchemillahqSylveInternalAPIResponseArrayGithubComAlchemillahqSylveInternalDbModelsTaskGuestLifecycleTask
  - `data` GithubComAlchemillahqSylveInternalDbModelsTaskGuestLifecycleTask[]
    - `action` string
    - `createdAt` string
    - `error` string
    - `finishedAt` string
    - `guestId` integer
    - `guestType` string
    - `id` integer
    - `message` string
    - `overrideRequested` boolean
    - `payload` string
    - `requestedBy` string
    - `source` string
    - `startedAt` string
    - `status` string
    - `updatedAt` string
  - `error` string
  - `message` string
  - `status` string

## Other responses

- `400` — Bad Request
- `401` — Unauthorized
- `403` — Forbidden
- `500` — Internal Server Error

---

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