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
Authorizationheader · string RequiredBearer el_live_…, a workspace API key. This endpoint needs a key with full access. About keys
Response · 201
application/jsonSuccess.
idstring · uuidobjectstring- One of
- upload
upload_urlstring · uriPresigned URL for uploading raw file bytes with PUT. No Authorization or storage-specific headers are needed.
methodstring- One of
- PUT
max_size_bytesinteger- One of
- 5242880000
expires_atstring · date-time
Headers
request-idstringSupport request identifier.
cache-controlstring- 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.
| 400 | Invalid request |
| 401 | Missing, invalid or revoked API key |
| 402 | Insufficient funds or budget |
| 403 | Key or workspace does not allow this operation |
| 404 | Resource not found in this workspace |
| 409 | Conflict |
| 413 | JSON body exceeds 64 KiB |
| 415 | Unsupported content type |
| 422 | Media or order cannot be processed |
| 429 | Shared read limit per API key or write limit per workspace exceeded |
| 500 | Internal error |
| 503 | temporarily_unavailable: request limit enforcement is unavailable, or job submission is busy. Retry after 5 seconds. |