cURL
curl --request GET \ --url https://api.usemoonshine.com/indexes
[ { "index_id": "<string>", "name": "<string>", "count": 123, "created": "2023-11-07T05:31:56Z", "total_duration": 123, "deleted": true } ]
Returns indexes for a given user ID, with option to include deleted items
The user ID to fetch media groups for
When set to 'true', includes deleted media groups
true
false
Media groups response
Unique identifier for the media index
Name of the media index
Number of videos in the index
Creation timestamp
Total duration of all videos in seconds
Whether the index is deleted