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

# Presign Upload URL



## OpenAPI

````yaml POST /storage/uploads/presign
openapi: 3.1.0
info:
  title: eomer.ai Forecasting API
  description: >-
    Production-grade time series forecasting and natural-language forecasting
    agent
  version: 0.1.0
servers: []
security: []
tags:
  - name: forecasting
    description: Time-series forecasting jobs
  - name: agent
    description: >-
      Natural-language forecasting: extract intent from a prompt, profile and
      recommend a model, and auto-submit a forecast.
  - name: tabular
    description: Classification and regression
  - name: fine-tuning
    description: Custom model training
  - name: storage
    description: Cloud dataset storage
  - name: estimates
    description: Cost and runtime estimation
  - name: system
    description: Health checks and model catalog
paths:
  /storage/uploads/presign:
    post:
      tags:
        - storage
      summary: Presign Upload Url
      operationId: presign_upload_url_storage_uploads_presign_post
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/StoragePresignUploadRequest'
        required: true
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/StoragePresignUploadResponse'
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
      security:
        - HTTPBearer: []
components:
  schemas:
    StoragePresignUploadRequest:
      properties:
        filename:
          type: string
          maxLength: 255
          minLength: 1
          title: Filename
        content_type:
          type: string
          maxLength: 255
          minLength: 3
          title: Content Type
        file_size:
          anyOf:
            - type: integer
              minimum: 1
            - type: 'null'
          title: File Size
        category:
          $ref: '#/components/schemas/StorageUploadCategory'
          default: raw
      additionalProperties: false
      type: object
      required:
        - filename
        - content_type
      title: StoragePresignUploadRequest
      description: Request body for issuing a presigned upload URL.
    StoragePresignUploadResponse:
      properties:
        object_id:
          type: string
          title: Object Id
        upload_url:
          type: string
          title: Upload Url
        method:
          type: string
          title: Method
          default: PUT
        required_headers:
          additionalProperties:
            type: string
          type: object
          title: Required Headers
        expires_at:
          type: string
          format: date-time
          title: Expires At
      type: object
      required:
        - object_id
        - upload_url
        - expires_at
      title: StoragePresignUploadResponse
      description: Response body for presigned upload URL issuance.
    HTTPValidationError:
      properties:
        detail:
          items:
            $ref: '#/components/schemas/ValidationError'
          type: array
          title: Detail
      type: object
      title: HTTPValidationError
    StorageUploadCategory:
      type: string
      enum:
        - raw
        - processed
        - exports
        - tmp
      title: StorageUploadCategory
      description: Server-defined object key categories.
    ValidationError:
      properties:
        loc:
          items:
            anyOf:
              - type: string
              - type: integer
          type: array
          title: Location
        msg:
          type: string
          title: Message
        type:
          type: string
          title: Error Type
        input:
          title: Input
        ctx:
          type: object
          title: Context
      type: object
      required:
        - loc
        - msg
        - type
      title: ValidationError
  securitySchemes:
    HTTPBearer:
      type: http
      scheme: bearer

````