Skip to main content
GET
Read an upload

Authorizations

Authorization
string
header
required

A ZeroGen API key: zg_ for a live key, zg_test_ for a test key.

Path Parameters

id
string
required

The upload's ID, as create returned it

Response

The upload.

id
string
required

The upload's ID, which completes it

projectId
string
required
status
enum<string>
required

upload_required: PUT the bytes, then complete; ready: the asset can be used

Available options:
upload_required,
ready
assetId
string | null
required

Once ready, the Library asset to send as a generation input; an identical file already in the project is reused

upload
object | null
required

Where to PUT the file's exact bytes, with these headers, before expiresAt

folder
object

Whether the asset was added to the folder named at create