Skip to content

List videos ​

GET https://api.fastapi.ai/v1/videos

List recently generated videos for the current project.

Query parameters ​


after string Optional
Identifier for the last item from the previous pagination request


limit integer Optional
Number of items to retrieve


order string Optional
Sort order of results by timestamp. Use asc for ascending order or desc for descending order.

Returns ​


Returns a paginated list of video jobs for the organization.

Example ​

Request ​

bash
curl https://api.fastapi.ai/v1/videos \
  -H "Authorization: Bearer $FAST_API_KEY"

Response ​

bash
{
  "data": [
    {
      "id": "video_123",
      "object": "video",
      "model": "sora-2",
      "status": "completed"
    }
  ],
  "object": "list"
}

智元 Fast API