Documentation

esc
    API reference · Move to Pantech / Kubernetes moves

    Kubernetes moves

    Move a scanned cluster's workloads into one of your Pantech Kubernetes clusters: export, preview, apply, copy volumes, cut over.

    Apply the read-only access from GET /kubernetes-moves/source-access to the source cluster and run the Pantech Migrate agent where it can reach it: the source credential never leaves the agent. Start a move from a plan's kubernetes_cluster item into one of your running Pantech clusters, preview it (a server-side dry run), apply it, copy volume data with sync-volumes, and cut over once writes on the source have stopped. The report lists every object by name, never by value. See moving Kubernetes clusters.

    The Kubernetes move object

    Fields

    • idstringrequired
    • migration_idstringrequired
    • item_keystringrequired
    • connection_idstringrequired
    • cluster_idstringrequired

      The Pantech cluster the move applies to: always one of your organization's.

    • source_namestringrequired
    • statusstringrequired

      One of exporting, ready, previewing, applying, applied, syncing, cutting_over, completed, failed, cancelled.

    • failureKubernetesMoveFailurerequired

      Why the move, or its last step, failed; null when nothing failed. message is safe to show.

      Show 2 child fields
      • codestringrequired
      • messagestringrequired
    • optionsobjectrequired
      Show 4 child fields
      • include_secretsbooleanrequired
      • copy_volumesbooleanrequired
      • publish_load_balancersbooleanrequired
      • namespacesarray of stringrequired
    • summaryobjectrequired
      Show 7 child fields
      • objectsintegerrequired
      • refusedintegerrequired
      • skippedintegerrequired
      • flaggedintegerrequired
      • volumesintegerrequired
      • warningsarray of KubernetesMoveFlagrequired
        Show 2 child fields
        • codestringrequired
        • messagestringrequired
      • addonsarray of stringrequired
    • allow_privilegedarray of KubernetesMoveRefrequired
      Show 4 child fields
      • groupstringrequired

        API group; empty for the core API.

      • kindstringrequired
      • namespacestringrequired
      • namestringrequired
    • previewed_atstring or nullrequired
    • preview_okbooleanrequired
    • applied_atstring or nullrequired
    • completed_atstring or nullrequired
    • sync_generationintegerrequired
    • created_atstringrequired
    • updated_atstringrequired

    The Kubernetes move resource object

    Fields

    • groupstringrequired
    • kindstringrequired
    • namespacestringrequired
    • namestringrequired
    • api_versionstringrequired
    • tierintegerrequired

      Apply order: definitions first, custom resources last.

    • actionstringrequired

      One of create, refused, skipped.

    • flagsarray of KubernetesMoveFlagrequired
      Show 2 child fields
      • codestringrequired
      • messagestringrequired
    • policy_refusedbooleanrequired

      Refused for the cluster policy; name it in allow_privileged on preview to include it anyway.

    • previewKubernetesMoveSteprequired

      The object's outcome in the last preview or apply; null when it has not run.

      Show 3 child fields
      • resultstringrequired

        One of created, configured, unchanged, refused, unverified.

      • codestring or nullrequired
      • messagestring or nullrequired
    • applyKubernetesMoveSteprequired

      The object's outcome in the last preview or apply; null when it has not run.

      Show 3 child fields
      • resultstringrequired

        One of created, configured, unchanged, refused, unverified.

      • codestring or nullrequired
      • messagestring or nullrequired

    The Kubernetes move volume object

    Fields

    • idstringrequired
    • namespacestringrequired
    • claimstringrequired
    • size_bytesintegerrequired
    • source_storage_classstringrequired
    • target_storage_classstringrequired
    • access_modesarray of stringrequired
    • statusstringrequired

      One of pending, copying, synced, failed, unsupported.

    • flagsarray of KubernetesMoveFlagrequired
      Show 2 child fields
      • codestringrequired
      • messagestringrequired
    • generationintegerrequired
    • synced_generationintegerrequired
    • bytes_totalintegerrequired
    • bytes_doneintegerrequired
    • files_totalintegerrequired
    • checksum_verifiedbooleanrequired

      The destination's own read-back matched the source's checksum.

    • synced_atstring or nullrequired
    • failureKubernetesMoveFailurerequired

      Why the move, or its last step, failed; null when nothing failed. message is safe to show.

      Show 2 child fields
      • codestringrequired
      • messagestringrequired

    Start a Kubernetes move

    Starts moving a plan's kubernetes_cluster item into one of your running Pantech clusters (docs: Migrate > Kubernetes). The Pantech Migrate agent exports the source cluster with the read-only access from GET /kubernetes-moves/source-access; the source credential never leaves the agent. Secrets move only with include_secrets, volume data only with copy_volumes. The move is free; the cluster bills as usual. At most 5 active moves per organization and one per cluster. Owners and admins only.

    POST/public/v1/migrations/{migration_id}/kubernetes-moves
    Write keyNeeds Idempotency-KeyReturns202Accepted

    Headers

    • Authorizationstringrequired

      Bearer and your API key: Bearer PAN_….

    • Idempotency-Keystringrequired

      A new value, such as a UUID, for each change. Resend with the same value to retry safely.

      At most 255 characters.

    Path parameters

    • migration_idstringrequired

    Body

    application/json
    • item_keystringrequired

      A kubernetes_cluster item of the plan.

    • cluster_idstringrequired

      A running Pantech cluster of your organization.

    • include_secretsboolean

      Defaults to false.

    • copy_volumesboolean

      Defaults to false.

    • publish_load_balancersboolean

      Defaults to true.

    • namespacesarray of string

    Response 202

    The move.
    • idstringrequired
    • migration_idstringrequired
    • item_keystringrequired
    • connection_idstringrequired
    • cluster_idstringrequired

      The Pantech cluster the move applies to: always one of your organization's.

    • source_namestringrequired
    • statusstringrequired

      One of exporting, ready, previewing, applying, applied, syncing, cutting_over, completed, failed, cancelled.

    • failureKubernetesMoveFailurerequired

      Why the move, or its last step, failed; null when nothing failed. message is safe to show.

      Show 2 child fields
      • codestringrequired
      • messagestringrequired
    • optionsobjectrequired
      Show 4 child fields
      • include_secretsbooleanrequired
      • copy_volumesbooleanrequired
      • publish_load_balancersbooleanrequired
      • namespacesarray of stringrequired
    • summaryobjectrequired
      Show 7 child fields
      • objectsintegerrequired
      • refusedintegerrequired
      • skippedintegerrequired
      • flaggedintegerrequired
      • volumesintegerrequired
      • warningsarray of KubernetesMoveFlagrequired
        Show 2 child fields
        • codestringrequired
        • messagestringrequired
      • addonsarray of stringrequired
    • allow_privilegedarray of KubernetesMoveRefrequired
      Show 4 child fields
      • groupstringrequired

        API group; empty for the core API.

      • kindstringrequired
      • namespacestringrequired
      • namestringrequired
    • previewed_atstring or nullrequired
    • preview_okbooleanrequired
    • applied_atstring or nullrequired
    • completed_atstring or nullrequired
    • sync_generationintegerrequired
    • created_atstringrequired
    • updated_atstringrequired

    Errors

    • 401UNAUTHENTICATED: the request has no API key, or the key is mistyped, revoked or expired, or its creator has left the organization. Send Authorization: Bearer PAN_… with a valid key; create one in the console under Organization › API keys.
    • 403INSUFFICIENT_SCOPE: the API key lacks the scope this endpoint needs (read for GET, write for changes; an AI app's key also needs delete for a destructive call). Use a key with that scope, or reconnect the AI app with "Manage and delete" access. FORBIDDEN: the member who created the key may not do this in the organization. Use a key created by an owner or admin. AI_APPS_DISABLED: the organization has turned AI app access off, and this request was made with an AI app's key or sent by Pantech's MCP server (Pantech-Client: mcp/…). An owner can turn it on in the console under Organization › AI apps.
    • 404MIGRATION_NOT_FOUND, KUBERNETES_CLUSTER_NOT_FOUND: no such plan or cluster in your organization.
    • 409KUBERNETES_CLUSTER_NOT_RUNNING, KUBERNETES_MOVE_CLUSTER_BUSY, IDEMPOTENCY_CONFLICT.
    • 422VALIDATION_FAILED: item_key names no cluster item, or the item is excluded or blocked; a namespace name is invalid.
    • 429RATE_LIMITED: this API key, verified user or organization used its request budget for the current window, or this address exceeded an IP/failed-auth limit. Wait Retry-After seconds, then retry. For authenticated quota denials, RateLimit-Scope identifies the denying quota and RateLimit-Reset reports its remaining window in seconds.
    • 503MIGRATE_UNAVAILABLE: Pantech Migrate is not available on this deployment yet. Try again later. SERVICE_UNAVAILABLE: request quota storage is unavailable. Wait a few seconds, then retry. VOLUME_COPY_UNAVAILABLE: copying volume data is not available on this deployment.

    Every code is explained in Errors.

    Authorization
    Path
    Body
    Idempotency
    curl -X POST "https://api.pantechdynamics.com/public/v1/migrations/mig_06gk3x9tq7m2v8r4y1c5d0zp8w/kubernetes-moves" \
      -H "Authorization: Bearer $PANTECH_API_KEY" \
      -H "Idempotency-Key: $(uuidgen)" \
      -H "Content-Type: application/json" \
      -d '{
        "item_key": "item-key",
        "cluster_id": "k8s_06gk3x9tq7m2v8r4y1c5d0zp8w"
      }'
    Response 202
    {
      "id": "kmv_06gk3x9tq7m2v8r4y1c5d0zp8w",
      "migration_id": "mig_06gk3x9tq7m2v8r4y1c5d0zp8w",
      "item_key": "item-key",
      "connection_id": "ccn_06gk3x9tq7m2v8r4y1c5d0zp8w",
      "cluster_id": "k8s_06gk3x9tq7m2v8r4y1c5d0zp8w",
      "source_name": "source-name",
      "status": "exporting",
      "failure": {
        "code": "starter",
        "message": "message"
      },
      "options": {
        "include_secrets": true,
        "copy_volumes": true,
        "publish_load_balancers": true,
        "namespaces": [
          "namespaces"
        ]
      },
      "summary": {
        "objects": 1,
        "refused": 1,
        "skipped": 1,
        "flagged": 1,
        "volumes": 1,
        "warnings": [
          {
            "code": "starter",
            "message": "message"
          }
        ],
        "addons": [
          "addons"
        ]
      },
      "allow_privileged": [
        {
          "group": "group",
          "kind": "create_instance",
          "namespace": "namespace",
          "name": "web-1"
        }
      ],
      "previewed_at": "2026-10-03T09:30:00Z",
      "preview_ok": true,
      "applied_at": "2026-10-03T09:30:00Z",
      "completed_at": "2026-10-03T09:30:00Z",
      "sync_generation": 1,
      "created_at": "2026-10-03T09:30:00Z",
      "updated_at": "2026-10-03T09:30:00Z"
    }

    List Kubernetes moves

    Your organization's moves, newest first, without their resources and volumes.

    GET/public/v1/kubernetes-moves
    Read keyReturns200OK

    Headers

    • Authorizationstringrequired

      Bearer and your API key: Bearer PAN_….

    Response 200

    OK.
    • dataarray of KubernetesMoverequired
      Show 18 child fields
      • idstringrequired
      • migration_idstringrequired
      • item_keystringrequired
      • connection_idstringrequired
      • cluster_idstringrequired

        The Pantech cluster the move applies to: always one of your organization's.

      • source_namestringrequired
      • statusstringrequired

        One of exporting, ready, previewing, applying, applied, syncing, cutting_over, completed, failed, cancelled.

      • failureKubernetesMoveFailurerequired

        Why the move, or its last step, failed; null when nothing failed. message is safe to show.

        Show 2 child fields
        • codestringrequired
        • messagestringrequired
      • optionsobjectrequired
        Show 4 child fields
        • include_secretsbooleanrequired
        • copy_volumesbooleanrequired
        • publish_load_balancersbooleanrequired
        • namespacesarray of stringrequired
      • summaryobjectrequired
        Show 7 child fields
        • objectsintegerrequired
        • refusedintegerrequired
        • skippedintegerrequired
        • flaggedintegerrequired
        • volumesintegerrequired
        • warningsarray of KubernetesMoveFlagrequired
          Show 2 child fields
          • codestringrequired
          • messagestringrequired
        • addonsarray of stringrequired
      • allow_privilegedarray of KubernetesMoveRefrequired
        Show 4 child fields
        • groupstringrequired

          API group; empty for the core API.

        • kindstringrequired
        • namespacestringrequired
        • namestringrequired
      • previewed_atstring or nullrequired
      • preview_okbooleanrequired
      • applied_atstring or nullrequired
      • completed_atstring or nullrequired
      • sync_generationintegerrequired
      • created_atstringrequired
      • updated_atstringrequired
    • next_cursorstring or nullrequired

      Always null: this list is returned whole.

    Errors

    • 401UNAUTHENTICATED: the request has no API key, or the key is mistyped, revoked or expired, or its creator has left the organization. Send Authorization: Bearer PAN_… with a valid key; create one in the console under Organization › API keys.
    • 403INSUFFICIENT_SCOPE: the API key lacks the scope this endpoint needs (read for GET, write for changes; an AI app's key also needs delete for a destructive call). Use a key with that scope, or reconnect the AI app with "Manage and delete" access. FORBIDDEN: the member who created the key may not do this in the organization. Use a key created by an owner or admin. AI_APPS_DISABLED: the organization has turned AI app access off, and this request was made with an AI app's key or sent by Pantech's MCP server (Pantech-Client: mcp/…). An owner can turn it on in the console under Organization › AI apps.
    • 429RATE_LIMITED: this API key, verified user or organization used its request budget for the current window, or this address exceeded an IP/failed-auth limit. Wait Retry-After seconds, then retry. For authenticated quota denials, RateLimit-Scope identifies the denying quota and RateLimit-Reset reports its remaining window in seconds.
    • 503MIGRATE_UNAVAILABLE: Pantech Migrate is not available on this deployment yet. Try again later. SERVICE_UNAVAILABLE: request quota storage is unavailable. Wait a few seconds, then retry.

    Every code is explained in Errors.

    Authorization
    curl "https://api.pantechdynamics.com/public/v1/kubernetes-moves" \
      -H "Authorization: Bearer $PANTECH_API_KEY"
    Response 200
    {
      "data": [
        {
          "id": "kmv_06gk3x9tq7m2v8r4y1c5d0zp8w",
          "migration_id": "mig_06gk3x9tq7m2v8r4y1c5d0zp8w",
          "item_key": "item-key",
          "connection_id": "ccn_06gk3x9tq7m2v8r4y1c5d0zp8w",
          "cluster_id": "k8s_06gk3x9tq7m2v8r4y1c5d0zp8w",
          "source_name": "source-name",
          "status": "exporting",
          "failure": {
            "code": "starter",
            "message": "message"
          },
          "options": {
            "include_secrets": true,
            "copy_volumes": true,
            "publish_load_balancers": true,
            "namespaces": [
              "namespaces"
            ]
          },
          "summary": {
            "objects": 1,
            "refused": 1,
            "skipped": 1,
            "flagged": 1,
            "volumes": 1,
            "warnings": [
              {
                "code": "starter",
                "message": "message"
              }
            ],
            "addons": [
              "addons"
            ]
          },
          "allow_privileged": [
            {
              "group": "group",
              "kind": "create_instance",
              "namespace": "namespace",
              "name": "web-1"
            }
          ],
          "previewed_at": "2026-10-03T09:30:00Z",
          "preview_ok": true,
          "applied_at": "2026-10-03T09:30:00Z",
          "completed_at": "2026-10-03T09:30:00Z",
          "sync_generation": 1,
          "created_at": "2026-10-03T09:30:00Z",
          "updated_at": "2026-10-03T09:30:00Z"
        }
      ],
      "next_cursor": null
    }

    Source cluster access manifests

    The manifests to apply to the source cluster: a read-only reader (get, list, watch; no Secrets), an optional Secrets reader, and an optional copier role for copying volumes.

    GET/public/v1/kubernetes-moves/source-access
    Read keyReturns200OK

    Headers

    • Authorizationstringrequired

      Bearer and your API key: Bearer PAN_….

    Response 200

    OK.
    • readerstringrequired

      Read-only access (get, list, watch; no Secrets).

    • secrets_readerstringrequired

      Adds reading Secrets. Apply only to move Secrets.

    • copierstringrequired

      Lets the agent start copy pods. Bind it in each namespace whose volumes you copy.

    Errors

    • 401UNAUTHENTICATED: the request has no API key, or the key is mistyped, revoked or expired, or its creator has left the organization. Send Authorization: Bearer PAN_… with a valid key; create one in the console under Organization › API keys.
    • 403INSUFFICIENT_SCOPE: the API key lacks the scope this endpoint needs (read for GET, write for changes; an AI app's key also needs delete for a destructive call). Use a key with that scope, or reconnect the AI app with "Manage and delete" access. FORBIDDEN: the member who created the key may not do this in the organization. Use a key created by an owner or admin. AI_APPS_DISABLED: the organization has turned AI app access off, and this request was made with an AI app's key or sent by Pantech's MCP server (Pantech-Client: mcp/…). An owner can turn it on in the console under Organization › AI apps.
    • 429RATE_LIMITED: this API key, verified user or organization used its request budget for the current window, or this address exceeded an IP/failed-auth limit. Wait Retry-After seconds, then retry. For authenticated quota denials, RateLimit-Scope identifies the denying quota and RateLimit-Reset reports its remaining window in seconds.
    • 503MIGRATE_UNAVAILABLE: Pantech Migrate is not available on this deployment yet. Try again later. SERVICE_UNAVAILABLE: request quota storage is unavailable. Wait a few seconds, then retry.

    Every code is explained in Errors.

    Authorization
    curl "https://api.pantechdynamics.com/public/v1/kubernetes-moves/source-access" \
      -H "Authorization: Bearer $PANTECH_API_KEY"
    Response 200
    {
      "reader": "reader",
      "secrets_reader": "secrets-reader",
      "copier": "copier"
    }

    Get a Kubernetes move

    A move with its report: every source object and what the move does with it (names only, never values), the volumes and their copy progress, the images and the workloads held until the cutover.

    GET/public/v1/kubernetes-moves/{move_id}
    Read keyReturns200OK

    Headers

    • Authorizationstringrequired

      Bearer and your API key: Bearer PAN_….

    Path parameters

    • move_idstringrequired

    Response 200

    OK.
    • idstringrequired
    • migration_idstringrequired
    • item_keystringrequired
    • connection_idstringrequired
    • cluster_idstringrequired

      The Pantech cluster the move applies to: always one of your organization's.

    • source_namestringrequired
    • statusstringrequired

      One of exporting, ready, previewing, applying, applied, syncing, cutting_over, completed, failed, cancelled.

    • failureKubernetesMoveFailurerequired

      Why the move, or its last step, failed; null when nothing failed. message is safe to show.

      Show 2 child fields
      • codestringrequired
      • messagestringrequired
    • optionsobjectrequired
      Show 4 child fields
      • include_secretsbooleanrequired
      • copy_volumesbooleanrequired
      • publish_load_balancersbooleanrequired
      • namespacesarray of stringrequired
    • summaryobjectrequired
      Show 7 child fields
      • objectsintegerrequired
      • refusedintegerrequired
      • skippedintegerrequired
      • flaggedintegerrequired
      • volumesintegerrequired
      • warningsarray of KubernetesMoveFlagrequired
        Show 2 child fields
        • codestringrequired
        • messagestringrequired
      • addonsarray of stringrequired
    • allow_privilegedarray of KubernetesMoveRefrequired
      Show 4 child fields
      • groupstringrequired

        API group; empty for the core API.

      • kindstringrequired
      • namespacestringrequired
      • namestringrequired
    • previewed_atstring or nullrequired
    • preview_okbooleanrequired
    • applied_atstring or nullrequired
    • completed_atstring or nullrequired
    • sync_generationintegerrequired
    • created_atstringrequired
    • updated_atstringrequired
    • resourcesarray of KubernetesMoveResourcerequired
      Show 11 child fields
      • groupstringrequired
      • kindstringrequired
      • namespacestringrequired
      • namestringrequired
      • api_versionstringrequired
      • tierintegerrequired

        Apply order: definitions first, custom resources last.

      • actionstringrequired

        One of create, refused, skipped.

      • flagsarray of KubernetesMoveFlagrequired
        Show 2 child fields
        • codestringrequired
        • messagestringrequired
      • policy_refusedbooleanrequired

        Refused for the cluster policy; name it in allow_privileged on preview to include it anyway.

      • previewKubernetesMoveSteprequired

        The object's outcome in the last preview or apply; null when it has not run.

        Show 3 child fields
        • resultstringrequired

          One of created, configured, unchanged, refused, unverified.

        • codestring or nullrequired
        • messagestring or nullrequired
      • applyKubernetesMoveSteprequired

        The object's outcome in the last preview or apply; null when it has not run.

        Show 3 child fields
        • resultstringrequired

          One of created, configured, unchanged, refused, unverified.

        • codestring or nullrequired
        • messagestring or nullrequired
    • volumesarray of KubernetesMoveVolumerequired
      Show 17 child fields
      • idstringrequired
      • namespacestringrequired
      • claimstringrequired
      • size_bytesintegerrequired
      • source_storage_classstringrequired
      • target_storage_classstringrequired
      • access_modesarray of stringrequired
      • statusstringrequired

        One of pending, copying, synced, failed, unsupported.

      • flagsarray of KubernetesMoveFlagrequired
        Show 2 child fields
        • codestringrequired
        • messagestringrequired
      • generationintegerrequired
      • synced_generationintegerrequired
      • bytes_totalintegerrequired
      • bytes_doneintegerrequired
      • files_totalintegerrequired
      • checksum_verifiedbooleanrequired

        The destination's own read-back matched the source's checksum.

      • synced_atstring or nullrequired
      • failureKubernetesMoveFailurerequired

        Why the move, or its last step, failed; null when nothing failed. message is safe to show.

        Show 2 child fields
        • codestringrequired
        • messagestringrequired
    • imagesarray of KubernetesMoveImagerequired
      Show 2 child fields
      • imagestringrequired
      • flagsarray of KubernetesMoveFlagrequired
        Show 2 child fields
        • codestringrequired
        • messagestringrequired
    • holdsarray of KubernetesMoveHoldrequired
      Show 6 child fields
      • groupstringrequired
      • kindstringrequired
      • namespacestringrequired
      • namestringrequired
      • replicasintegerrequired
      • suspendbooleanrequired

    Errors

    • 401UNAUTHENTICATED: the request has no API key, or the key is mistyped, revoked or expired, or its creator has left the organization. Send Authorization: Bearer PAN_… with a valid key; create one in the console under Organization › API keys.
    • 403INSUFFICIENT_SCOPE: the API key lacks the scope this endpoint needs (read for GET, write for changes; an AI app's key also needs delete for a destructive call). Use a key with that scope, or reconnect the AI app with "Manage and delete" access. FORBIDDEN: the member who created the key may not do this in the organization. Use a key created by an owner or admin. AI_APPS_DISABLED: the organization has turned AI app access off, and this request was made with an AI app's key or sent by Pantech's MCP server (Pantech-Client: mcp/…). An owner can turn it on in the console under Organization › AI apps.
    • 404KUBERNETES_MOVE_NOT_FOUND.
    • 429RATE_LIMITED: this API key, verified user or organization used its request budget for the current window, or this address exceeded an IP/failed-auth limit. Wait Retry-After seconds, then retry. For authenticated quota denials, RateLimit-Scope identifies the denying quota and RateLimit-Reset reports its remaining window in seconds.
    • 503MIGRATE_UNAVAILABLE: Pantech Migrate is not available on this deployment yet. Try again later. SERVICE_UNAVAILABLE: request quota storage is unavailable. Wait a few seconds, then retry.

    Every code is explained in Errors.

    Authorization
    Path
    curl "https://api.pantechdynamics.com/public/v1/kubernetes-moves/kmv_06gk3x9tq7m2v8r4y1c5d0zp8w" \
      -H "Authorization: Bearer $PANTECH_API_KEY"
    Response 200
    {
      "id": "kmv_06gk3x9tq7m2v8r4y1c5d0zp8w",
      "migration_id": "mig_06gk3x9tq7m2v8r4y1c5d0zp8w",
      "item_key": "item-key",
      "connection_id": "ccn_06gk3x9tq7m2v8r4y1c5d0zp8w",
      "cluster_id": "k8s_06gk3x9tq7m2v8r4y1c5d0zp8w",
      "source_name": "source-name",
      "status": "exporting",
      "failure": {
        "code": "starter",
        "message": "message"
      },
      "options": {
        "include_secrets": true,
        "copy_volumes": true,
        "publish_load_balancers": true,
        "namespaces": [
          "namespaces"
        ]
      },
      "summary": {
        "objects": 1,
        "refused": 1,
        "skipped": 1,
        "flagged": 1,
        "volumes": 1,
        "warnings": [
          {
            "code": "starter",
            "message": "message"
          }
        ],
        "addons": [
          "addons"
        ]
      },
      "allow_privileged": [
        {
          "group": "group",
          "kind": "create_instance",
          "namespace": "namespace",
          "name": "web-1"
        }
      ],
      "previewed_at": "2026-10-03T09:30:00Z",
      "preview_ok": true,
      "applied_at": "2026-10-03T09:30:00Z",
      "completed_at": "2026-10-03T09:30:00Z",
      "sync_generation": 1,
      "created_at": "2026-10-03T09:30:00Z",
      "updated_at": "2026-10-03T09:30:00Z",
      "resources": [
        {
          "group": "group",
          "kind": "create_instance",
          "namespace": "namespace",
          "name": "web-1",
          "api_version": "api-version",
          "tier": 1,
          "action": "create",
          "flags": [
            {
              "code": "starter",
              "message": "message"
            }
          ],
          "policy_refused": true,
          "preview": {
            "result": "created",
            "code": "starter",
            "message": "message"
          },
          "apply": {
            "result": "created",
            "code": "starter",
            "message": "message"
          }
        }
      ],
      "volumes": [
        {
          "id": "kmvv_06gk3x9tq7m2v8r4y1c5d0zp8w",
          "namespace": "namespace",
          "claim": "claim",
          "size_bytes": 1610612736,
          "source_storage_class": "source-storage-class",
          "target_storage_class": "target-storage-class",
          "access_modes": [
            "access-modes"
          ],
          "status": "pending",
          "flags": [
            {
              "code": "starter",
              "message": "message"
            }
          ],
          "generation": 1,
          "synced_generation": 1,
          "bytes_total": 1,
          "bytes_done": 1,
          "files_total": 1,
          "checksum_verified": true,
          "synced_at": "2026-10-03T09:30:00Z",
          "failure": {
            "code": "starter",
            "message": "message"
          }
        }
      ],
      "images": [
        {
          "image": "image",
          "flags": [
            {
              "code": "starter",
              "message": "message"
            }
          ]
        }
      ],
      "holds": [
        {
          "group": "group",
          "kind": "create_instance",
          "namespace": "namespace",
          "name": "web-1",
          "replicas": 1,
          "suspend": true
        }
      ]
    }

    Preview a Kubernetes move

    Queues a server-side dry run of every object against the target cluster. The move's namespaces are created (empty, with the cluster policy's labels) so objects inside them can be checked; nothing else is created. allow_privileged names workloads the cluster policy refused that you choose to include anyway. Owners and admins only.

    POST/public/v1/kubernetes-moves/{move_id}/preview
    Write keyNeeds Idempotency-KeyReturns202Accepted

    Headers

    • Authorizationstringrequired

      Bearer and your API key: Bearer PAN_….

    • Idempotency-Keystringrequired

      A new value, such as a UUID, for each change. Resend with the same value to retry safely.

      At most 255 characters.

    Path parameters

    • move_idstringrequired

    Body

    application/json
    • allow_privilegedarray of KubernetesMoveRef
      Show 4 child fields
      • groupstringrequired

        API group; empty for the core API.

      • kindstringrequired
      • namespacestringrequired
      • namestringrequired

    Response 202

    The move.
    • idstringrequired
    • migration_idstringrequired
    • item_keystringrequired
    • connection_idstringrequired
    • cluster_idstringrequired

      The Pantech cluster the move applies to: always one of your organization's.

    • source_namestringrequired
    • statusstringrequired

      One of exporting, ready, previewing, applying, applied, syncing, cutting_over, completed, failed, cancelled.

    • failureKubernetesMoveFailurerequired

      Why the move, or its last step, failed; null when nothing failed. message is safe to show.

      Show 2 child fields
      • codestringrequired
      • messagestringrequired
    • optionsobjectrequired
      Show 4 child fields
      • include_secretsbooleanrequired
      • copy_volumesbooleanrequired
      • publish_load_balancersbooleanrequired
      • namespacesarray of stringrequired
    • summaryobjectrequired
      Show 7 child fields
      • objectsintegerrequired
      • refusedintegerrequired
      • skippedintegerrequired
      • flaggedintegerrequired
      • volumesintegerrequired
      • warningsarray of KubernetesMoveFlagrequired
        Show 2 child fields
        • codestringrequired
        • messagestringrequired
      • addonsarray of stringrequired
    • allow_privilegedarray of KubernetesMoveRefrequired
      Show 4 child fields
      • groupstringrequired

        API group; empty for the core API.

      • kindstringrequired
      • namespacestringrequired
      • namestringrequired
    • previewed_atstring or nullrequired
    • preview_okbooleanrequired
    • applied_atstring or nullrequired
    • completed_atstring or nullrequired
    • sync_generationintegerrequired
    • created_atstringrequired
    • updated_atstringrequired

    Errors

    • 401UNAUTHENTICATED: the request has no API key, or the key is mistyped, revoked or expired, or its creator has left the organization. Send Authorization: Bearer PAN_… with a valid key; create one in the console under Organization › API keys.
    • 403INSUFFICIENT_SCOPE: the API key lacks the scope this endpoint needs (read for GET, write for changes; an AI app's key also needs delete for a destructive call). Use a key with that scope, or reconnect the AI app with "Manage and delete" access. FORBIDDEN: the member who created the key may not do this in the organization. Use a key created by an owner or admin. AI_APPS_DISABLED: the organization has turned AI app access off, and this request was made with an AI app's key or sent by Pantech's MCP server (Pantech-Client: mcp/…). An owner can turn it on in the console under Organization › AI apps.
    • 404KUBERNETES_MOVE_NOT_FOUND.
    • 409KUBERNETES_MOVE_INVALID_STATE, IDEMPOTENCY_CONFLICT.
    • 422VALIDATION_FAILED: allow_privileged names an object the policy did not refuse.
    • 429RATE_LIMITED: this API key, verified user or organization used its request budget for the current window, or this address exceeded an IP/failed-auth limit. Wait Retry-After seconds, then retry. For authenticated quota denials, RateLimit-Scope identifies the denying quota and RateLimit-Reset reports its remaining window in seconds.
    • 503MIGRATE_UNAVAILABLE: Pantech Migrate is not available on this deployment yet. Try again later. SERVICE_UNAVAILABLE: request quota storage is unavailable. Wait a few seconds, then retry.

    Every code is explained in Errors.

    Authorization
    Path
    Body
    Idempotency
    curl -X POST "https://api.pantechdynamics.com/public/v1/kubernetes-moves/kmv_06gk3x9tq7m2v8r4y1c5d0zp8w/preview" \
      -H "Authorization: Bearer $PANTECH_API_KEY" \
      -H "Idempotency-Key: $(uuidgen)" \
      -H "Content-Type: application/json" \
      -d '{}'
    Response 202
    {
      "id": "kmv_06gk3x9tq7m2v8r4y1c5d0zp8w",
      "migration_id": "mig_06gk3x9tq7m2v8r4y1c5d0zp8w",
      "item_key": "item-key",
      "connection_id": "ccn_06gk3x9tq7m2v8r4y1c5d0zp8w",
      "cluster_id": "k8s_06gk3x9tq7m2v8r4y1c5d0zp8w",
      "source_name": "source-name",
      "status": "exporting",
      "failure": {
        "code": "starter",
        "message": "message"
      },
      "options": {
        "include_secrets": true,
        "copy_volumes": true,
        "publish_load_balancers": true,
        "namespaces": [
          "namespaces"
        ]
      },
      "summary": {
        "objects": 1,
        "refused": 1,
        "skipped": 1,
        "flagged": 1,
        "volumes": 1,
        "warnings": [
          {
            "code": "starter",
            "message": "message"
          }
        ],
        "addons": [
          "addons"
        ]
      },
      "allow_privileged": [
        {
          "group": "group",
          "kind": "create_instance",
          "namespace": "namespace",
          "name": "web-1"
        }
      ],
      "previewed_at": "2026-10-03T09:30:00Z",
      "preview_ok": true,
      "applied_at": "2026-10-03T09:30:00Z",
      "completed_at": "2026-10-03T09:30:00Z",
      "sync_generation": 1,
      "created_at": "2026-10-03T09:30:00Z",
      "updated_at": "2026-10-03T09:30:00Z"
    }

    Apply a Kubernetes move

    Queues the apply of what the last successful preview checked, in order: definitions, namespaces, identities, configuration, storage, services, workloads, routing. Workloads that mount a copied volume start scaled down until the cutover. Owners and admins only.

    POST/public/v1/kubernetes-moves/{move_id}/apply
    Write keyNeeds Idempotency-KeyReturns202Accepted

    Headers

    • Authorizationstringrequired

      Bearer and your API key: Bearer PAN_….

    • Idempotency-Keystringrequired

      A new value, such as a UUID, for each change. Resend with the same value to retry safely.

      At most 255 characters.

    Path parameters

    • move_idstringrequired

    Response 202

    The move.
    • idstringrequired
    • migration_idstringrequired
    • item_keystringrequired
    • connection_idstringrequired
    • cluster_idstringrequired

      The Pantech cluster the move applies to: always one of your organization's.

    • source_namestringrequired
    • statusstringrequired

      One of exporting, ready, previewing, applying, applied, syncing, cutting_over, completed, failed, cancelled.

    • failureKubernetesMoveFailurerequired

      Why the move, or its last step, failed; null when nothing failed. message is safe to show.

      Show 2 child fields
      • codestringrequired
      • messagestringrequired
    • optionsobjectrequired
      Show 4 child fields
      • include_secretsbooleanrequired
      • copy_volumesbooleanrequired
      • publish_load_balancersbooleanrequired
      • namespacesarray of stringrequired
    • summaryobjectrequired
      Show 7 child fields
      • objectsintegerrequired
      • refusedintegerrequired
      • skippedintegerrequired
      • flaggedintegerrequired
      • volumesintegerrequired
      • warningsarray of KubernetesMoveFlagrequired
        Show 2 child fields
        • codestringrequired
        • messagestringrequired
      • addonsarray of stringrequired
    • allow_privilegedarray of KubernetesMoveRefrequired
      Show 4 child fields
      • groupstringrequired

        API group; empty for the core API.

      • kindstringrequired
      • namespacestringrequired
      • namestringrequired
    • previewed_atstring or nullrequired
    • preview_okbooleanrequired
    • applied_atstring or nullrequired
    • completed_atstring or nullrequired
    • sync_generationintegerrequired
    • created_atstringrequired
    • updated_atstringrequired

    Errors

    • 401UNAUTHENTICATED: the request has no API key, or the key is mistyped, revoked or expired, or its creator has left the organization. Send Authorization: Bearer PAN_… with a valid key; create one in the console under Organization › API keys.
    • 403INSUFFICIENT_SCOPE: the API key lacks the scope this endpoint needs (read for GET, write for changes; an AI app's key also needs delete for a destructive call). Use a key with that scope, or reconnect the AI app with "Manage and delete" access. FORBIDDEN: the member who created the key may not do this in the organization. Use a key created by an owner or admin. AI_APPS_DISABLED: the organization has turned AI app access off, and this request was made with an AI app's key or sent by Pantech's MCP server (Pantech-Client: mcp/…). An owner can turn it on in the console under Organization › AI apps.
    • 404KUBERNETES_MOVE_NOT_FOUND.
    • 409KUBERNETES_MOVE_PREVIEW_REQUIRED, KUBERNETES_MOVE_PREVIEW_FAILED, KUBERNETES_MOVE_INVALID_STATE, IDEMPOTENCY_CONFLICT.
    • 429RATE_LIMITED: this API key, verified user or organization used its request budget for the current window, or this address exceeded an IP/failed-auth limit. Wait Retry-After seconds, then retry. For authenticated quota denials, RateLimit-Scope identifies the denying quota and RateLimit-Reset reports its remaining window in seconds.
    • 503MIGRATE_UNAVAILABLE: Pantech Migrate is not available on this deployment yet. Try again later. SERVICE_UNAVAILABLE: request quota storage is unavailable. Wait a few seconds, then retry.

    Every code is explained in Errors.

    Authorization
    Path
    Idempotency
    curl -X POST "https://api.pantechdynamics.com/public/v1/kubernetes-moves/kmv_06gk3x9tq7m2v8r4y1c5d0zp8w/apply" \
      -H "Authorization: Bearer $PANTECH_API_KEY" \
      -H "Idempotency-Key: $(uuidgen)"
    Response 202
    {
      "id": "kmv_06gk3x9tq7m2v8r4y1c5d0zp8w",
      "migration_id": "mig_06gk3x9tq7m2v8r4y1c5d0zp8w",
      "item_key": "item-key",
      "connection_id": "ccn_06gk3x9tq7m2v8r4y1c5d0zp8w",
      "cluster_id": "k8s_06gk3x9tq7m2v8r4y1c5d0zp8w",
      "source_name": "source-name",
      "status": "exporting",
      "failure": {
        "code": "starter",
        "message": "message"
      },
      "options": {
        "include_secrets": true,
        "copy_volumes": true,
        "publish_load_balancers": true,
        "namespaces": [
          "namespaces"
        ]
      },
      "summary": {
        "objects": 1,
        "refused": 1,
        "skipped": 1,
        "flagged": 1,
        "volumes": 1,
        "warnings": [
          {
            "code": "starter",
            "message": "message"
          }
        ],
        "addons": [
          "addons"
        ]
      },
      "allow_privileged": [
        {
          "group": "group",
          "kind": "create_instance",
          "namespace": "namespace",
          "name": "web-1"
        }
      ],
      "previewed_at": "2026-10-03T09:30:00Z",
      "preview_ok": true,
      "applied_at": "2026-10-03T09:30:00Z",
      "completed_at": "2026-10-03T09:30:00Z",
      "sync_generation": 1,
      "created_at": "2026-10-03T09:30:00Z",
      "updated_at": "2026-10-03T09:30:00Z"
    }

    Copy volumes again

    Queues the next copy of every volume. Only what changed since the last copy is sent; each copy is verified by reading it back. Owners and admins only.

    POST/public/v1/kubernetes-moves/{move_id}/sync-volumes
    Write keyNeeds Idempotency-KeyReturns202Accepted

    Headers

    • Authorizationstringrequired

      Bearer and your API key: Bearer PAN_….

    • Idempotency-Keystringrequired

      A new value, such as a UUID, for each change. Resend with the same value to retry safely.

      At most 255 characters.

    Path parameters

    • move_idstringrequired

    Response 202

    The move.
    • idstringrequired
    • migration_idstringrequired
    • item_keystringrequired
    • connection_idstringrequired
    • cluster_idstringrequired

      The Pantech cluster the move applies to: always one of your organization's.

    • source_namestringrequired
    • statusstringrequired

      One of exporting, ready, previewing, applying, applied, syncing, cutting_over, completed, failed, cancelled.

    • failureKubernetesMoveFailurerequired

      Why the move, or its last step, failed; null when nothing failed. message is safe to show.

      Show 2 child fields
      • codestringrequired
      • messagestringrequired
    • optionsobjectrequired
      Show 4 child fields
      • include_secretsbooleanrequired
      • copy_volumesbooleanrequired
      • publish_load_balancersbooleanrequired
      • namespacesarray of stringrequired
    • summaryobjectrequired
      Show 7 child fields
      • objectsintegerrequired
      • refusedintegerrequired
      • skippedintegerrequired
      • flaggedintegerrequired
      • volumesintegerrequired
      • warningsarray of KubernetesMoveFlagrequired
        Show 2 child fields
        • codestringrequired
        • messagestringrequired
      • addonsarray of stringrequired
    • allow_privilegedarray of KubernetesMoveRefrequired
      Show 4 child fields
      • groupstringrequired

        API group; empty for the core API.

      • kindstringrequired
      • namespacestringrequired
      • namestringrequired
    • previewed_atstring or nullrequired
    • preview_okbooleanrequired
    • applied_atstring or nullrequired
    • completed_atstring or nullrequired
    • sync_generationintegerrequired
    • created_atstringrequired
    • updated_atstringrequired

    Errors

    • 401UNAUTHENTICATED: the request has no API key, or the key is mistyped, revoked or expired, or its creator has left the organization. Send Authorization: Bearer PAN_… with a valid key; create one in the console under Organization › API keys.
    • 403INSUFFICIENT_SCOPE: the API key lacks the scope this endpoint needs (read for GET, write for changes; an AI app's key also needs delete for a destructive call). Use a key with that scope, or reconnect the AI app with "Manage and delete" access. FORBIDDEN: the member who created the key may not do this in the organization. Use a key created by an owner or admin. AI_APPS_DISABLED: the organization has turned AI app access off, and this request was made with an AI app's key or sent by Pantech's MCP server (Pantech-Client: mcp/…). An owner can turn it on in the console under Organization › AI apps.
    • 404KUBERNETES_MOVE_NOT_FOUND.
    • 409KUBERNETES_MOVE_INVALID_STATE, IDEMPOTENCY_CONFLICT.
    • 429RATE_LIMITED: this API key, verified user or organization used its request budget for the current window, or this address exceeded an IP/failed-auth limit. Wait Retry-After seconds, then retry. For authenticated quota denials, RateLimit-Scope identifies the denying quota and RateLimit-Reset reports its remaining window in seconds.
    • 503MIGRATE_UNAVAILABLE: Pantech Migrate is not available on this deployment yet. Try again later. SERVICE_UNAVAILABLE: request quota storage is unavailable. Wait a few seconds, then retry. VOLUME_COPY_UNAVAILABLE: copying volume data is not available on this deployment.

    Every code is explained in Errors.

    Authorization
    Path
    Idempotency
    curl -X POST "https://api.pantechdynamics.com/public/v1/kubernetes-moves/kmv_06gk3x9tq7m2v8r4y1c5d0zp8w/sync-volumes" \
      -H "Authorization: Bearer $PANTECH_API_KEY" \
      -H "Idempotency-Key: $(uuidgen)"
    Response 202
    {
      "id": "kmv_06gk3x9tq7m2v8r4y1c5d0zp8w",
      "migration_id": "mig_06gk3x9tq7m2v8r4y1c5d0zp8w",
      "item_key": "item-key",
      "connection_id": "ccn_06gk3x9tq7m2v8r4y1c5d0zp8w",
      "cluster_id": "k8s_06gk3x9tq7m2v8r4y1c5d0zp8w",
      "source_name": "source-name",
      "status": "exporting",
      "failure": {
        "code": "starter",
        "message": "message"
      },
      "options": {
        "include_secrets": true,
        "copy_volumes": true,
        "publish_load_balancers": true,
        "namespaces": [
          "namespaces"
        ]
      },
      "summary": {
        "objects": 1,
        "refused": 1,
        "skipped": 1,
        "flagged": 1,
        "volumes": 1,
        "warnings": [
          {
            "code": "starter",
            "message": "message"
          }
        ],
        "addons": [
          "addons"
        ]
      },
      "allow_privileged": [
        {
          "group": "group",
          "kind": "create_instance",
          "namespace": "namespace",
          "name": "web-1"
        }
      ],
      "previewed_at": "2026-10-03T09:30:00Z",
      "preview_ok": true,
      "applied_at": "2026-10-03T09:30:00Z",
      "completed_at": "2026-10-03T09:30:00Z",
      "sync_generation": 1,
      "created_at": "2026-10-03T09:30:00Z",
      "updated_at": "2026-10-03T09:30:00Z"
    }

    Cut over a Kubernetes move

    Once writes on the source have stopped (source_writes_stopped: true), takes the final copy of every volume, then scales the held workloads up to their source replicas. Owners and admins only.

    POST/public/v1/kubernetes-moves/{move_id}/cutover
    Write keyNeeds Idempotency-KeyReturns202Accepted

    Headers

    • Authorizationstringrequired

      Bearer and your API key: Bearer PAN_….

    • Idempotency-Keystringrequired

      A new value, such as a UUID, for each change. Resend with the same value to retry safely.

      At most 255 characters.

    Path parameters

    • move_idstringrequired

    Body

    application/json
    • source_writes_stoppedbooleanrequired

    Response 202

    The move.
    • idstringrequired
    • migration_idstringrequired
    • item_keystringrequired
    • connection_idstringrequired
    • cluster_idstringrequired

      The Pantech cluster the move applies to: always one of your organization's.

    • source_namestringrequired
    • statusstringrequired

      One of exporting, ready, previewing, applying, applied, syncing, cutting_over, completed, failed, cancelled.

    • failureKubernetesMoveFailurerequired

      Why the move, or its last step, failed; null when nothing failed. message is safe to show.

      Show 2 child fields
      • codestringrequired
      • messagestringrequired
    • optionsobjectrequired
      Show 4 child fields
      • include_secretsbooleanrequired
      • copy_volumesbooleanrequired
      • publish_load_balancersbooleanrequired
      • namespacesarray of stringrequired
    • summaryobjectrequired
      Show 7 child fields
      • objectsintegerrequired
      • refusedintegerrequired
      • skippedintegerrequired
      • flaggedintegerrequired
      • volumesintegerrequired
      • warningsarray of KubernetesMoveFlagrequired
        Show 2 child fields
        • codestringrequired
        • messagestringrequired
      • addonsarray of stringrequired
    • allow_privilegedarray of KubernetesMoveRefrequired
      Show 4 child fields
      • groupstringrequired

        API group; empty for the core API.

      • kindstringrequired
      • namespacestringrequired
      • namestringrequired
    • previewed_atstring or nullrequired
    • preview_okbooleanrequired
    • applied_atstring or nullrequired
    • completed_atstring or nullrequired
    • sync_generationintegerrequired
    • created_atstringrequired
    • updated_atstringrequired

    Errors

    • 401UNAUTHENTICATED: the request has no API key, or the key is mistyped, revoked or expired, or its creator has left the organization. Send Authorization: Bearer PAN_… with a valid key; create one in the console under Organization › API keys.
    • 403INSUFFICIENT_SCOPE: the API key lacks the scope this endpoint needs (read for GET, write for changes; an AI app's key also needs delete for a destructive call). Use a key with that scope, or reconnect the AI app with "Manage and delete" access. FORBIDDEN: the member who created the key may not do this in the organization. Use a key created by an owner or admin. AI_APPS_DISABLED: the organization has turned AI app access off, and this request was made with an AI app's key or sent by Pantech's MCP server (Pantech-Client: mcp/…). An owner can turn it on in the console under Organization › AI apps.
    • 404KUBERNETES_MOVE_NOT_FOUND.
    • 409KUBERNETES_MOVE_VOLUMES_NOT_SYNCED, KUBERNETES_MOVE_INVALID_STATE, IDEMPOTENCY_CONFLICT.
    • 422VALIDATION_FAILED: source_writes_stopped must be true.
    • 429RATE_LIMITED: this API key, verified user or organization used its request budget for the current window, or this address exceeded an IP/failed-auth limit. Wait Retry-After seconds, then retry. For authenticated quota denials, RateLimit-Scope identifies the denying quota and RateLimit-Reset reports its remaining window in seconds.
    • 503MIGRATE_UNAVAILABLE: Pantech Migrate is not available on this deployment yet. Try again later. SERVICE_UNAVAILABLE: request quota storage is unavailable. Wait a few seconds, then retry.

    Every code is explained in Errors.

    Authorization
    Path
    Body
    Idempotency
    curl -X POST "https://api.pantechdynamics.com/public/v1/kubernetes-moves/kmv_06gk3x9tq7m2v8r4y1c5d0zp8w/cutover" \
      -H "Authorization: Bearer $PANTECH_API_KEY" \
      -H "Idempotency-Key: $(uuidgen)" \
      -H "Content-Type: application/json" \
      -d '{
        "source_writes_stopped": true
      }'
    Response 202
    {
      "id": "kmv_06gk3x9tq7m2v8r4y1c5d0zp8w",
      "migration_id": "mig_06gk3x9tq7m2v8r4y1c5d0zp8w",
      "item_key": "item-key",
      "connection_id": "ccn_06gk3x9tq7m2v8r4y1c5d0zp8w",
      "cluster_id": "k8s_06gk3x9tq7m2v8r4y1c5d0zp8w",
      "source_name": "source-name",
      "status": "exporting",
      "failure": {
        "code": "starter",
        "message": "message"
      },
      "options": {
        "include_secrets": true,
        "copy_volumes": true,
        "publish_load_balancers": true,
        "namespaces": [
          "namespaces"
        ]
      },
      "summary": {
        "objects": 1,
        "refused": 1,
        "skipped": 1,
        "flagged": 1,
        "volumes": 1,
        "warnings": [
          {
            "code": "starter",
            "message": "message"
          }
        ],
        "addons": [
          "addons"
        ]
      },
      "allow_privileged": [
        {
          "group": "group",
          "kind": "create_instance",
          "namespace": "namespace",
          "name": "web-1"
        }
      ],
      "previewed_at": "2026-10-03T09:30:00Z",
      "preview_ok": true,
      "applied_at": "2026-10-03T09:30:00Z",
      "completed_at": "2026-10-03T09:30:00Z",
      "sync_generation": 1,
      "created_at": "2026-10-03T09:30:00Z",
      "updated_at": "2026-10-03T09:30:00Z"
    }

    Cancel a Kubernetes move

    Stops the move, removes its copy pods on both clusters, its staged data and its export. Objects already applied to your Pantech cluster stay. Owners and admins only.

    POST/public/v1/kubernetes-moves/{move_id}/cancel
    Write keyNeeds Idempotency-KeyReturns202Accepted

    Headers

    • Authorizationstringrequired

      Bearer and your API key: Bearer PAN_….

    • Idempotency-Keystringrequired

      A new value, such as a UUID, for each change. Resend with the same value to retry safely.

      At most 255 characters.

    Path parameters

    • move_idstringrequired

    Response 202

    The move.
    • idstringrequired
    • migration_idstringrequired
    • item_keystringrequired
    • connection_idstringrequired
    • cluster_idstringrequired

      The Pantech cluster the move applies to: always one of your organization's.

    • source_namestringrequired
    • statusstringrequired

      One of exporting, ready, previewing, applying, applied, syncing, cutting_over, completed, failed, cancelled.

    • failureKubernetesMoveFailurerequired

      Why the move, or its last step, failed; null when nothing failed. message is safe to show.

      Show 2 child fields
      • codestringrequired
      • messagestringrequired
    • optionsobjectrequired
      Show 4 child fields
      • include_secretsbooleanrequired
      • copy_volumesbooleanrequired
      • publish_load_balancersbooleanrequired
      • namespacesarray of stringrequired
    • summaryobjectrequired
      Show 7 child fields
      • objectsintegerrequired
      • refusedintegerrequired
      • skippedintegerrequired
      • flaggedintegerrequired
      • volumesintegerrequired
      • warningsarray of KubernetesMoveFlagrequired
        Show 2 child fields
        • codestringrequired
        • messagestringrequired
      • addonsarray of stringrequired
    • allow_privilegedarray of KubernetesMoveRefrequired
      Show 4 child fields
      • groupstringrequired

        API group; empty for the core API.

      • kindstringrequired
      • namespacestringrequired
      • namestringrequired
    • previewed_atstring or nullrequired
    • preview_okbooleanrequired
    • applied_atstring or nullrequired
    • completed_atstring or nullrequired
    • sync_generationintegerrequired
    • created_atstringrequired
    • updated_atstringrequired

    Errors

    • 401UNAUTHENTICATED: the request has no API key, or the key is mistyped, revoked or expired, or its creator has left the organization. Send Authorization: Bearer PAN_… with a valid key; create one in the console under Organization › API keys.
    • 403INSUFFICIENT_SCOPE: the API key lacks the scope this endpoint needs (read for GET, write for changes; an AI app's key also needs delete for a destructive call). Use a key with that scope, or reconnect the AI app with "Manage and delete" access. FORBIDDEN: the member who created the key may not do this in the organization. Use a key created by an owner or admin. AI_APPS_DISABLED: the organization has turned AI app access off, and this request was made with an AI app's key or sent by Pantech's MCP server (Pantech-Client: mcp/…). An owner can turn it on in the console under Organization › AI apps.
    • 404KUBERNETES_MOVE_NOT_FOUND.
    • 409KUBERNETES_MOVE_INVALID_STATE, IDEMPOTENCY_CONFLICT.
    • 429RATE_LIMITED: this API key, verified user or organization used its request budget for the current window, or this address exceeded an IP/failed-auth limit. Wait Retry-After seconds, then retry. For authenticated quota denials, RateLimit-Scope identifies the denying quota and RateLimit-Reset reports its remaining window in seconds.
    • 503MIGRATE_UNAVAILABLE: Pantech Migrate is not available on this deployment yet. Try again later. SERVICE_UNAVAILABLE: request quota storage is unavailable. Wait a few seconds, then retry.

    Every code is explained in Errors.

    Authorization
    Path
    Idempotency
    curl -X POST "https://api.pantechdynamics.com/public/v1/kubernetes-moves/kmv_06gk3x9tq7m2v8r4y1c5d0zp8w/cancel" \
      -H "Authorization: Bearer $PANTECH_API_KEY" \
      -H "Idempotency-Key: $(uuidgen)"
    Response 202
    {
      "id": "kmv_06gk3x9tq7m2v8r4y1c5d0zp8w",
      "migration_id": "mig_06gk3x9tq7m2v8r4y1c5d0zp8w",
      "item_key": "item-key",
      "connection_id": "ccn_06gk3x9tq7m2v8r4y1c5d0zp8w",
      "cluster_id": "k8s_06gk3x9tq7m2v8r4y1c5d0zp8w",
      "source_name": "source-name",
      "status": "exporting",
      "failure": {
        "code": "starter",
        "message": "message"
      },
      "options": {
        "include_secrets": true,
        "copy_volumes": true,
        "publish_load_balancers": true,
        "namespaces": [
          "namespaces"
        ]
      },
      "summary": {
        "objects": 1,
        "refused": 1,
        "skipped": 1,
        "flagged": 1,
        "volumes": 1,
        "warnings": [
          {
            "code": "starter",
            "message": "message"
          }
        ],
        "addons": [
          "addons"
        ]
      },
      "allow_privileged": [
        {
          "group": "group",
          "kind": "create_instance",
          "namespace": "namespace",
          "name": "web-1"
        }
      ],
      "previewed_at": "2026-10-03T09:30:00Z",
      "preview_ok": true,
      "applied_at": "2026-10-03T09:30:00Z",
      "completed_at": "2026-10-03T09:30:00Z",
      "sync_generation": 1,
      "created_at": "2026-10-03T09:30:00Z",
      "updated_at": "2026-10-03T09:30:00Z"
    }

    Download the moved manifests

    The transformed manifests as one YAML file, for GitOps. Secret values are never included: the file lists the Secrets the move carries by name.

    GET/public/v1/kubernetes-moves/{move_id}/manifests
    Read keyReturns200OK

    Headers

    • Authorizationstringrequired

      Bearer and your API key: Bearer PAN_….

    Path parameters

    • move_idstringrequired

    Response 200

    OK. No body.

    Errors

    • 401UNAUTHENTICATED: the request has no API key, or the key is mistyped, revoked or expired, or its creator has left the organization. Send Authorization: Bearer PAN_… with a valid key; create one in the console under Organization › API keys.
    • 403INSUFFICIENT_SCOPE: the API key lacks the scope this endpoint needs (read for GET, write for changes; an AI app's key also needs delete for a destructive call). Use a key with that scope, or reconnect the AI app with "Manage and delete" access. FORBIDDEN: the member who created the key may not do this in the organization. Use a key created by an owner or admin. AI_APPS_DISABLED: the organization has turned AI app access off, and this request was made with an AI app's key or sent by Pantech's MCP server (Pantech-Client: mcp/…). An owner can turn it on in the console under Organization › AI apps.
    • 404KUBERNETES_MOVE_NOT_FOUND, KUBERNETES_MOVE_MANIFESTS_NOT_READY.
    • 429RATE_LIMITED: this API key, verified user or organization used its request budget for the current window, or this address exceeded an IP/failed-auth limit. Wait Retry-After seconds, then retry. For authenticated quota denials, RateLimit-Scope identifies the denying quota and RateLimit-Reset reports its remaining window in seconds.
    • 503MIGRATE_UNAVAILABLE: Pantech Migrate is not available on this deployment yet. Try again later. SERVICE_UNAVAILABLE: request quota storage is unavailable. Wait a few seconds, then retry.

    Every code is explained in Errors.

    Authorization
    Path
    curl "https://api.pantechdynamics.com/public/v1/kubernetes-moves/kmv_06gk3x9tq7m2v8r4y1c5d0zp8w/manifests" \
      -H "Authorization: Bearer $PANTECH_API_KEY"
    HTTP/1.1 200

    Was this page helpful?

    Updated