SnozeDevelopers
API referenceGantt

List the timeline dependencies of a database

Returns every predecessor/successor edge recorded for the database's timeline view, oldest first, each with its dependency `type` (`FS`, `SS`, `FF`, `SF`) and `lagMinutes`. Requires `databases:read` on the database, so a caller without access to it is refused.

GET
/v1/workspaces/{workspaceId}/databases/{databaseId}/gantt/dependencies

Authorization

apiKey
headerAuthorizationBearer <snoze_sk_…>

Workspace API key created in Workspace settings → API keys. Scopes on the key bound what it can read and write.

Path Parameters

workspaceId*string
databaseId*string

Response Body

Success

application/json
  1. response
data*array<>
Example Request
curl -X GET 'https://api.snoze.dev/v1/workspaces/string/databases/string/gantt/dependencies'
Example Response
{  "data": [    {      "id": "string",      "workspaceId": "string",      "databaseId": "string",      "predecessorRecordId": "string",      "successorRecordId": "string",      "type": "FS",      "lagMinutes": 0    }  ]}