Create Assistant Asset Upload Url

post/agent/custom/{custom_agent_id}/assistant_asset/upload_url

Request

  • Base URL
    https://api.tellers.ai (the document declares no server; this is the origin it was published from)
  • Auth
    none declared

Path parameters

custom_agent_idstring uuid required

Headers

x-api-keystring nullable
authorizationstring nullable

Request body

role'LOGO' | 'DEMO' required
kind'IMAGE' | 'VIDEO' required
content_lengthinteger required
mime_typestring nullable
prefer_multipartboolean nullable

Advisory. Leave unset to let the server choose from content_length. True requests multipart even for a small file (e.g. for resumability on a flaky connection). False is only a preference: uploads too large for a single PUT are sent as multipart anyway. The mode actually used is returned as multipart.

multipart_part_sizeinteger nullable

Part size in bytes (min 5 MiB, S3's floor for non-final parts). Defaults to a size that keeps the part count within S3's limit.

Response

Successful Response

assistant_asset_idstring required
role'LOGO' | 'DEMO' required
multipartboolean required
presigned_put_urlstring nullable
multipart_upload_idstring nullable
multipart_part_sizeinteger nullable
multipart_part_countinteger nullable

Changes

No recorded changes to this operation across all 2 revisions of this API.