Resolve Attachments (M2M)
Check, bind and describe attachments for one provider call. Each id must be bound to this conversation, or unbound and uploaded by this caller; unbound ids are bound here. Any other id fails the whole request with 404 and nothing is bound. wait_ms long-polls until no requested attachment is uploading or ingesting and no analysis is pending, or until the timeout; the response is the state at that moment. content_url is a 5-minute presigned GET, set only when ready. Without a conversation nothing is bound and each row's agent must be reachable by the token.
Authorization
BundleAccessToken AuthorizationBearer <token>
In: header
Request Body
application/json
TypeScript Definitions
Use the request body type in TypeScript.
Response Body
application/json
curl -X POST "https://example.com/v1/bundler/attachments/resolve" \ -H "Content-Type: application/json" \ -d '{ "conversation_id": "cc71b11a-25cd-4c2d-9950-df2cc38e3407", "uploader_kind": "visitor", "uploader_ref": "string", "ids": [ "6e0346a3-e54d-40e3-9779-4ba1e707e35b" ] }'{ "items": [ { "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "kind": "image", "media_type": "string", "name": "string", "width": 0, "height": 0, "page_count": 0, "byte_size": 0, "sha256": "string", "status": "uploading", "reject_reason": "string", "analysis_status": "not_required", "analysis": { "description": "string", "ocr_text": "string" }, "extracted_text": "string", "content_url": "string", "source": "upload", "original_available": false } ]}Empty
Empty