FileUpload
product_idProduct Idrequired
ID of the product (workspace) that owns this record. Most endpoints scope access by product.
file_typeFileTyperequired
Possible values: [voice, image, document]
llm_description object
anyOf
- string
- null
string
agent_sendableAgent Sendable
Allows this file to be offered to the LLM as an outbound attachment option. The file must also belong to the same product, have origin_side=bot, and be selected by agent configuration or referenced by retrieved RAG content.
Default value:
falsesend_once_per_dialogueSend Once Per Dialogue
When enabled, the file is removed from the LLM's available attachment options for a dialogue after a message containing it receives send confirmation.
Default value:
falsefilebinaryrequired
FileUpload
{
"product_id": 0,
"file_type": "voice",
"llm_description": "string",
"agent_sendable": false,
"send_once_per_dialogue": false,
"file": "string"
}