authed

Create Assistant Attachment Upload

Step one: declare the file, get back the attachment id and the presigned PUT to send the bytes to. The row lands (and commits) before the URL goes out; an upload that never finishes is swept after its TTL.

post/api/v1/assistant-attachments

Request

  • Base URL
    https://api.teaflask.com (the document declares no server; this is the origin it was published from)
  • URL
    https://api.teaflask.com/api/v1/assistant-attachments
  • Auth
    none declared

Request body

filenamestring required
byte_sizeinteger required

Response

Successful Response

upload_urlstring required
upload_url_expires_in_secondsinteger required

Changes

No recorded changes to this operation across all 1 revision of this API.