apicheats.dev openai/llms.txt Raw .md
GET

GET /videos — OpenAI API

Deprecated

OpenAI API key (required); https://api.openai.com/v1

OpenAI API

List videos

Base URL
https://api.openai.com/v1
Auth
Authorization: Bearer <OPENAI_API_KEY>
Last verified
2026-10-20 · upstream hash matched
Actions Try in browser→
Agents: curl -H "Accept: text/markdown" this URL
→ 218 tokens · Vary: Accept

Critical gotchas

The Responses API is the primary interface for new text and tool workflows; Chat Completions remains a separate compatibility API.

Audio transcription uploads use multipart form data rather than a JSON request body.

cURL

curl -X GET 'https://api.openai.com/v1/videos?limit=10&order=asc&after=example-after' \  -H "Authorization: Bearer $OPENAI_API_KEY"

Parameters

Name In Type Required Description
limit query integer No Number of items to retrieve
order query string No Sort order of results by timestamp. Use `asc` for ascending order or `desc` for descending order.
after query string No Identifier for the last item from the previous pagination request

Response 200 OK

{
  "object": "list",
  "data": [
    {
      "id": "string",
      "object": "video",
      "model": "string",
      "status": "queued",
      "progress": 0,
      "created_at": 0,
      "completed_at": 0,
      "expires_at": 0,
      "prompt": "string",
      "size": "720x1280",
      "seconds": "string",
      "remixed_from_video_id": "string",
      "error": {
        "code": "string",
        "type": "string",
        "param": "string",
        "message": "string",
        "headers": {},
        "misalignment": {
          "review_target": "string",
          "error_type": "string",
          "detailed_explanation": "string",
          "steer": {
            "message": "[recursive or deeply nested schema]"
          }
        }
      }
    }
  ],
  "first_id": "string",
  "last_id": "string",
  "has_more": true
}
Get a free OpenAI API key → sponsored

Affiliate link - we may earn a commission, at no extra cost to you.