Upload files to be used with Agents
api.langdock.com with your deployment’s base URL: <deployment-url>/api/publicKNOWLEDGE_FOLDER_API scope. You can create API Keys in your Workspace
settings.multipart/form-data requests with a single file upload.
| Parameter | Type | Required | Description |
|---|---|---|---|
file | File | Yes | The file you want to upload |
metadata.attachments array when calling the Completions APIattachments array when creating or updating an agent