Upload file
Files
Upload file
Upload a file for the agent to read. Without an explicit path the upload is an immutable managed object (OpenAI-exact). With a path it lands in the live project workspace. Max 50 MB. Requires files:write.
POST
Upload file
Authorizations
A RavChat API key: Authorization: Bearer sk-rav-...
Body
multipart/form-data
Response
The created file object.
Example:
"file-rav-0f8ff0ae"
Example:
"file"
Example:
4812
Example:
1720512000
Example:
"summary.md"
Example:
"assistants_output"
Example:
"processed"
Example:
"summary.md"
Who created the file.
Available options:
user, assistant, media