Files

Confirm file upload

Confirms a file upload after it has been uploaded to storage

post/files/{id}/uploaded

Request

  • Base URL: https://api.crevio.co/v1
  • URL: https://api.crevio.co/v1/files/{id}/uploaded
  • Auth: API key in header Authorization

Path parameters

idstring required

The resource ID (e.g., "prod_abc123") or slug (e.g., "my-product")

Headers

Idempotency-Keystring

Makes this write safe to retry: a repeat with the same key replays the first response instead of creating a second resource. Scoped to the account, remembered for 24 hours; reusing a key with a different payload is an error.

Response

Upload confirmed

objectstring required
idstring required
kind'file' | 'external_video' required
upload_status'pending' | 'processing' | 'ready' | 'failed' required
source'upload' | 'url_import' | 'external_video' | 'generation' required
titlestring nullable required
descriptionstring nullable required
created_atstring date-time required
updated_atstring date-time required
urlstring nullable required
tagsstring[] nullable required
source_job_idstring nullable required
filenamestring nullable required
content_typestring nullable required
sizeinteger nullable required
providerstring nullable required
file_urlstring nullable required

Changes

No recorded changes to this operation across all 2 revisions of this API.