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

# Fill a ticket from a shell (no browser)

> The ticket IS the credential: one file, one project, once, within 30 minutes. No API key here on purpose — never put a spending credential in a shell command.



## OpenAPI

````yaml /api-reference/openapi.json post /v1/uploads/{ticket}/file
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}/file:
    post:
      summary: Fill a ticket from a shell (no browser)
      description: >-
        The ticket IS the credential: one file, one project, once, within 30
        minutes. No API key here on purpose — never put a spending credential in
        a shell command.
      operationId: uploadFile
      parameters:
        - name: ticket
          in: path
          required: true
          schema:
            type: string
      requestBody:
        content:
          multipart/form-data:
            schema:
              type: object
              properties:
                file:
                  type: string
                  format: binary
      responses:
        '200':
          description: The material handle to pass to a run.
          content:
            application/json:
              schema:
                type: object
                properties:
                  success:
                    type: boolean
                  data:
                    type: object
                    properties:
                      material:
                        type: string
                      bytes:
                        type: number
                      status:
                        type: string
      security: []
components:
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer

````