---
title: "Auto-infer video-thumbnail groupings"
method: POST
path: "/v2/uploads/sessions/{upload_session_id}/infer-groupings"
tags: ["v2 - Upload Sessions"]
---

# Auto-infer video-thumbnail groupings

`POST /v2/uploads/sessions/{upload_session_id}/infer-groupings`

## Request

- Base URL: `https://api.jubjubapp.com` (the document declares no server; this is the origin it was published from)
- URL: `https://api.jubjubapp.com/v2/uploads/sessions/{upload_session_id}/infer-groupings`
- Auth: HTTP bearer

Session-token authenticated. Runs heuristic pairing on uploaded assets.

## Path parameters

- `upload_session_id` string, required

## Query parameters

- `token` string, nullable

## Headers

- `x-upload-token` string, nullable

## Response `200`

Successful Response

- InferGroupingsResponse: Response after auto-grouping inference.
  - `groupings` GroupingResponse[], required
    - `grouping_id` string, required
    - `video_media_id` string, required
    - `thumbnail_media_id` string, nullable
    - `title` string, nullable
    - `status` string, required
    - `confidence` number, required
    - `notes` string, nullable
  - `clarification` ClarificationResponse, required: Clarification state.
    - `required` boolean, required
    - `message` string, nullable
    - `options` object[], nullable

## Other responses

- `422`: Validation Error

---

[API](https://skmtc.dev/jubjubapp/apis/jubjub-api.md) - [All operations](https://skmtc.dev/jubjubapp/apis/jubjub-api/llms.txt) - [OpenAPI document](https://skmtc.dev/jubjubapp/apis/jubjub-api/revisions/353157b296f2?raw)
