Skip to main content
Mettre à jour un document

Authorizations

Authorization
string
header
required

Use the access_token returned by POST /v1/auth/token. Do not send the raw API secret on business endpoints.

Headers

X-Request-ID
string

Partner-generated correlation identifier echoed in logs and error payloads.

Path Parameters

document_id
string<uuid>
required

UUID MARKO du document.

Body

application/json
type
string | null

Catégorie métier du document, distincte de son type MIME; par exemple autre pour un document non spécialisé.

Required string length: 1 - 100
filename
string | null

Nom du fichier.

Maximum string length: 255
state
enum<string> | null

État de traitement ou de validation du document.

Available options:
uploaded,
ai_processing,
analyzed,
pending_review,
active,
ai_failed,
rejected,
archived
reject_reason
string | null

Motif du rejet du document.

Maximum string length: 500

Response

Successful response

Document mutation receipt without metadata or ownership details.

document_id
string<uuid>
required

UUID MARKO du document.

status
enum<string>
required

Résultat de l'écriture: métadonnées mises à jour ou document rattaché à l'opération.

Available options:
updated,
attached
operation_id
string<uuid> | null

UUID MARKO de l'opération.