Upload agent chat attachments
Changed onMultipart upload of chat attachment files (the MIME types listed on files) for agent chat: up to 10 files, 5 MiB each. Proxies to the AI backend. Optional conversationId associates uploads with an existing agent thread.
Request
- Base URLhttps://app.pipeshub.com/api/v1
- URLhttps://app.pipeshub.com/api/v1/agents/{agentKey}/conversations/attachments/upload
- Auth
- HTTP bearer
- or OAuth 2Authorization code: /api/v1/oauth2/authorizeClient credentialsToken URL: /api/v1/oauth2/token scopes: agent:execute
Path parameters
Request body multipart/form-data
Response
Success. The gateway proxies the AI-backend JSON envelope after transforming the multipart upload into the backend attachment payload.
Changes
- info
added the media type
application/jsonfor the response with the status - info
added the media type
application/jsonfor the response with the status - info
added the media type
application/jsonfor the response with the status - info
added the media type
application/jsonfor the response with the status - info
added the non-success response with the status
- info
- info
added the optional property
//to the response with the status - info
response property
attachments/items/ocrModedeprecated
- info