This endpoint creates an artifact record and initiates file processing. Use this endpoint after uploading a file via presigned URL, or directly with external URLs/S3 paths.
Uploading a local file? First get a presigned URL using Get Presigned Upload URL, upload your file, then use this endpoint with the S3 path.
Direct URL to download the artifact from an external source.Must be a publicly accessible URL. The file will be downloaded asynchronously.Use when: File is hosted on a CDN, public storage, or web server
Array of media fragments to concatenate into a single artifact.Not supported for script type. Each fragment object must contain:
url or s3Path - source location
startTime - start time in seconds (must be >= 0)
All fragments must have the same format (codec, resolution, frame rate).Use when: Combining multiple clips into one file
Using external AWS S3? To enable external S3 paths or S3 fragments, configure AWS credentials for your API key in Dashboard Settings → API Keys → Select your key → S3 Credentials.
Artifact processing happens asynchronously. The artifact is created immediately, but the file may not be ready for use until status is upload_completed. Always check the status before using the artifact.