Get a signed URL to upload a chat image or document
Issues a short-lived SAS URL to upload one attachment directly to storage, so multi-MB screenshots and documents never transit this API. PUT the bytes to upload_url with headers x-ms-blob-type: BlockBlob and x-ms-blob-content-type: <mime>, then reference the returned blob_path in the attachments of POST /chat/sessions/<id>/messages. Allowed types: images (image/png, image/jpeg, image/gif, image/webp) and documents (application/pdf, text/plain, text/csv, application/msword, the Word/Excel OpenXML types). Honour max_image_bytes — the API can’t see the bytes on this path. The blob path is server-chosen and scoped to this session.
Authorizations
Authorization: Bearer <token> where <token> is either a neo_sk_<env>_<secret> API key (service account) or a Microsoft Entra ID access token (dashboard user).
Path Parameters
Body
Response
Success.
