Change a document
Changes the title, the tags, or (for pasted text only) the text.
secretKeyAuthorizationBearer <sk_live_… or sk_test_… (a prefix and 40 base62 characters)>A secret key from the dashboard, sent as Authorization: Bearer sk_live_…. Live keys run real, charged calls; test keys (sk_test_…) run calls of at most 60 seconds, 20 a day per organization, never charged. Each key sees only its own env's calls, meetings, webhooks, memories and analytics. Publishable keys (pk_…) are refused.
document_id*stringThe document's id.
^doc_[0-9A-Za-z]{20}$"doc_1Qm6Tx3KcW8vRp5ZbN2h"application/json- body
{ "tags": [ "faq", "hours", "weekend" ]}title?string1 <= length <= 200tags?array<>At most 20 tags of 1 to 40 characters, kept lower-case; repeats dropped.
items <= 20text?stringOnly for a pasted document.
1 <= length <= 500000The document as it is now, with its text.
application/json- response
One document, with its text.
{ "id": "doc_1Qm6Tx3KcW8vRp5ZbN2h", "title": "Opening hours", "source": "url", "file_name": null, "url": "https://example.com/help/opening-hours", "format": "html", "size_bytes": 48211, "char_count": 5120, "status": "ready", "error": null, "tags": [ "faq", "hours" ], "character_ids": [ "chr_4fT9kQ2mXw7LbN3pZs8V" ], "fetched_unix": 1793300000, "created_unix": 1793300000, "updated_unix": 1793300000}id*DocumentId^doc_[0-9A-Za-z]{20}$"doc_1Qm6Tx3KcW8vRp5ZbN2h"title*stringlength <= 200source*string"upload""url""text"file_name*string|nullurl*string|nullformat*stringimages: pictures uploaded together as a deck (no text).
"txt""md""pdf""docx""html""text""images"size_bytes*integerchar_count*integerThe text's length in characters (what counts against a character's budget).
status*DocumentStatusprocessing (being read), ready, or failed (kept, with error saying why; no text).
"processing""ready""failed"error*|Why it failed, in words you can show.
tags*array<>At most 20 tags of 1 to 40 characters, kept lower-case; repeats dropped.
items <= 20character_ids*array<>The characters that take it.
fetched_unix*|When a link was last fetched successfully.
int64created_unix*UnixUnix seconds, UTC.
int641793300000updated_unix*UnixUnix seconds, UTC.
int641793300000slides?|Its slides, when it is a deck (an uploaded PDF, or pictures); null otherwise. Independent of status: a scanned PDF has no text and ready slides.
text*stringThe extracted text (empty while processing or when failed).
length <= 500000curl -X PATCH 'https://api.daxov.com/v1/documents/doc_1Qm6Tx3KcW8vRp5ZbN2h' \ -H 'Content-Type: application/json' \ -d '{ "tags": [ "faq", "hours", "weekend" ]}'{ "id": "doc_1Qm6Tx3KcW8vRp5ZbN2h", "title": "Opening hours", "source": "url", "file_name": null, "url": "https://example.com/help/opening-hours", "format": "html", "size_bytes": 48211, "char_count": 5120, "status": "ready", "error": null, "tags": [ "faq", "hours" ], "character_ids": [ "chr_4fT9kQ2mXw7LbN3pZs8V" ], "fetched_unix": 1793300000, "created_unix": 1793300000, "updated_unix": 1793300000, "text": "string"}