Orq MCP is live: Use natural language to interrogate traces, spot regressions, and experiment your way to optimal AI configurations. Available in Claude Desktop, Claude Code, Cursor, and more. Start now →
cURL
curl --request POST \ --url https://api.orq.ai/v2/files \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: multipart/form-data' \ --form file='@example-file' \ --form purpose=retrieval
{ "_id": "<string>", "bytes": 123, "created": "<string>", "file_name": "<string>", "purpose": "<string>", "workspace_id": "<string>" }
Files are used to upload documents that can be used with features like Deployments.
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Bearer <token>
<token>
The file to be uploaded.
The intended purpose of the uploaded file.
retrieval
knowledge_datasource
batch
File uploaded successfully
Was this page helpful?
Contact support