Add a document from text
Ingests a document written as text or Markdown. Answers 202 with the source pending: parsing and indexing run on a queue, so poll list sources until ready.
Authorizations
A workspace API key: wdy_live_… / wdy_test_…. Created at POST /workspaces/{tenantId}/keys and shown exactly once.
Body
1 - 120The content as plain text or Markdown. Never auto-translated.
1 - 200000Lowercase topic tags. An empty list makes the source universal.
12The agent this belongs to; null/absent = the workspace pool.
Response
null = the workspace pool.
upload, url or claim.
pending, ready, failed, …
The canonical corpus language of the chunks.
The index card: one English line naming what this covers.
A machine-readable failure code.