User API

Create Server File Upload

Changed on

Upload file bytes through the backend and store them in R2/S3.

post/me/files/server-uploads

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/me/files/server-uploads
  • Auth
    HTTP bearer

Request body

filenamestring nullable
mime_typestring nullable
data_base64string required
run_idstring uuid nullable
tagsstring[]
metadataobject nullable
conflict_strategy'error' | 'overwrite' | 'rename'

Response

Successful Response

Changes

    • info

      the request property became optional

    • info

      the request property became optional

    • info

      request property list-of-types was widened by adding types null to media type application/json

    • info

      request property list-of-types was widened by adding types null to media type application/json

    • info

      the request property's minLength was decreased from 1 to 0

    • info

      the request property's minLength was decreased from 1 to 0

    • 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 request property

    • warning

      removed the request property

    • warning

      removed the request property

    • warning

      removed the optional property / from the response with the status

    • info

      added the new optional request property

    • info

      added the required property / to the response with the status