DeepFellow DOCS

Upload

The upload as returned by the API.

The upload as returned by the API.

PropertyTypeRequiredDescription
filenamestringYesThe name of the file to be assembled from this upload's parts.
purposePurposeNoThe intended purpose of the assembled file. Default: "assistants".
bytesintegerYesThe expected total size of the file, in bytes (1 to 512000000000).
mime_typestringYesThe MIME type of the file to be assembled. Becomes the resulting File's content type (an unusable or generic value falls back to one guessed from the filename).
project_idstringYesThe project identifier the upload belongs to.
objectstringNoThe object type, which is always upload. Always upload. Default: "upload".
statusUploadStatusNoThe status of the upload. Default: "pending".
received_bytesintegerNoThe total size of the parts accepted so far. Default: 0.
part_countintegerNoThe number of parts accepted so far (at most the parts one complete request can list). Default: 0.
idstringYesThe upload identifier, which can be referenced in the API endpoints.
created_atintegerNoThe Unix timestamp (in seconds) for when the upload was created.
expires_atintegerNoThe Unix timestamp (in seconds) for when the upload will expire.
fileFile | nullNoThe File produced once this upload completes.

We use cookies on our website. We use them to ensure proper functioning of the site and, if you agree, for purposes such as analytics, marketing, and targeting ads.