How it works
You send files inline as base64 in the create request. The API delivers them to the agent’s workspace before it processesinput_text, so the input can reference them by filename
(“Summarize report.pdf”). The API strips path components from filenames, so don’t rely on
directories.
Limits
Each request can include up to 10 files with a combined decoded size of 10 MiB. The limit applies to the decoded bytes. Base64 inflates the JSON body by about a third, so the request is larger than the files themselves.Encoding
Use standard base64 with padding. The API validates it strictly, so don’t include MIME line wrapping or newlines. In Python,base64.b64encode(...) produces the right output; in a
shell, use base64 -w0.
The samples below use the base URL https://app.us.goclicks.ai/v1.