Files
The public API supports uploading files up to 2 GB. If you would like to upload files larger than this, they must be uploaded using the website.
To upload a file, use the following endpoint:
Upload file
POST
https://app.biodock.ai/api/external/filesystem-items/upload-file
Headers
Name | Type | Description |
---|---|---|
X-API-KEY* | String | API key. |
Request Body
Name | Type | Description |
---|---|---|
fileName* | String | Desired name of file in the Biodock filesystem. |
destinationFolder | String | Desired parent folder of file in the Biodock filesystem. Will create folders if they do not exist. Defaults to the root folder. |
upload* | file | File to upload. |
To view items in the Biodock filesystem, use the following endpoint:
List filesystem items
GET
https://app.biodock.ai/api/external/filesystem-items
Query Parameters
Name | Type | Description |
---|---|---|
limit | Number | Maximum number of results to show. |
startingAfter | String | Pagination cursor id. |
folderId | String | Parent folder id. Will default to root folder. |
Headers
Name | Type | Description |
---|---|---|
X-API-KEY* | String | API key. |
Sample Usage
Upload a file
List filesystem items in the root folder
List filesystem items in a different folder
Last updated