GET
/
segmentations
/
{segmentation_id}
Get a specific segmentation
curl --request GET \
  --url https://api.cloudglue.dev/v1/segmentations/{segmentation_id} \
  --header 'Authorization: Bearer <token>'
{
  "segmentation_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
  "status": "pending",
  "created_at": 1,
  "file_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
  "segmentation_config": {
    "strategy": "uniform",
    "uniform_config": {
      "window_seconds": 31,
      "hop_seconds": 30.5
    },
    "shot_detector_config": {
      "threshold": 1,
      "min_seconds": 31,
      "max_seconds": 31,
      "detector": "adaptive"
    },
    "start_time_seconds": 1,
    "end_time_seconds": 1
  },
  "total_segments": 1,
  "data": {
    "object": "list",
    "segments": [
      {
        "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
        "start_time": 123,
        "end_time": 123
      }
    ],
    "total": 123,
    "limit": 123,
    "offset": 123
  }
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

segmentation_id
string<uuid>
required

The ID of the segmentation to retrieve

Query Parameters

limit
integer
default:10

Number of segments to return

Required range: 1 <= x <= 100
offset
integer
default:0

Offset from the start of the segments list

Required range: x >= 0

Response

200
application/json

Segmentation details

The response is of type object.