> ## 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.

# वीडियो सूचीबद्ध करें

> प्रमाणित टीम के एसिंक्रोनस वीडियो जनरेशन जॉब सूचीबद्ध करता है।

वर्कस्पेस में पूर्वावलोकन सुविधा का ऐक्सेस आवश्यक है। सेटअप, वेबहुक और परिणामों को संभालने के लिए [वीडियो और बैच कार्य](../../guides/async-video-and-batch.mdx) देखें।


## OpenAPI

````yaml hi/openapi/v1/openapi.localized.yaml GET /videos
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:
    get:
      tags:
        - Gateway
      summary: वीडियो सूचीबद्ध करें
      description: प्रमाणित टीम के एसिंक्रोनस वीडियो जनरेशन जॉब सूचीबद्ध करता है।
      operationId: listVideos
      parameters:
        - name: limit
          in: query
          description: >-
            लौटाए जाने वाले वीडियो जॉब की अधिकतम संख्या। डिफ़ॉल्ट 50 है और सीमा
            200 है।
          schema:
            type: integer
            minimum: 1
            maximum: 200
        - name: status
          in: query
          description: >-
            वीडियो जीवनचक्र स्थिति का फ़िल्टर। पैरामीटर दोहराएँ या कॉमा से अलग
            किए गए मान दें।
          style: form
          explode: true
          schema:
            type: array
            items:
              type: string
        - name: offset
          in: query
          description: पेज लौटाने से पहले छोड़े जाने वाले वीडियो जॉब की संख्या।
          schema:
            type: integer
            minimum: 0
            maximum: 10000
        - name: after
          in: query
          description: चुने गए क्रम में इस वीडियो ID के बाद के वीडियो जॉब लौटाएँ।
          schema:
            type: string
        - name: order
          in: query
          description: वीडियो जॉब को निर्माण समय के अनुसार क्रमबद्ध करें।
          schema:
            type: string
            enum:
              - asc
              - desc
      responses:
        '200':
          description: वीडियो सूची का जवाब
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/VideoListResponse'
components:
  schemas:
    VideoListResponse:
      type: object
      properties:
        object:
          type: string
          example: list
        data:
          type: array
          items:
            $ref: '#/components/schemas/VideoGenerationResponse'
        first_id:
          type: string
          nullable: true
        last_id:
          type: string
          nullable: true
        has_more:
          type: boolean
    VideoGenerationResponse:
      type: object
      properties:
        id:
          type: string
        polling_url:
          type: string
        websocket_url:
          type: string
          format: uri
          description: >-
            एसिंक्रोनस जॉब के सामान्यीकृत जीवनचक्र अपडेट की सदस्यता लेने के लिए
            WebSocket URL।
        model:
          type: string
        request_id:
          type: string
        session_id:
          type: string
        status:
          type: string
          enum:
            - queued
            - processing
            - completed
            - failed
            - cancelled
            - expired
        lifecycle_status:
          type: string
          enum:
            - pending
            - running
            - completed
            - failed
            - cancelled
            - expired
          description: >-
            पोलिंग, WebSocket और webhook उपभोक्ताओं के लिए सामान्यीकृत
            एसिंक्रोनस जीवनचक्र स्थिति।
        cancel_url:
          type: string
          format: uri
          nullable: true
          description: संगतता के लिए आरक्षित; वर्तमान में हमेशा null।
        output_access:
          type: string
          enum:
            - bytes
            - signed_url
            - both
        generation_id:
          type: string
          nullable: true
        native_video_id:
          type: string
          nullable: true
          description: >-
            प्रदाता का मूल वीडियो/जॉब ID, जब वह गेटवे के स्वामित्व वाले ID से
            अलग हो।
        created_at:
          oneOf:
            - type: integer
            - type: string
        started_at:
          nullable: true
          oneOf:
            - type: integer
            - type: string
        completed_at:
          nullable: true
          oneOf:
            - type: integer
            - type: string
        object:
          type: string
          example: video
        poll_after_seconds:
          type: integer
          example: 20
        provider:
          type: string
        seconds:
          type: number
        size:
          type: string
        audio:
          type: boolean
        content_url:
          type: string
          description: जब output_access में bytes शामिल हों तब मौजूद (प्रमाणित एंडपॉइंट)।
        download_url:
          type: string
          nullable: true
          description: >-
            स्थिति completed होने पर सीधे डाउनलोड के लिए प्रथम-पक्ष हस्ताक्षरित
            URL।
        expires_at:
          type: integer
          nullable: true
          description: >-
            हस्ताक्षरित download_url की समय-सीमा समाप्त होने का Unix टाइमस्टैम्प
            (सेकंड)।
        progress:
          type: integer
          nullable: true
        progress_source:
          type: string
        asset:
          type: object
          nullable: true
          properties:
            id:
              type: string
            mime_type:
              type: string
            bytes:
              type: integer
            sha256:
              type: string
            width:
              type: integer
            height:
              type: integer
            duration_seconds:
              type: number
        outputs:
          type: array
          items:
            $ref: '#/components/schemas/VideoOutput'
        billing:
          $ref: '#/components/schemas/VideoBillingSummary'
        webhook:
          $ref: '#/components/schemas/AsyncWebhookPublicState'
        next_webhook_retry_at:
          type: string
          nullable: true
          description: >-
            अगले निर्धारित उपयोगकर्ता-webhook पुनः प्रयास का ISO टाइमस्टैम्प,
            यदि कतार में हो।
        last_webhook_progress:
          type: number
          nullable: true
          description: webhook उपभोक्ताओं को भेजा गया सबसे हालिया मोटा प्रगति स्तर।
        last_webhook_progress_at:
          type: string
          nullable: true
          description: सबसे हालिया webhook प्रगति स्तर भेजे जाने का ISO टाइमस्टैम्प।
        last_webhook_dispatched_at:
          type: string
          nullable: true
          description: सबसे हालिया webhook भेजने के प्रयास का ISO टाइमस्टैम्प।
        usage:
          type: object
          properties:
            cost:
              type: number
            is_byok:
              type: boolean
          additionalProperties: true
        error:
          nullable: true
    VideoOutput:
      type: object
      properties:
        index:
          type: integer
        mime_type:
          type: string
        bytes_available:
          type: boolean
        content_url:
          type: string
          description: जब output_access में bytes शामिल हों तब मौजूद।
        download_url:
          type: string
          description: इस आउटपुट के लिए प्रथम-पक्ष हस्ताक्षरित URL।
        expires_at:
          type: integer
          description: इस आउटपुट URL की समय-सीमा समाप्त होने का Unix टाइमस्टैम्प (सेकंड)।
    VideoBillingSummary:
      type: object
      properties:
        currency:
          type: string
        estimated_provider_cost:
          type: string
          nullable: true
        estimated_user_cost:
          type: string
          nullable: true
        settled_provider_cost:
          type: string
          nullable: true
        settled_user_cost:
          type: string
          nullable: true
        state:
          type: string
          enum:
            - pending
            - estimated
            - settled
            - void
        billable:
          type: boolean
        total_nanos:
          type: integer
          nullable: true
        estimated_nanos:
          type: integer
          nullable: true
        reserved_nanos:
          type: integer
          nullable: true
        reservation_id:
          type: string
          nullable: true
        reservation_status:
          type: string
          nullable: true
        charge_reason:
          type: string
          nullable: true
        charged:
          type: boolean
          nullable: true
        billed_at:
          type: string
      additionalProperties: true
    AsyncWebhookPublicState:
      type: object
      description: >-
        सुरक्षित रूप से साफ़ किया गया एसिंक्रोनस webhook कॉन्फ़िगरेशन और डिलीवरी
        स्थिति। सीक्रेट कभी नहीं लौटाए जाते; `has_secret` बताता है कि
        हस्ताक्षरित डिलीवरी सक्षम हैं या नहीं। हस्ताक्षरित डिलीवरी में
        x-phaseo-signature, x-phaseo-timestamp, x-phaseo-event-id,
        x-phaseo-event-type, x-phaseo-delivery-key, x-phaseo-attempt और
        x-phaseo-max-attempts हेडर शामिल होते हैं।
      properties:
        url:
          type: string
          format: uri
          nullable: true
        events:
          type: array
          items:
            type: string
        has_secret:
          type: boolean
        delivery:
          $ref: '#/components/schemas/AsyncWebhookDeliverySummary'
        attempts:
          type: array
          items:
            $ref: '#/components/schemas/AsyncWebhookDeliveryAttempt'
    AsyncWebhookDeliverySummary:
      type: object
      description: >-
        गेटवे द्वारा प्रबंधित एसिंक्रोनस webhooks की सार्वजनिक डिलीवरी जानकारी।
        इससे जॉब निष्पादन स्थिति को webhook डिलीवरी स्वास्थ्य से अलग समझें।
      properties:
        total_attempts:
          type: integer
          description: इस जॉब के लिए दर्ज कुल डिलीवरी प्रयास।
        delivered_events:
          type: integer
          description: डिलीवरी पूर्ण स्थिति तक पहुँचने वाली डिलीवरी कुंजियों की संख्या।
        delivered_event_types:
          type: array
          description: कम से कम एक बार डिलीवर हुई डिलीवरी कुंजियाँ।
          items:
            type: string
          example:
            - video.completed
        pending_retries:
          type: integer
          description: वर्तमान में पुनः प्रयास के लिए निर्धारित डिलीवरी कुंजियों की संख्या।
        next_retry_at:
          type: string
          nullable: true
          description: अगले निर्धारित पुनः प्रयास का ISO टाइमस्टैम्प, यदि मौजूद हो।
        last_attempt_at:
          type: string
          nullable: true
          description: सबसे हालिया डिलीवरी प्रयास का ISO टाइमस्टैम्प।
        last_attempt_status:
          type: string
          nullable: true
          enum:
            - delivered
            - scheduled_retry
            - failed_permanently
          description: सबसे हालिया डिलीवरी प्रयास का परिणाम।
        last_response_status:
          type: integer
          nullable: true
          description: webhook गंतव्य द्वारा लौटाई गई HTTP स्थिति, यदि उपलब्ध हो।
        last_delivered_at:
          type: string
          nullable: true
          description: सबसे हालिया सफल डिलीवरी का ISO टाइमस्टैम्प।
        last_failure_at:
          type: string
          nullable: true
          description: सबसे हालिया विफल या पुनः प्रयास वाले प्रयास का ISO टाइमस्टैम्प।
        last_error_message:
          type: string
          nullable: true
          description: सबसे हालिया डिलीवरी त्रुटि संदेश, यदि उपलब्ध हो।
    AsyncWebhookDeliveryAttempt:
      type: object
      description: गेटवे द्वारा प्रबंधित एसिंक्रोनस webhook का हालिया डिलीवरी प्रयास।
      properties:
        id:
          type: string
          description: ऑडिट और डिबगिंग के लिए स्थिर प्रयास पहचानकर्ता।
        delivery_key:
          type: string
          description: इस इवेंट की डिलीवरी के लिए आइडेम्पोटेंसी कुंजी।
          example: video.completed
        event_type:
          type: string
          description: webhook गंतव्य को डिलीवर किया गया इवेंट प्रकार।
          example: video.completed
        status:
          type: string
          enum:
            - delivered
            - scheduled_retry
            - failed_permanently
        attempt_number:
          type: integer
          description: इस डिलीवरी कुंजी के लिए एक से शुरू होने वाला प्रयास क्रमांक।
        max_attempts:
          type: integer
          description: डिलीवरी को स्थायी रूप से विफल चिह्नित करने से पहले अधिकतम प्रयास।
        tried_at:
          type: string
          description: यह प्रयास किए जाने का ISO टाइमस्टैम्प।
        delivered_at:
          type: string
          nullable: true
          description: इस प्रयास की सफल डिलीवरी का ISO टाइमस्टैम्प।
        next_retry_at:
          type: string
          nullable: true
          description: >-
            इस प्रयास के बाद अगले पुनः प्रयास का ISO टाइमस्टैम्प, यदि निर्धारित
            हो।
        response_status:
          type: integer
          nullable: true
          description: webhook गंतव्य द्वारा लौटाई गई HTTP स्थिति, यदि उपलब्ध हो।
        error_message:
          type: string
          nullable: true
          description: डिलीवरी त्रुटि संदेश, यदि उपलब्ध हो।
        response_body_preview:
          type: string
          nullable: true
          description: >-
            webhook गंतव्य के जवाब के बॉडी का संवेदनशील जानकारी हटाया गया
            पूर्वावलोकन।
  securitySchemes:
    BearerAuth:
      type: http
      scheme: bearer
      description: Bearer टोकन से प्रमाणीकरण

````

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