Hello, For working with documents today, Orchestrate provides dedicated APIs:
- v1/orchestrate/knowledge-bases/documents – to upload documents into knowledge bases that agents can use.
- v1/orchestrate/agents/{agent_id}/threads/{thread_id}/chat-with-docs – to upload documents tied to a specific session/thread.
So if you want to send a PDF or other file to an agent, the supported way is via those document APIs, not through document_ids on /runs.
And in addition to that, note there are other features in the product today that handles files/PDFs, for example we can have python tools that take files as input; also there's the doc processing feature in flows.
I hope this helps