Skip to main content

Get Upload

Endpoint

GET /upload/:uploadId

Description

This endpoint allows you to retrieve information about a specific upload task.

Authentication

Authentication is required for this endpoint. Include an API key in the Authorization header:

Authorization: Bearer YOUR_API_KEY

Parameters

ParameterTypeRequiredDescription
uploadIdstringYesThe unique identifier of the upload task.

Response

Success Response

Code: 200 OK

Content example:

{
"id": "00000000-0000-0000-0000-000000000000",
"status": "COMPLETE",
"source": "YOUTUBE",
"sourceUrl": "https://example.com/video.mp4",
"sourceDuration": 600,
"audioUrl": "https://example.com/audio.mp3",
"audioDuration": 600,
"videoUrl": "https://example.com/video_processed.mp4",
"videoDuration": 600,
"format": "VIDEO",
"completionActions": {},
"content": [
{
"id": "content-id-1",
"type": "DISCUSSION QUESTIONS",
"isRichText": true,
"isPage": false,
"created": "1999-04-18T12:05:00Z"
},
{
"id": "content-id-2",
"type": "SUMMARY",
"isRichText": true,
"isPage": false,
"created": "1999-04-18T12:00:00Z"
}
]
}
PropertyTypeDescription
idstringThe unique identifier of the upload task.
statusstringThe current status of the upload task.
sourcestringThe source platform of the video (e.g., YOUTUBE, VIMEO).
sourceUrlstringThe original URL of the uploaded video.
sourceDurationnumberThe duration of the source video in seconds.
audioUrlstringThe URL of the extracted audio file.
audioDurationnumberThe duration of the audio file in seconds.
videoUrlstringThe URL of the processed video file.
videoDurationnumberThe duration of the processed video in seconds.
formatstringThe format of the uploaded video.
completionActionsobjectActions to be performed upon completion of the upload.
contentarrayAn array of content objects related to the upload.

Content Object

PropertyTypeDescription
idstringThe unique identifier of the content item.
typestringThe type of content (e.g., TRANSCRIPT, SUMMARY).
isRichTextbooleanIndicates if the content is in rich text format.
isPagebooleanIndicates if the content is a full page.
createdstringThe creation date and time of the content item in ISO 8601 format.

Notes

  • The content array is sorted by creation date in descending order (newest first).
  • The sourceDuration, audioDuration, and videoDuration are provided in seconds.
  • The audioUrl and videoUrl fields provide direct access to the processed media files.

Error Responses

Unauthorized Error

Code: 401 Unauthorized

Content example:

{
"error": "Unauthorized or missing upload ID"
}

Upload Not Found Error

Code: 404 Not Found

Content example:

{
"error": "Upload not found"
}

Notes

  • The API key used for authentication must match the initiator_id of the upload task.
  • If the upload is not found or the API key doesn't match the initiator_id, appropriate error responses will be returned.