GET
/
indexes
curl --request GET \
  --url https://moonshine-edge-compute.com/indexes
[
  {
    "index_id": "<string>",
    "name": "<string>",
    "count": 123,
    "created": "2023-11-07T05:31:56Z",
    "total_duration": 123,
    "deleted": true
  }
]

Query Parameters

userid
string
required

The user ID to fetch media groups for

deleted
enum<string>

When set to 'true', includes deleted media groups

Available options:
true,
false

Response

200
application/json
Media groups response
index_id
string

Unique identifier for the media index

name
string

Name of the media index

count
integer

Number of videos in the index

created
string

Creation timestamp

total_duration
integer

Total duration of all videos in seconds

deleted
boolean

Whether the index is deleted