Add S3 object
Uploads an image, PDF, document, presentation, spreadsheet, or audio file into one of the caller’s ChrtGPT conversations, creating it if needed, once it passes a malware scan, and adds the file’s description to the conversation for ChrtGPT’s next reply. | authz: allowed_org_types=[shipper, provider], min_org_role=operator | (UploadFile) -> (ChrtGPTConversationS3ObjectMetadata1)
Authentication
AuthorizationBearer
Bearer authentication of the form Bearer <token>, where token is your auth token.
Path parameters
conversation_id
Request
This endpoint expects a multipart form containing a file.
file
Response
Successful Response
_id
ai_generated_description
content_type
MIME type detected from the file's bytes.
conversation_id
object_type
schema_version
size_bytes
uploaded_at_timestamp
uploaded_by_org_id
Must be a string starting with org_
uploaded_by_user_id
Must be a string starting with user_
blurhash
filename
Original filename of the uploaded file
s3_key_prefix
Errors
403
Forbidden Error
404
Not Found Error
422
Unprocessable Entity Error
423
Locked Error
502
Bad Gateway Error
503
Service Unavailable Error