DELETE/v1/videos/{video_id}

動画を削除

完了したジョブと保存された動画を削除します。実行中のジョブは400 video_in_progressを返します。

認証: AuthorizationヘッダーにBearer形式のAPIキー

パスパラメーター

  • video_idstring必須

    動画ジョブのID。

レスポンス

  • 200

    削除しました。

    レスポンス
    • idstring
    • objectstring
    • deletedboolean
  • 400

    不正なリクエスト。paramはフィールド名を、codeは理由(invalid_parameter、unsupported_parameter、unsupported_capability、refusal、previous_response_not_found)を示します。課金されません。

    レスポンス
    • errorobject
      error
      • messagestring

        問題の内容と解決方法。

      • typestring

        例:invalid_request_error、authentication_error、permission_error、rate_limit_error、insufficient_quota、api_error。

      • codestring

        安定したエラーコード。

      • paramstring | null

        該当する場合、問題のあるリクエストフィールド。

      • refusal_reasonenum

        code: refusalの場合にのみ含まれます。

        "cyber_policy""cbrn""content_policy""recitation""data_inspection""unspecified"
  • 401

    キーがないか、形式が不正か、期限切れか、取り消されています。

    レスポンス
    • errorobject
      error
      • messagestring

        問題の内容と解決方法。

      • typestring

        例:invalid_request_error、authentication_error、permission_error、rate_limit_error、insufficient_quota、api_error。

      • codestring

        安定したエラーコード。

      • paramstring | null

        該当する場合、問題のあるリクエストフィールド。

      • refusal_reasonenum

        code: refusalの場合にのみ含まれます。

        "cyber_policy""cbrn""content_policy""recitation""data_inspection""unspecified"
  • 404

    このキーではリソースが見つかりません。

    レスポンス
    • errorobject
      error
      • messagestring

        問題の内容と解決方法。

      • typestring

        例:invalid_request_error、authentication_error、permission_error、rate_limit_error、insufficient_quota、api_error。

      • codestring

        安定したエラーコード。

      • paramstring | null

        該当する場合、問題のあるリクエストフィールド。

      • refusal_reasonenum

        code: refusalの場合にのみ含まれます。

        "cyber_policy""cbrn""content_policy""recitation""data_inspection""unspecified"

リクエスト

curl -X DELETE 'https://api.experientiallabs.ai/v1/videos/video_4e8a1c7b2f9d4053a6e1b8c3d7f2a910' \
  -H "Authorization: Bearer <YOUR_API_KEY>"

レスポンス

{
  "id": "video_4e8a1c7b2f9d4053a6e1b8c3d7f2a910",
  "object": "video.deleted",
  "deleted": true
}

https://api.experientiallabs.ai/v1/videos/video_4e8a1c7b2f9d4053a6e1b8c3d7f2a910