{
  "openapi": "3.1.0",
  "info": {
    "title": "VideoConduit API",
    "version": "1.0.0",
    "description": ""
  },
  "paths": {
    "/api/health": {
      "get": {
        "operationId": "apps_api_endpoints_health_health_check",
        "summary": "Health Check",
        "parameters": [],
        "responses": {
          "200": {
            "description": "OK"
          }
        },
        "description": "Lightweight health check. Verifies database connectivity and pool status.",
        "tags": [
          "Health"
        ]
      }
    },
    "/api/health/workers": {
      "get": {
        "operationId": "apps_api_endpoints_health_worker_health",
        "summary": "Worker Health",
        "parameters": [],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/WorkerHealthResponse"
                }
              }
            }
          },
          "503": {
            "description": "Service Unavailable",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/WorkerHealthResponse"
                }
              }
            }
          }
        },
        "description": "Check health of all worker nodes. No auth required.",
        "tags": [
          "Health"
        ]
      }
    },
    "/api/version": {
      "get": {
        "operationId": "apps_api_endpoints_version_api_version",
        "summary": "Api Version",
        "parameters": [],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "additionalProperties": true,
                  "title": "Response",
                  "type": "object"
                }
              }
            }
          }
        },
        "description": "Return current API version info and deprecation notices.",
        "tags": [
          "Version"
        ]
      }
    },
    "/api/changelog": {
      "get": {
        "operationId": "apps_api_endpoints_changelog_api_changelog",
        "summary": "Api Changelog",
        "parameters": [],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "additionalProperties": true,
                  "title": "Response",
                  "type": "object"
                }
              }
            }
          }
        },
        "description": "Return API changelog with version history.",
        "tags": [
          "Changelog"
        ]
      }
    },
    "/api/v1/account": {
      "get": {
        "operationId": "apps_api_endpoints_account_get_account",
        "summary": "Get Account",
        "parameters": [],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/AccountResponse"
                }
              }
            }
          }
        },
        "description": "Return the authenticated user's credit balance and tier info.",
        "tags": [
          "Account"
        ],
        "security": [
          {
            "ApiKeyAuth": []
          }
        ]
      }
    },
    "/api/v1/batch": {
      "post": {
        "operationId": "apps_api_endpoints_batch_create_batch",
        "summary": "Create Batch",
        "parameters": [],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/BatchResponse"
                }
              }
            }
          }
        },
        "description": "Submit up to 25 URLs for batch processing. Credits deducted upfront.",
        "tags": [
          "Batch"
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/BatchRequest"
              }
            }
          },
          "required": true
        },
        "security": [
          {
            "ApiKeyAuth": []
          }
        ]
      }
    },
    "/api/v1/batch/{batch_id}": {
      "get": {
        "operationId": "apps_api_endpoints_batch_get_batch_status",
        "summary": "Get Batch Status",
        "parameters": [
          {
            "in": "path",
            "name": "batch_id",
            "schema": {
              "title": "Batch Id",
              "type": "string"
            },
            "required": true
          },
          {
            "in": "query",
            "name": "cursor",
            "schema": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "title": "Cursor"
            },
            "required": false
          },
          {
            "in": "query",
            "name": "limit",
            "schema": {
              "anyOf": [
                {
                  "type": "integer"
                },
                {
                  "type": "null"
                }
              ],
              "title": "Limit"
            },
            "required": false
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/BatchStatusResponse"
                }
              }
            }
          }
        },
        "description": "Get status of all jobs in a batch.\n\nSupports optional cursor-based pagination. When neither cursor nor limit\nis provided, all items are returned (backwards compatible). When either\nis provided, the response includes next_cursor and has_more fields.",
        "tags": [
          "Batch"
        ],
        "security": [
          {
            "ApiKeyAuth": []
          }
        ]
      }
    },
    "/api/v1/batch/{batch_id}/cancel": {
      "post": {
        "operationId": "apps_api_endpoints_batch_cancel_batch",
        "summary": "Cancel Batch",
        "parameters": [
          {
            "in": "path",
            "name": "batch_id",
            "schema": {
              "title": "Batch Id",
              "type": "string"
            },
            "required": true
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/BatchCancelResponse"
                }
              }
            }
          }
        },
        "description": "Cancel all pending/processing jobs in a batch.",
        "tags": [
          "Batch"
        ],
        "security": [
          {
            "ApiKeyAuth": []
          }
        ]
      }
    },
    "/api/v1/download": {
      "post": {
        "operationId": "apps_api_endpoints_download_download_media",
        "summary": "Download Media",
        "parameters": [],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/JobResponse"
                }
              }
            }
          }
        },
        "description": "Queue a media download job.",
        "tags": [
          "Download"
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/DownloadRequest"
              }
            }
          },
          "required": true
        },
        "security": [
          {
            "ApiKeyAuth": []
          }
        ]
      }
    },
    "/api/v1/download/{job_id}": {
      "get": {
        "operationId": "apps_api_endpoints_download_get_download",
        "summary": "Get Download",
        "parameters": [
          {
            "in": "path",
            "name": "job_id",
            "schema": {
              "title": "Job Id",
              "type": "string"
            },
            "required": true
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/DownloadResponse"
                }
              }
            }
          }
        },
        "description": "Check download job status and get result.",
        "tags": [
          "Download"
        ],
        "security": [
          {
            "ApiKeyAuth": []
          }
        ]
      }
    },
    "/api/v1/info": {
      "get": {
        "operationId": "apps_api_endpoints_info_get_info",
        "summary": "Get Info",
        "parameters": [
          {
            "in": "query",
            "name": "url",
            "schema": {
              "title": "Url",
              "type": "string"
            },
            "required": true
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/InfoResponse"
                }
              }
            }
          }
        },
        "description": "Extract metadata from a URL. 1 credit.",
        "tags": [
          "Info"
        ],
        "security": [
          {
            "ApiKeyAuth": []
          }
        ]
      }
    },
    "/api/v1/info/batch": {
      "post": {
        "operationId": "apps_api_endpoints_info_batch_info",
        "summary": "Batch Info",
        "parameters": [],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/BatchInfoResponse"
                }
              }
            }
          }
        },
        "description": "Get metadata for multiple URLs in a single request. 1 credit per URL.",
        "tags": [
          "Info"
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/BatchInfoRequest"
              }
            }
          },
          "required": true
        },
        "security": [
          {
            "ApiKeyAuth": []
          }
        ]
      }
    },
    "/api/v1/playlist": {
      "post": {
        "operationId": "apps_api_endpoints_playlist_process_playlist",
        "summary": "Process Playlist",
        "parameters": [],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/PlaylistResponse"
                }
              }
            }
          }
        },
        "description": "Process all videos in a playlist. Discovers URLs automatically via yt-dlp.",
        "tags": [
          "Playlist"
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/PlaylistRequest"
              }
            }
          },
          "required": true
        },
        "security": [
          {
            "ApiKeyAuth": []
          }
        ]
      }
    },
    "/api/v1/playlist/{playlist_id}": {
      "get": {
        "operationId": "apps_api_endpoints_playlist_get_playlist_status",
        "summary": "Get Playlist Status",
        "parameters": [
          {
            "in": "path",
            "name": "playlist_id",
            "schema": {
              "title": "Playlist Id",
              "type": "string"
            },
            "required": true
          },
          {
            "in": "query",
            "name": "cursor",
            "schema": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "title": "Cursor"
            },
            "required": false
          },
          {
            "in": "query",
            "name": "limit",
            "schema": {
              "anyOf": [
                {
                  "type": "integer"
                },
                {
                  "type": "null"
                }
              ],
              "title": "Limit"
            },
            "required": false
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/PlaylistStatusResponse"
                }
              }
            }
          }
        },
        "description": "Get status of all jobs in a playlist processing request.\n\nSupports optional cursor-based pagination. When neither cursor nor limit\nis provided, all items are returned (backwards compatible). When either\nis provided, the response includes next_cursor and has_more fields.",
        "tags": [
          "Playlist"
        ],
        "security": [
          {
            "ApiKeyAuth": []
          }
        ]
      }
    },
    "/api/v1/transcribe": {
      "post": {
        "operationId": "apps_api_endpoints_transcribe_transcribe_media",
        "summary": "Transcribe Media",
        "parameters": [],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/TranscribeJobResponse"
                }
              }
            }
          }
        },
        "description": "Queue a transcription job using Whisper. 4 credits.",
        "tags": [
          "Transcription"
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/TranscribeRequest"
              }
            }
          },
          "required": true
        },
        "security": [
          {
            "ApiKeyAuth": []
          }
        ]
      }
    },
    "/api/v1/transcribe/{job_id}": {
      "get": {
        "operationId": "apps_api_endpoints_transcribe_get_transcription",
        "summary": "Get Transcription",
        "parameters": [
          {
            "in": "path",
            "name": "job_id",
            "schema": {
              "title": "Job Id",
              "type": "string"
            },
            "required": true
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/TranscribeResponse"
                }
              }
            }
          }
        },
        "description": "Check transcription job status and get result.",
        "tags": [
          "Transcription"
        ],
        "security": [
          {
            "ApiKeyAuth": []
          }
        ]
      }
    },
    "/api/v1/translate": {
      "post": {
        "operationId": "apps_api_endpoints_translate_translate_media",
        "summary": "Translate Media",
        "parameters": [],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/TranslateJobResponse"
                }
              }
            }
          }
        },
        "description": "Transcribe + translate audio. 5 credits.",
        "tags": [
          "Translation"
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/TranslateRequest"
              }
            }
          },
          "required": true
        },
        "security": [
          {
            "ApiKeyAuth": []
          }
        ]
      }
    },
    "/api/v1/translate/{job_id}": {
      "get": {
        "operationId": "apps_api_endpoints_translate_get_translation",
        "summary": "Get Translation",
        "parameters": [
          {
            "in": "path",
            "name": "job_id",
            "schema": {
              "title": "Job Id",
              "type": "string"
            },
            "required": true
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/TranslateResponse"
                }
              }
            }
          }
        },
        "description": "Check translation job status and get result.",
        "tags": [
          "Translation"
        ],
        "security": [
          {
            "ApiKeyAuth": []
          }
        ]
      }
    },
    "/api/v1/preview": {
      "post": {
        "operationId": "apps_api_endpoints_preview_create_preview",
        "summary": "Create Preview",
        "parameters": [],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/PreviewJobResponse"
                }
              }
            }
          }
        },
        "description": "Generate a preview from a video URL. 1 credit.",
        "tags": [
          "Preview"
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/PreviewRequest"
              }
            }
          },
          "required": true
        },
        "security": [
          {
            "ApiKeyAuth": []
          }
        ]
      }
    },
    "/api/v1/preview/{job_id}": {
      "get": {
        "operationId": "apps_api_endpoints_preview_get_preview",
        "summary": "Get Preview",
        "parameters": [
          {
            "in": "path",
            "name": "job_id",
            "schema": {
              "title": "Job Id",
              "type": "string"
            },
            "required": true
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/PreviewResponse"
                }
              }
            }
          }
        },
        "description": "Check preview job status and get result.",
        "tags": [
          "Preview"
        ],
        "security": [
          {
            "ApiKeyAuth": []
          }
        ]
      }
    },
    "/api/v1/fingerprint": {
      "post": {
        "operationId": "apps_api_endpoints_fingerprint_fingerprint_media",
        "summary": "Fingerprint Media",
        "parameters": [],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/FingerprintJobResponse"
                }
              }
            }
          }
        },
        "description": "Generate perceptual fingerprints from a video frame. 1 credit.",
        "tags": [
          "Fingerprint"
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/FingerprintRequest"
              }
            }
          },
          "required": true
        },
        "security": [
          {
            "ApiKeyAuth": []
          }
        ]
      }
    },
    "/api/v1/fingerprint/{job_id}": {
      "get": {
        "operationId": "apps_api_endpoints_fingerprint_get_fingerprint",
        "summary": "Get Fingerprint",
        "parameters": [
          {
            "in": "path",
            "name": "job_id",
            "schema": {
              "title": "Job Id",
              "type": "string"
            },
            "required": true
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/FingerprintResponse"
                }
              }
            }
          }
        },
        "description": "Check fingerprint job status and get result.",
        "tags": [
          "Fingerprint"
        ],
        "security": [
          {
            "ApiKeyAuth": []
          }
        ]
      }
    },
    "/api/v1/comments": {
      "post": {
        "operationId": "apps_api_endpoints_comments_extract_comments",
        "summary": "Extract Comments",
        "parameters": [],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/CommentsJobResponse"
                }
              }
            }
          }
        },
        "description": "Extract comments from a video URL. 1 credit.",
        "tags": [
          "Comments"
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/CommentsRequest"
              }
            }
          },
          "required": true
        },
        "security": [
          {
            "ApiKeyAuth": []
          }
        ]
      }
    },
    "/api/v1/comments/{job_id}": {
      "get": {
        "operationId": "apps_api_endpoints_comments_get_comments",
        "summary": "Get Comments",
        "parameters": [
          {
            "in": "path",
            "name": "job_id",
            "schema": {
              "title": "Job Id",
              "type": "string"
            },
            "required": true
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/CommentsResponse"
                }
              }
            }
          }
        },
        "description": "Check comment extraction job status and get result.",
        "tags": [
          "Comments"
        ],
        "security": [
          {
            "ApiKeyAuth": []
          }
        ]
      }
    },
    "/api/v1/subtitles": {
      "post": {
        "operationId": "apps_api_endpoints_subtitles_extract_subtitles",
        "summary": "Extract Subtitles",
        "parameters": [],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/SubtitlesJobResponse"
                }
              }
            }
          }
        },
        "description": "Extract subtitles from a video URL. 1 credit.",
        "tags": [
          "Subtitles"
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/SubtitlesRequest"
              }
            }
          },
          "required": true
        },
        "security": [
          {
            "ApiKeyAuth": []
          }
        ]
      }
    },
    "/api/v1/subtitles/{job_id}": {
      "get": {
        "operationId": "apps_api_endpoints_subtitles_get_subtitles",
        "summary": "Get Subtitles",
        "parameters": [
          {
            "in": "path",
            "name": "job_id",
            "schema": {
              "title": "Job Id",
              "type": "string"
            },
            "required": true
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/SubtitlesResultResponse"
                }
              }
            }
          }
        },
        "description": "Check subtitle extraction job status and get result.",
        "tags": [
          "Subtitles"
        ],
        "security": [
          {
            "ApiKeyAuth": []
          }
        ]
      }
    },
    "/api/v1/chapters": {
      "post": {
        "operationId": "apps_api_endpoints_chapters_extract_chapters",
        "summary": "Extract Chapters",
        "parameters": [],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ChaptersJobResponse"
                }
              }
            }
          }
        },
        "description": "Extract chapter/timestamp markers from a video. 1 credit.",
        "tags": [
          "Chapters"
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/ChaptersRequest"
              }
            }
          },
          "required": true
        },
        "security": [
          {
            "ApiKeyAuth": []
          }
        ]
      }
    },
    "/api/v1/chapters/{job_id}": {
      "get": {
        "operationId": "apps_api_endpoints_chapters_get_chapters",
        "summary": "Get Chapters",
        "parameters": [
          {
            "in": "path",
            "name": "job_id",
            "schema": {
              "title": "Job Id",
              "type": "string"
            },
            "required": true
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ChaptersResultResponse"
                }
              }
            }
          }
        },
        "description": "Check chapter extraction job status and get result.",
        "tags": [
          "Chapters"
        ],
        "security": [
          {
            "ApiKeyAuth": []
          }
        ]
      }
    },
    "/api/v1/clip": {
      "post": {
        "operationId": "apps_api_endpoints_clip_extract_clip",
        "summary": "Extract Clip",
        "parameters": [],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ClipJobResponse"
                }
              }
            }
          }
        },
        "description": "Extract one or more clips from a video by start/end time. 2 credits.",
        "tags": [
          "Clip"
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/ClipRequest"
              }
            }
          },
          "required": true
        },
        "security": [
          {
            "ApiKeyAuth": []
          }
        ]
      }
    },
    "/api/v1/clip/{job_id}": {
      "get": {
        "operationId": "apps_api_endpoints_clip_get_clip",
        "summary": "Get Clip",
        "parameters": [
          {
            "in": "path",
            "name": "job_id",
            "schema": {
              "title": "Job Id",
              "type": "string"
            },
            "required": true
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ClipResultResponse"
                }
              }
            }
          }
        },
        "description": "Check clip extraction job status and get result.",
        "tags": [
          "Clip"
        ],
        "security": [
          {
            "ApiKeyAuth": []
          }
        ]
      }
    },
    "/api/v1/thumbnail": {
      "post": {
        "operationId": "apps_api_endpoints_thumbnail_extract_thumbnail",
        "summary": "Extract Thumbnail",
        "parameters": [],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ThumbnailJobResponse"
                }
              }
            }
          }
        },
        "description": "Extract still frame(s) at specific timestamps. 1 credit.",
        "tags": [
          "Thumbnail"
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/ThumbnailRequest"
              }
            }
          },
          "required": true
        },
        "security": [
          {
            "ApiKeyAuth": []
          }
        ]
      }
    },
    "/api/v1/thumbnail/{job_id}": {
      "get": {
        "operationId": "apps_api_endpoints_thumbnail_get_thumbnail",
        "summary": "Get Thumbnail",
        "parameters": [
          {
            "in": "path",
            "name": "job_id",
            "schema": {
              "title": "Job Id",
              "type": "string"
            },
            "required": true
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ThumbnailResultResponse"
                }
              }
            }
          }
        },
        "description": "Check thumbnail extraction job status and get result.",
        "tags": [
          "Thumbnail"
        ],
        "security": [
          {
            "ApiKeyAuth": []
          }
        ]
      }
    },
    "/api/v1/jobs/{job_id}": {
      "get": {
        "operationId": "apps_api_endpoints_jobs_get_job",
        "summary": "Get Job",
        "parameters": [
          {
            "in": "path",
            "name": "job_id",
            "schema": {
              "title": "Job Id",
              "type": "string"
            },
            "required": true
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/JobDetailResponse"
                }
              }
            }
          }
        },
        "description": "Get the status and result of a specific job.",
        "tags": [
          "Jobs"
        ],
        "security": [
          {
            "ApiKeyAuth": []
          }
        ]
      }
    },
    "/api/v1/jobs": {
      "get": {
        "operationId": "apps_api_endpoints_jobs_list_jobs",
        "summary": "List Jobs",
        "parameters": [
          {
            "in": "query",
            "name": "cursor",
            "schema": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "title": "Cursor"
            },
            "required": false
          },
          {
            "in": "query",
            "name": "limit",
            "schema": {
              "default": 20,
              "title": "Limit",
              "type": "integer"
            },
            "required": false
          },
          {
            "in": "query",
            "name": "status",
            "schema": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "title": "Status"
            },
            "required": false
          },
          {
            "in": "query",
            "name": "job_type",
            "schema": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "title": "Job Type"
            },
            "required": false
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/PaginatedJobsResponse"
                }
              }
            }
          }
        },
        "description": "List all jobs for the authenticated user. Cursor-based pagination.",
        "tags": [
          "Jobs"
        ],
        "security": [
          {
            "ApiKeyAuth": []
          }
        ]
      }
    },
    "/api/v1/jobs/{job_id}/cancel": {
      "post": {
        "operationId": "apps_api_endpoints_jobs_cancel_job",
        "summary": "Cancel Job",
        "parameters": [
          {
            "in": "path",
            "name": "job_id",
            "schema": {
              "title": "Job Id",
              "type": "string"
            },
            "required": true
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/JobCancelResponse"
                }
              }
            }
          },
          "409": {
            "description": "Conflict",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          }
        },
        "description": "Cancel a pending or processing job. Credits are refunded.",
        "tags": [
          "Jobs"
        ],
        "security": [
          {
            "ApiKeyAuth": []
          }
        ]
      }
    },
    "/api/v1/jobs/{job_id}/retry": {
      "post": {
        "operationId": "apps_api_endpoints_jobs_retry_job",
        "summary": "Retry Job",
        "parameters": [
          {
            "in": "path",
            "name": "job_id",
            "schema": {
              "title": "Job Id",
              "type": "string"
            },
            "required": true
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/JobRetryResponse"
                }
              }
            }
          },
          "400": {
            "description": "Bad Request",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "409": {
            "description": "Conflict",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          }
        },
        "description": "Retry a failed or cancelled job. Creates a new job with the same parameters.",
        "tags": [
          "Jobs"
        ],
        "security": [
          {
            "ApiKeyAuth": []
          }
        ]
      }
    },
    "/api/v1/jobs/{job_id}/resign": {
      "post": {
        "operationId": "apps_api_endpoints_jobs_resign_download_url",
        "summary": "Resign Download Url",
        "parameters": [
          {
            "in": "path",
            "name": "job_id",
            "schema": {
              "title": "Job Id",
              "type": "string"
            },
            "required": true
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/JobResignResponse"
                }
              }
            }
          },
          "409": {
            "description": "Conflict",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "410": {
            "description": "Gone",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "429": {
            "description": "Too Many Requests",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          }
        },
        "description": "Generate a fresh signed download URL for a completed job. Free \u2014 no credit charge.",
        "tags": [
          "Jobs"
        ],
        "security": [
          {
            "ApiKeyAuth": []
          }
        ]
      }
    },
    "/api/v1/keys/{key_id}/rotate": {
      "post": {
        "operationId": "apps_api_endpoints_keys_rotate_key",
        "summary": "Rotate Key",
        "parameters": [
          {
            "in": "path",
            "name": "key_id",
            "schema": {
              "title": "Key Id",
              "type": "integer"
            },
            "required": true
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/KeyRotateResponse"
                }
              }
            }
          }
        },
        "description": "Rotate an API key. Creates a new key and sets the old one to expire after a grace period.",
        "tags": [
          "Keys"
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "anyOf": [
                  {
                    "$ref": "#/components/schemas/KeyRotateRequest"
                  },
                  {
                    "type": "null"
                  }
                ]
              }
            }
          },
          "required": false
        },
        "security": [
          {
            "ApiKeyAuth": []
          }
        ]
      }
    },
    "/api/v1/keys/{key_id}": {
      "delete": {
        "operationId": "apps_api_endpoints_keys_delete_key",
        "summary": "Delete Key",
        "parameters": [
          {
            "in": "path",
            "name": "key_id",
            "schema": {
              "title": "Key Id",
              "type": "integer"
            },
            "required": true
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/KeyDeleteResponse"
                }
              }
            }
          }
        },
        "description": "Revoke an API key immediately. Also works to cut short a rotation grace period.",
        "tags": [
          "Keys"
        ],
        "security": [
          {
            "ApiKeyAuth": []
          }
        ]
      }
    },
    "/api/v1/keys/{key_id}/ips": {
      "patch": {
        "operationId": "apps_api_endpoints_keys_update_key_ips",
        "summary": "Update Key Ips",
        "parameters": [
          {
            "in": "path",
            "name": "key_id",
            "schema": {
              "title": "Key Id",
              "type": "integer"
            },
            "required": true
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/KeyIpsResponse"
                }
              }
            }
          }
        },
        "description": "Update the IP allowlist for an API key.",
        "tags": [
          "Keys"
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/UpdateKeyIpsRequest"
              }
            }
          },
          "required": true
        },
        "security": [
          {
            "ApiKeyAuth": []
          }
        ]
      }
    },
    "/api/v1/webhooks": {
      "post": {
        "operationId": "apps_api_endpoints_webhooks_create_webhook",
        "summary": "Create Webhook",
        "parameters": [],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/WebhookResponse"
                }
              }
            }
          }
        },
        "description": "Create a new webhook endpoint. Secret is shown once.",
        "tags": [
          "Webhooks"
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/WebhookCreateRequest"
              }
            }
          },
          "required": true
        },
        "security": [
          {
            "ApiKeyAuth": []
          }
        ]
      },
      "get": {
        "operationId": "apps_api_endpoints_webhooks_list_webhooks",
        "summary": "List Webhooks",
        "parameters": [],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/WebhookListResponse"
                }
              }
            }
          }
        },
        "description": "List all webhook endpoints for the authenticated user.",
        "tags": [
          "Webhooks"
        ],
        "security": [
          {
            "ApiKeyAuth": []
          }
        ]
      }
    },
    "/api/v1/webhooks/{webhook_id}": {
      "get": {
        "operationId": "apps_api_endpoints_webhooks_get_webhook",
        "summary": "Get Webhook",
        "parameters": [
          {
            "in": "path",
            "name": "webhook_id",
            "schema": {
              "title": "Webhook Id",
              "type": "integer"
            },
            "required": true
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/WebhookResponse"
                }
              }
            }
          }
        },
        "description": "Get details of a specific webhook endpoint.",
        "tags": [
          "Webhooks"
        ],
        "security": [
          {
            "ApiKeyAuth": []
          }
        ]
      },
      "patch": {
        "operationId": "apps_api_endpoints_webhooks_update_webhook",
        "summary": "Update Webhook",
        "parameters": [
          {
            "in": "path",
            "name": "webhook_id",
            "schema": {
              "title": "Webhook Id",
              "type": "integer"
            },
            "required": true
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/WebhookResponse"
                }
              }
            }
          }
        },
        "description": "Update a webhook endpoint.",
        "tags": [
          "Webhooks"
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/WebhookUpdateRequest"
              }
            }
          },
          "required": true
        },
        "security": [
          {
            "ApiKeyAuth": []
          }
        ]
      },
      "delete": {
        "operationId": "apps_api_endpoints_webhooks_delete_webhook",
        "summary": "Delete Webhook",
        "parameters": [
          {
            "in": "path",
            "name": "webhook_id",
            "schema": {
              "title": "Webhook Id",
              "type": "integer"
            },
            "required": true
          }
        ],
        "responses": {
          "204": {
            "description": "No Content"
          }
        },
        "description": "Delete a webhook endpoint and all its delivery history.",
        "tags": [
          "Webhooks"
        ],
        "security": [
          {
            "ApiKeyAuth": []
          }
        ]
      }
    },
    "/api/v1/webhooks/{webhook_id}/deliveries": {
      "get": {
        "operationId": "apps_api_endpoints_webhooks_list_deliveries",
        "summary": "List Deliveries",
        "parameters": [
          {
            "in": "path",
            "name": "webhook_id",
            "schema": {
              "title": "Webhook Id",
              "type": "integer"
            },
            "required": true
          },
          {
            "in": "query",
            "name": "cursor",
            "schema": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "title": "Cursor"
            },
            "required": false
          },
          {
            "in": "query",
            "name": "limit",
            "schema": {
              "default": 20,
              "title": "Limit",
              "type": "integer"
            },
            "required": false
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/WebhookDeliveryListResponse"
                }
              }
            }
          }
        },
        "description": "List delivery attempts for a specific webhook endpoint.",
        "tags": [
          "Webhooks"
        ],
        "security": [
          {
            "ApiKeyAuth": []
          }
        ]
      }
    },
    "/api/v1/webhooks/{webhook_id}/rotate-secret": {
      "post": {
        "operationId": "apps_api_endpoints_webhooks_rotate_webhook_secret",
        "summary": "Rotate Webhook Secret",
        "parameters": [
          {
            "in": "path",
            "name": "webhook_id",
            "schema": {
              "title": "Webhook Id",
              "type": "integer"
            },
            "required": true
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/WebhookRotateResponse"
                }
              }
            }
          }
        },
        "description": "Rotate the webhook signing secret. New secret is shown once.\n\nDuring a 24-hour transition window, deliveries include both old and new signatures\nso consumers can update their verification code without missing events.\nCannot rotate while a rotation is already in progress.",
        "tags": [
          "Webhooks"
        ],
        "security": [
          {
            "ApiKeyAuth": []
          }
        ]
      }
    },
    "/api/v1/webhooks/{webhook_id}/confirm-rotation": {
      "post": {
        "operationId": "apps_api_endpoints_webhooks_confirm_rotation",
        "summary": "Confirm Rotation",
        "parameters": [
          {
            "in": "path",
            "name": "webhook_id",
            "schema": {
              "title": "Webhook Id",
              "type": "integer"
            },
            "required": true
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/WebhookResponse"
                }
              }
            }
          }
        },
        "description": "Confirm a secret rotation, immediately clearing the previous secret.\n\nAfter confirmation, only the new secret is used for signing deliveries.",
        "tags": [
          "Webhooks"
        ],
        "security": [
          {
            "ApiKeyAuth": []
          }
        ]
      }
    },
    "/api/v1/webhooks/{webhook_id}/test": {
      "post": {
        "operationId": "apps_api_endpoints_webhooks_test_webhook",
        "summary": "Test Webhook",
        "parameters": [
          {
            "in": "path",
            "name": "webhook_id",
            "schema": {
              "title": "Webhook Id",
              "type": "integer"
            },
            "required": true
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/WebhookDeliveryResponse"
                }
              }
            }
          }
        },
        "description": "Send a test event to a webhook endpoint.",
        "tags": [
          "Webhooks"
        ],
        "security": [
          {
            "ApiKeyAuth": []
          }
        ]
      }
    }
  },
  "components": {
    "schemas": {
      "WorkerHealthResponse": {
        "description": "Aggregated worker health check response.",
        "properties": {
          "status": {
            "title": "Status",
            "type": "string"
          },
          "workers": {
            "additionalProperties": {
              "$ref": "#/components/schemas/WorkerNodeInfo"
            },
            "default": {},
            "title": "Workers",
            "type": "object"
          },
          "total_workers": {
            "default": 0,
            "title": "Total Workers",
            "type": "integer"
          },
          "healthy_workers": {
            "default": 0,
            "title": "Healthy Workers",
            "type": "integer"
          },
          "unhealthy_workers": {
            "default": 0,
            "title": "Unhealthy Workers",
            "type": "integer"
          },
          "error": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Error"
          }
        },
        "required": [
          "status"
        ],
        "title": "WorkerHealthResponse",
        "type": "object"
      },
      "WorkerNodeInfo": {
        "description": "Health status of an individual worker node.",
        "properties": {
          "status": {
            "title": "Status",
            "type": "string"
          },
          "last_heartbeat": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Last Heartbeat"
          },
          "seconds_since_heartbeat": {
            "anyOf": [
              {
                "type": "integer"
              },
              {
                "type": "null"
              }
            ],
            "title": "Seconds Since Heartbeat"
          },
          "queue_depth": {
            "anyOf": [
              {
                "type": "integer"
              },
              {
                "type": "null"
              }
            ],
            "title": "Queue Depth"
          },
          "disk_usage_pct": {
            "anyOf": [
              {
                "type": "integer"
              },
              {
                "type": "null"
              }
            ],
            "title": "Disk Usage Pct"
          },
          "active_jobs": {
            "anyOf": [
              {
                "type": "integer"
              },
              {
                "type": "null"
              }
            ],
            "title": "Active Jobs"
          },
          "error": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Error"
          }
        },
        "required": [
          "status"
        ],
        "title": "WorkerNodeInfo",
        "type": "object"
      },
      "AccountResponse": {
        "properties": {
          "tier": {
            "title": "Tier",
            "type": "string"
          },
          "credits": {
            "title": "Credits",
            "type": "integer"
          },
          "bonus_credits": {
            "title": "Bonus Credits",
            "type": "integer"
          },
          "total_credits": {
            "title": "Total Credits",
            "type": "integer"
          },
          "monthly_credits": {
            "title": "Monthly Credits",
            "type": "integer"
          },
          "credits_reset_at": {
            "anyOf": [
              {
                "format": "date-time",
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Credits Reset At"
          },
          "next_reset_at": {
            "anyOf": [
              {
                "format": "date-time",
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Next Reset At"
          },
          "requests_per_minute": {
            "title": "Requests Per Minute",
            "type": "integer"
          }
        },
        "required": [
          "tier",
          "credits",
          "bonus_credits",
          "total_credits",
          "monthly_credits",
          "credits_reset_at",
          "next_reset_at",
          "requests_per_minute"
        ],
        "title": "AccountResponse",
        "type": "object"
      },
      "BatchItemResult": {
        "properties": {
          "index": {
            "title": "Index",
            "type": "integer"
          },
          "url": {
            "title": "Url",
            "type": "string"
          },
          "job_id": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Job Id"
          },
          "status": {
            "title": "Status",
            "type": "string"
          },
          "error": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Error"
          },
          "credits_charged": {
            "default": 0,
            "title": "Credits Charged",
            "type": "integer"
          },
          "cached": {
            "default": false,
            "title": "Cached",
            "type": "boolean"
          }
        },
        "required": [
          "index",
          "url",
          "status"
        ],
        "title": "BatchItemResult",
        "type": "object"
      },
      "BatchResponse": {
        "properties": {
          "batch_id": {
            "title": "Batch Id",
            "type": "string"
          },
          "job_type": {
            "title": "Job Type",
            "type": "string"
          },
          "total_items": {
            "title": "Total Items",
            "type": "integer"
          },
          "accepted": {
            "title": "Accepted",
            "type": "integer"
          },
          "rejected": {
            "title": "Rejected",
            "type": "integer"
          },
          "total_credits_charged": {
            "title": "Total Credits Charged",
            "type": "integer"
          },
          "items": {
            "items": {
              "$ref": "#/components/schemas/BatchItemResult"
            },
            "title": "Items",
            "type": "array"
          }
        },
        "required": [
          "batch_id",
          "job_type",
          "total_items",
          "accepted",
          "rejected",
          "total_credits_charged",
          "items"
        ],
        "title": "BatchResponse",
        "type": "object"
      },
      "BatchItem": {
        "properties": {
          "url": {
            "title": "Url",
            "type": "string"
          },
          "quality": {
            "allOf": [
              {
                "$ref": "#/components/schemas/QualityEnum"
              }
            ],
            "default": "best"
          },
          "format": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/FormatEnum"
              },
              {
                "type": "null"
              }
            ]
          },
          "clip_start": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Clip Start"
          },
          "clip_end": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Clip End"
          },
          "processing": {
            "anyOf": [
              {
                "items": {
                  "$ref": "#/components/schemas/ProcessingEnum"
                },
                "type": "array"
              },
              {
                "type": "null"
              }
            ],
            "title": "Processing"
          }
        },
        "required": [
          "url"
        ],
        "title": "BatchItem",
        "type": "object"
      },
      "BatchRequest": {
        "properties": {
          "job_type": {
            "title": "Job Type",
            "type": "string"
          },
          "items": {
            "items": {
              "$ref": "#/components/schemas/BatchItem"
            },
            "title": "Items",
            "type": "array"
          },
          "webhook_url": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Webhook Url"
          },
          "output_url": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Output Url"
          },
          "scheduled_at": {
            "anyOf": [
              {
                "format": "date-time",
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Scheduled At"
          }
        },
        "required": [
          "job_type",
          "items"
        ],
        "title": "BatchRequest",
        "type": "object"
      },
      "FormatEnum": {
        "enum": [
          "mp4",
          "webm",
          "mkv",
          "mp3",
          "wav"
        ],
        "title": "FormatEnum",
        "type": "string"
      },
      "ProcessingEnum": {
        "enum": [
          "normalize",
          "denoise",
          "trim_silence",
          "to_mp3",
          "to_wav",
          "to_aac",
          "to_opus",
          "to_mp4",
          "to_webm"
        ],
        "title": "ProcessingEnum",
        "type": "string"
      },
      "QualityEnum": {
        "enum": [
          "best",
          "1080p",
          "720p",
          "480p",
          "audio"
        ],
        "title": "QualityEnum",
        "type": "string"
      },
      "BatchStatusItem": {
        "properties": {
          "job_id": {
            "title": "Job Id",
            "type": "string"
          },
          "url": {
            "title": "Url",
            "type": "string"
          },
          "status": {
            "title": "Status",
            "type": "string"
          },
          "download_url": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Download Url"
          },
          "error_message": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Error Message"
          }
        },
        "required": [
          "job_id",
          "url",
          "status"
        ],
        "title": "BatchStatusItem",
        "type": "object"
      },
      "BatchStatusResponse": {
        "properties": {
          "batch_id": {
            "title": "Batch Id",
            "type": "string"
          },
          "total": {
            "title": "Total",
            "type": "integer"
          },
          "completed": {
            "title": "Completed",
            "type": "integer"
          },
          "failed": {
            "title": "Failed",
            "type": "integer"
          },
          "pending": {
            "title": "Pending",
            "type": "integer"
          },
          "is_complete": {
            "title": "Is Complete",
            "type": "boolean"
          },
          "items": {
            "items": {
              "$ref": "#/components/schemas/BatchStatusItem"
            },
            "title": "Items",
            "type": "array"
          },
          "next_cursor": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Next Cursor"
          },
          "has_more": {
            "default": false,
            "title": "Has More",
            "type": "boolean"
          }
        },
        "required": [
          "batch_id",
          "total",
          "completed",
          "failed",
          "pending",
          "is_complete",
          "items"
        ],
        "title": "BatchStatusResponse",
        "type": "object"
      },
      "BatchCancelResponse": {
        "properties": {
          "batch_id": {
            "title": "Batch Id",
            "type": "string"
          },
          "cancelled": {
            "title": "Cancelled",
            "type": "integer"
          },
          "credits_refunded": {
            "title": "Credits Refunded",
            "type": "integer"
          }
        },
        "required": [
          "batch_id",
          "cancelled",
          "credits_refunded"
        ],
        "title": "BatchCancelResponse",
        "type": "object"
      },
      "JobResponse": {
        "properties": {
          "job_id": {
            "title": "Job Id",
            "type": "string"
          },
          "status": {
            "title": "Status",
            "type": "string"
          },
          "credits_charged": {
            "title": "Credits Charged",
            "type": "integer"
          },
          "cached": {
            "default": false,
            "title": "Cached",
            "type": "boolean"
          }
        },
        "required": [
          "job_id",
          "status",
          "credits_charged"
        ],
        "title": "JobResponse",
        "type": "object"
      },
      "DownloadRequest": {
        "properties": {
          "url": {
            "title": "Url",
            "type": "string"
          },
          "quality": {
            "allOf": [
              {
                "$ref": "#/components/schemas/QualityEnum"
              }
            ],
            "default": "best"
          },
          "format": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/FormatEnum"
              },
              {
                "type": "null"
              }
            ]
          },
          "clip_start": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Clip Start"
          },
          "clip_end": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Clip End"
          },
          "processing": {
            "anyOf": [
              {
                "items": {
                  "$ref": "#/components/schemas/ProcessingEnum"
                },
                "type": "array"
              },
              {
                "type": "null"
              }
            ],
            "title": "Processing"
          },
          "watermark": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/WatermarkConfig"
              },
              {
                "type": "null"
              }
            ]
          },
          "webhook_url": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Webhook Url"
          },
          "output_url": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Output Url"
          },
          "scheduled_at": {
            "anyOf": [
              {
                "format": "date-time",
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Scheduled At"
          }
        },
        "required": [
          "url"
        ],
        "title": "DownloadRequest",
        "type": "object"
      },
      "WatermarkConfig": {
        "properties": {
          "text": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Text"
          },
          "image_url": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Image Url"
          },
          "position": {
            "allOf": [
              {
                "$ref": "#/components/schemas/WatermarkPosition"
              }
            ],
            "default": "bottom_right"
          },
          "opacity": {
            "default": 0.5,
            "title": "Opacity",
            "type": "number"
          },
          "font_size": {
            "default": 24,
            "title": "Font Size",
            "type": "integer"
          },
          "font_color": {
            "default": "white",
            "title": "Font Color",
            "type": "string"
          }
        },
        "title": "WatermarkConfig",
        "type": "object"
      },
      "WatermarkPosition": {
        "enum": [
          "top_left",
          "top_right",
          "bottom_left",
          "bottom_right",
          "center"
        ],
        "title": "WatermarkPosition",
        "type": "string"
      },
      "DownloadResponse": {
        "properties": {
          "job_id": {
            "title": "Job Id",
            "type": "string"
          },
          "status": {
            "title": "Status",
            "type": "string"
          },
          "download_url": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Download Url"
          },
          "expires_at": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Expires At"
          },
          "metadata": {
            "anyOf": [
              {
                "additionalProperties": true,
                "type": "object"
              },
              {
                "type": "null"
              }
            ],
            "title": "Metadata"
          }
        },
        "required": [
          "job_id",
          "status"
        ],
        "title": "DownloadResponse",
        "type": "object"
      },
      "FormatInfo": {
        "properties": {
          "format_id": {
            "title": "Format Id",
            "type": "string"
          },
          "ext": {
            "title": "Ext",
            "type": "string"
          },
          "quality": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Quality"
          },
          "width": {
            "anyOf": [
              {
                "type": "integer"
              },
              {
                "type": "null"
              }
            ],
            "title": "Width"
          },
          "height": {
            "anyOf": [
              {
                "type": "integer"
              },
              {
                "type": "null"
              }
            ],
            "title": "Height"
          },
          "fps": {
            "anyOf": [
              {
                "type": "number"
              },
              {
                "type": "null"
              }
            ],
            "title": "Fps"
          },
          "filesize": {
            "anyOf": [
              {
                "type": "integer"
              },
              {
                "type": "null"
              }
            ],
            "title": "Filesize"
          },
          "vcodec": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Vcodec"
          },
          "acodec": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Acodec"
          },
          "audio_only": {
            "title": "Audio Only",
            "type": "boolean"
          }
        },
        "required": [
          "format_id",
          "ext",
          "audio_only"
        ],
        "title": "FormatInfo",
        "type": "object"
      },
      "InfoResponse": {
        "properties": {
          "url": {
            "title": "Url",
            "type": "string"
          },
          "title": {
            "title": "Title",
            "type": "string"
          },
          "description": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Description"
          },
          "duration": {
            "anyOf": [
              {
                "type": "number"
              },
              {
                "type": "null"
              }
            ],
            "title": "Duration"
          },
          "thumbnail": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Thumbnail"
          },
          "upload_date": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Upload Date"
          },
          "view_count": {
            "anyOf": [
              {
                "type": "integer"
              },
              {
                "type": "null"
              }
            ],
            "title": "View Count"
          },
          "like_count": {
            "anyOf": [
              {
                "type": "integer"
              },
              {
                "type": "null"
              }
            ],
            "title": "Like Count"
          },
          "channel": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Channel"
          },
          "channel_url": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Channel Url"
          },
          "tags": {
            "items": {
              "type": "string"
            },
            "title": "Tags",
            "type": "array"
          },
          "categories": {
            "items": {
              "type": "string"
            },
            "title": "Categories",
            "type": "array"
          },
          "subtitles": {
            "items": {
              "type": "string"
            },
            "title": "Subtitles",
            "type": "array"
          },
          "formats": {
            "items": {
              "$ref": "#/components/schemas/FormatInfo"
            },
            "title": "Formats",
            "type": "array"
          },
          "is_playlist": {
            "default": false,
            "title": "Is Playlist",
            "type": "boolean"
          },
          "platform": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/PlatformMetadata"
              },
              {
                "type": "null"
              }
            ]
          }
        },
        "required": [
          "url",
          "title",
          "tags",
          "categories",
          "subtitles",
          "formats"
        ],
        "title": "InfoResponse",
        "type": "object"
      },
      "PlatformMetadata": {
        "description": "Platform-specific metadata. Fields vary by platform -- absent fields are null.",
        "properties": {
          "platform": {
            "title": "Platform",
            "type": "string"
          },
          "like_count": {
            "anyOf": [
              {
                "type": "integer"
              },
              {
                "type": "null"
              }
            ],
            "title": "Like Count"
          },
          "dislike_count": {
            "anyOf": [
              {
                "type": "integer"
              },
              {
                "type": "null"
              }
            ],
            "title": "Dislike Count"
          },
          "repost_count": {
            "anyOf": [
              {
                "type": "integer"
              },
              {
                "type": "null"
              }
            ],
            "title": "Repost Count"
          },
          "share_count": {
            "anyOf": [
              {
                "type": "integer"
              },
              {
                "type": "null"
              }
            ],
            "title": "Share Count"
          },
          "comment_count": {
            "anyOf": [
              {
                "type": "integer"
              },
              {
                "type": "null"
              }
            ],
            "title": "Comment Count"
          },
          "view_count": {
            "anyOf": [
              {
                "type": "integer"
              },
              {
                "type": "null"
              }
            ],
            "title": "View Count"
          },
          "channel_id": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Channel Id"
          },
          "channel_url": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Channel Url"
          },
          "channel_follower_count": {
            "anyOf": [
              {
                "type": "integer"
              },
              {
                "type": "null"
              }
            ],
            "title": "Channel Follower Count"
          },
          "categories": {
            "anyOf": [
              {
                "items": {
                  "type": "string"
                },
                "type": "array"
              },
              {
                "type": "null"
              }
            ],
            "title": "Categories"
          },
          "tags": {
            "anyOf": [
              {
                "items": {
                  "type": "string"
                },
                "type": "array"
              },
              {
                "type": "null"
              }
            ],
            "title": "Tags"
          },
          "is_live": {
            "anyOf": [
              {
                "type": "boolean"
              },
              {
                "type": "null"
              }
            ],
            "title": "Is Live"
          },
          "was_live": {
            "anyOf": [
              {
                "type": "boolean"
              },
              {
                "type": "null"
              }
            ],
            "title": "Was Live"
          },
          "age_limit": {
            "anyOf": [
              {
                "type": "integer"
              },
              {
                "type": "null"
              }
            ],
            "title": "Age Limit"
          },
          "upload_date": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Upload Date"
          },
          "modified_date": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Modified Date"
          },
          "availability": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Availability"
          },
          "original_url": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Original Url"
          }
        },
        "required": [
          "platform"
        ],
        "title": "PlatformMetadata",
        "type": "object"
      },
      "BatchInfoResponse": {
        "properties": {
          "items": {
            "items": {
              "$ref": "#/components/schemas/InfoItem"
            },
            "title": "Items",
            "type": "array"
          },
          "total": {
            "title": "Total",
            "type": "integer"
          },
          "successful": {
            "title": "Successful",
            "type": "integer"
          },
          "failed": {
            "title": "Failed",
            "type": "integer"
          }
        },
        "required": [
          "items",
          "total",
          "successful",
          "failed"
        ],
        "title": "BatchInfoResponse",
        "type": "object"
      },
      "InfoItem": {
        "properties": {
          "url": {
            "title": "Url",
            "type": "string"
          },
          "status": {
            "title": "Status",
            "type": "string"
          },
          "title": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Title"
          },
          "duration": {
            "anyOf": [
              {
                "type": "number"
              },
              {
                "type": "null"
              }
            ],
            "title": "Duration"
          },
          "formats": {
            "anyOf": [
              {
                "items": {
                  "type": "string"
                },
                "type": "array"
              },
              {
                "type": "null"
              }
            ],
            "title": "Formats"
          },
          "thumbnail": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Thumbnail"
          },
          "uploader": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Uploader"
          },
          "view_count": {
            "anyOf": [
              {
                "type": "integer"
              },
              {
                "type": "null"
              }
            ],
            "title": "View Count"
          },
          "upload_date": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Upload Date"
          },
          "description": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Description"
          },
          "platform": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/PlatformMetadata"
              },
              {
                "type": "null"
              }
            ]
          },
          "error": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Error"
          }
        },
        "required": [
          "url",
          "status"
        ],
        "title": "InfoItem",
        "type": "object"
      },
      "BatchInfoRequest": {
        "properties": {
          "urls": {
            "items": {
              "type": "string"
            },
            "title": "Urls",
            "type": "array"
          }
        },
        "required": [
          "urls"
        ],
        "title": "BatchInfoRequest",
        "type": "object"
      },
      "PlaylistResponse": {
        "properties": {
          "playlist_id": {
            "title": "Playlist Id",
            "type": "string"
          },
          "playlist_title": {
            "title": "Playlist Title",
            "type": "string"
          },
          "playlist_url": {
            "title": "Playlist Url",
            "type": "string"
          },
          "total_videos": {
            "title": "Total Videos",
            "type": "integer"
          },
          "processed": {
            "title": "Processed",
            "type": "integer"
          },
          "skipped": {
            "title": "Skipped",
            "type": "integer"
          },
          "total_credits_charged": {
            "title": "Total Credits Charged",
            "type": "integer"
          },
          "items": {
            "items": {
              "$ref": "#/components/schemas/PlaylistVideoItem"
            },
            "title": "Items",
            "type": "array"
          }
        },
        "required": [
          "playlist_id",
          "playlist_title",
          "playlist_url",
          "total_videos",
          "processed",
          "skipped",
          "total_credits_charged",
          "items"
        ],
        "title": "PlaylistResponse",
        "type": "object"
      },
      "PlaylistVideoItem": {
        "properties": {
          "index": {
            "title": "Index",
            "type": "integer"
          },
          "url": {
            "title": "Url",
            "type": "string"
          },
          "title": {
            "title": "Title",
            "type": "string"
          },
          "duration": {
            "anyOf": [
              {
                "type": "number"
              },
              {
                "type": "null"
              }
            ],
            "title": "Duration"
          },
          "job_id": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Job Id"
          },
          "status": {
            "title": "Status",
            "type": "string"
          },
          "error": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Error"
          },
          "credits_charged": {
            "default": 0,
            "title": "Credits Charged",
            "type": "integer"
          },
          "cached": {
            "default": false,
            "title": "Cached",
            "type": "boolean"
          }
        },
        "required": [
          "index",
          "url",
          "title",
          "status"
        ],
        "title": "PlaylistVideoItem",
        "type": "object"
      },
      "PlaylistRequest": {
        "properties": {
          "url": {
            "title": "Url",
            "type": "string"
          },
          "job_type": {
            "default": "download",
            "title": "Job Type",
            "type": "string"
          },
          "quality": {
            "allOf": [
              {
                "$ref": "#/components/schemas/QualityEnum"
              }
            ],
            "default": "best"
          },
          "format": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/FormatEnum"
              },
              {
                "type": "null"
              }
            ]
          },
          "processing": {
            "anyOf": [
              {
                "items": {
                  "$ref": "#/components/schemas/ProcessingEnum"
                },
                "type": "array"
              },
              {
                "type": "null"
              }
            ],
            "title": "Processing"
          },
          "max_videos": {
            "anyOf": [
              {
                "type": "integer"
              },
              {
                "type": "null"
              }
            ],
            "title": "Max Videos"
          },
          "webhook_url": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Webhook Url"
          },
          "output_url": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Output Url"
          },
          "scheduled_at": {
            "anyOf": [
              {
                "format": "date-time",
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Scheduled At"
          }
        },
        "required": [
          "url"
        ],
        "title": "PlaylistRequest",
        "type": "object"
      },
      "PlaylistStatusItem": {
        "properties": {
          "job_id": {
            "title": "Job Id",
            "type": "string"
          },
          "url": {
            "title": "Url",
            "type": "string"
          },
          "title": {
            "title": "Title",
            "type": "string"
          },
          "status": {
            "title": "Status",
            "type": "string"
          },
          "download_url": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Download Url"
          },
          "error_message": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Error Message"
          }
        },
        "required": [
          "job_id",
          "url",
          "title",
          "status"
        ],
        "title": "PlaylistStatusItem",
        "type": "object"
      },
      "PlaylistStatusResponse": {
        "properties": {
          "playlist_id": {
            "title": "Playlist Id",
            "type": "string"
          },
          "total": {
            "title": "Total",
            "type": "integer"
          },
          "completed": {
            "title": "Completed",
            "type": "integer"
          },
          "failed": {
            "title": "Failed",
            "type": "integer"
          },
          "pending": {
            "title": "Pending",
            "type": "integer"
          },
          "is_complete": {
            "title": "Is Complete",
            "type": "boolean"
          },
          "items": {
            "items": {
              "$ref": "#/components/schemas/PlaylistStatusItem"
            },
            "title": "Items",
            "type": "array"
          },
          "next_cursor": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Next Cursor"
          },
          "has_more": {
            "default": false,
            "title": "Has More",
            "type": "boolean"
          }
        },
        "required": [
          "playlist_id",
          "total",
          "completed",
          "failed",
          "pending",
          "is_complete",
          "items"
        ],
        "title": "PlaylistStatusResponse",
        "type": "object"
      },
      "TranscribeJobResponse": {
        "properties": {
          "job_id": {
            "title": "Job Id",
            "type": "string"
          },
          "status": {
            "title": "Status",
            "type": "string"
          },
          "credits_charged": {
            "title": "Credits Charged",
            "type": "integer"
          },
          "cached": {
            "default": false,
            "title": "Cached",
            "type": "boolean"
          }
        },
        "required": [
          "job_id",
          "status",
          "credits_charged"
        ],
        "title": "TranscribeJobResponse",
        "type": "object"
      },
      "ModelSizeEnum": {
        "enum": [
          "tiny",
          "base",
          "small",
          "medium"
        ],
        "title": "ModelSizeEnum",
        "type": "string"
      },
      "OutputFormatEnum": {
        "enum": [
          "json",
          "srt",
          "vtt"
        ],
        "title": "OutputFormatEnum",
        "type": "string"
      },
      "TranscribeRequest": {
        "properties": {
          "url": {
            "title": "Url",
            "type": "string"
          },
          "language": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Language"
          },
          "output_format": {
            "allOf": [
              {
                "$ref": "#/components/schemas/OutputFormatEnum"
              }
            ],
            "default": "json"
          },
          "word_timestamps": {
            "default": true,
            "title": "Word Timestamps",
            "type": "boolean"
          },
          "model_size": {
            "allOf": [
              {
                "$ref": "#/components/schemas/ModelSizeEnum"
              }
            ],
            "default": "base"
          },
          "output_url": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Output Url"
          },
          "scheduled_at": {
            "anyOf": [
              {
                "format": "date-time",
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Scheduled At"
          }
        },
        "required": [
          "url"
        ],
        "title": "TranscribeRequest",
        "type": "object"
      },
      "TranscribeResponse": {
        "properties": {
          "job_id": {
            "title": "Job Id",
            "type": "string"
          },
          "status": {
            "title": "Status",
            "type": "string"
          },
          "text": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Text"
          },
          "segments": {
            "anyOf": [
              {
                "items": {
                  "additionalProperties": true,
                  "type": "object"
                },
                "type": "array"
              },
              {
                "type": "null"
              }
            ],
            "title": "Segments"
          },
          "language": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Language"
          },
          "duration": {
            "anyOf": [
              {
                "type": "number"
              },
              {
                "type": "null"
              }
            ],
            "title": "Duration"
          }
        },
        "required": [
          "job_id",
          "status"
        ],
        "title": "TranscribeResponse",
        "type": "object"
      },
      "TranslateJobResponse": {
        "properties": {
          "job_id": {
            "title": "Job Id",
            "type": "string"
          },
          "status": {
            "title": "Status",
            "type": "string"
          },
          "credits_charged": {
            "title": "Credits Charged",
            "type": "integer"
          },
          "cached": {
            "default": false,
            "title": "Cached",
            "type": "boolean"
          }
        },
        "required": [
          "job_id",
          "status",
          "credits_charged"
        ],
        "title": "TranslateJobResponse",
        "type": "object"
      },
      "TranslateRequest": {
        "properties": {
          "url": {
            "title": "Url",
            "type": "string"
          },
          "target_language": {
            "title": "Target Language",
            "type": "string"
          },
          "source_language": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Source Language"
          },
          "output_format": {
            "allOf": [
              {
                "$ref": "#/components/schemas/OutputFormatEnum"
              }
            ],
            "default": "json"
          },
          "model_size": {
            "allOf": [
              {
                "$ref": "#/components/schemas/ModelSizeEnum"
              }
            ],
            "default": "base"
          },
          "output_url": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Output Url"
          },
          "scheduled_at": {
            "anyOf": [
              {
                "format": "date-time",
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Scheduled At"
          }
        },
        "required": [
          "url",
          "target_language"
        ],
        "title": "TranslateRequest",
        "type": "object"
      },
      "TranslateResponse": {
        "properties": {
          "job_id": {
            "title": "Job Id",
            "type": "string"
          },
          "status": {
            "title": "Status",
            "type": "string"
          },
          "original_text": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Original Text"
          },
          "translated_text": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Translated Text"
          },
          "source_language": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Source Language"
          },
          "target_language": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Target Language"
          },
          "duration": {
            "anyOf": [
              {
                "type": "number"
              },
              {
                "type": "null"
              }
            ],
            "title": "Duration"
          }
        },
        "required": [
          "job_id",
          "status"
        ],
        "title": "TranslateResponse",
        "type": "object"
      },
      "PreviewJobResponse": {
        "properties": {
          "job_id": {
            "title": "Job Id",
            "type": "string"
          },
          "status": {
            "title": "Status",
            "type": "string"
          },
          "credits_charged": {
            "title": "Credits Charged",
            "type": "integer"
          },
          "cached": {
            "default": false,
            "title": "Cached",
            "type": "boolean"
          }
        },
        "required": [
          "job_id",
          "status",
          "credits_charged"
        ],
        "title": "PreviewJobResponse",
        "type": "object"
      },
      "PreviewRequest": {
        "properties": {
          "url": {
            "title": "Url",
            "type": "string"
          },
          "preview_type": {
            "$ref": "#/components/schemas/PreviewTypeEnum"
          },
          "timestamp": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Timestamp"
          },
          "start": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Start"
          },
          "duration": {
            "anyOf": [
              {
                "type": "number"
              },
              {
                "type": "null"
              }
            ],
            "title": "Duration"
          },
          "width": {
            "anyOf": [
              {
                "type": "integer"
              },
              {
                "type": "null"
              }
            ],
            "title": "Width"
          },
          "columns": {
            "anyOf": [
              {
                "type": "integer"
              },
              {
                "type": "null"
              }
            ],
            "title": "Columns"
          },
          "rows": {
            "anyOf": [
              {
                "type": "integer"
              },
              {
                "type": "null"
              }
            ],
            "title": "Rows"
          },
          "fps": {
            "anyOf": [
              {
                "type": "integer"
              },
              {
                "type": "null"
              }
            ],
            "title": "Fps"
          },
          "output_url": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Output Url"
          },
          "scheduled_at": {
            "anyOf": [
              {
                "format": "date-time",
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Scheduled At"
          }
        },
        "required": [
          "url",
          "preview_type"
        ],
        "title": "PreviewRequest",
        "type": "object"
      },
      "PreviewTypeEnum": {
        "enum": [
          "gif",
          "thumbnail",
          "mosaic",
          "clip"
        ],
        "title": "PreviewTypeEnum",
        "type": "string"
      },
      "PreviewResponse": {
        "properties": {
          "job_id": {
            "title": "Job Id",
            "type": "string"
          },
          "status": {
            "title": "Status",
            "type": "string"
          },
          "preview_url": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Preview Url"
          },
          "expires_at": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Expires At"
          },
          "preview_type": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Preview Type"
          },
          "dimensions": {
            "anyOf": [
              {
                "additionalProperties": true,
                "type": "object"
              },
              {
                "type": "null"
              }
            ],
            "title": "Dimensions"
          }
        },
        "required": [
          "job_id",
          "status"
        ],
        "title": "PreviewResponse",
        "type": "object"
      },
      "FingerprintJobResponse": {
        "properties": {
          "job_id": {
            "title": "Job Id",
            "type": "string"
          },
          "status": {
            "title": "Status",
            "type": "string"
          },
          "credits_charged": {
            "title": "Credits Charged",
            "type": "integer"
          },
          "cached": {
            "default": false,
            "title": "Cached",
            "type": "boolean"
          }
        },
        "required": [
          "job_id",
          "status",
          "credits_charged"
        ],
        "title": "FingerprintJobResponse",
        "type": "object"
      },
      "FingerprintRequest": {
        "properties": {
          "url": {
            "title": "Url",
            "type": "string"
          },
          "timestamp": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Timestamp"
          },
          "hash_size": {
            "default": 16,
            "enum": [
              8,
              16,
              32
            ],
            "title": "Hash Size",
            "type": "integer"
          },
          "output_url": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Output Url"
          },
          "scheduled_at": {
            "anyOf": [
              {
                "format": "date-time",
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Scheduled At"
          }
        },
        "required": [
          "url"
        ],
        "title": "FingerprintRequest",
        "type": "object"
      },
      "FingerprintResponse": {
        "properties": {
          "job_id": {
            "title": "Job Id",
            "type": "string"
          },
          "status": {
            "title": "Status",
            "type": "string"
          },
          "fingerprint_url": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Fingerprint Url"
          },
          "expires_at": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Expires At"
          },
          "hashes": {
            "anyOf": [
              {
                "additionalProperties": true,
                "type": "object"
              },
              {
                "type": "null"
              }
            ],
            "title": "Hashes"
          }
        },
        "required": [
          "job_id",
          "status"
        ],
        "title": "FingerprintResponse",
        "type": "object"
      },
      "CommentsJobResponse": {
        "properties": {
          "job_id": {
            "title": "Job Id",
            "type": "string"
          },
          "status": {
            "title": "Status",
            "type": "string"
          },
          "credits_charged": {
            "title": "Credits Charged",
            "type": "integer"
          },
          "cached": {
            "default": false,
            "title": "Cached",
            "type": "boolean"
          }
        },
        "required": [
          "job_id",
          "status",
          "credits_charged"
        ],
        "title": "CommentsJobResponse",
        "type": "object"
      },
      "CommentsRequest": {
        "properties": {
          "url": {
            "title": "Url",
            "type": "string"
          },
          "max_comments": {
            "default": 100,
            "maximum": 1000,
            "minimum": 1,
            "title": "Max Comments",
            "type": "integer"
          },
          "sort": {
            "allOf": [
              {
                "$ref": "#/components/schemas/SortEnum"
              }
            ],
            "default": "top"
          },
          "include_replies": {
            "default": true,
            "title": "Include Replies",
            "type": "boolean"
          },
          "output_url": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Output Url"
          },
          "scheduled_at": {
            "anyOf": [
              {
                "format": "date-time",
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Scheduled At"
          }
        },
        "required": [
          "url"
        ],
        "title": "CommentsRequest",
        "type": "object"
      },
      "SortEnum": {
        "enum": [
          "top",
          "newest"
        ],
        "title": "SortEnum",
        "type": "string"
      },
      "CommentsResponse": {
        "properties": {
          "job_id": {
            "title": "Job Id",
            "type": "string"
          },
          "status": {
            "title": "Status",
            "type": "string"
          },
          "comments_url": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Comments Url"
          },
          "expires_at": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Expires At"
          },
          "total_comments": {
            "anyOf": [
              {
                "type": "integer"
              },
              {
                "type": "null"
              }
            ],
            "title": "Total Comments"
          },
          "top_level_count": {
            "anyOf": [
              {
                "type": "integer"
              },
              {
                "type": "null"
              }
            ],
            "title": "Top Level Count"
          },
          "has_more": {
            "default": false,
            "title": "Has More",
            "type": "boolean"
          },
          "video_title": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Video Title"
          }
        },
        "required": [
          "job_id",
          "status"
        ],
        "title": "CommentsResponse",
        "type": "object"
      },
      "SubtitlesJobResponse": {
        "properties": {
          "job_id": {
            "title": "Job Id",
            "type": "string"
          },
          "status": {
            "title": "Status",
            "type": "string"
          },
          "credits_charged": {
            "title": "Credits Charged",
            "type": "integer"
          },
          "cached": {
            "default": false,
            "title": "Cached",
            "type": "boolean"
          }
        },
        "required": [
          "job_id",
          "status",
          "credits_charged"
        ],
        "title": "SubtitlesJobResponse",
        "type": "object"
      },
      "SubtitleFormat": {
        "enum": [
          "srt",
          "vtt",
          "ass",
          "json3"
        ],
        "title": "SubtitleFormat",
        "type": "string"
      },
      "SubtitlesRequest": {
        "properties": {
          "url": {
            "title": "Url",
            "type": "string"
          },
          "languages": {
            "default": [
              "en"
            ],
            "items": {
              "type": "string"
            },
            "maxItems": 10,
            "title": "Languages",
            "type": "array"
          },
          "format": {
            "allOf": [
              {
                "$ref": "#/components/schemas/SubtitleFormat"
              }
            ],
            "default": "srt"
          },
          "auto_generated": {
            "default": true,
            "title": "Auto Generated",
            "type": "boolean"
          },
          "webhook_url": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Webhook Url"
          },
          "output_url": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Output Url"
          },
          "scheduled_at": {
            "anyOf": [
              {
                "format": "date-time",
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Scheduled At"
          }
        },
        "required": [
          "url"
        ],
        "title": "SubtitlesRequest",
        "type": "object"
      },
      "SubtitlesResultResponse": {
        "properties": {
          "job_id": {
            "title": "Job Id",
            "type": "string"
          },
          "status": {
            "title": "Status",
            "type": "string"
          },
          "subtitles": {
            "anyOf": [
              {
                "additionalProperties": true,
                "type": "object"
              },
              {
                "type": "null"
              }
            ],
            "title": "Subtitles"
          },
          "available_languages": {
            "anyOf": [
              {
                "items": {
                  "type": "string"
                },
                "type": "array"
              },
              {
                "type": "null"
              }
            ],
            "title": "Available Languages"
          },
          "error_message": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Error Message"
          }
        },
        "required": [
          "job_id",
          "status"
        ],
        "title": "SubtitlesResultResponse",
        "type": "object"
      },
      "ChaptersJobResponse": {
        "properties": {
          "job_id": {
            "title": "Job Id",
            "type": "string"
          },
          "status": {
            "title": "Status",
            "type": "string"
          },
          "credits_charged": {
            "title": "Credits Charged",
            "type": "integer"
          },
          "cached": {
            "default": false,
            "title": "Cached",
            "type": "boolean"
          }
        },
        "required": [
          "job_id",
          "status",
          "credits_charged"
        ],
        "title": "ChaptersJobResponse",
        "type": "object"
      },
      "ChaptersRequest": {
        "properties": {
          "url": {
            "title": "Url",
            "type": "string"
          },
          "webhook_url": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Webhook Url"
          },
          "output_url": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Output Url"
          },
          "scheduled_at": {
            "anyOf": [
              {
                "format": "date-time",
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Scheduled At"
          }
        },
        "required": [
          "url"
        ],
        "title": "ChaptersRequest",
        "type": "object"
      },
      "ChapterItem": {
        "properties": {
          "title": {
            "title": "Title",
            "type": "string"
          },
          "start_time": {
            "title": "Start Time",
            "type": "number"
          },
          "end_time": {
            "title": "End Time",
            "type": "number"
          }
        },
        "required": [
          "title",
          "start_time",
          "end_time"
        ],
        "title": "ChapterItem",
        "type": "object"
      },
      "ChaptersResultResponse": {
        "properties": {
          "job_id": {
            "title": "Job Id",
            "type": "string"
          },
          "status": {
            "title": "Status",
            "type": "string"
          },
          "chapters": {
            "anyOf": [
              {
                "items": {
                  "$ref": "#/components/schemas/ChapterItem"
                },
                "type": "array"
              },
              {
                "type": "null"
              }
            ],
            "title": "Chapters"
          },
          "source": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Source"
          },
          "total_chapters": {
            "anyOf": [
              {
                "type": "integer"
              },
              {
                "type": "null"
              }
            ],
            "title": "Total Chapters"
          },
          "video_title": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Video Title"
          },
          "video_duration": {
            "anyOf": [
              {
                "type": "number"
              },
              {
                "type": "null"
              }
            ],
            "title": "Video Duration"
          },
          "error_message": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Error Message"
          }
        },
        "required": [
          "job_id",
          "status"
        ],
        "title": "ChaptersResultResponse",
        "type": "object"
      },
      "ClipJobResponse": {
        "properties": {
          "job_id": {
            "title": "Job Id",
            "type": "string"
          },
          "status": {
            "title": "Status",
            "type": "string"
          },
          "credits_charged": {
            "title": "Credits Charged",
            "type": "integer"
          },
          "cached": {
            "default": false,
            "title": "Cached",
            "type": "boolean"
          }
        },
        "required": [
          "job_id",
          "status",
          "credits_charged"
        ],
        "title": "ClipJobResponse",
        "type": "object"
      },
      "ClipRequest": {
        "properties": {
          "url": {
            "title": "Url",
            "type": "string"
          },
          "clips": {
            "items": {
              "$ref": "#/components/schemas/ClipSegment"
            },
            "title": "Clips",
            "type": "array"
          },
          "quality": {
            "allOf": [
              {
                "$ref": "#/components/schemas/QualityEnum"
              }
            ],
            "default": "best"
          },
          "format": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/FormatEnum"
              },
              {
                "type": "null"
              }
            ]
          },
          "webhook_url": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Webhook Url"
          },
          "output_url": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Output Url"
          },
          "scheduled_at": {
            "anyOf": [
              {
                "format": "date-time",
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Scheduled At"
          }
        },
        "required": [
          "url",
          "clips"
        ],
        "title": "ClipRequest",
        "type": "object"
      },
      "ClipSegment": {
        "properties": {
          "start": {
            "title": "Start",
            "type": "string"
          },
          "end": {
            "title": "End",
            "type": "string"
          },
          "label": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Label"
          }
        },
        "required": [
          "start",
          "end"
        ],
        "title": "ClipSegment",
        "type": "object"
      },
      "ClipItem": {
        "properties": {
          "label": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Label"
          },
          "start": {
            "title": "Start",
            "type": "string"
          },
          "end": {
            "title": "End",
            "type": "string"
          },
          "duration_seconds": {
            "title": "Duration Seconds",
            "type": "number"
          },
          "url": {
            "title": "Url",
            "type": "string"
          },
          "expires_at": {
            "title": "Expires At",
            "type": "string"
          }
        },
        "required": [
          "label",
          "start",
          "end",
          "duration_seconds",
          "url",
          "expires_at"
        ],
        "title": "ClipItem",
        "type": "object"
      },
      "ClipResultResponse": {
        "properties": {
          "job_id": {
            "title": "Job Id",
            "type": "string"
          },
          "status": {
            "title": "Status",
            "type": "string"
          },
          "clips": {
            "anyOf": [
              {
                "items": {
                  "$ref": "#/components/schemas/ClipItem"
                },
                "type": "array"
              },
              {
                "type": "null"
              }
            ],
            "title": "Clips"
          },
          "download_url": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Download Url"
          },
          "expires_at": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Expires At"
          },
          "video_title": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Video Title"
          },
          "video_duration": {
            "anyOf": [
              {
                "type": "number"
              },
              {
                "type": "null"
              }
            ],
            "title": "Video Duration"
          },
          "skipped_clips": {
            "anyOf": [
              {
                "items": {
                  "type": "string"
                },
                "type": "array"
              },
              {
                "type": "null"
              }
            ],
            "title": "Skipped Clips"
          },
          "error_message": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Error Message"
          }
        },
        "required": [
          "job_id",
          "status"
        ],
        "title": "ClipResultResponse",
        "type": "object"
      },
      "ThumbnailJobResponse": {
        "properties": {
          "job_id": {
            "title": "Job Id",
            "type": "string"
          },
          "status": {
            "title": "Status",
            "type": "string"
          },
          "credits_charged": {
            "title": "Credits Charged",
            "type": "integer"
          },
          "cached": {
            "default": false,
            "title": "Cached",
            "type": "boolean"
          }
        },
        "required": [
          "job_id",
          "status",
          "credits_charged"
        ],
        "title": "ThumbnailJobResponse",
        "type": "object"
      },
      "ThumbnailFormat": {
        "enum": [
          "jpg",
          "png",
          "webp"
        ],
        "title": "ThumbnailFormat",
        "type": "string"
      },
      "ThumbnailRequest": {
        "properties": {
          "url": {
            "title": "Url",
            "type": "string"
          },
          "timestamps": {
            "items": {
              "type": "string"
            },
            "title": "Timestamps",
            "type": "array"
          },
          "format": {
            "allOf": [
              {
                "$ref": "#/components/schemas/ThumbnailFormat"
              }
            ],
            "default": "jpg"
          },
          "width": {
            "anyOf": [
              {
                "type": "integer"
              },
              {
                "type": "null"
              }
            ],
            "title": "Width"
          },
          "webhook_url": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Webhook Url"
          },
          "output_url": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Output Url"
          },
          "scheduled_at": {
            "anyOf": [
              {
                "format": "date-time",
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Scheduled At"
          }
        },
        "required": [
          "url",
          "timestamps"
        ],
        "title": "ThumbnailRequest",
        "type": "object"
      },
      "ThumbnailItem": {
        "properties": {
          "timestamp": {
            "title": "Timestamp",
            "type": "string"
          },
          "timestamp_seconds": {
            "title": "Timestamp Seconds",
            "type": "number"
          },
          "url": {
            "title": "Url",
            "type": "string"
          },
          "expires_at": {
            "title": "Expires At",
            "type": "string"
          }
        },
        "required": [
          "timestamp",
          "timestamp_seconds",
          "url",
          "expires_at"
        ],
        "title": "ThumbnailItem",
        "type": "object"
      },
      "ThumbnailResultResponse": {
        "properties": {
          "job_id": {
            "title": "Job Id",
            "type": "string"
          },
          "status": {
            "title": "Status",
            "type": "string"
          },
          "thumbnails": {
            "anyOf": [
              {
                "items": {
                  "$ref": "#/components/schemas/ThumbnailItem"
                },
                "type": "array"
              },
              {
                "type": "null"
              }
            ],
            "title": "Thumbnails"
          },
          "download_url": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Download Url"
          },
          "expires_at": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Expires At"
          },
          "video_title": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Video Title"
          },
          "video_duration": {
            "anyOf": [
              {
                "type": "number"
              },
              {
                "type": "null"
              }
            ],
            "title": "Video Duration"
          },
          "error_message": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Error Message"
          }
        },
        "required": [
          "job_id",
          "status"
        ],
        "title": "ThumbnailResultResponse",
        "type": "object"
      },
      "JobDetailResponse": {
        "properties": {
          "job_id": {
            "title": "Job Id",
            "type": "string"
          },
          "job_type": {
            "title": "Job Type",
            "type": "string"
          },
          "status": {
            "title": "Status",
            "type": "string"
          },
          "source_url": {
            "title": "Source Url",
            "type": "string"
          },
          "parameters": {
            "additionalProperties": true,
            "title": "Parameters",
            "type": "object"
          },
          "credits_charged": {
            "title": "Credits Charged",
            "type": "integer"
          },
          "download_url": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Download Url"
          },
          "result_data": {
            "anyOf": [
              {
                "additionalProperties": true,
                "type": "object"
              },
              {
                "type": "null"
              }
            ],
            "title": "Result Data"
          },
          "error_message": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Error Message"
          },
          "scheduled_at": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Scheduled At"
          },
          "created_at": {
            "title": "Created At",
            "type": "string"
          },
          "completed_at": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Completed At"
          },
          "expires_at": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Expires At"
          }
        },
        "required": [
          "job_id",
          "job_type",
          "status",
          "source_url",
          "parameters",
          "credits_charged",
          "created_at"
        ],
        "title": "JobDetailResponse",
        "type": "object"
      },
      "JobListItem": {
        "properties": {
          "job_id": {
            "title": "Job Id",
            "type": "string"
          },
          "job_type": {
            "title": "Job Type",
            "type": "string"
          },
          "status": {
            "title": "Status",
            "type": "string"
          },
          "source_url": {
            "title": "Source Url",
            "type": "string"
          },
          "credits_charged": {
            "title": "Credits Charged",
            "type": "integer"
          },
          "scheduled_at": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Scheduled At"
          },
          "created_at": {
            "title": "Created At",
            "type": "string"
          }
        },
        "required": [
          "job_id",
          "job_type",
          "status",
          "source_url",
          "credits_charged",
          "created_at"
        ],
        "title": "JobListItem",
        "type": "object"
      },
      "PaginatedJobsResponse": {
        "properties": {
          "items": {
            "items": {
              "$ref": "#/components/schemas/JobListItem"
            },
            "title": "Items",
            "type": "array"
          },
          "next_cursor": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Next Cursor"
          },
          "has_more": {
            "default": false,
            "title": "Has More",
            "type": "boolean"
          }
        },
        "required": [
          "items"
        ],
        "title": "PaginatedJobsResponse",
        "type": "object"
      },
      "JobCancelResponse": {
        "properties": {
          "job_id": {
            "title": "Job Id",
            "type": "string"
          },
          "status": {
            "title": "Status",
            "type": "string"
          },
          "credits_refunded": {
            "title": "Credits Refunded",
            "type": "integer"
          }
        },
        "required": [
          "job_id",
          "status",
          "credits_refunded"
        ],
        "title": "JobCancelResponse",
        "type": "object"
      },
      "ErrorResponse": {
        "properties": {
          "error": {
            "title": "Error",
            "type": "string"
          },
          "detail": {
            "title": "Detail",
            "type": "string"
          }
        },
        "required": [
          "error",
          "detail"
        ],
        "title": "ErrorResponse",
        "type": "object"
      },
      "JobRetryResponse": {
        "properties": {
          "new_job_id": {
            "title": "New Job Id",
            "type": "string"
          },
          "original_job_id": {
            "title": "Original Job Id",
            "type": "string"
          },
          "status": {
            "title": "Status",
            "type": "string"
          },
          "credits_charged": {
            "title": "Credits Charged",
            "type": "integer"
          }
        },
        "required": [
          "new_job_id",
          "original_job_id",
          "status",
          "credits_charged"
        ],
        "title": "JobRetryResponse",
        "type": "object"
      },
      "JobResignResponse": {
        "properties": {
          "job_id": {
            "title": "Job Id",
            "type": "string"
          },
          "download_url": {
            "title": "Download Url",
            "type": "string"
          },
          "expires_at": {
            "title": "Expires At",
            "type": "string"
          }
        },
        "required": [
          "job_id",
          "download_url",
          "expires_at"
        ],
        "title": "JobResignResponse",
        "type": "object"
      },
      "KeyRotateResponse": {
        "properties": {
          "new_key": {
            "$ref": "#/components/schemas/NewKeyInfo"
          },
          "old_key": {
            "$ref": "#/components/schemas/OldKeyInfo"
          }
        },
        "required": [
          "new_key",
          "old_key"
        ],
        "title": "KeyRotateResponse",
        "type": "object"
      },
      "NewKeyInfo": {
        "properties": {
          "id": {
            "title": "Id",
            "type": "integer"
          },
          "prefix": {
            "title": "Prefix",
            "type": "string"
          },
          "raw_key": {
            "title": "Raw Key",
            "type": "string"
          }
        },
        "required": [
          "id",
          "prefix",
          "raw_key"
        ],
        "title": "NewKeyInfo",
        "type": "object"
      },
      "OldKeyInfo": {
        "properties": {
          "id": {
            "title": "Id",
            "type": "integer"
          },
          "expires_at": {
            "format": "date-time",
            "title": "Expires At",
            "type": "string"
          }
        },
        "required": [
          "id",
          "expires_at"
        ],
        "title": "OldKeyInfo",
        "type": "object"
      },
      "KeyRotateRequest": {
        "properties": {
          "grace_hours": {
            "default": 48,
            "maximum": 168,
            "minimum": 1,
            "title": "Grace Hours",
            "type": "integer"
          }
        },
        "title": "KeyRotateRequest",
        "type": "object"
      },
      "KeyDeleteResponse": {
        "properties": {
          "detail": {
            "title": "Detail",
            "type": "string"
          }
        },
        "required": [
          "detail"
        ],
        "title": "KeyDeleteResponse",
        "type": "object"
      },
      "KeyIpsResponse": {
        "properties": {
          "id": {
            "title": "Id",
            "type": "integer"
          },
          "name": {
            "title": "Name",
            "type": "string"
          },
          "prefix": {
            "title": "Prefix",
            "type": "string"
          },
          "allowed_ips": {
            "items": {
              "type": "string"
            },
            "title": "Allowed Ips",
            "type": "array"
          }
        },
        "required": [
          "id",
          "name",
          "prefix",
          "allowed_ips"
        ],
        "title": "KeyIpsResponse",
        "type": "object"
      },
      "UpdateKeyIpsRequest": {
        "properties": {
          "allowed_ips": {
            "default": [],
            "items": {
              "type": "string"
            },
            "maxItems": 20,
            "title": "Allowed Ips",
            "type": "array"
          }
        },
        "title": "UpdateKeyIpsRequest",
        "type": "object"
      },
      "WebhookResponse": {
        "properties": {
          "id": {
            "title": "Id",
            "type": "integer"
          },
          "url": {
            "title": "Url",
            "type": "string"
          },
          "name": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Name"
          },
          "secret": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Secret"
          },
          "events": {
            "items": {
              "type": "string"
            },
            "title": "Events",
            "type": "array"
          },
          "is_active": {
            "title": "Is Active",
            "type": "boolean"
          },
          "custom_headers": {
            "additionalProperties": {
              "type": "string"
            },
            "title": "Custom Headers",
            "type": "object"
          },
          "is_rotating": {
            "default": false,
            "title": "Is Rotating",
            "type": "boolean"
          },
          "rotation_expires_at": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Rotation Expires At"
          },
          "created_at": {
            "title": "Created At",
            "type": "string"
          },
          "updated_at": {
            "title": "Updated At",
            "type": "string"
          }
        },
        "required": [
          "id",
          "url",
          "events",
          "is_active",
          "created_at",
          "updated_at"
        ],
        "title": "WebhookResponse",
        "type": "object"
      },
      "WebhookCreateRequest": {
        "properties": {
          "url": {
            "title": "Url",
            "type": "string"
          },
          "events": {
            "default": [],
            "items": {
              "type": "string"
            },
            "title": "Events",
            "type": "array"
          },
          "name": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Name"
          },
          "custom_headers": {
            "additionalProperties": {
              "type": "string"
            },
            "title": "Custom Headers",
            "type": "object"
          }
        },
        "required": [
          "url"
        ],
        "title": "WebhookCreateRequest",
        "type": "object"
      },
      "WebhookListResponse": {
        "properties": {
          "items": {
            "items": {
              "$ref": "#/components/schemas/WebhookResponse"
            },
            "title": "Items",
            "type": "array"
          }
        },
        "required": [
          "items"
        ],
        "title": "WebhookListResponse",
        "type": "object"
      },
      "WebhookUpdateRequest": {
        "properties": {
          "url": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Url"
          },
          "events": {
            "anyOf": [
              {
                "items": {
                  "type": "string"
                },
                "type": "array"
              },
              {
                "type": "null"
              }
            ],
            "title": "Events"
          },
          "is_active": {
            "anyOf": [
              {
                "type": "boolean"
              },
              {
                "type": "null"
              }
            ],
            "title": "Is Active"
          },
          "name": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Name"
          },
          "custom_headers": {
            "anyOf": [
              {
                "additionalProperties": {
                  "type": "string"
                },
                "type": "object"
              },
              {
                "type": "null"
              }
            ],
            "title": "Custom Headers"
          }
        },
        "title": "WebhookUpdateRequest",
        "type": "object"
      },
      "WebhookDeliveryListResponse": {
        "properties": {
          "items": {
            "items": {
              "$ref": "#/components/schemas/WebhookDeliveryResponse"
            },
            "title": "Items",
            "type": "array"
          },
          "next_cursor": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Next Cursor"
          },
          "has_more": {
            "default": false,
            "title": "Has More",
            "type": "boolean"
          }
        },
        "required": [
          "items"
        ],
        "title": "WebhookDeliveryListResponse",
        "type": "object"
      },
      "WebhookDeliveryResponse": {
        "properties": {
          "id": {
            "title": "Id",
            "type": "integer"
          },
          "event_type": {
            "title": "Event Type",
            "type": "string"
          },
          "status": {
            "title": "Status",
            "type": "string"
          },
          "response_status": {
            "anyOf": [
              {
                "type": "integer"
              },
              {
                "type": "null"
              }
            ],
            "title": "Response Status"
          },
          "attempts": {
            "title": "Attempts",
            "type": "integer"
          },
          "created_at": {
            "title": "Created At",
            "type": "string"
          },
          "delivered_at": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Delivered At"
          }
        },
        "required": [
          "id",
          "event_type",
          "status",
          "attempts",
          "created_at"
        ],
        "title": "WebhookDeliveryResponse",
        "type": "object"
      },
      "WebhookRotateResponse": {
        "properties": {
          "secret": {
            "title": "Secret",
            "type": "string"
          },
          "previous_secret_expires_at": {
            "title": "Previous Secret Expires At",
            "type": "string"
          }
        },
        "required": [
          "secret",
          "previous_secret_expires_at"
        ],
        "title": "WebhookRotateResponse",
        "type": "object"
      }
    },
    "securitySchemes": {
      "ApiKeyAuth": {
        "type": "http",
        "scheme": "bearer"
      }
    }
  },
  "servers": []
}