Files
Upload a file
Upload a file of up to 80 MiB in one request: the body is its bytes, Content-Type its type and Content-Length is required. A path that already has a file is a 409 unless overwrite is true. Its storage is charged to the project from credits; without credits, or at a spend limit, the upload is refused with 402 before any byte is accepted. Larger files use an upload session.
post/v1/files
Request
- Base URLhttps://api.dexto.ai
- URLhttps://api.dexto.ai/v1/files
- AuthHTTP bearer
Query parameters
pathstring required
The file's path in the project, such as reports/q3.pdf.
overwrite'true' | 'false'
expires_atstring date-time
Delete the file at this time. Files are kept until deleted when omitted.
Headers
Content-Lengthstring required
X-Content-SHA256string
Request body application/octet-stream
string binary required
Response
Replaced the file at this path.
Changes
No recorded changes to this operation across all 1 revision of this API.