Node Generate Content
Generate proposed content for the specified node. Will not actually mutate the specified node, instead will return a proposal based on the output from a language model call.
/nodes/{node_slug}/contentGenerate proposed content for the specified node. Will not actually mutate the specified node, instead will return a proposal based on the output from a language model call.
In: cookie
Path Parameters
Unique node Slug.
Request Body
application/json
TypeScript Definitions
Use the request body type in TypeScript.
A request for generated content for a node. A request for generated content does not use the existing content on a node but takes the current client's content state (from an "edit mode" text box for example) and sends that in order to generate potential content using an LLM.
Response Body
application/json
application/json
curl -X POST "https://example.com/nodes/cc5lnd2s1s4652adtu50/content" \ -H "Content-Type: application/json" \ -d '{ "content": "string" }'{
"content": "string"
}{
"type": "string",
"title": "string",
"detail": "string",
"trace_id": "string",
"metadata": {}
}Node Draft List GET
List all draft versions across all nodes visible to the caller. This endpoint is designed for moderation and queue screens where you need to see all pending draft proposals in one request. Each draft includes a reference to its target node for context. Drafts are visible based on the caller's permissions: - Draft authors can see their own drafts - Members with `MANAGE_LIBRARY` can see all drafts - Unauthenticated requests receive 401 Unauthorized Results are ordered by `updated_at` descending so recently updated drafts appear first.
Node Generate Tags POST
Generate proposed tags for the specified node. Will not actually mutate the specified node, instead will return a proposal based on the output from a language model call.