files

Upload files and return UUIDs for each

Changed on

This endpoint accepts a multipart form with one or more files and returns UUIDs for each. If chat_id is provided, files are associated with that chat. If not provided, files are created as standalone uploads that can be linked to assistants later. An optional outlook_provenance text part carries version 1 OutlookFileProvenance JSON (maximum 64 KiB). It must occur exactly once before any files and applies to every file in the request. Upload files with different origins in separate requests. The original EWS ID query parameter remains independent; a containing email's ID never replaces it.

post/api/v1beta/me/files

Request

  • The document declares no server URL.
  • Auth: none declared

Query parameters

chat_idstring

Optional chat ID to associate the file with. If not provided, creates standalone files.

external_id_ews_idstring

Optional external EWS ID to persist on each file in this request. Upload files with different IDs in separate requests.

Response

rejected_filesstring[]

Filenames skipped by the configured operation policy.

Changes

    • info

      added the optional property /// to the response with the status

    • info

      added the optional property to the response with the status

    • info

      added the new optional request property /

    • info

      added the optional property // to the response with the status