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 →
Files are used to upload documents that can be used with features like Deployments.
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>"
}Documentation Index
Fetch the complete documentation index at: https://docs.orq.ai/llms.txt
Use this file to discover all available pages before exploring further.
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Was this page helpful?
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>"
}