cURL
curl --request PATCH \ --url https://api.lucidtech.ai/{basePath}/documents/{documentId} \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: <content-type>' \ --data ' { "groundTruth": [ { "label": "<string>", "value": "<string>", "pages": [ 123 ], "rawValue": "<string>", "confidence": 0.5 } ], "metadata": {}, "retentionInDays": 913, "name": "<string>", "description": "<string>", "datasetId": "<string>" } '
{ "updatedTime": "<string>", "metadata": {}, "retentionInDays": 913, "updatedBy": "<string>", "description": "<string>", "createdBy": "<string>", "name": "<string>", "createdTime": "<string>", "documentId": "<string>", "contentMD5": "<string>", "ocrFileUrl": "<string>", "agentRunId": "<string>", "content": "<string>", "groundTruth": [ { "label": "<string>", "value": "<string>", "pages": [ 123 ], "rawValue": "<string>", "confidence": 0.5 } ], "consentId": "<string>", "datasetId": "<string>", "fileUrl": "<string>", "contentType": "application/pdf", "annotationFileUrl": "<string>" }
Update Document
The access token received from the authorization server in the OAuth 2.0 flow.
Show child attributes
1 <= x <= 1825
4096
200 response
1 - 6250000
application/pdf
image/jpeg
image/png
image/tiff
image/webp
message/rfc822