Logseq

Graph Data

Return nodes/edges representing memories, tags, and entities.

Read-only: any authenticated user can retrieve the graph for their visible memories.

post/api/v1/logseq/graph

Request

  • The document declares no server URL.
  • Auth: HTTP bearer

Headers

X-API-Keystring nullable

Request body

memory_idsstring[]

If provided, export only these memory IDs

include_short_termboolean

Include STM entries (Redis) when memory_ids are provided

scopestring nullable

Optional scope filter for LTM listing

limitinteger
export_mode'single_file' | 'vault_pages' nullable

Export mode for write-to-disk exports. single_file writes one .md file. vault_pages writes a Logseq vault structure with one page per memory. If omitted, server defaults apply.

Response

Successful Response

Changes

No recorded changes to this operation across all 2 revisions of this API.