GET
/
v1
/
videos
Note: This operation does not consume any account credits, but rate limits apply.

Retrieve All Videos

This endpoint retrieves all successful video generation logs with video URLs for the authenticated user.

Request

  • Endpoint: GET /v1/videos
  • Authorization: Bearer token required

Response

A successful response will return an array of video logs.

Example Response

{
   "status": "success",
   "message": "Videos retrieved successfully",
   "videos": [
      {
         "id": "xxxxxxxxxxxxxxxxxxxxxxxx",
         "videoUrl": "https://cdn.videnly.com/videos/sample-video.mp4",
         "projectId": "project123",
         "createdAt": "2024-11-07T14:23:45.213Z"
      },
      {
         "id": "xxxxxxxxxxxxxxxxxxxxxxxx",
         "videoUrl": "https://cdn.videnly.com/videos/another-video.mp4",
         "projectId": "project456",
         "createdAt": "2024-11-08T10:45:30.213Z"
      }
   ]
}

If there are no videos for the user, the response will be:

{
   "status": "success",
   "message": "No videos found for this user",
   "videos": []
}

Authorizations

Authorization
string
headerrequired

Use format Bearer YOUR_API_KEY.

Response

200 - application/json
status
string
message
string
videos
object[]