Backoffice

Create Backoffice Attachment File

Changed on

Persist attachment bytes to R2 and tag the row as an attachment.

post/backoffice/files/attachments

Request

  • Base URL
    https://api.toolhouse.ai (the document declares no server; this is the origin it was published from)
  • URL
    https://api.toolhouse.ai/backoffice/files/attachments
  • Auth
    HTTP bearer

Request body

user_idstring required
filenamestring required
mime_typestring required
data_base64string required
agent_idstring uuid nullable
run_idstring uuid nullable
metadataobject nullable

Response

Successful Response

Changes

    • breaking

      removed the required property / from the response with the status

    • breaking

      removed the required property / from the response with the status

    • warning

      removed the optional property / from the response with the status

    • info

      added the required property / to the response with the status