---
title: "List deployments"
method: POST
path: "/hosting/deployments/list"
tags: ["Hosting - Deployments"]
---

# List deployments

`POST /hosting/deployments/list`

List deployments for an app or worker

## Request body

- object — Body schema.
  - `appUuid` string, uuid — Identifier of the app whose deployments to list.
  - `workerUuid` string, uuid — Identifier of the worker whose deployments to list.
  - `userUuid` string, uuid — Restrict to deployments created by this user.
  - `statuses` string[] — Deployment statuses to include.
  - `createdAfter` string — Include deployments created after this ISO timestamp.
  - `createdBefore` string — Include deployments created before this ISO timestamp.
  - `limit` integer — Maximum number of deployments to return.
  - `offset` integer — Number of deployments to skip.

## Response `200`

Successful response

- object
  - `count` integer, required — Total number of deployments matching the filters.
  - `deployments` union[], required — Page of deployments.
    - union
      - object
        - `uuid` string, uuid, required
        - `workspaceUuid` string, uuid, required
        - `sourceS3Path` string, required
        - `bundleS3Path` string, nullable, required
        - `status` 'pending' | 'building' | 'success' | 'error' | 'cancelled', required
        - `buildLogS3Filename` string, nullable, required
        - `errorMessage` string, nullable, required
        - `url` string, required
        - `userUuid` string, uuid, required
        - `promotedAt` string, nullable, required
        - `promotedByUserUuid` string, uuid, nullable, required
        - `finishedAt` string, nullable, required
        - `temporalWorkflowId` string, uuid, required
        - `createdAt` string, required
        - `updatedAt` string, required
        - `kind` 'app', required
        - `appUuid` string, uuid, required
        - `meta` object, required
      - object
        - `uuid` string, uuid, required
        - `workspaceUuid` string, uuid, required
        - `sourceS3Path` string, required
        - `bundleS3Path` string, nullable, required
        - `status` 'pending' | 'building' | 'success' | 'error' | 'cancelled', required
        - `buildLogS3Filename` string, nullable, required
        - `errorMessage` string, nullable, required
        - `url` string, required
        - `userUuid` string, uuid, required
        - `promotedAt` string, nullable, required
        - `promotedByUserUuid` string, uuid, nullable, required
        - `finishedAt` string, nullable, required
        - `temporalWorkflowId` string, uuid, required
        - `createdAt` string, required
        - `updatedAt` string, required
        - `kind` 'worker', required
        - `workerUuid` string, uuid, required
        - `meta` object, required
          - `bundleSha256` string, required
          - `outboundAllowlist` string[], required
          - `kind` 'custom-integration'

## Other responses

- `400` — Bad request
- `401` — Unauthorized
- `404` — Not found
- `500` — Internal server error

---

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