Create/reuse workspace documents from upload keys and attach them to a session.
POST /extractions/sessions/{sessionId}/documents/attach.
sessions-write ability.
| Parameter | Type | Required | Description |
|---|---|---|---|
sessionId | uuid | Yes | The session ID |
| Parameter | Type | Required | Description |
|---|---|---|---|
keys | array[string] | Yes | Upload key list from signed URL flow |
.pdf).docx, .doc).png, .jpg, .jpeg, .tiff).pptx)200 OK – Documents attached.
sha256), the API reuses that document and only creates the session attachment.422 Unprocessable Entity – Invalid key or unsupported file format.
Temporary upload keys returned by /vapor/signed-storage-url
Documents attached