Sample - OpenAI API
GET/videosDeprecated

List videos

List recently generated videos for the current project.

  • RetriesRetries up to 2×, 500ms backoff, 30s timeout.

3 parameters
limitintegeroptional
Number of items to retrieve
orderstringoptional
Sort order of results by timestamp. Use `asc` for ascending order or `desc` for descending order.
Allowed:ascdesc
afterstringoptional
Identifier for the last item from the previous pagination request

1 status code
200Success
objectstringrequired
The type of object returned, must be `list`.
Allowed:listDefault:list
dataarray<VideoJob>required
A list of items
first_idstringrequired
The ID of the first item in the list.
last_idstringrequired
The ID of the last item in the list.
has_morebooleanrequired
Whether there are more items available.