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

# Poll a ticket



## OpenAPI

````yaml /api-reference/openapi.json get /v1/uploads/{ticket}
openapi: 3.1.0
info:
  title: AskEditor Platform API
  version: 1.0.0-preview
  description: >-
    The video editing API for AI agents. Every response is wrapped as { success,
    data }. Templates are addressed by id; synchronous templates return their
    result in the run call, queued templates resolve through the jobs envelope.
servers:
  - url: https://api.askeditor.com
security:
  - bearerAuth: []
paths:
  /v1/uploads/{ticket}:
    get:
      summary: Poll a ticket
      operationId: getUpload
      parameters:
        - name: ticket
          in: path
          required: true
          schema:
            type: string
      responses:
        '200':
          description: Ticket state; material is set once uploaded.
          content:
            application/json:
              schema:
                type: object
                properties:
                  success:
                    type: boolean
                  data:
                    type: object
                    properties:
                      status:
                        type: string
                        enum:
                          - pending
                          - uploaded
                          - expired
                      material:
                        type: string
components:
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer

````