User API

Create File Upload

Changed on

Create an uploading file row and return a presigned R2/S3 PUT URL.

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

Request body

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

Response

Successful Response

upload_urlstring required
method'PUT'
headersobject required
expires_in_secondsinteger required

Changes

    • breaking

      added the new required request property

    • 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 required property / to the response with the status