Documents

Replace a document's content

Replace the source and re-ingest. Send either multipart/form-data with a file field (a new filename is kept), or the raw text as the body with any text/* content type (the filename stays).

put/documents/{document_id}/content

Request

  • Base URL: https://app.jitprompt.com
  • URL: https://app.jitprompt.com/documents/{document_id}/content
  • Auth: HTTP bearer

Path parameters

document_idstring required

Response

Successful Response

idstring uuid required
namespace_idstring uuid required
titlestring nullable required
summarystring nullable required
source_namestring required
status'pending' | 'parsing' | 'structuring' | 'embedding' | 'ready' | 'failed' required
errorstring nullable required
created_atstring date-time required
updated_atstring date-time required
section_countinteger required

Changes

No recorded changes to this operation across all 1 revision of this API.