Documents

Read a whiteboard

POST
/documents/{document_id}/whiteboard/read

Read a whiteboard: its levels and elements (post-its, texts, to-dos, drawings, images, links, cards for pages, documents, charts, databases and routines (type skill), integration icons, portals into sub-levels, connectors) as columns/rows, plus the content_hash to pass back as expected_content_hash to documents.whiteboard_edit. Filter by level, types or a rect; page with limit and cursor=next_cursor. Before your first change to a whiteboard in this conversation, call documents.whiteboard_open and open its url in the user's browser so the user watches the board change live. Do not open it again if you already did earlier in the conversation.

Authorization

bearerApiKey
AuthorizationBearer <token>

Create a scoped API key in the Adlass settings.

In: header

Path Parameters

document_id*string

Resource identifier: document_id.

Formatuuid

Header Parameters

X-Request-Id?string

Optional correlation identifier.

Lengthlength <= 128

Request Body

application/json

TypeScript Definitions

Use the request body type in TypeScript.

Response Body

application/json

application/problem+json

application/problem+json

application/problem+json

application/problem+json

application/problem+json

application/problem+json

application/problem+json

application/problem+json

application/problem+json

application/problem+json

application/problem+json

application/problem+json

application/problem+json

application/problem+json

application/problem+json

application/problem+json

curl -X POST "https://example.com/documents/123e4567-e89b-42d3-a456-426614174000/whiteboard/read" \  -H "Content-Type: application/json" \  -d '{}'
{  "document_id": "123e4567-e89b-42d3-a456-426614174000",  "content_hash": "3f786850e387550fdab836ed7e6dc881de23001b",  "levels": {},  "elements": {},  "next_cursor": "example",  "total": 0}