Video Group Management
For chat over text, images and short videos, use the OpenAI-compatible Chat Completions API.
Video groups cluster related uploads, for example by end customer, internal application or industry vertical, so you can scope search and listings to one group.
Create a video group
POST /v2/video-groups
Bash
Python
Parameters
name(required): Display name for the group.metadata(optional): Free-form JSON object for tags or integration IDs.
Response
Get a video group
GET /v2/video-groups/{group_id}
Bash
Python
The response has the same shape as the create response.
List video groups
GET /v2/video-groups
Bash
Python
Response
Update a video group
PATCH /v2/video-groups/{group_id} changes the group’s name, metadata, or both.
Bash
Python
Parameters
name(optional): New display name.metadata(optional): Replacement metadata object. Send the full object you want stored.
The response is the updated group.
Delete a video group
DELETE /v2/video-groups/{group_id}
Bash
Python
Response
List videos in a group
GET /v2/video-groups/{group_id}/videos lists the videos in one group. Pass default as the group_id to list videos that are not in any custom group.
Bash
Python
The response is a results array of videos, the same shape that List Videos returns.
Move videos to a group
POST /v2/video-groups/{group_id}/videos moves existing videos into the destination group. To move a single video you can also update the video with a new group_id.