chat

Upload Chat Attachment

Changed on

Store one PDF for this project's chat and return its reference.

Returns 404 rather than 403 when the workspace's chat PDF attachment toggle is off: off means the API surface is absent, not forbidden.

post/api/v1/chat/{project_id}/attachment

Request

  • Base URL
    https://api.maia-analytics.com (the document declares no server; this is the origin it was published from)
  • URL
    https://api.maia-analytics.com/api/v1/chat/{project_id}/attachment
  • Auth
    HTTP bearer

Request body multipart/form-data

filestring binary required

Response

Successful Response

idstring uuid required
filenamestring required
media_typestring required
byte_sizeinteger required

Changes