Create a markdown document
Creates a markdown document and indexes its content for RAG. Optionally scope it to a project and/or file it inside a folder.
Authorizations
Use JWT token for authentication
Body
Document name (without extension)
Markdown content to store and index for RAG
Optional project ID to scope the document
Optional parent document ID (for subdocuments referenced via @ mentions)
Optional folder ID to file the document
Response
Document created successfully
Document ID
Client UID
Project ID the document is scoped to
Document name
File name (with extension)
File type
md, pdf, txt, docx MIME type
File size in bytes
Processing / indexing status
pending, ready, failed Markdown content (for markdown documents)
Auto-generated summary
Token count
Current version number
Folder ID the document is filed in
Parent document ID (for subdocuments referenced via @ mentions)
UID of the user that created the document
Creation timestamp (ms)
Last edit timestamp (ms)