> ## Documentation Index
> Fetch the complete documentation index at: https://phaseo.app/docs/llms.txt
> Use this file to discover all available pages before exploring further.

# 署名付きダウンロードURLを作成

> レンダリング済み動画のファーストパーティ署名付きダウンロードURLを返します。

ワークスペースのプレビュー機能へのアクセスが必要です。設定、Webhook、結果の処理については、[動画とバッチのジョブ](../../guides/async-video-and-batch.mdx)を参照してください。


## OpenAPI

````yaml ja/openapi/v1/openapi.localized.yaml POST /videos/{video_id}/download_url
openapi: 3.0.3
info:
  title: Phaseo Gateway API
  description: OpenAI互換のエンドポイントを通じて、さまざまなAIモデルにアクセスするためのゲートウェイAPI。
  version: 1.0.0
  contact:
    name: Phaseo
    url: https://phaseo.app
    email: danielbutler500@gmail.com
servers:
  - url: https://api.phaseo.app/v1
    description: グローバルルーティング
security:
  - BearerAuth: []
tags:
  - name: Gateway
    description: Core Phaseo Gateway operations.
paths:
  /videos/{video_id}/download_url:
    post:
      tags:
        - Gateway
      summary: 署名付き動画ダウンロードURLを作成
      description: レンダリング済み動画のファーストパーティ署名付きダウンロードURLを返します。
      operationId: createVideoDownloadUrl
      parameters:
        - name: video_id
          in: path
          required: true
          description: 動画生成リクエストのID。
          schema:
            type: string
      requestBody:
        required: false
        content:
          application/json:
            schema:
              type: object
              properties:
                index:
                  type: integer
                  minimum: 0
                ttl_seconds:
                  type: integer
                  minimum: 1
                disposition:
                  type: string
                  enum:
                    - attachment
                    - inline
      responses:
        '200':
          description: 署名付きダウンロードURL
          content:
            application/json:
              schema:
                type: object
                properties:
                  download_url:
                    type: string
                  expires_at:
                    type: integer
components:
  securitySchemes:
    BearerAuth:
      type: http
      scheme: bearer
      description: Bearer トークンによる認証

````

This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.