v1.0.0OpenAPI 3.1.1

Assets API

Download OpenAPI Document

Upload, organize and fetch the files every job works on.

Upload, organize and fetch the files your jobs work on. Every file you upload, and every result a product saves for you, is an asset in your organization's drive. New here? Read Assets for the whole flow.

Every request

Send your organization API key in the x-api-key header; it starts with uvk_. The key and organization limits count requests over a rolling minute. See Authentication and Rate limits.

Send small files with Upload files. For large files, use a direct upload or a multipart upload: you send the bytes straight to storage, then file them as an asset. Already online? Import a file from a link.

Browse with List assets, and hand a whole directory to a job with List files in a directory. Each file has a storage key and a url. Deleted assets stay in the trash for 30 days.

Directories hold files in the drive. Projects are different: they group the work for one client or job — tasks, the processes filed under them, and their files — and each has its own directory, /Projects/<name>/. They have their own Projects API; start with List projects.

None of these endpoints charge credits.

Server
{{API_BASE_URL}}
Your API environment
Authentication RequiredApiKeyAuth
Your organization API key (starts with `uvk_`). Create one in the Universe app under Settings → API keys.
x-api-key:
Client Libraries
Shell

List assets

List files in a directory

Create a directory

Rename an asset

Move assets

Replace a file with an upload

Add a shortcut

Download as a zip

Auth Required

Download files and whole directories as one zip, streamed as it is built. Directories keep their structure inside the zip. Up to 2,000 files or 5 GB per request.

Permission: asset:read. An API key acts with the role of the member who created it.

Bodyrequiredapplication/json

idsstring[]required

IDs of the files and directories to put in the zip. A directory brings everything inside it, with its sub-directories as paths.

Example: ["acc539c5-32f4-4690-95b5-b245fec51066"]
namestring

Name for the zip, without .zip. Defaults to download.

Example: Brochure DE - Wave 1

Responses

200The zip, as `application/zip` with a `Content-Disposition` attachment name.
application/zip
bodyany
400Too much at once (`That is too much to download at once (2,000 files or 5 GB). Pick fewer items.`), or nothing but empty directories was selected.
application/json
statusCodeintegerrequired

HTTP status code, repeated in the body.

Example: 404
messagestring | string[]required

What went wrong, for people. Validation failures list one entry per problem. Do not branch on this text.

Example: Booking not found
errorstring

Short name of the status.

Example: Not Found
401The `x-api-key` header is missing, or the key is invalid, expired or deleted.
application/json
statusCodeintegerrequired

HTTP status code, repeated in the body.

Example: 404
messagestring | string[]required

What went wrong, for people. Validation failures list one entry per problem. Do not branch on this text.

Example: Booking not found
errorstring

Short name of the status.

Example: Not Found
403Not allowed: the API key's role lacks the permission (`PermissionDenied`), the product is not enabled for your organization, or it has been turned off.
application/json
statusCodeintegerrequired

HTTP status code, repeated in the body.

Example: 404
messagestring | string[]required

What went wrong, for people. Validation failures list one entry per problem. Do not branch on this text.

Example: Booking not found
errorstring

Short name of the status.

Example: Not Found
404None of the ids is an asset you can see (`Nothing to download`).
application/json
statusCodeintegerrequired

HTTP status code, repeated in the body.

Example: 404
messagestring | string[]required

What went wrong, for people. Validation failures list one entry per problem. Do not branch on this text.

Example: Booking not found
errorstring

Short name of the status.

Example: Not Found
429Too many requests for this key. Wait the number of seconds in `Retry-After`, then retry.
application/json
statusCodeintegerrequired

HTTP status code, repeated in the body.

Example: 404
messagestring | string[]required

What went wrong, for people. Validation failures list one entry per problem. Do not branch on this text.

Example: Booking not found
errorstring

Short name of the status.

Example: Not Found
500Something failed on our side. Retry with backoff; if it persists, contact support with the `X-Request-Id`.
application/json
statusCodeintegerrequired

HTTP status code, repeated in the body.

Example: 404
messagestring | string[]required

What went wrong, for people. Validation failures list one entry per problem. Do not branch on this text.

Example: Booking not found
errorstring

Short name of the status.

Example: Not Found
POST/v1/assets-management/download-zip
curl '{{API_BASE_URL}}/v1/assets-management/download-zip' \
  --request POST \
  --header 'x-api-key: YOUR_API_KEY' \
  --header 'Content-Type: application/json' \
  --data '{
  "ids": [
    "acc539c5-32f4-4690-95b5-b245fec51066"
  ],
  "name": "Brochure DE - Wave 1"
}'
No body

Get storage usage

Trash

Deleted assets wait here for 30 days, then are deleted for good. Restore them, delete them now, or empty the whole trash.

List the trash

Restore from the trash

Models

AbortMultipartUploadDto
AssetDto
AssetFavoriteDto
AssetListResponseDto
AssetMemberDto
AssetPartUrlDto
AssetPartUrlsResponseDto
AssetRecordDto
AssetSuccessResponseDto
AssetUserDto
CompletedPartDto
CompleteMultipartUploadDto
CreateAliasDto
CreateDriveFolderDto
DownloadZipDto
FolderFileDto
FolderFilesFolderDto
FolderFilesResponseDto
GetPartUrlsDto
ImportFromUrlDto
InitiateAssetMultipartResponseDto
InitiateMultipartUploadDto
MoveAssetsDto
MoveAssetsResponseDto
PresignDirectUploadDto
PresignDirectUploadResponseDto
RegisterDirectUploadDto
RegisteredUploadResponseDto
StorageUsageResponseDto
TrashedAssetDto
TrashListResponseDto
UploadedAssetResultDto