Attachments
Upload an attachment
Changed onUpload a file that can be referenced in Agent conversations.
post/attachment/v1/upload
Request
- Base URLhttps://api.langdock.com
- URLhttps://api.langdock.com/attachment/v1/upload
- AuthHTTP bearer
Request body multipart/form-data
Response
Successfully uploaded file
Example response
{
"attachmentId": "550e8400-e29b-41d4-a716-446655440000",
"file": {
"name": "example.pdf",
"mimeType": "application/pdf",
"sizeInBytes": 1234567
}
}Changes
- info
endpoint added
- info