External API
Create or replace a knowledge file
Send 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}
Path parameters
file_pathstring required
Headers
If-Matchstring nullable
If-None-Matchstring nullable
Request body
string binary required
Response
The existing file was replaced.