creatives_request_upload
Compatibility entrypoint. Calls without a stable idempotency_key return status=upgrade_required before any row or storage work, with recommended_tool=creatives_request_upload_v2. Calls that already provide a stable key use the redacted v2 proxy contract. Provider presigned URLs and storage keys are never returned.
REQUIRED: filename (str), content_type (str — image/jpeg, image/png, image/gif, image/webp, video/mp4, video/quicktime, video/webm, video/x-msvideo), file_size (int — bytes, ≤ 500MB), file_hash (str — sha256 hex). Optional: idempotency_key (str — recommended stable key per user upload action; reuse only for reconciliation/retry), upload_attempt (int, default 1; increment only for an explicit retry), folder_id (str — UUID). Trust the returned upload_attempt and reconciled fields. EXAMPLE: creatives_request_upload({"filename": "hero.mp4", "content_type": "video/mp4", "file_size": 12345678, "file_hash": "abc...", "idempotency_key": "upload-20260723-example", "upload_attempt": 1})
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| filename | Yes | ||
| file_hash | Yes | ||
| file_size | Yes | ||
| folder_id | No | ||
| content_type | Yes | ||
| upload_attempt | No | ||
| idempotency_key | No |