English
Documentation
How to use the Orkeia AI platform
Allows sending a file to the system.
POST /upload-file
authorization: <your_token>
{ "file": "file in base64", "filename" : "file name" }
curl -X POST "https://gateway.orkeia.ai/upload-file" -H "authorization: <your_token>" -F "file=@/path/to/file.txt"
{ "status": "OK", "data": "document path url" }
{ "status": "ERROR", "code": "server/error", "data": null }
{ "status": "ERROR", "code": "client/error", "data": null }
Was this page helpful?