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

# Upload a single file

> This endpoint is only available for enterprise tier organizations.



## OpenAPI

````yaml post /storage/upload-file
openapi: 3.0.0
info:
  title: Thena Platform
  description: The Thena Platform API description
  version: 1.0.0
  contact: {}
servers:
  - url: https://platform.thena.ai
    description: Platform
  - url: http://localhost:8000
    description: Local
security:
  - ApiKey: []
tags: []
paths:
  /storage/upload-file:
    post:
      tags:
        - Storage
      summary: Upload a single file
      description: This endpoint is only available for enterprise tier organizations.
      operationId: uploadFile
      parameters:
        - name: expiry
          required: false
          in: query
          description: Expiry format for the file if shouldExpire is true
          schema:
            enum:
              - 1d
              - 1w
              - 1m
              - 1y
            type: string
        - name: x-request-source
          required: true
          in: header
          schema:
            type: string
      responses:
        '201':
          description: ''
components:
  securitySchemes:
    ApiKey:
      type: apiKey
      in: header
      name: x-api-key
      description: 'Enter your API key '

````