Skip to content
For the complete documentation index, see llms.txt. This page is also available as Markdown.

Assets

An asset is a file Shade has indexed. Its AssetDTO includes the file's path, type, size, AI-generated details, custom metadata, previews, and the state of each processing job.

  • Look up an asset by path with GET /assets/path, or by ID with GET /assets/{asset_id}. Search, webhooks, and collections all return asset IDs.

  • Get a signed download URL with GET /assets/{asset_id}/download. Use origin_type=SOURCE for the original file or PROXY for the lightweight preview video.

  • *_job_state fields show when previews, proxies, transcription, and AI indexing finish. Rather than polling, subscribe to the webhook events.

Get duplicate file groups for a drive

get

Returns groups of files that have identical content (same hash) within a drive

Authorizations
AuthorizationstringRequired

Your Shade API key, sent as-is with no Bearer prefix. Create one under Settings → Integrate → API keys.

Query parameters
drive_idstring · uuidRequired

The id of the drive to search for duplicates

Example: 7b1e4d2c-5a6f-4e8b-9c3d-2f1a0b9c8d7e
pageinteger · nullableOptional

The page to query

Default: 0
limitinteger · nullableOptional

The limit that is fetched per page

Default: 100
Responses
200

Successful Response

application/json
hashstringRequired
typestring · enumRequiredPossible values:
pathstringRequired
countintegerRequired
preview_imagestring · nullableOptional
get/assets/duplicates
GET /assets/duplicates?drive_id=123e4567-e89b-12d3-a456-426614174000 HTTP/1.1
Host: api.shade.inc
Authorization: YOUR_API_KEY
Accept: */*
[
  {
    "hash": "text",
    "type": "IMAGE",
    "path": "text",
    "count": 1,
    "preview_image": "text"
  }
]

Get all duplicate assets for a specific hash

get

Returns all assets that share the same content hash (duplicates of each other)

Authorizations
AuthorizationstringRequired

Your Shade API key, sent as-is with no Bearer prefix. Create one under Settings → Integrate → API keys.

Path parameters
content_hashstringRequired
Query parameters
drive_idstring · uuidRequired

The id of the drive to search within

Example: 7b1e4d2c-5a6f-4e8b-9c3d-2f1a0b9c8d7e
pageinteger · nullableOptional

The page to query

Default: 0
limitinteger · nullableOptional

The limit that is fetched per page

Default: 100
Responses
200

Successful Response

application/json

Full asset DTO with relationship fields that require eager loading.

idstring · uuidRequired
drive_idstring · uuidRequired
pathstringRequired
namestringRequired
extensionstringRequired
updatedstring · date-timeRequired
createdstring · date-timeRequired
typestring · enumRequiredPossible values:
size_bytesintegerRequired
stack_idstring · uuid · nullableOptional
stack_numberinteger · nullableOptional
is_fs_draft_blobbooleanRequired
is_fs_null_blobbooleanRequired
ratingnumber · nullableOptional
ai_indexedbooleanRequired
categorystring · nullableOptional
ocrstring · nullableOptional
transcription_idstring · uuid · nullableOptional
faces_presentboolean · nullableOptional
content_lengthinteger · nullableOptional
comment_countinteger · nullableOptional
preview_job_statestring · enumRequired

The state of a processing job on an asset, such as previews or transcription.

Possible values:
metadata_job_statestring · enumRequired

The state of a processing job on an asset, such as previews or transcription.

Possible values:
custom_metadata_job_statestring · enumRequired

The state of a processing job on an asset, such as previews or transcription.

Possible values:
core_vision_job_statestring · enumRequired

The state of a processing job on an asset, such as previews or transcription.

Possible values:
color_palette_job_statestring · enumRequired

The state of a processing job on an asset, such as previews or transcription.

Possible values:
core_audio_job_statestring · enumRequired

The state of a processing job on an asset, such as previews or transcription.

Possible values:
audio_job_statestring · enumOptional

The state of a processing job on an asset, such as previews or transcription.

Possible values:
facial_recognition_job_statestring · enumRequired

The state of a processing job on an asset, such as previews or transcription.

Possible values:
proxy_job_statestring · enumRequired

The state of a processing job on an asset, such as previews or transcription.

Possible values:
audio_proxy_job_statestring · enumRequired

The state of a processing job on an asset, such as previews or transcription.

Possible values:
transcription_job_statestring · enumRequired

The state of a processing job on an asset, such as previews or transcription.

Possible values:
scrub_sheet_job_statestring · enumRequired

The state of a processing job on an asset, such as previews or transcription.

Possible values:
custom_thumbnailstring · nullableOptional
get/assets/duplicates/{content_hash}
GET /assets/duplicates/{content_hash}?drive_id=123e4567-e89b-12d3-a456-426614174000 HTTP/1.1
Host: api.shade.inc
Authorization: YOUR_API_KEY
Accept: */*
[
  {
    "id": "123e4567-e89b-12d3-a456-426614174000",
    "drive_id": "123e4567-e89b-12d3-a456-426614174000",
    "path": "text",
    "name": "text",
    "extension": "text",
    "updated": "2026-01-01T00:00:00.000Z",
    "created": "2026-01-01T00:00:00.000Z",
    "type": "IMAGE",
    "size_bytes": 1,
    "stack_id": "123e4567-e89b-12d3-a456-426614174000",
    "stack_number": 1,
    "is_fs_draft_blob": true,
    "is_fs_null_blob": true,
    "rating": 1,
    "ai_indexed": true,
    "system_metadata": {
      "ANY_ADDITIONAL_PROPERTY": "anything"
    },
    "custom_metadata": {
      "ANY_ADDITIONAL_PROPERTY": "anything"
    },
    "category": "text",
    "palette": [
      [
        1
      ]
    ],
    "ocr": "text",
    "transcription_id": "123e4567-e89b-12d3-a456-426614174000",
    "faces_present": true,
    "content_length": 1,
    "comment_count": 1,
    "preview_job_state": "NOT_STARTED",
    "metadata_job_state": "NOT_STARTED",
    "custom_metadata_job_state": "NOT_STARTED",
    "core_vision_job_state": "NOT_STARTED",
    "color_palette_job_state": "NOT_STARTED",
    "core_audio_job_state": "NOT_STARTED",
    "audio_job_state": "NOT_STARTED",
    "facial_recognition_job_state": "NOT_STARTED",
    "proxy_job_state": "NOT_STARTED",
    "audio_proxy_job_state": "NOT_STARTED",
    "transcription_job_state": "NOT_STARTED",
    "scrub_sheet_job_state": "NOT_STARTED",
    "objects": [],
    "texture_data": {
      "ANY_ADDITIONAL_PROPERTY": "anything"
    },
    "integration_data": {
      "ANY_ADDITIONAL_PROPERTY": "anything"
    },
    "preview_images": [
      {
        "id": "123e4567-e89b-12d3-a456-426614174000",
        "frame": 1,
        "signed_url": "text"
      }
    ],
    "custom_thumbnail": "text",
    "proxy": {
      "id": "123e4567-e89b-12d3-a456-426614174000"
    },
    "audio_proxy": {
      "id": "123e4567-e89b-12d3-a456-426614174000"
    },
    "scrub_sheet": {
      "preview_width": 1,
      "preview_height": 1,
      "columns": 1,
      "rows": 1,
      "interval": 1,
      "total_frames": 1,
      "scrub_sheets": [
        "text"
      ]
    },
    "grid_scrub_sheet": {
      "preview_width": 1,
      "preview_height": 1,
      "columns": 1,
      "rows": 1,
      "interval": 1,
      "total_frames": 1,
      "scrub_sheets": [
        "text"
      ]
    }
  }
]

Get all preview images for an asset with signed urls

get

Get all preview images for an asset, including signed URLs for each preview image.

Authorizations
AuthorizationstringRequired

Your Shade API key, sent as-is with no Bearer prefix. Create one under Settings → Integrate → API keys.

Path parameters
asset_idstring · uuidRequired

The id of the asset to retrieve

Example: c2d9e8f1-3b4a-4c5d-8e6f-7a8b9c0d1e2f
Query parameters
drive_idstring · uuidRequired

The id of the drive this asset is in

Example: 7b1e4d2c-5a6f-4e8b-9c3d-2f1a0b9c8d7e
Responses
200

Successful Response

application/json
idstring · uuidRequired
frameintegerRequired
signed_urlstring · nullableOptional
get/assets/{asset_id}/previews
GET /assets/{asset_id}/previews?drive_id=123e4567-e89b-12d3-a456-426614174000 HTTP/1.1
Host: api.shade.inc
Authorization: YOUR_API_KEY
Accept: */*
[
  {
    "id": "123e4567-e89b-12d3-a456-426614174000",
    "frame": 1,
    "signed_url": "text"
  }
]

Clip a video between two timestamps (redirects to edge transcoder)

get
Authorizations
AuthorizationstringRequired

Your Shade API key, sent as-is with no Bearer prefix. Create one under Settings → Integrate → API keys.

Path parameters
asset_idstring · uuidRequired

The id of the asset to retrieve

Example: c2d9e8f1-3b4a-4c5d-8e6f-7a8b9c0d1e2f
Query parameters
drive_idstring · uuidRequired

The id of the drive this asset is in

Example: 7b1e4d2c-5a6f-4e8b-9c3d-2f1a0b9c8d7e
start_timenumberRequired

The start time of the clip in seconds

end_timenumberRequired

The end time of the clip in seconds

Responses
302

Successful Response

No content

get/assets/{asset_id}/clip
GET /assets/{asset_id}/clip?drive_id=123e4567-e89b-12d3-a456-426614174000&start_time=1&end_time=1 HTTP/1.1
Host: api.shade.inc
Authorization: YOUR_API_KEY
Accept: */*

No content

Get a signed download URL for an asset's data

get

Get a signed download URL for an asset's data based on the origin type

Authorizations
AuthorizationstringRequired

Your Shade API key, sent as-is with no Bearer prefix. Create one under Settings → Integrate → API keys.

Path parameters
asset_idstring · uuidRequired

The id of the asset to retrieve

Example: c2d9e8f1-3b4a-4c5d-8e6f-7a8b9c0d1e2f
Query parameters
drive_idstring · uuidRequired

The id of the drive this asset is in

Example: 7b1e4d2c-5a6f-4e8b-9c3d-2f1a0b9c8d7e
origin_typestring · enumRequired

The origin of the asset's data to fetch

Example: SOURCEPossible values:
namestringOptional

The name of the file to download as

downloadbooleanOptional

Whether to download the file or view it inline

Default: true
Responses
200

A signed download URL

application/json
stringOptional
get/assets/{asset_id}/download
GET /assets/{asset_id}/download?drive_id=123e4567-e89b-12d3-a456-426614174000&origin_type=SOURCE HTTP/1.1
Host: api.shade.inc
Authorization: YOUR_API_KEY
Accept: */*
https://storage.example.com/7b1e4d2c-5a6f-4e8b-9c3d-2f1a0b9c8d7e/Fall%20Campaign/Interviews/A001_C003.mov?X-Amz-Signature=...

Get an asset source by redirecting to the signed url

get
Authorizations
AuthorizationstringRequired

Your Shade API key, sent as-is with no Bearer prefix. Create one under Settings → Integrate → API keys.

Path parameters
asset_idstring · uuidRequired

The id of the asset to retrieve

Example: c2d9e8f1-3b4a-4c5d-8e6f-7a8b9c0d1e2f
Query parameters
drive_idstring · uuidRequired

The id of the drive this asset is in

Example: 7b1e4d2c-5a6f-4e8b-9c3d-2f1a0b9c8d7e
namestringOptional

The name of the file to download as

authorizationstring · nullableOptional

Your API key, for clients that can't set headers, such as an <img> or <video> tag. Prefer the Authorization header, since URLs end up in logs and browser history.

shade-collection-idstring · uuid · nullableOptional

The collection id to authorize against, if not provided will use the default collection for the user.

Responses
302

A signed download URL

No content

get/assets/{asset_id}/source
GET /assets/{asset_id}/source?drive_id=123e4567-e89b-12d3-a456-426614174000 HTTP/1.1
Host: api.shade.inc
Authorization: YOUR_API_KEY
Accept: */*

No content

Get an asset from its path

get

Get an asset from its path

Authorizations
AuthorizationstringRequired

Your Shade API key, sent as-is with no Bearer prefix. Create one under Settings → Integrate → API keys.

Query parameters
pathstringRequired

Path of the file or folder, starting with the drive ID, for example /7b1e4d2c-5a6f-4e8b-9c3d-2f1a0b9c8d7e/Project/Interviews/A001.mov.

Example: /7b1e4d2c-5a6f-4e8b-9c3d-2f1a0b9c8d7e/Fall Campaign/Interviews/A001_C003.mov
drive_idstring · uuidRequired

The id of the drive this asset is in

Example: 7b1e4d2c-5a6f-4e8b-9c3d-2f1a0b9c8d7e
Responses
200

The asset

application/json

Full asset DTO with relationship fields that require eager loading.

idstring · uuidRequired
drive_idstring · uuidRequired
pathstringRequired
namestringRequired
extensionstringRequired
updatedstring · date-timeRequired
createdstring · date-timeRequired
typestring · enumRequiredPossible values:
size_bytesintegerRequired
stack_idstring · uuid · nullableOptional
stack_numberinteger · nullableOptional
is_fs_draft_blobbooleanRequired
is_fs_null_blobbooleanRequired
ratingnumber · nullableOptional
ai_indexedbooleanRequired
categorystring · nullableOptional
ocrstring · nullableOptional
transcription_idstring · uuid · nullableOptional
faces_presentboolean · nullableOptional
content_lengthinteger · nullableOptional
comment_countinteger · nullableOptional
preview_job_statestring · enumRequired

The state of a processing job on an asset, such as previews or transcription.

Possible values:
metadata_job_statestring · enumRequired

The state of a processing job on an asset, such as previews or transcription.

Possible values:
custom_metadata_job_statestring · enumRequired

The state of a processing job on an asset, such as previews or transcription.

Possible values:
core_vision_job_statestring · enumRequired

The state of a processing job on an asset, such as previews or transcription.

Possible values:
color_palette_job_statestring · enumRequired

The state of a processing job on an asset, such as previews or transcription.

Possible values:
core_audio_job_statestring · enumRequired

The state of a processing job on an asset, such as previews or transcription.

Possible values:
audio_job_statestring · enumOptional

The state of a processing job on an asset, such as previews or transcription.

Possible values:
facial_recognition_job_statestring · enumRequired

The state of a processing job on an asset, such as previews or transcription.

Possible values:
proxy_job_statestring · enumRequired

The state of a processing job on an asset, such as previews or transcription.

Possible values:
audio_proxy_job_statestring · enumRequired

The state of a processing job on an asset, such as previews or transcription.

Possible values:
transcription_job_statestring · enumRequired

The state of a processing job on an asset, such as previews or transcription.

Possible values:
scrub_sheet_job_statestring · enumRequired

The state of a processing job on an asset, such as previews or transcription.

Possible values:
custom_thumbnailstring · nullableOptional
get/assets/path
GET /assets/path?path=text&drive_id=123e4567-e89b-12d3-a456-426614174000 HTTP/1.1
Host: api.shade.inc
Authorization: YOUR_API_KEY
Accept: */*
{
  "id": "c2d9e8f1-3b4a-4c5d-8e6f-7a8b9c0d1e2f",
  "drive_id": "7b1e4d2c-5a6f-4e8b-9c3d-2f1a0b9c8d7e",
  "path": "/7b1e4d2c-5a6f-4e8b-9c3d-2f1a0b9c8d7e/Fall Campaign/Interviews/A001_C003.mov",
  "name": "A001_C003.mov",
  "extension": "mov",
  "updated": "2026-09-14T17:32:08Z",
  "created": "2026-09-14T17:30:51Z",
  "type": "VIDEO",
  "size_bytes": 4831838208,
  "stack_id": null,
  "stack_number": null,
  "is_fs_draft_blob": false,
  "is_fs_null_blob": false,
  "rating": 4,
  "ai_indexed": true,
  "system_metadata": {
    "Width": 3840,
    "Height": 2160,
    "Duration": 312.48,
    "Frame Rate": 23.976,
    "Codec": "ProRes 422 HQ"
  },
  "custom_metadata": {
    "9a8b7c6d-5e4f-4a3b-8c2d-1e0f9a8b7c6d": "2b3c4d5e-6f7a-4b8c-9d0e-1f2a3b4c5d6e",
    "1c2d3e4f-5a6b-4c7d-8e9f-0a1b2c3d4e5f": [
      "d4e5f6a7-b8c9-4d0e-8f1a-2b3c4d5e6f7a",
      "e5f6a7b8-c9d0-4e1f-9a2b-3c4d5e6f7a8b"
    ],
    "6f5e4d3c-2b1a-4f0e-9d8c-7b6a5f4e3d2c": "Northwind Outdoor"
  },
  "category": "Interview",
  "palette": [
    [
      42,
      38,
      35
    ],
    [
      196,
      162,
      120
    ],
    [
      88,
      104,
      117
    ]
  ],
  "ocr": null,
  "transcription_id": "3e4f5a6b-7c8d-4e9f-a0b1-c2d3e4f5a6b7",
  "faces_present": true,
  "comment_count": 2,
  "preview_job_state": "COMPLETED",
  "metadata_job_state": "COMPLETED",
  "custom_metadata_job_state": "COMPLETED",
  "core_vision_job_state": "COMPLETED",
  "color_palette_job_state": "COMPLETED",
  "core_audio_job_state": "COMPLETED",
  "facial_recognition_job_state": "COMPLETED",
  "proxy_job_state": "COMPLETED",
  "audio_proxy_job_state": "NOT_STARTED",
  "transcription_job_state": "COMPLETED",
  "scrub_sheet_job_state": "COMPLETED",
  "preview_images": [
    {
      "id": "f1e2d3c4-b5a6-4978-8a9b-0c1d2e3f4a5b",
      "frame": 0,
      "signed_url": "https://storage.example.com/previews/f1e2d3c4-b5a6-4978-8a9b-0c1d2e3f4a5b.webp?signature=..."
    }
  ],
  "custom_thumbnail": null
}

Get all assets for a stack

get
Authorizations
AuthorizationstringRequired

Your Shade API key, sent as-is with no Bearer prefix. Create one under Settings → Integrate → API keys.

Path parameters
stack_idstring · uuidRequired

The id of the stack to retrieve assets for

Query parameters
directory_pathstringRequired

The directory path that the stack is located under

drive_idstring · uuidRequired

The id of the drive this stack is in

Example: 7b1e4d2c-5a6f-4e8b-9c3d-2f1a0b9c8d7e
Responses
200

A list of assets for the stack

application/json

Full asset DTO with relationship fields that require eager loading.

idstring · uuidRequired
drive_idstring · uuidRequired
pathstringRequired
namestringRequired
extensionstringRequired
updatedstring · date-timeRequired
createdstring · date-timeRequired
typestring · enumRequiredPossible values:
size_bytesintegerRequired
stack_idstring · uuid · nullableOptional
stack_numberinteger · nullableOptional
is_fs_draft_blobbooleanRequired
is_fs_null_blobbooleanRequired
ratingnumber · nullableOptional
ai_indexedbooleanRequired
categorystring · nullableOptional
ocrstring · nullableOptional
transcription_idstring · uuid · nullableOptional
faces_presentboolean · nullableOptional
content_lengthinteger · nullableOptional
comment_countinteger · nullableOptional
preview_job_statestring · enumRequired

The state of a processing job on an asset, such as previews or transcription.

Possible values:
metadata_job_statestring · enumRequired

The state of a processing job on an asset, such as previews or transcription.

Possible values:
custom_metadata_job_statestring · enumRequired

The state of a processing job on an asset, such as previews or transcription.

Possible values:
core_vision_job_statestring · enumRequired

The state of a processing job on an asset, such as previews or transcription.

Possible values:
color_palette_job_statestring · enumRequired

The state of a processing job on an asset, such as previews or transcription.

Possible values:
core_audio_job_statestring · enumRequired

The state of a processing job on an asset, such as previews or transcription.

Possible values:
audio_job_statestring · enumOptional

The state of a processing job on an asset, such as previews or transcription.

Possible values:
facial_recognition_job_statestring · enumRequired

The state of a processing job on an asset, such as previews or transcription.

Possible values:
proxy_job_statestring · enumRequired

The state of a processing job on an asset, such as previews or transcription.

Possible values:
audio_proxy_job_statestring · enumRequired

The state of a processing job on an asset, such as previews or transcription.

Possible values:
transcription_job_statestring · enumRequired

The state of a processing job on an asset, such as previews or transcription.

Possible values:
scrub_sheet_job_statestring · enumRequired

The state of a processing job on an asset, such as previews or transcription.

Possible values:
custom_thumbnailstring · nullableOptional
get/assets/stack/{stack_id}
GET /assets/stack/{stack_id}?directory_path=text&drive_id=123e4567-e89b-12d3-a456-426614174000 HTTP/1.1
Host: api.shade.inc
Authorization: YOUR_API_KEY
Accept: */*
[
  {
    "id": "123e4567-e89b-12d3-a456-426614174000",
    "drive_id": "123e4567-e89b-12d3-a456-426614174000",
    "path": "text",
    "name": "text",
    "extension": "text",
    "updated": "2026-01-01T00:00:00.000Z",
    "created": "2026-01-01T00:00:00.000Z",
    "type": "IMAGE",
    "size_bytes": 1,
    "stack_id": "123e4567-e89b-12d3-a456-426614174000",
    "stack_number": 1,
    "is_fs_draft_blob": true,
    "is_fs_null_blob": true,
    "rating": 1,
    "ai_indexed": true,
    "system_metadata": {
      "ANY_ADDITIONAL_PROPERTY": "anything"
    },
    "custom_metadata": {
      "ANY_ADDITIONAL_PROPERTY": "anything"
    },
    "category": "text",
    "palette": [
      [
        1
      ]
    ],
    "ocr": "text",
    "transcription_id": "123e4567-e89b-12d3-a456-426614174000",
    "faces_present": true,
    "content_length": 1,
    "comment_count": 1,
    "preview_job_state": "NOT_STARTED",
    "metadata_job_state": "NOT_STARTED",
    "custom_metadata_job_state": "NOT_STARTED",
    "core_vision_job_state": "NOT_STARTED",
    "color_palette_job_state": "NOT_STARTED",
    "core_audio_job_state": "NOT_STARTED",
    "audio_job_state": "NOT_STARTED",
    "facial_recognition_job_state": "NOT_STARTED",
    "proxy_job_state": "NOT_STARTED",
    "audio_proxy_job_state": "NOT_STARTED",
    "transcription_job_state": "NOT_STARTED",
    "scrub_sheet_job_state": "NOT_STARTED",
    "objects": [],
    "texture_data": {
      "ANY_ADDITIONAL_PROPERTY": "anything"
    },
    "integration_data": {
      "ANY_ADDITIONAL_PROPERTY": "anything"
    },
    "preview_images": [
      {
        "id": "123e4567-e89b-12d3-a456-426614174000",
        "frame": 1,
        "signed_url": "text"
      }
    ],
    "custom_thumbnail": "text",
    "proxy": {
      "id": "123e4567-e89b-12d3-a456-426614174000"
    },
    "audio_proxy": {
      "id": "123e4567-e89b-12d3-a456-426614174000"
    },
    "scrub_sheet": {
      "preview_width": 1,
      "preview_height": 1,
      "columns": 1,
      "rows": 1,
      "interval": 1,
      "total_frames": 1,
      "scrub_sheets": [
        "text"
      ]
    },
    "grid_scrub_sheet": {
      "preview_width": 1,
      "preview_height": 1,
      "columns": 1,
      "rows": 1,
      "interval": 1,
      "total_frames": 1,
      "scrub_sheets": [
        "text"
      ]
    }
  }
]

Create a new stack from a list of assets

post

Create a new stack from a list of assets

Authorizations
AuthorizationstringRequired

Your Shade API key, sent as-is with no Bearer prefix. Create one under Settings → Integrate → API keys.

Body
asset_idsstring · uuid[]Required

List of asset IDs to create a stack from

drive_idstring · uuidRequired

The id of the drive these assets are in

Responses
200

The ID of the created stack

application/json
string · uuidOptional
post/assets/stack
POST /assets/stack HTTP/1.1
Host: api.shade.inc
Authorization: YOUR_API_KEY
Content-Type: application/json
Accept: */*
Content-Length: 104

{
  "asset_ids": [
    "123e4567-e89b-12d3-a456-426614174000"
  ],
  "drive_id": "123e4567-e89b-12d3-a456-426614174000"
}
123e4567-e89b-12d3-a456-426614174000

Add an asset to a stack

post

Add an asset to a stack

Authorizations
AuthorizationstringRequired

Your Shade API key, sent as-is with no Bearer prefix. Create one under Settings → Integrate → API keys.

Path parameters
asset_idstring · uuidRequired

The id of the asset to add to the stack

Example: c2d9e8f1-3b4a-4c5d-8e6f-7a8b9c0d1e2f
Query parameters
target_asset_idstring · uuidRequired

The id of an asset in the stack to add the asset to

drive_idstring · uuidRequired

The id of the drive this asset is in

Example: 7b1e4d2c-5a6f-4e8b-9c3d-2f1a0b9c8d7e
Responses
200

The stack number of the added asset

application/json
integerOptional
post/assets/{asset_id}/stack
POST /assets/{asset_id}/stack?target_asset_id=123e4567-e89b-12d3-a456-426614174000&drive_id=123e4567-e89b-12d3-a456-426614174000 HTTP/1.1
Host: api.shade.inc
Authorization: YOUR_API_KEY
Accept: */*
1

Remove an asset from its stack

delete

Remove an asset from its stack

Authorizations
AuthorizationstringRequired

Your Shade API key, sent as-is with no Bearer prefix. Create one under Settings → Integrate → API keys.

Path parameters
asset_idstring · uuidRequired

The id of the asset to remove from its stack

Example: c2d9e8f1-3b4a-4c5d-8e6f-7a8b9c0d1e2f
Query parameters
drive_idstring · uuidRequired

The id of the drive this asset is in

Example: 7b1e4d2c-5a6f-4e8b-9c3d-2f1a0b9c8d7e
Responses
200

Successful Response

application/json
nullOptional
delete/assets/{asset_id}/stack
DELETE /assets/{asset_id}/stack?drive_id=123e4567-e89b-12d3-a456-426614174000 HTTP/1.1
Host: api.shade.inc
Authorization: YOUR_API_KEY
Accept: */*

No content

Move an asset to a new position within its stack

put

Move an asset to a new position within its stack

Authorizations
AuthorizationstringRequired

Your Shade API key, sent as-is with no Bearer prefix. Create one under Settings → Integrate → API keys.

Path parameters
asset_idstring · uuidRequired

The id of the asset to move within the stack

Example: c2d9e8f1-3b4a-4c5d-8e6f-7a8b9c0d1e2f
Query parameters
new_stack_numberintegerRequired

The new stack number position for the asset

drive_idstring · uuidRequired

The id of the drive this asset is in

Example: 7b1e4d2c-5a6f-4e8b-9c3d-2f1a0b9c8d7e
Responses
200

Successful Response

application/json
nullOptional
put/assets/{asset_id}/stack/move
PUT /assets/{asset_id}/stack/move?new_stack_number=1&drive_id=123e4567-e89b-12d3-a456-426614174000 HTTP/1.1
Host: api.shade.inc
Authorization: YOUR_API_KEY
Accept: */*

No content

Get an asset

get

Get an asset

Authorizations
AuthorizationstringRequired

Your Shade API key, sent as-is with no Bearer prefix. Create one under Settings → Integrate → API keys.

Path parameters
asset_idstring · uuidRequired

The id of the asset to retrieve

Example: c2d9e8f1-3b4a-4c5d-8e6f-7a8b9c0d1e2f
Query parameters
drive_idstring · uuidRequired

The id of the drive this asset is in

Example: 7b1e4d2c-5a6f-4e8b-9c3d-2f1a0b9c8d7e
Responses
200

The asset

application/json

Full asset DTO with relationship fields that require eager loading.

idstring · uuidRequired
drive_idstring · uuidRequired
pathstringRequired
namestringRequired
extensionstringRequired
updatedstring · date-timeRequired
createdstring · date-timeRequired
typestring · enumRequiredPossible values:
size_bytesintegerRequired
stack_idstring · uuid · nullableOptional
stack_numberinteger · nullableOptional
is_fs_draft_blobbooleanRequired
is_fs_null_blobbooleanRequired
ratingnumber · nullableOptional
ai_indexedbooleanRequired
categorystring · nullableOptional
ocrstring · nullableOptional
transcription_idstring · uuid · nullableOptional
faces_presentboolean · nullableOptional
content_lengthinteger · nullableOptional
comment_countinteger · nullableOptional
preview_job_statestring · enumRequired

The state of a processing job on an asset, such as previews or transcription.

Possible values:
metadata_job_statestring · enumRequired

The state of a processing job on an asset, such as previews or transcription.

Possible values:
custom_metadata_job_statestring · enumRequired

The state of a processing job on an asset, such as previews or transcription.

Possible values:
core_vision_job_statestring · enumRequired

The state of a processing job on an asset, such as previews or transcription.

Possible values:
color_palette_job_statestring · enumRequired

The state of a processing job on an asset, such as previews or transcription.

Possible values:
core_audio_job_statestring · enumRequired

The state of a processing job on an asset, such as previews or transcription.

Possible values:
audio_job_statestring · enumOptional

The state of a processing job on an asset, such as previews or transcription.

Possible values:
facial_recognition_job_statestring · enumRequired

The state of a processing job on an asset, such as previews or transcription.

Possible values:
proxy_job_statestring · enumRequired

The state of a processing job on an asset, such as previews or transcription.

Possible values:
audio_proxy_job_statestring · enumRequired

The state of a processing job on an asset, such as previews or transcription.

Possible values:
transcription_job_statestring · enumRequired

The state of a processing job on an asset, such as previews or transcription.

Possible values:
scrub_sheet_job_statestring · enumRequired

The state of a processing job on an asset, such as previews or transcription.

Possible values:
custom_thumbnailstring · nullableOptional
get/assets/{asset_id}
GET /assets/{asset_id}?drive_id=123e4567-e89b-12d3-a456-426614174000 HTTP/1.1
Host: api.shade.inc
Authorization: YOUR_API_KEY
Accept: */*
{
  "id": "c2d9e8f1-3b4a-4c5d-8e6f-7a8b9c0d1e2f",
  "drive_id": "7b1e4d2c-5a6f-4e8b-9c3d-2f1a0b9c8d7e",
  "path": "/7b1e4d2c-5a6f-4e8b-9c3d-2f1a0b9c8d7e/Fall Campaign/Interviews/A001_C003.mov",
  "name": "A001_C003.mov",
  "extension": "mov",
  "updated": "2026-09-14T17:32:08Z",
  "created": "2026-09-14T17:30:51Z",
  "type": "VIDEO",
  "size_bytes": 4831838208,
  "stack_id": null,
  "stack_number": null,
  "is_fs_draft_blob": false,
  "is_fs_null_blob": false,
  "rating": 4,
  "ai_indexed": true,
  "system_metadata": {
    "Width": 3840,
    "Height": 2160,
    "Duration": 312.48,
    "Frame Rate": 23.976,
    "Codec": "ProRes 422 HQ"
  },
  "custom_metadata": {
    "9a8b7c6d-5e4f-4a3b-8c2d-1e0f9a8b7c6d": "2b3c4d5e-6f7a-4b8c-9d0e-1f2a3b4c5d6e",
    "1c2d3e4f-5a6b-4c7d-8e9f-0a1b2c3d4e5f": [
      "d4e5f6a7-b8c9-4d0e-8f1a-2b3c4d5e6f7a",
      "e5f6a7b8-c9d0-4e1f-9a2b-3c4d5e6f7a8b"
    ],
    "6f5e4d3c-2b1a-4f0e-9d8c-7b6a5f4e3d2c": "Northwind Outdoor"
  },
  "category": "Interview",
  "palette": [
    [
      42,
      38,
      35
    ],
    [
      196,
      162,
      120
    ],
    [
      88,
      104,
      117
    ]
  ],
  "ocr": null,
  "transcription_id": "3e4f5a6b-7c8d-4e9f-a0b1-c2d3e4f5a6b7",
  "faces_present": true,
  "comment_count": 2,
  "preview_job_state": "COMPLETED",
  "metadata_job_state": "COMPLETED",
  "custom_metadata_job_state": "COMPLETED",
  "core_vision_job_state": "COMPLETED",
  "color_palette_job_state": "COMPLETED",
  "core_audio_job_state": "COMPLETED",
  "facial_recognition_job_state": "COMPLETED",
  "proxy_job_state": "COMPLETED",
  "audio_proxy_job_state": "NOT_STARTED",
  "transcription_job_state": "COMPLETED",
  "scrub_sheet_job_state": "COMPLETED",
  "preview_images": [
    {
      "id": "f1e2d3c4-b5a6-4978-8a9b-0c1d2e3f4a5b",
      "frame": 0,
      "signed_url": "https://storage.example.com/previews/f1e2d3c4-b5a6-4978-8a9b-0c1d2e3f4a5b.webp?signature=..."
    }
  ],
  "custom_thumbnail": null
}

Get Custom Thumbnail Download

get
Authorizations
AuthorizationstringRequired

Your Shade API key, sent as-is with no Bearer prefix. Create one under Settings → Integrate → API keys.

Path parameters
asset_idstring · uuidRequired

The id of the asset to retrieve

Example: c2d9e8f1-3b4a-4c5d-8e6f-7a8b9c0d1e2f
Query parameters
drive_idstring · uuidRequired

The id of the drive this asset is in

Example: 7b1e4d2c-5a6f-4e8b-9c3d-2f1a0b9c8d7e
Responses
200

Successful Response

application/json
idstring · uuidRequired
drive_idstring · uuidRequired
uploader_idstring · uuidRequired
uploadedbooleanRequired
namestringRequired
mime_typestringRequired
sizeintegerRequired
download_urlstringRequired
get/assets/{asset_id}/custom-thumbnail
GET /assets/{asset_id}/custom-thumbnail?drive_id=123e4567-e89b-12d3-a456-426614174000 HTTP/1.1
Host: api.shade.inc
Authorization: YOUR_API_KEY
Accept: */*
{
  "id": "123e4567-e89b-12d3-a456-426614174000",
  "drive_id": "123e4567-e89b-12d3-a456-426614174000",
  "uploader_id": "123e4567-e89b-12d3-a456-426614174000",
  "uploaded": true,
  "name": "text",
  "mime_type": "text",
  "size": 1,
  "download_url": "text"
}

Set Custom Thumbnail

post
Authorizations
AuthorizationstringRequired

Your Shade API key, sent as-is with no Bearer prefix. Create one under Settings → Integrate → API keys.

Path parameters
asset_idstring · uuidRequired

The id of the asset to retrieve

Example: c2d9e8f1-3b4a-4c5d-8e6f-7a8b9c0d1e2f
Body
drive_idstring · uuidOptional

The id of the drive this asset is in

attachment_tokenstringOptional

JWT tokens for attachments to link to this thumbnail

Responses
200

Successful Response

application/json
nullOptional
post/assets/{asset_id}/custom-thumbnail
POST /assets/{asset_id}/custom-thumbnail HTTP/1.1
Host: api.shade.inc
Authorization: YOUR_API_KEY
Content-Type: application/json
Accept: */*
Content-Length: 77

{
  "drive_id": "123e4567-e89b-12d3-a456-426614174000",
  "attachment_token": "text"
}

No content

Reset Custom Thumbnail

delete
Authorizations
AuthorizationstringRequired

Your Shade API key, sent as-is with no Bearer prefix. Create one under Settings → Integrate → API keys.

Path parameters
asset_idstring · uuidRequired

The id of the asset to retrieve

Example: c2d9e8f1-3b4a-4c5d-8e6f-7a8b9c0d1e2f
Query parameters
drive_idstring · uuidRequired

The id of the drive this attachment is in

Example: 7b1e4d2c-5a6f-4e8b-9c3d-2f1a0b9c8d7e
Responses
200

Successful Response

application/json
nullOptional
delete/assets/{asset_id}/custom-thumbnail
DELETE /assets/{asset_id}/custom-thumbnail?drive_id=123e4567-e89b-12d3-a456-426614174000 HTTP/1.1
Host: api.shade.inc
Authorization: YOUR_API_KEY
Accept: */*

No content

Get a preview by its id. Returns as a redirect to the signed url.

get
Authorizations
AuthorizationstringRequired

Your Shade API key, sent as-is with no Bearer prefix. Create one under Settings → Integrate → API keys.

Path parameters
preview_idstring · uuidRequired
Query parameters
drive_idstring · uuidRequired

The id of the drive this asset is in

Example: 7b1e4d2c-5a6f-4e8b-9c3d-2f1a0b9c8d7e
namestring · nullableOptional

The name of the preview to get

authorizationstring · nullableOptional

Your API key, for clients that can't set headers, such as an <img> or <video> tag. Prefer the Authorization header, since URLs end up in logs and browser history.

Responses
302

Successful Response

No content

get/previews/url/{preview_id}
GET /previews/url/{preview_id}?drive_id=123e4567-e89b-12d3-a456-426614174000 HTTP/1.1
Host: api.shade.inc
Authorization: YOUR_API_KEY
Accept: */*

No content

Get a proxy by id by redirecting to the signed url

get
Authorizations
AuthorizationstringRequired

Your Shade API key, sent as-is with no Bearer prefix. Create one under Settings → Integrate → API keys.

Path parameters
proxy_idstring · uuidRequired
Query parameters
drive_idstring · uuidRequired

The id of the drive this asset is in

Example: 7b1e4d2c-5a6f-4e8b-9c3d-2f1a0b9c8d7e
namestring · nullableOptional

The name of the proxy to get

authorizationstring · nullableOptional

Your API key, for clients that can't set headers, such as an <img> or <video> tag. Prefer the Authorization header, since URLs end up in logs and browser history.

shade-collection-idstring · uuid · nullableOptional

The collection id to authorize against, if not provided will use the default collection for the user.

Responses
200

A watermarked HLS playlist, when watermarking applies

audio/mpegurl
stringOptional
get/proxies/{proxy_id}
GET /proxies/{proxy_id}?drive_id=123e4567-e89b-12d3-a456-426614174000 HTTP/1.1
Host: api.shade.inc
Authorization: YOUR_API_KEY
Accept: */*
text

Last updated

Was this helpful?