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.
Authorization
apiKey Workspace API key created in Workspace settings → API keys. Scopes on the key bound what it can read and write.
In: header
Path Parameters
Response Body
application/json
application/json
application/json
curl -X GET "https://example.com/v1/workspaces/string/databases/string/gantt/dependencies"{ "data": [ { "id": "string", "workspaceId": "string", "databaseId": "string", "predecessorRecordId": "string", "successorRecordId": "string", "type": "FS", "lagMinutes": 0 } ]}{ "_tag": "ApiNotFound", "error": "not_found", "message": "That item does not exist, or this key cannot see it.", "status": 404}{ "_tag": "ApiNotFound", "error": "not_found", "message": "That item does not exist, or this key cannot see it.", "status": 404}Read a published database or view by its public slug
Returns the viewer payload for a database or standalone view that has been published to the web: title, icon, workspace name, indexing preference, the visible fields, and the first page of records (capped, with `hasMore` set when more exist). No authentication; the `slug` in the path is the credential. A slug that is unknown, unpublished, or not readable returns the same opaque not-found response, and time-tracking data is stripped from the payload.
Create a timeline dependency between two records
Links a predecessor record to a successor record in the same database; the client may preallocate `id` so an optimistic row and the stored edge share an identity. Requires `databases:write` on the database and a plan that includes the timeline feature. Rejected when either record does not belong to the database, when `lagMinutes` is not a whole number within ten years, when the identical edge already exists, or when the edge would close a cycle.