This method provides information about an upload session, including its current status, chunk-level progress, and completion state.
Use this method to:
status = completed)uploaded_size with total_sizeYou must call this method after reporting chunk completion to confirm the upload has transitioned to the completed status before using the asset.
A number that identifies the page to retrieve.
Default: 1.
The number of items to return on each page.
Default: 10.
Max: 50.
The status of your upload session. This field can take one of the following values:
active: The upload session is currently in progress. Continue uploading and reporting the completion of each chunk.completed: The upload session is finished, and your asset is now ready for use.failed: The upload session has failed. You must restart with a new session.expired: The upload session has expired after 24 hours, and you must create a new session.The number of chunks successfully uploaded and reported. When this value equals total_chunks, the status of your upload session transitions to completed.
The number of chunks that failed to upload. If the number is greater than 0, check the uploaded_chunks array for specific failures and retry those chunks.
The number of chunks not yet successfully uploaded. This value is calculated as: total_chunks - chunks_completed - chunks_failed.
A string representing the date and time, in RFC 3339 format (“YYYY-MM-DDTHH:mm:ssZ”), when the resource was created.
A string representing the date and time, in RFC 3339 format (“YYYY-MM-DDTHH:mm:ssZ”), when the resource was last updated.
Your API key.
You can find your API key on the API Keys page.