PATCH
/
documents
/
{documentId}
cURL
curl --request PATCH \
  --url https://api.lucidtech.ai/{basePath}/documents/{documentId} \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: <content-type>' \
  --data '"<any>"'
{
  "updatedTime": "<string>",
  "contentMD5": "<string>",
  "metadata": {},
  "retentionInDays": 2,
  "updatedBy": "<string>",
  "description": "<string>",
  "agentRunId": "<string>",
  "content": "<string>",
  "groundTruth": [
    {
      "pages": [
        123
      ],
      "confidence": 0.5,
      "label": "<string>",
      "value": "<string>"
    }
  ],
  "consentId": "<string>",
  "createdBy": "<string>",
  "name": "<string>",
  "createdTime": "<string>",
  "datasetId": "<string>",
  "documentId": "<string>",
  "fileUrl": "<string>",
  "contentType": "application/pdf",
  "annotationFileUrl": "<string>"
}

Authorizations

Authorization
string
header
required

The access token received from the authorization server in the OAuth 2.0 flow.

Headers

Content-Type
string
required

Path Parameters

documentId
string
required

Body

application/json · any

The body is of type any.

Response

200
application/json

200 response

The response is of type object.