Pular para o conteúdo principal

Get Assistant Logo Upload Url

GET 

/api/v1/assistants/:assistant_id/logo_url

Get a pre-signed upload url to change the assistant logo.

Args: assistant_id (str): the id of the assistant content_type (str): Content type of the file to be uploaded. Can be any valid "image/*" type. expires_in (int): The number of seconds until the upload URL expires. db (AsyncSession): The data base to use in the repository org_member (OrgMember): The member to verify if the user is authorized

Returns

str: The pre-signed upload url.

Observations: User must have write permission on the assistant

Request

Responses

Successful Response