External API
Create or replace a knowledge file
Changed onSend the file bytes as the request body. Set Content-Type to match the file extension, or use application/octet-stream to infer it. The maximum file size is 10 MB.
put/v1/knowledge/files/{file_path}
Request
- Base URLhttps://api.traversal.com (the document declares no server; this is the origin it was published from)
- URLhttps://api.traversal.com/v1/knowledge/files/{file_path}
- AuthHTTP bearer
Path parameters
file_pathstring required
Headers
If-Matchstring nullable
If-None-Matchstring nullable
Request body
string binary required
Response
The existing file was replaced.
Changes
- info
endpoint added
- info