Reextract Library Document
POST /library/documents/{document_id}/reextract
POST
/library/documents/{document_id}/reextract
Re-run text extraction on ONE PDF or DOCX.
The single-document form of /documents/reextract-all. The stored bytes
are the input and are not changed.
Authorizations
Parameters
Path Parameters
document_id
required
Document id.
string
Document id.
Header Parameters
Responses
200
Successful Response
object
data
required
An open envelope for one document, folder or questionnaire.
Open on purpose: a Library document carries extraction metadata, a
questionnaire carries per-provider processing detail, and a generated deal
document carries structured_data and highlights whose shape is the
generator’s rather than this contract’s. Pinning those would silently drop
whatever the app learned to return that this file had not caught up on.
object
key
additional properties
any
pagination
Any of:
object
has_next
required
Whether there are more pages
boolean
limit
required
Items per page
integer
notes
Any of:
Array<string>
null
page
required
Current page number (1-indexed)
integer
total
required
Total number of items
integer
null
422
Validation Error
object
detail
Array<object>
object
loc
required
Array
msg
required
string
type
required
string