> ## Documentation Index
> Fetch the complete documentation index at: https://docs.getjumper.io/llms.txt
> Use this file to discover all available pages before exploring further.

# Merge or move faces between clusters

> Merge entire clusters together, or move individual faces between clusters.
Useful for correcting clustering mistakes.




## OpenAPI

````yaml /api-reference/openapi-v1.yaml post /faces/clusters/modify
openapi: 3.0.3
info:
  title: Jumper Public API
  version: '1.0'
  description: >
    REST API for third-party integrations with Jumper's media analysis engine.


    Jumper analyzes video, image, and audio files — enabling semantic visual
    search,

    speech transcription, and face detection with clustering.

    This API exposes those capabilities for use by MAM systems, automation
    pipelines,

    and custom tooling.


    ## Authentication


    All endpoints except `/health` require a **Jumper Pro** license key.

    The OpenAPI contract models the supported `X-License-Key` header flow.


    Jumper also accepts a `license_key` field in many JSON POST bodies as a

    convenience, but that is a Jumper-specific request-body convention rather

    than an OpenAPI security scheme.


    Invalid or missing keys return `401`. Non-Pro keys return `403`.


    ## Key Concepts


    - **`cache_dir`** — The folder where Jumper stores analysis data (visual
    analysis, transcriptions, face clusters). You choose this path.

    - **`media_paths`** — Absolute filesystem paths to media files. Jumper needs
    direct access to these files.

    - **`hash_str`** — A CRC32-based hash that uniquely identifies a media file.
    Returned by the metadata endpoint.

    - **`model_key`** — Internal identifier for a visual or speech analysis
    model variant (e.g. `v2-medium-256`).
  contact:
    name: Jumper
    url: https://getjumper.io
servers:
  - url: http://localhost:6699/api/v1
    description: Local Jumper backend
security:
  - HeaderAuth: []
paths:
  /faces/clusters/modify:
    post:
      tags:
        - Face Clustering
      summary: Merge or move faces between clusters
      description: >
        Merge entire clusters together, or move individual faces between
        clusters.

        Useful for correcting clustering mistakes.
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              required:
                - cache_dir
                - cluster_job_name
              properties:
                cache_dir:
                  type: string
                cluster_job_name:
                  type: string
                merges:
                  type: array
                  items:
                    type: object
                    properties:
                      cluster_ids:
                        type: array
                        items:
                          type: string
                        description: Clusters to merge
                      target_cluster_id:
                        type: string
                        description: Which cluster to merge into
                  description: Cluster merge operations
                moves:
                  type: array
                  items:
                    type: object
                  description: Individual face move operations
      responses:
        '200':
          description: Modification summary
          content:
            application/json:
              schema:
                type: object
components:
  securitySchemes:
    HeaderAuth:
      type: apiKey
      in: header
      name: X-License-Key
      description: Jumper Pro license key passed via header

````