Echo Labs Docs
Search the docs
Find a guide, an endpoint or a section

Create upload

Reserve an upload; PUT raw file bytes to the returned URL

POST https://api.el.ai/v1/uploads

Requires full key access. No request body is needed. Upload URL expires in six hours. Call POST /jobs with upload_id after upload completes.

Authorization

  • Authorization header · string Required

    Bearer el_live_…, a workspace API key. This endpoint needs a key with full access. About keys

Response · 201

application/json

Success.

  • id string · uuid
  • object string
    One of
    upload
  • upload_url string · uri

    Presigned URL for uploading raw file bytes with PUT. No Authorization or storage-specific headers are needed.

  • method string
    One of
    PUT
  • max_size_bytes integer
    One of
    5242880000
  • expires_at string · date-time

Headers

  • request-id string

    Support request identifier.

  • cache-control string
    One of
    no-store

Errors

Errors share one shape: an error object with a stable code and a human-readable message. See Errors and retries.

400Invalid request
401Missing, invalid or revoked API key
402Insufficient funds or budget
403Key or workspace does not allow this operation
404Resource not found in this workspace
409Conflict
413JSON body exceeds 64 KiB
415Unsupported content type
422Media or order cannot be processed
429Shared read limit per API key or write limit per workspace exceeded
500Internal error
503temporarily_unavailable: request limit enforcement is unavailable, or job submission is busy. Retry after 5 seconds.