Documents

Get a document (metadata + tab summaries; tab contents fetched separately), or with `view=overview` one line per tab.

get/documents/{id}

Request

  • Base URL: https://www.livediagram.app/api
  • URL: https://www.livediagram.app/api/documents/{id}
  • Auth: one of:
    • HTTP bearer
    • API key in header X-Owner-Id

Path parameters

idstring required

Query parameters

viewstring

overview: one line per tab, its counts and revision, instead of the plain read.

jsonstring

1 answers the view as JSON (OutlineView, GraphView, …) instead of text.

budgetstring

Fit the view to this many tokens (characters ÷ 3), 1 to 1000000; what it leaves out is named on its last line.

doorstring

cli (default) or mcp: the syntax of the command the last line names.

Response

Success. With view=overview: the document and one line per tab.

Changes

No recorded changes to this operation across all 1 revision of this API.