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.
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.
storyden-session<token>node_slug*stringUnique node Slug.
xidapplication/json- body
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.
content*stringNode content generated.
application/json- response
The result of a content generation request from an LLM.
content*stringcurl -X POST 'https://example.com/api/nodes/string/content' \ -H 'Content-Type: application/json' \ -d '{ "content": "string"}'{ "content": "string"}Node Draft List GET
List a page of draft versions across nodes visible to the caller. This endpoint is designed for moderation and queue screens where you need to review pending draft proposals across nodes. 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. Use the `page` parameter and response pagination metadata to continue through the results.
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.