v1
Northflank docs for LLMs
API
CLI
JS Client

Project / Services /

Get service per-replica volumes

Lists the per-replica statefulSet volumes for the given service.

Required permission

Project > Services > General > Read

Path parameters

    • projectId

      string required
      ID of the project
    • serviceId

      string required
      ID of the service

Response body

  • {object}
    Response object.
    • data

      {object} required
      Result data.
      • volumes

        [array] required
        The per-replica statefulSet volumes grouped by volume definition.
        • {object}
          • id

            string | null required
            The user-facing slug of the volume definition, or null when the definition has already been purged but a retained PVC is still being reported.
          • slug

            string | null
            Best-effort display slug for a purged (definitionMissing) group, recovered from the PVC labels so the group keeps its original name. Equal to `id` when the definition exists.
          • definitionMissing

            boolean required
            True when the volume definition no longer exists. Its retained PVCs remain individually deletable, but the group DELETE endpoint cannot target the missing definition.
          • pendingDelete

            boolean required
            True if the volume has been removed from the service and only its retained orphaned PVCs remain. When definitionMissing is false, the group can be fully deleted via the group DELETE endpoint; definition-missing groups are reclaimed by background cleanup.
          • cleanupPending

            boolean required
            True when the group's definition is already purged and the background reaper owns removing the retained PVCs — no manual delete is possible (its replicas report deletable: false).
          • replicas

            [array] required
            The per-replica PVCs of this volume.
            • {object}
              • ordinal

                number required
                The statefulSet replica ordinal this PVC belongs to.
              • pvcName

                string required
                The name of the per-replica PVC.
              • deletable

                boolean required
                True if the PVC can be deleted now via the per-replica DELETE endpoint: it is orphaned (its volume was removed or its ordinal is scaled down) AND its volume definition still exists. Bound PVCs are refused with 409; claims of a purged volume are false (see group cleanupPending).
API
CLI
JS Client

GET /v1/projects/{projectId}/services/{serviceId}/per-replica-volumes

GET /v1/teams/{teamId}/projects/{projectId}/services/{serviceId}/per-replica-volumes

Example response

200 OK

The list of per-replica volumes for the service.

JSON

© 2026 Northflank Ltd. All rights reserved.

northflank.com / Terms / Privacy / feedback@northflank.com