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

Custom objects

Custom objects are your own record types, like Projects, Clients, or Shoots, stored as tables in a drive. Link them to assets with relation fields.

  1. Create a type with POST /workspaces/drives/{drive_id}/custom-object-types.

  2. Add fields with POST /workspaces/drives/{drive_id}/metadata/custom-objects/{database_id}/columns.

  3. Create records with POST .../custom-object-types/{database_id}/records, and update many at once with PUT .../records/values.

Add columns to a custom-object database

post
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
database_idstring · uuidRequired

ID of the custom object type. List them with GET /workspaces/drives/{drive_id}/custom-object-types.

Body
Responses
201

Successful Response

application/json
or
post/workspaces/drives/{drive_id}/metadata/custom-objects/{database_id}/columns
POST /workspaces/drives/{drive_id}/metadata/custom-objects/{database_id}/columns HTTP/1.1
Host: api.shade.inc
Authorization: YOUR_API_KEY
Content-Type: application/json
Accept: */*
Content-Length: 595

{
  "columns": [
    {
      "column_name": "text",
      "column_type": "type_number",
      "description": "text",
      "hidden": false,
      "add_new_options": false,
      "automated": false,
      "locked": false,
      "prompt": "text",
      "default_value": true,
      "options": [
        {
          "id": "text",
          "name": "text",
          "color": "",
          "user_defined": false,
          "archived": false
        }
      ],
      "relation_config": {
        "target": {
          "kind": "asset"
        },
        "inverse": {
          "enabled": true,
          "name": "text"
        }
      },
      "lookup_config": {
        "path": [
          "123e4567-e89b-12d3-a456-426614174000"
        ],
        "path_inverse_flags": [
          true
        ],
        "target_column_id": "123e4567-e89b-12d3-a456-426614174000",
        "target_value_type": "",
        "aggregation": "all"
      },
      "restrict_to_types": [
        "IMAGE"
      ]
    }
  ]
}
[
  {
    "kind": "real",
    "id": "123e4567-e89b-12d3-a456-426614174000",
    "database_id": "123e4567-e89b-12d3-a456-426614174000",
    "drive_id": "123e4567-e89b-12d3-a456-426614174000",
    "column_human_id": "text",
    "column_name": "text",
    "column_type": "text",
    "description": "text",
    "hidden": true,
    "archive": true,
    "add_new_options": true,
    "automated": true,
    "locked": true,
    "prompt": "text",
    "sort_order": 0,
    "default_value": true,
    "options": [
      {
        "id": "text",
        "name": "text",
        "color": "",
        "user_defined": false,
        "archived": false
      }
    ],
    "relation_target": {
      "kind": "asset"
    },
    "inverse": {
      "enabled": true,
      "name": "text"
    },
    "lookup_config": {
      "path": [
        "123e4567-e89b-12d3-a456-426614174000"
      ],
      "path_inverse_flags": [
        true
      ],
      "target_column_id": "123e4567-e89b-12d3-a456-426614174000",
      "target_value_type": "",
      "aggregation": "all"
    },
    "restrict_to_types": [
      "IMAGE"
    ]
  }
]

Delete a custom-object column

delete
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
database_idstring · uuidRequired

ID of the custom object type. List them with GET /workspaces/drives/{drive_id}/custom-object-types.

column_idstring · uuidRequired
Responses
204

Successful Response

No content

delete/workspaces/drives/{drive_id}/metadata/custom-objects/{database_id}/columns/{column_id}
DELETE /workspaces/drives/{drive_id}/metadata/custom-objects/{database_id}/columns/{column_id} HTTP/1.1
Host: api.shade.inc
Authorization: YOUR_API_KEY
Accept: */*

No content

Update a custom-object column

patch
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
database_idstring · uuidRequired

ID of the custom object type. List them with GET /workspaces/drives/{drive_id}/custom-object-types.

column_idstring · uuidRequired
Body

Patch shape. Inspect model_fields_set to distinguish 'untouched' from 'explicitly set to null' — service impls only apply fields that were actually included in the request body, and return an invalid-input failure when the body explicitly sets a field that service does not support (e.g. relation_config on asset columns).

column_namestring · nullableOptional
descriptionstring · nullableOptional
add_new_optionsboolean · nullableOptional
hiddenboolean · nullableOptional
archiveboolean · nullableOptional
lockedboolean · nullableOptional
automatedboolean · nullableOptional
promptstring · nullableOptional
default_valueany of · nullableOptional
booleanOptional
or
integerOptional
or
numberOptional
or
stringOptional
or
or
or
nullOptional
rerun_automatedbooleanOptionalDefault: false
Responses
200

Successful Response

application/json
or
patch/workspaces/drives/{drive_id}/metadata/custom-objects/{database_id}/columns/{column_id}
PATCH /workspaces/drives/{drive_id}/metadata/custom-objects/{database_id}/columns/{column_id} HTTP/1.1
Host: api.shade.inc
Authorization: YOUR_API_KEY
Content-Type: application/json
Accept: */*
Content-Length: 363

{
  "column_name": "text",
  "description": "text",
  "add_new_options": true,
  "hidden": true,
  "archive": true,
  "locked": true,
  "automated": true,
  "prompt": "text",
  "default_value": true,
  "options": [
    {
      "id": "text",
      "name": "text",
      "color": "",
      "user_defined": false,
      "archived": false
    }
  ],
  "relation_config": {
    "target": {
      "kind": "asset"
    },
    "inverse": {
      "enabled": true,
      "name": "text"
    }
  },
  "rerun_automated": false
}
{
  "kind": "real",
  "id": "123e4567-e89b-12d3-a456-426614174000",
  "database_id": "123e4567-e89b-12d3-a456-426614174000",
  "drive_id": "123e4567-e89b-12d3-a456-426614174000",
  "column_human_id": "text",
  "column_name": "text",
  "column_type": "text",
  "description": "text",
  "hidden": true,
  "archive": true,
  "add_new_options": true,
  "automated": true,
  "locked": true,
  "prompt": "text",
  "sort_order": 0,
  "default_value": true,
  "options": [
    {
      "id": "text",
      "name": "text",
      "color": "",
      "user_defined": false,
      "archived": false
    }
  ],
  "relation_target": {
    "kind": "asset"
  },
  "inverse": {
    "enabled": true,
    "name": "text"
  },
  "lookup_config": {
    "path": [
      "123e4567-e89b-12d3-a456-426614174000"
    ],
    "path_inverse_flags": [
      true
    ],
    "target_column_id": "123e4567-e89b-12d3-a456-426614174000",
    "target_value_type": "",
    "aggregation": "all"
  },
  "restrict_to_types": [
    "IMAGE"
  ]
}

Reorder columns on a custom-object database

put
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
database_idstring · uuidRequired

ID of the custom object type. List them with GET /workspaces/drives/{drive_id}/custom-object-types.

Body

column_ids is the full rendered order, so it may contain synthetic inverse-column ids; the service skips those rather than failing.

column_idsstring · uuid[]Required
Responses
204

Successful Response

No content

put/workspaces/drives/{drive_id}/metadata/custom-objects/{database_id}/columns/order
PUT /workspaces/drives/{drive_id}/metadata/custom-objects/{database_id}/columns/order HTTP/1.1
Host: api.shade.inc
Authorization: YOUR_API_KEY
Content-Type: application/json
Accept: */*
Content-Length: 55

{
  "column_ids": [
    "123e4567-e89b-12d3-a456-426614174000"
  ]
}

No content

List custom object types for a 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
Responses
200

Successful Response

application/json
idstring · uuidRequired
drive_idstring · uuidRequired
namestringRequired
user_managedbooleanRequired
iconstring · nullableOptional
colorstring · nullableOptional
descriptionstring · nullableOptional
record_countintegerOptionalDefault: 0
created_bystring · uuidRequired
created_by_namestring · nullableOptional
createdstring · date-time · nullableOptional
get/workspaces/drives/{drive_id}/custom-object-types
GET /workspaces/drives/{drive_id}/custom-object-types 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",
    "name": "text",
    "user_managed": true,
    "icon": "text",
    "color": "text",
    "description": "text",
    "columns": [
      {
        "id": "text",
        "column_human_id": "text",
        "column_name": "text",
        "column_type": "text",
        "description": "text",
        "hidden": true,
        "add_new_options": true,
        "automated": true,
        "locked": true,
        "prompt": "text",
        "display_metadata": {
          "default": "[Circular Reference]",
          "options": [
            {
              "id": "",
              "name": "",
              "color": "pink",
              "user": false,
              "archived": false
            }
          ],
          "relation_config": {
            "target": {
              "kind": "asset"
            },
            "inverse": {
              "enabled": false,
              "name": "text"
            }
          }
        },
        "sort_order": 0,
        "paired_to": {
          "target": {
            "kind": "asset"
          },
          "column_id": "123e4567-e89b-12d3-a456-426614174000",
          "type_name": "text",
          "column_name": "text"
        },
        "archive": false
      }
    ],
    "record_count": 0,
    "created_by": "123e4567-e89b-12d3-a456-426614174000",
    "created_by_name": "text",
    "created": "2026-01-01T00:00:00.000Z",
    "views_settings": {
      "views": [
        {
          "id": "123e4567-e89b-12d3-a456-426614174000",
          "name": "text",
          "icon": "text",
          "color": "text",
          "primaryAssetColumnId": "123e4567-e89b-12d3-a456-426614174000",
          "columnIds": [
            "123e4567-e89b-12d3-a456-426614174000"
          ],
          "knownColumnIds": [
            "123e4567-e89b-12d3-a456-426614174000"
          ],
          "colOrder": [
            "123e4567-e89b-12d3-a456-426614174000"
          ],
          "attrOrder": [
            "123e4567-e89b-12d3-a456-426614174000"
          ],
          "attrShown": [
            "123e4567-e89b-12d3-a456-426614174000"
          ],
          "sorts": [
            {
              "columnId": "123e4567-e89b-12d3-a456-426614174000",
              "direction": "asc"
            }
          ],
          "filters": [
            {
              "id": "123e4567-e89b-12d3-a456-426614174000",
              "columnId": "123e4567-e89b-12d3-a456-426614174000",
              "clause": "text",
              "options": [
                {
                  "client_val": "text",
                  "server_val": "text",
                  "icon": "text"
                }
              ],
              "ignoreOptions": true
            }
          ],
          "columnWidths": {
            "ANY_ADDITIONAL_PROPERTY": 1
          },
          "layout": "table",
          "kanban": {
            "groupByColumnId": "123e4567-e89b-12d3-a456-426614174000",
            "subgroupByColumnId": "123e4567-e89b-12d3-a456-426614174000",
            "hiddenGroupIds": [
              "text"
            ],
            "collapsedGroupIds": [
              "text"
            ],
            "showEmptyGroups": true,
            "showAssetPreview": true
          },
          "calendar": {
            "dateColumnId": "123e4567-e89b-12d3-a456-426614174000",
            "mode": "month",
            "showAssetPreview": true,
            "spanDaysByRecordId": {
              "ANY_ADDITIONAL_PROPERTY": 1
            }
          },
          "groupByColumnId": "123e4567-e89b-12d3-a456-426614174000",
          "collapsedGroupIds": [
            "text"
          ],
          "showEmptyGroups": true
        }
      ]
    },
    "record_page_layout": {
      "widgets": [
        {
          "id": "text",
          "field": {
            "kind": "column",
            "columnId": "text"
          }
        }
      ],
      "sections": [
        {
          "id": "text",
          "name": "text",
          "description": "",
          "isRequired": false,
          "fields": [
            {
              "kind": "column",
              "columnId": "text"
            }
          ]
        }
      ]
    },
    "record_preview": {
      "visible_fields": [
        {
          "kind": "column",
          "columnId": "text"
        }
      ]
    }
  }
]

Create a new custom object type

post
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
Body
namestringRequired
iconstring · nullableOptional
colorstring · nullableOptional
descriptionstring · nullableOptional
Responses
201

Successful Response

application/json
idstring · uuidRequired
drive_idstring · uuidRequired
namestringRequired
user_managedbooleanRequired
iconstring · nullableOptional
colorstring · nullableOptional
descriptionstring · nullableOptional
record_countintegerOptionalDefault: 0
created_bystring · uuidRequired
created_by_namestring · nullableOptional
createdstring · date-time · nullableOptional
post/workspaces/drives/{drive_id}/custom-object-types
POST /workspaces/drives/{drive_id}/custom-object-types HTTP/1.1
Host: api.shade.inc
Authorization: YOUR_API_KEY
Content-Type: application/json
Accept: */*
Content-Length: 544

{
  "name": "text",
  "icon": "text",
  "color": "text",
  "description": "text",
  "columns": [
    {
      "column_name": "text",
      "column_type": "type_number",
      "description": "text",
      "hidden": false,
      "add_new_options": false,
      "automated": false,
      "locked": false,
      "prompt": "text",
      "display_metadata": {
        "default": "[Circular Reference]",
        "options": [
          {
            "id": "",
            "name": "",
            "color": "pink",
            "user": false,
            "archived": false
          }
        ],
        "relation_config": {
          "target": {
            "kind": "asset"
          },
          "inverse": {
            "enabled": false,
            "name": "text"
          }
        }
      },
      "relation_config": {
        "target": {
          "kind": "asset"
        },
        "inverse": {
          "enabled": false,
          "name": "text"
        }
      }
    }
  ]
}
{
  "id": "123e4567-e89b-12d3-a456-426614174000",
  "drive_id": "123e4567-e89b-12d3-a456-426614174000",
  "name": "text",
  "user_managed": true,
  "icon": "text",
  "color": "text",
  "description": "text",
  "columns": [
    {
      "id": "text",
      "column_human_id": "text",
      "column_name": "text",
      "column_type": "text",
      "description": "text",
      "hidden": true,
      "add_new_options": true,
      "automated": true,
      "locked": true,
      "prompt": "text",
      "display_metadata": {
        "default": true,
        "options": [
          {
            "id": "",
            "name": "",
            "color": "pink",
            "user": false,
            "archived": false
          }
        ],
        "relation_config": {
          "target": {
            "kind": "asset"
          },
          "inverse": {
            "enabled": false,
            "name": "text"
          }
        }
      },
      "sort_order": 0,
      "paired_to": {
        "target": {
          "kind": "asset"
        },
        "column_id": "123e4567-e89b-12d3-a456-426614174000",
        "type_name": "text",
        "column_name": "text"
      },
      "archive": false
    }
  ],
  "record_count": 0,
  "created_by": "123e4567-e89b-12d3-a456-426614174000",
  "created_by_name": "text",
  "created": "2026-01-01T00:00:00.000Z",
  "views_settings": {
    "views": [
      {
        "id": "123e4567-e89b-12d3-a456-426614174000",
        "name": "text",
        "icon": "text",
        "color": "text",
        "primaryAssetColumnId": "123e4567-e89b-12d3-a456-426614174000",
        "columnIds": [
          "123e4567-e89b-12d3-a456-426614174000"
        ],
        "knownColumnIds": [
          "123e4567-e89b-12d3-a456-426614174000"
        ],
        "colOrder": [
          "123e4567-e89b-12d3-a456-426614174000"
        ],
        "attrOrder": [
          "123e4567-e89b-12d3-a456-426614174000"
        ],
        "attrShown": [
          "123e4567-e89b-12d3-a456-426614174000"
        ],
        "sorts": [
          {
            "columnId": "123e4567-e89b-12d3-a456-426614174000",
            "direction": "asc"
          }
        ],
        "filters": [
          {
            "id": "123e4567-e89b-12d3-a456-426614174000",
            "columnId": "123e4567-e89b-12d3-a456-426614174000",
            "clause": "text",
            "options": [
              {
                "client_val": "text",
                "server_val": "text",
                "icon": "text"
              }
            ],
            "ignoreOptions": true
          }
        ],
        "columnWidths": {
          "ANY_ADDITIONAL_PROPERTY": 1
        },
        "layout": "table",
        "kanban": {
          "groupByColumnId": "123e4567-e89b-12d3-a456-426614174000",
          "subgroupByColumnId": "123e4567-e89b-12d3-a456-426614174000",
          "hiddenGroupIds": [
            "text"
          ],
          "collapsedGroupIds": [
            "text"
          ],
          "showEmptyGroups": true,
          "showAssetPreview": true
        },
        "calendar": {
          "dateColumnId": "123e4567-e89b-12d3-a456-426614174000",
          "mode": "month",
          "showAssetPreview": true,
          "spanDaysByRecordId": {
            "ANY_ADDITIONAL_PROPERTY": 1
          }
        },
        "groupByColumnId": "123e4567-e89b-12d3-a456-426614174000",
        "collapsedGroupIds": [
          "text"
        ],
        "showEmptyGroups": true
      }
    ]
  },
  "record_page_layout": {
    "widgets": [
      {
        "id": "text",
        "field": {
          "kind": "column",
          "columnId": "text"
        }
      }
    ],
    "sections": [
      {
        "id": "text",
        "name": "text",
        "description": "",
        "isRequired": false,
        "fields": [
          {
            "kind": "column",
            "columnId": "text"
          }
        ]
      }
    ]
  },
  "record_preview": {
    "visible_fields": [
      {
        "kind": "column",
        "columnId": "text"
      }
    ]
  }
}

Get a custom object type with its columns

get
Authorizations
AuthorizationstringRequired

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

Path parameters
database_idstring · uuidRequired

ID of the custom object type. List them with GET /workspaces/drives/{drive_id}/custom-object-types.

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

Successful Response

application/json
idstring · uuidRequired
drive_idstring · uuidRequired
namestringRequired
user_managedbooleanRequired
iconstring · nullableOptional
colorstring · nullableOptional
descriptionstring · nullableOptional
record_countintegerOptionalDefault: 0
created_bystring · uuidRequired
created_by_namestring · nullableOptional
createdstring · date-time · nullableOptional
get/workspaces/drives/{drive_id}/custom-object-types/{database_id}
GET /workspaces/drives/{drive_id}/custom-object-types/{database_id} 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",
  "name": "text",
  "user_managed": true,
  "icon": "text",
  "color": "text",
  "description": "text",
  "columns": [
    {
      "id": "text",
      "column_human_id": "text",
      "column_name": "text",
      "column_type": "text",
      "description": "text",
      "hidden": true,
      "add_new_options": true,
      "automated": true,
      "locked": true,
      "prompt": "text",
      "display_metadata": {
        "default": true,
        "options": [
          {
            "id": "",
            "name": "",
            "color": "pink",
            "user": false,
            "archived": false
          }
        ],
        "relation_config": {
          "target": {
            "kind": "asset"
          },
          "inverse": {
            "enabled": false,
            "name": "text"
          }
        }
      },
      "sort_order": 0,
      "paired_to": {
        "target": {
          "kind": "asset"
        },
        "column_id": "123e4567-e89b-12d3-a456-426614174000",
        "type_name": "text",
        "column_name": "text"
      },
      "archive": false
    }
  ],
  "record_count": 0,
  "created_by": "123e4567-e89b-12d3-a456-426614174000",
  "created_by_name": "text",
  "created": "2026-01-01T00:00:00.000Z",
  "views_settings": {
    "views": [
      {
        "id": "123e4567-e89b-12d3-a456-426614174000",
        "name": "text",
        "icon": "text",
        "color": "text",
        "primaryAssetColumnId": "123e4567-e89b-12d3-a456-426614174000",
        "columnIds": [
          "123e4567-e89b-12d3-a456-426614174000"
        ],
        "knownColumnIds": [
          "123e4567-e89b-12d3-a456-426614174000"
        ],
        "colOrder": [
          "123e4567-e89b-12d3-a456-426614174000"
        ],
        "attrOrder": [
          "123e4567-e89b-12d3-a456-426614174000"
        ],
        "attrShown": [
          "123e4567-e89b-12d3-a456-426614174000"
        ],
        "sorts": [
          {
            "columnId": "123e4567-e89b-12d3-a456-426614174000",
            "direction": "asc"
          }
        ],
        "filters": [
          {
            "id": "123e4567-e89b-12d3-a456-426614174000",
            "columnId": "123e4567-e89b-12d3-a456-426614174000",
            "clause": "text",
            "options": [
              {
                "client_val": "text",
                "server_val": "text",
                "icon": "text"
              }
            ],
            "ignoreOptions": true
          }
        ],
        "columnWidths": {
          "ANY_ADDITIONAL_PROPERTY": 1
        },
        "layout": "table",
        "kanban": {
          "groupByColumnId": "123e4567-e89b-12d3-a456-426614174000",
          "subgroupByColumnId": "123e4567-e89b-12d3-a456-426614174000",
          "hiddenGroupIds": [
            "text"
          ],
          "collapsedGroupIds": [
            "text"
          ],
          "showEmptyGroups": true,
          "showAssetPreview": true
        },
        "calendar": {
          "dateColumnId": "123e4567-e89b-12d3-a456-426614174000",
          "mode": "month",
          "showAssetPreview": true,
          "spanDaysByRecordId": {
            "ANY_ADDITIONAL_PROPERTY": 1
          }
        },
        "groupByColumnId": "123e4567-e89b-12d3-a456-426614174000",
        "collapsedGroupIds": [
          "text"
        ],
        "showEmptyGroups": true
      }
    ]
  },
  "record_page_layout": {
    "widgets": [
      {
        "id": "text",
        "field": {
          "kind": "column",
          "columnId": "text"
        }
      }
    ],
    "sections": [
      {
        "id": "text",
        "name": "text",
        "description": "",
        "isRequired": false,
        "fields": [
          {
            "kind": "column",
            "columnId": "text"
          }
        ]
      }
    ]
  },
  "record_preview": {
    "visible_fields": [
      {
        "kind": "column",
        "columnId": "text"
      }
    ]
  }
}

Delete a custom object type and all its records

delete
Authorizations
AuthorizationstringRequired

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

Path parameters
database_idstring · uuidRequired

ID of the custom object type. List them with GET /workspaces/drives/{drive_id}/custom-object-types.

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
204

Successful Response

No content

delete/workspaces/drives/{drive_id}/custom-object-types/{database_id}
DELETE /workspaces/drives/{drive_id}/custom-object-types/{database_id} HTTP/1.1
Host: api.shade.inc
Authorization: YOUR_API_KEY
Accept: */*

No content

Update a custom object type's metadata

patch
Authorizations
AuthorizationstringRequired

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

Path parameters
database_idstring · uuidRequired

ID of the custom object type. List them with GET /workspaces/drives/{drive_id}/custom-object-types.

drive_idstring · uuidRequired

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

Example: 7b1e4d2c-5a6f-4e8b-9c3d-2f1a0b9c8d7e
Body
namestring · nullableOptional
iconstring · nullableOptional
colorstring · nullableOptional
descriptionstring · nullableOptional
Responses
200

Successful Response

application/json
idstring · uuidRequired
drive_idstring · uuidRequired
namestringRequired
user_managedbooleanRequired
iconstring · nullableOptional
colorstring · nullableOptional
descriptionstring · nullableOptional
record_countintegerOptionalDefault: 0
created_bystring · uuidRequired
created_by_namestring · nullableOptional
createdstring · date-time · nullableOptional
patch/workspaces/drives/{drive_id}/custom-object-types/{database_id}
PATCH /workspaces/drives/{drive_id}/custom-object-types/{database_id} HTTP/1.1
Host: api.shade.inc
Authorization: YOUR_API_KEY
Content-Type: application/json
Accept: */*
Content-Length: 1656

{
  "name": "text",
  "icon": "text",
  "color": "text",
  "description": "text",
  "views_settings": {
    "views": [
      {
        "id": "123e4567-e89b-12d3-a456-426614174000",
        "name": "text",
        "icon": "text",
        "color": "text",
        "primaryAssetColumnId": "123e4567-e89b-12d3-a456-426614174000",
        "columnIds": [
          "123e4567-e89b-12d3-a456-426614174000"
        ],
        "knownColumnIds": [
          "123e4567-e89b-12d3-a456-426614174000"
        ],
        "colOrder": [
          "123e4567-e89b-12d3-a456-426614174000"
        ],
        "attrOrder": [
          "123e4567-e89b-12d3-a456-426614174000"
        ],
        "attrShown": [
          "123e4567-e89b-12d3-a456-426614174000"
        ],
        "sorts": [
          {
            "columnId": "123e4567-e89b-12d3-a456-426614174000",
            "direction": "asc"
          }
        ],
        "filters": [
          {
            "id": "123e4567-e89b-12d3-a456-426614174000",
            "columnId": "123e4567-e89b-12d3-a456-426614174000",
            "clause": "text",
            "options": [
              {
                "client_val": "text",
                "server_val": "text",
                "icon": "text"
              }
            ],
            "ignoreOptions": true
          }
        ],
        "columnWidths": {
          "ANY_ADDITIONAL_PROPERTY": 1
        },
        "layout": "table",
        "kanban": {
          "groupByColumnId": "123e4567-e89b-12d3-a456-426614174000",
          "subgroupByColumnId": "123e4567-e89b-12d3-a456-426614174000",
          "hiddenGroupIds": [
            "text"
          ],
          "collapsedGroupIds": [
            "text"
          ],
          "showEmptyGroups": true,
          "showAssetPreview": true
        },
        "calendar": {
          "dateColumnId": "123e4567-e89b-12d3-a456-426614174000",
          "mode": "month",
          "showAssetPreview": true,
          "spanDaysByRecordId": {
            "ANY_ADDITIONAL_PROPERTY": 1
          }
        },
        "groupByColumnId": "123e4567-e89b-12d3-a456-426614174000",
        "collapsedGroupIds": [
          "text"
        ],
        "showEmptyGroups": true
      }
    ]
  },
  "record_page_layout": {
    "widgets": [
      {
        "id": "text",
        "field": {
          "kind": "column",
          "columnId": "text"
        }
      }
    ],
    "sections": [
      {
        "id": "text",
        "name": "text",
        "description": "",
        "isRequired": false,
        "fields": [
          {
            "kind": "column",
            "columnId": "text"
          }
        ]
      }
    ]
  },
  "record_preview": {
    "visible_fields": [
      {
        "kind": "column",
        "columnId": "text"
      }
    ]
  }
}
{
  "id": "123e4567-e89b-12d3-a456-426614174000",
  "drive_id": "123e4567-e89b-12d3-a456-426614174000",
  "name": "text",
  "user_managed": true,
  "icon": "text",
  "color": "text",
  "description": "text",
  "columns": [
    {
      "id": "text",
      "column_human_id": "text",
      "column_name": "text",
      "column_type": "text",
      "description": "text",
      "hidden": true,
      "add_new_options": true,
      "automated": true,
      "locked": true,
      "prompt": "text",
      "display_metadata": {
        "default": true,
        "options": [
          {
            "id": "",
            "name": "",
            "color": "pink",
            "user": false,
            "archived": false
          }
        ],
        "relation_config": {
          "target": {
            "kind": "asset"
          },
          "inverse": {
            "enabled": false,
            "name": "text"
          }
        }
      },
      "sort_order": 0,
      "paired_to": {
        "target": {
          "kind": "asset"
        },
        "column_id": "123e4567-e89b-12d3-a456-426614174000",
        "type_name": "text",
        "column_name": "text"
      },
      "archive": false
    }
  ],
  "record_count": 0,
  "created_by": "123e4567-e89b-12d3-a456-426614174000",
  "created_by_name": "text",
  "created": "2026-01-01T00:00:00.000Z",
  "views_settings": {
    "views": [
      {
        "id": "123e4567-e89b-12d3-a456-426614174000",
        "name": "text",
        "icon": "text",
        "color": "text",
        "primaryAssetColumnId": "123e4567-e89b-12d3-a456-426614174000",
        "columnIds": [
          "123e4567-e89b-12d3-a456-426614174000"
        ],
        "knownColumnIds": [
          "123e4567-e89b-12d3-a456-426614174000"
        ],
        "colOrder": [
          "123e4567-e89b-12d3-a456-426614174000"
        ],
        "attrOrder": [
          "123e4567-e89b-12d3-a456-426614174000"
        ],
        "attrShown": [
          "123e4567-e89b-12d3-a456-426614174000"
        ],
        "sorts": [
          {
            "columnId": "123e4567-e89b-12d3-a456-426614174000",
            "direction": "asc"
          }
        ],
        "filters": [
          {
            "id": "123e4567-e89b-12d3-a456-426614174000",
            "columnId": "123e4567-e89b-12d3-a456-426614174000",
            "clause": "text",
            "options": [
              {
                "client_val": "text",
                "server_val": "text",
                "icon": "text"
              }
            ],
            "ignoreOptions": true
          }
        ],
        "columnWidths": {
          "ANY_ADDITIONAL_PROPERTY": 1
        },
        "layout": "table",
        "kanban": {
          "groupByColumnId": "123e4567-e89b-12d3-a456-426614174000",
          "subgroupByColumnId": "123e4567-e89b-12d3-a456-426614174000",
          "hiddenGroupIds": [
            "text"
          ],
          "collapsedGroupIds": [
            "text"
          ],
          "showEmptyGroups": true,
          "showAssetPreview": true
        },
        "calendar": {
          "dateColumnId": "123e4567-e89b-12d3-a456-426614174000",
          "mode": "month",
          "showAssetPreview": true,
          "spanDaysByRecordId": {
            "ANY_ADDITIONAL_PROPERTY": 1
          }
        },
        "groupByColumnId": "123e4567-e89b-12d3-a456-426614174000",
        "collapsedGroupIds": [
          "text"
        ],
        "showEmptyGroups": true
      }
    ]
  },
  "record_page_layout": {
    "widgets": [
      {
        "id": "text",
        "field": {
          "kind": "column",
          "columnId": "text"
        }
      }
    ],
    "sections": [
      {
        "id": "text",
        "name": "text",
        "description": "",
        "isRequired": false,
        "fields": [
          {
            "kind": "column",
            "columnId": "text"
          }
        ]
      }
    ]
  },
  "record_preview": {
    "visible_fields": [
      {
        "kind": "column",
        "columnId": "text"
      }
    ]
  }
}

List records of a custom object type

get
Authorizations
AuthorizationstringRequired

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

Path parameters
database_idstring · uuidRequired

ID of the custom object type. List them with GET /workspaces/drives/{drive_id}/custom-object-types.

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
limitinteger · max: 500OptionalDefault: 100
offsetintegerOptionalDefault: 0
Responses
200

Successful Response

application/json
totalintegerRequired
get/workspaces/drives/{drive_id}/custom-object-types/{database_id}/records
GET /workspaces/drives/{drive_id}/custom-object-types/{database_id}/records HTTP/1.1
Host: api.shade.inc
Authorization: YOUR_API_KEY
Accept: */*
{
  "items": [
    {
      "id": "123e4567-e89b-12d3-a456-426614174000",
      "database_id": "123e4567-e89b-12d3-a456-426614174000",
      "drive_id": "123e4567-e89b-12d3-a456-426614174000",
      "name": "text",
      "created_by": "123e4567-e89b-12d3-a456-426614174000",
      "created_by_name": "text",
      "updated_by": "123e4567-e89b-12d3-a456-426614174000",
      "created": "2026-01-01T00:00:00.000Z",
      "updated": "2026-01-01T00:00:00.000Z",
      "metadata_values": [
        {
          "kind": "scalar",
          "id": "123e4567-e89b-12d3-a456-426614174000",
          "value": true
        }
      ]
    }
  ],
  "total": 1
}

Create a new custom object record

post
Authorizations
AuthorizationstringRequired

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

Path parameters
database_idstring · uuidRequired

ID of the custom object type. List them with GET /workspaces/drives/{drive_id}/custom-object-types.

drive_idstring · uuidRequired

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

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

Successful Response

application/json
idstring · uuidRequired
database_idstring · uuidRequired
drive_idstring · uuidRequired
namestringRequired
created_bystring · uuidRequired
created_by_namestring · nullableOptional
updated_bystring · uuid · nullableOptional
createdstring · date-timeRequired
updatedstring · date-timeRequired
post/workspaces/drives/{drive_id}/custom-object-types/{database_id}/records
POST /workspaces/drives/{drive_id}/custom-object-types/{database_id}/records HTTP/1.1
Host: api.shade.inc
Authorization: YOUR_API_KEY
Content-Type: application/json
Accept: */*
Content-Length: 142

{
  "name": "text",
  "metadata": {
    "ANY_ADDITIONAL_PROPERTY": {
      "kind": "text",
      "values": [
        {
          "id": "123e4567-e89b-12d3-a456-426614174000",
          "type": "asset"
        }
      ]
    }
  }
}
{
  "id": "123e4567-e89b-12d3-a456-426614174000",
  "database_id": "123e4567-e89b-12d3-a456-426614174000",
  "drive_id": "123e4567-e89b-12d3-a456-426614174000",
  "name": "text",
  "created_by": "123e4567-e89b-12d3-a456-426614174000",
  "created_by_name": "text",
  "updated_by": "123e4567-e89b-12d3-a456-426614174000",
  "created": "2026-01-01T00:00:00.000Z",
  "updated": "2026-01-01T00:00:00.000Z",
  "metadata_values": [
    {
      "kind": "scalar",
      "id": "123e4567-e89b-12d3-a456-426614174000",
      "value": true
    }
  ]
}

Bulk create or update custom object record values

put
Authorizations
AuthorizationstringRequired

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

Path parameters
database_idstring · uuidRequired

ID of the custom object type. List them with GET /workspaces/drives/{drive_id}/custom-object-types.

drive_idstring · uuidRequired

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

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

Successful Response

application/json
created_record_idsstring · uuid[]Required
updated_record_idsstring · uuid[]Required
put/workspaces/drives/{drive_id}/custom-object-types/{database_id}/records/values
PUT /workspaces/drives/{drive_id}/custom-object-types/{database_id}/records/values HTTP/1.1
Host: api.shade.inc
Authorization: YOUR_API_KEY
Content-Type: application/json
Accept: */*
Content-Length: 207

{
  "records": [
    {
      "record_id": "123e4567-e89b-12d3-a456-426614174000",
      "name": "text",
      "metadata": {
        "ANY_ADDITIONAL_PROPERTY": {
          "kind": "text",
          "values": [
            {
              "id": "123e4567-e89b-12d3-a456-426614174000",
              "type": "asset"
            }
          ]
        }
      }
    }
  ]
}
{
  "created_record_ids": [
    "123e4567-e89b-12d3-a456-426614174000"
  ],
  "updated_record_ids": [
    "123e4567-e89b-12d3-a456-426614174000"
  ]
}

Search records of a custom object type with server-side filtering, sorting and pagination. Note: This request is idempotent

post
Authorizations
AuthorizationstringRequired

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

Path parameters
database_idstring · uuidRequired

ID of the custom object type. List them with GET /workspaces/drives/{drive_id}/custom-object-types.

drive_idstring · uuidRequired

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

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

A column id, optionally prefixed by '-' for descending order. Use '__name' for the record name.

limitinteger · min: 1 · max: 500OptionalDefault: 100
offsetintegerOptionalDefault: 0
Responses
200

Successful Response

application/json
has_morebooleanRequired
post/workspaces/drives/{drive_id}/custom-object-types/{database_id}/records/search
POST /workspaces/drives/{drive_id}/custom-object-types/{database_id}/records/search HTTP/1.1
Host: api.shade.inc
Authorization: YOUR_API_KEY
Content-Type: application/json
Accept: */*
Content-Length: 95

{
  "filters": [
    {
      "id": null,
      "options": [
        "text"
      ],
      "clause": "is"
    }
  ],
  "sort": "text",
  "limit": 100,
  "offset": 0
}
{
  "items": [
    {
      "id": "123e4567-e89b-12d3-a456-426614174000",
      "database_id": "123e4567-e89b-12d3-a456-426614174000",
      "drive_id": "123e4567-e89b-12d3-a456-426614174000",
      "name": "text",
      "created_by": "123e4567-e89b-12d3-a456-426614174000",
      "created_by_name": "text",
      "updated_by": "123e4567-e89b-12d3-a456-426614174000",
      "created": "2026-01-01T00:00:00.000Z",
      "updated": "2026-01-01T00:00:00.000Z",
      "metadata_values": [
        {
          "kind": "scalar",
          "id": "123e4567-e89b-12d3-a456-426614174000",
          "value": true
        }
      ]
    }
  ],
  "has_more": true
}

Get a single custom object record

get
Authorizations
AuthorizationstringRequired

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

Path parameters
database_idstring · uuidRequired

ID of the custom object type. List them with GET /workspaces/drives/{drive_id}/custom-object-types.

record_idstring · uuidRequired

ID of the custom object record.

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

Successful Response

application/json
idstring · uuidRequired
database_idstring · uuidRequired
drive_idstring · uuidRequired
namestringRequired
created_bystring · uuidRequired
created_by_namestring · nullableOptional
updated_bystring · uuid · nullableOptional
createdstring · date-timeRequired
updatedstring · date-timeRequired
get/workspaces/drives/{drive_id}/custom-object-types/{database_id}/records/{record_id}
GET /workspaces/drives/{drive_id}/custom-object-types/{database_id}/records/{record_id} HTTP/1.1
Host: api.shade.inc
Authorization: YOUR_API_KEY
Accept: */*
{
  "id": "123e4567-e89b-12d3-a456-426614174000",
  "database_id": "123e4567-e89b-12d3-a456-426614174000",
  "drive_id": "123e4567-e89b-12d3-a456-426614174000",
  "name": "text",
  "created_by": "123e4567-e89b-12d3-a456-426614174000",
  "created_by_name": "text",
  "updated_by": "123e4567-e89b-12d3-a456-426614174000",
  "created": "2026-01-01T00:00:00.000Z",
  "updated": "2026-01-01T00:00:00.000Z",
  "metadata_values": [
    {
      "kind": "scalar",
      "id": "123e4567-e89b-12d3-a456-426614174000",
      "value": true
    }
  ]
}

Delete a custom object record

delete
Authorizations
AuthorizationstringRequired

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

Path parameters
database_idstring · uuidRequired

ID of the custom object type. List them with GET /workspaces/drives/{drive_id}/custom-object-types.

record_idstring · uuidRequired

ID of the custom object record.

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
204

Successful Response

No content

delete/workspaces/drives/{drive_id}/custom-object-types/{database_id}/records/{record_id}
DELETE /workspaces/drives/{drive_id}/custom-object-types/{database_id}/records/{record_id} HTTP/1.1
Host: api.shade.inc
Authorization: YOUR_API_KEY
Accept: */*

No content

Update a custom object record

patch
Authorizations
AuthorizationstringRequired

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

Path parameters
database_idstring · uuidRequired

ID of the custom object type. List them with GET /workspaces/drives/{drive_id}/custom-object-types.

record_idstring · uuidRequired

ID of the custom object record.

drive_idstring · uuidRequired

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

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

Successful Response

application/json
idstring · uuidRequired
database_idstring · uuidRequired
drive_idstring · uuidRequired
namestringRequired
created_bystring · uuidRequired
created_by_namestring · nullableOptional
updated_bystring · uuid · nullableOptional
createdstring · date-timeRequired
updatedstring · date-timeRequired
patch/workspaces/drives/{drive_id}/custom-object-types/{database_id}/records/{record_id}
PATCH /workspaces/drives/{drive_id}/custom-object-types/{database_id}/records/{record_id} HTTP/1.1
Host: api.shade.inc
Authorization: YOUR_API_KEY
Content-Type: application/json
Accept: */*
Content-Length: 142

{
  "name": "text",
  "metadata": {
    "ANY_ADDITIONAL_PROPERTY": {
      "kind": "text",
      "values": [
        {
          "id": "123e4567-e89b-12d3-a456-426614174000",
          "type": "asset"
        }
      ]
    }
  }
}
{
  "id": "123e4567-e89b-12d3-a456-426614174000",
  "database_id": "123e4567-e89b-12d3-a456-426614174000",
  "drive_id": "123e4567-e89b-12d3-a456-426614174000",
  "name": "text",
  "created_by": "123e4567-e89b-12d3-a456-426614174000",
  "created_by_name": "text",
  "updated_by": "123e4567-e89b-12d3-a456-426614174000",
  "created": "2026-01-01T00:00:00.000Z",
  "updated": "2026-01-01T00:00:00.000Z",
  "metadata_values": [
    {
      "kind": "scalar",
      "id": "123e4567-e89b-12d3-a456-426614174000",
      "value": true
    }
  ]
}

Get a custom object record by id, resolving its database automatically

get
Authorizations
AuthorizationstringRequired

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

Path parameters
record_idstring · uuidRequired

ID of the custom object record.

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

Successful Response

application/json
idstring · uuidRequired
database_idstring · uuidRequired
drive_idstring · uuidRequired
namestringRequired
created_bystring · uuidRequired
created_by_namestring · nullableOptional
updated_bystring · uuid · nullableOptional
createdstring · date-timeRequired
updatedstring · date-timeRequired
get/workspaces/drives/{drive_id}/custom-object-types/records/{record_id}
GET /workspaces/drives/{drive_id}/custom-object-types/records/{record_id} HTTP/1.1
Host: api.shade.inc
Authorization: YOUR_API_KEY
Accept: */*
{
  "id": "123e4567-e89b-12d3-a456-426614174000",
  "database_id": "123e4567-e89b-12d3-a456-426614174000",
  "drive_id": "123e4567-e89b-12d3-a456-426614174000",
  "name": "text",
  "created_by": "123e4567-e89b-12d3-a456-426614174000",
  "created_by_name": "text",
  "updated_by": "123e4567-e89b-12d3-a456-426614174000",
  "created": "2026-01-01T00:00:00.000Z",
  "updated": "2026-01-01T00:00:00.000Z",
  "metadata_values": [
    {
      "kind": "scalar",
      "id": "123e4567-e89b-12d3-a456-426614174000",
      "value": true
    }
  ]
}

Last updated

Was this helpful?