> ## 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.

# Re-run face clustering

> Re-runs clustering on existing face detections with new parameters.
Runs asynchronously — returns a task_id for progress tracking.




## OpenAPI

````yaml /api-reference/openapi-v1.yaml post /faces/recluster
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/recluster:
    post:
      tags:
        - Face Clustering
      summary: Re-run face clustering
      description: |
        Re-runs clustering on existing face detections with new parameters.
        Runs asynchronously — returns a task_id for progress tracking.
      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
                eps:
                  type: number
                  default: 0.48
                  description: Clustering sensitivity (lower = stricter grouping)
                min_samples:
                  type: integer
                  default: 5
                  description: Minimum faces needed to form a cluster
                auto_detect_params:
                  type: boolean
                  default: false
                  description: Auto-tune eps and min_samples
                clear_names:
                  type: boolean
                  default: false
                  description: Clear all existing cluster names
      responses:
        '202':
          description: Re-clustering started
          content:
            application/json:
              schema:
                type: object
                properties:
                  message:
                    type: string
                  task_id:
                    type: string
components:
  securitySchemes:
    HeaderAuth:
      type: apiKey
      in: header
      name: X-License-Key
      description: Jumper Pro license key passed via header

````