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

Files & folders

Move, copy, rename, trash, and delete files and folders, and create folders.

Paths start with the drive ID, for example /7b1e4d2c-5a6f-4e8b-9c3d-2f1a0b9c8d7e/Project/Interviews/A001.mov. Renaming is a move to a new path in the same folder.

  • Prefer POST /files/trash over POST /files/delete. Trashed files can be restored from the drive's trash, but deleted files can't.

  • The /batch variants take a list of paths in one request.

To upload files, use the S3 API or the file system API. GET /workspaces/drives/{drive_id}/shade-fs-token issues the token the file system API needs.

Ensure a directory exists at the given path, creating if needed

post
Authorizations
AuthorizationstringRequired

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

Body
pathstring · pathRequired

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

drive_idstring · uuidRequired

The id of the drive we want to make a directory in

Responses
200

Successful Response

application/json
nullOptional
post/files/directory
POST /files/directory HTTP/1.1
Host: api.shade.inc
Authorization: YOUR_API_KEY
Content-Type: application/json
Accept: */*
Content-Length: 120

{
  "drive_id": "7b1e4d2c-5a6f-4e8b-9c3d-2f1a0b9c8d7e",
  "path": "/7b1e4d2c-5a6f-4e8b-9c3d-2f1a0b9c8d7e/Fall Campaign/Selects"
}

No content

Ensure a list of directories exist at the given path, creating if needed

post
Authorizations
AuthorizationstringRequired

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

Body
pathsstring · path[]Required

The paths to ensure directories exist at

drive_idstring · uuidRequired

The id of the drive we want to make a directory in

Responses
200

Successful Response

application/json
nullOptional
post/files/directory/batch
POST /files/directory/batch HTTP/1.1
Host: api.shade.inc
Authorization: YOUR_API_KEY
Content-Type: application/json
Accept: */*
Content-Length: 68

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

No content

Move a file or folder to a new location

post

Move a file or folder to a new location

Authorizations
AuthorizationstringRequired

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

Body
sourcestring · pathRequired

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

destinationstring · pathRequired

New path for the file or folder, starting with the drive ID. To rename, keep the same folder and change the name.

drive_idstring · uuidRequired

The id of the drive containing the file to move

Responses
200

Successful Response

application/json
nullOptional
post/files/move
POST /files/move HTTP/1.1
Host: api.shade.inc
Authorization: YOUR_API_KEY
Content-Type: application/json
Accept: */*
Content-Length: 213

{
  "drive_id": "7b1e4d2c-5a6f-4e8b-9c3d-2f1a0b9c8d7e",
  "source": "/7b1e4d2c-5a6f-4e8b-9c3d-2f1a0b9c8d7e/Inbox/A001_C003.mov",
  "destination": "/7b1e4d2c-5a6f-4e8b-9c3d-2f1a0b9c8d7e/Fall Campaign/Interviews/A001_C003.mov"
}

No content

Move a file or folder from one drive to another in FS mode

post
Authorizations
AuthorizationstringRequired

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

Body
drive_id_srcstring · uuidRequired

The id of the drive containing the file to move

drive_id_dststring · uuidRequired

The id of the drive to move the file to

Responses
200

Successful Response

application/json
nullOptional
post/files/interdrive/move
POST /files/interdrive/move HTTP/1.1
Host: api.shade.inc
Authorization: YOUR_API_KEY
Content-Type: application/json
Accept: */*
Content-Length: 147

{
  "drive_id_src": "123e4567-e89b-12d3-a456-426614174000",
  "drive_id_dst": "123e4567-e89b-12d3-a456-426614174000",
  "paths": [
    {
      "src": "text",
      "dst": "text"
    }
  ]
}

No content

Copy a file or folder from one drive to another in FS mode

post
Authorizations
AuthorizationstringRequired

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

Body
source_drive_idstring · uuidRequired

The id of the drive containing the file to copy

destination_drive_idstring · uuidRequired

The id of the drive to copy the file to

Responses
200

Successful Response

application/json
nullOptional
post/files/interdrive/copy
POST /files/interdrive/copy HTTP/1.1
Host: api.shade.inc
Authorization: YOUR_API_KEY
Content-Type: application/json
Accept: */*
Content-Length: 158

{
  "paths": [
    {
      "src": "text",
      "dst": "text"
    }
  ],
  "source_drive_id": "123e4567-e89b-12d3-a456-426614174000",
  "destination_drive_id": "123e4567-e89b-12d3-a456-426614174000"
}

No content

Move a batch of files or folders to a new location

post

NOTE: this route only works when the sources come from the same folder

Authorizations
AuthorizationstringRequired

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

Body
sourcesstring · path[]Required

The paths of the files or folders to move

destinationsstring · path[]Required

The path to move the file or folder to

drive_idstring · uuidRequired

The id of the drive containing the file to move

Responses
200

The new paths of the files or folders

application/json
string · path[]Optional
post/files/move/batch
POST /files/move/batch HTTP/1.1
Host: api.shade.inc
Authorization: YOUR_API_KEY
Content-Type: application/json
Accept: */*
Content-Length: 94

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

Copy a file to a new location

post

Copy a file or folder to a new location

Authorizations
AuthorizationstringRequired

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

Body
sourcestring · pathRequired

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

destinationstring · pathRequired

New path for the file or folder, starting with the drive ID. To rename, keep the same folder and change the name.

drive_idstring · uuidRequired

The id of the drive containing the file to copy

Responses
200

Successful Response

application/json
nullOptional
post/files/copy
POST /files/copy HTTP/1.1
Host: api.shade.inc
Authorization: YOUR_API_KEY
Content-Type: application/json
Accept: */*
Content-Length: 88

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

No content

Move a file or folder to the trash

post

Move a file or folder to the trash

Authorizations
AuthorizationstringRequired

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

Body
pathstring · pathRequired

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

drive_idstring · uuidRequired

The id of the drive containing the file we want to move to trash

Responses
200

Successful Response

application/json
nullOptional
post/files/trash
POST /files/trash HTTP/1.1
Host: api.shade.inc
Authorization: YOUR_API_KEY
Content-Type: application/json
Accept: */*
Content-Length: 65

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

No content

Move a file or folder to the trash

post

Move a file or folder to the trash

Authorizations
AuthorizationstringRequired

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

Body
pathsstring · path[]Required

The paths of the files or folders to move to the trash

drive_idstring · uuidRequired

The id of the drive containing the file we want to move to trash

Responses
200

The new paths of the files or folders

application/json
string · path[]Optional
post/files/trash/batch
POST /files/trash/batch HTTP/1.1
Host: api.shade.inc
Authorization: YOUR_API_KEY
Content-Type: application/json
Accept: */*
Content-Length: 219

{
  "drive_id": "7b1e4d2c-5a6f-4e8b-9c3d-2f1a0b9c8d7e",
  "paths": [
    "/7b1e4d2c-5a6f-4e8b-9c3d-2f1a0b9c8d7e/Fall Campaign/Interviews/A001_C001.mov",
    "/7b1e4d2c-5a6f-4e8b-9c3d-2f1a0b9c8d7e/Fall Campaign/Interviews/A001_C002.mov"
  ]
}
[
  "text"
]

Delete a file or folder

post

Delete a file or folder

Authorizations
AuthorizationstringRequired

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

Body
pathstring · pathRequired

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

drive_idstring · uuidRequired

The id of the drive containing the file we want to delete

Responses
200

Successful Response

application/json
nullOptional
post/files/delete
POST /files/delete HTTP/1.1
Host: api.shade.inc
Authorization: YOUR_API_KEY
Content-Type: application/json
Accept: */*
Content-Length: 65

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

No content

Delete files or folders in batch

post

Delete files or folders in batch

Authorizations
AuthorizationstringRequired

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

Body
pathsstring · path[]Required

The paths of the files or folders to delete

drive_idstring · uuidRequired

The id of the drive containing the file we want to delete

Responses
200

Successful Response

application/json
string · path[]Optional
post/files/delete/batch
POST /files/delete/batch HTTP/1.1
Host: api.shade.inc
Authorization: YOUR_API_KEY
Content-Type: application/json
Accept: */*
Content-Length: 68

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

Retrieve if a path exists or not on filesystem

get
Authorizations
AuthorizationstringRequired

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

Query parameters
pathstring · pathRequired

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

drive_idstring · uuidRequired

The id of the drive containing to check if the file exists in

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

Successful Response

application/json
booleanOptional
get/files/exists
GET /files/exists?path=text&drive_id=123e4567-e89b-12d3-a456-426614174000 HTTP/1.1
Host: api.shade.inc
Authorization: YOUR_API_KEY
Accept: */*
true

Retrieve the storage provider for the files

get
Authorizations
AuthorizationstringRequired

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

Responses
200

Successful Response

application/json
string · enumOptionalPossible values:
get/files/storage-provider
GET /files/storage-provider HTTP/1.1
Host: api.shade.inc
Authorization: YOUR_API_KEY
Accept: */*
S3

Get the details of assets in a path directory

get

Get the total size of assets in a directory

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.

drive_idstring · uuidRequired

The id of the drive this path is in

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

Whether or not to include the trash folder in the details, if at the drive root.

Default: true
Responses
200

The details of assets in the specified path directory

application/json
dir_size_bytesintegerRequired
dir_num_itemsintegerRequired
get/files/details
GET /files/details?path=text&drive_id=123e4567-e89b-12d3-a456-426614174000 HTTP/1.1
Host: api.shade.inc
Authorization: YOUR_API_KEY
Accept: */*
{
  "dir_size_bytes": 1,
  "dir_num_items": 1
}

Get a signed JWT for a specific drive

get
Authorizations
AuthorizationstringRequired

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

Path parameters
drive_idstring · uuidRequired

ID of the drive. List a workspace's drives with GET /workspaces/{workspace_id}/drives.

Example: 7b1e4d2c-5a6f-4e8b-9c3d-2f1a0b9c8d7e
Query parameters
machine_idstring · nullableOptional

The machine ID to embed into the JWT

Responses
200

Successful Response

text/plain
stringOptional
get/workspaces/drives/{drive_id}/shade-fs-token
GET /workspaces/drives/{drive_id}/shade-fs-token HTTP/1.1
Host: api.shade.inc
Authorization: YOUR_API_KEY
Accept: */*
text

Check indexing job status for a drive

get

Get the indexing job status for a drive

Authorizations
AuthorizationstringRequired

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

Path parameters
drive_idstring · uuidRequired

ID of the drive. List a workspace's drives with GET /workspaces/{workspace_id}/drives.

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

The current indexing job status for the drive

application/json

A DTO that shows the indexing status of a drive

get/indexing/job-status/{drive_id}
GET /indexing/job-status/{drive_id} HTTP/1.1
Host: api.shade.inc
Authorization: YOUR_API_KEY
Accept: */*
{
  "jobs": [
    {
      "name": "download",
      "to_do": 1
    }
  ]
}

Get the asset roots

get

Get the asset roots

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 we want to add users to

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

The asset roots

application/json
idstring · uuidRequired
pathstringRequired
createdstring · date-timeRequired
updatedstring · date-timeRequired
files_foundintegerOptionalDefault: 0
size_bytesintegerOptionalDefault: 0
get/indexing/roots
GET /indexing/roots?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",
    "path": "text",
    "created": "2026-01-01T00:00:00.000Z",
    "updated": "2026-01-01T00:00:00.000Z",
    "files_found": 0,
    "size_bytes": 0
  }
]

Add asset roots

post

Add asset roots

Authorizations
AuthorizationstringRequired

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

Body
pathsstring · path[]Required

The paths to add as asset roots

drive_idstring · uuidRequired

The ID of the drive

Responses
200

The ID of the new root

application/json
string · uuid[]Optional
post/indexing/roots
POST /indexing/roots HTTP/1.1
Host: api.shade.inc
Authorization: YOUR_API_KEY
Content-Type: application/json
Accept: */*
Content-Length: 68

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

Remove an asset root

delete

Remove an asset root

Authorizations
AuthorizationstringRequired

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

Path parameters
root_idstring · uuidRequired

The ID of the root to remove

Responses
200

Successful Response

application/json
nullOptional
delete/indexing/roots/{root_id}
DELETE /indexing/roots/{root_id} HTTP/1.1
Host: api.shade.inc
Authorization: YOUR_API_KEY
Accept: */*

No content

Last updated

Was this helpful?