PaginatedResponse[FileRead]
items object[]required
Unique numeric identifier of the record.
ID of the product (workspace) that owns this record. Most endpoints scope access by product.
lead_id objectrequired
ID of the lead this record relates to.
- integer
- null
The file's original name.
Object-storage key of the original file.
Kind of file — voice, image, or document.
Possible values: [voice, image, document]
MIME type of the original file.
Size of the original file in bytes.
llm_s3_key object
Object-storage key of the derived LLM-facing artifact, if any.
- string
- null
llm_mime_type object
MIME type of the derived LLM-facing artifact, if any.
- string
- null
llm_filename object
Filename of the derived LLM-facing artifact, if any.
- string
- null
Whether the original file is no longer available.
falsemeta_json objectrequired
Free-form metadata about the file.
Free-form metadata about the file.
llm_description objectrequired
Model-generated description of the file (e.g. for images).
- string
- null
voice_transcript objectrequired
Transcript text for voice files.
- string
- null
Possible values: [bot, user]
botfalsefalseCreation time (UTC, ISO 8601).
presigned_url object
- string
- null
{
"items": [
{
"id": 0,
"product_id": 0,
"lead_id": 0,
"original_filename": "string",
"s3_key": "string",
"file_type": "voice",
"mime_type": "string",
"file_size": 0,
"llm_s3_key": "string",
"llm_mime_type": "string",
"llm_filename": "string",
"original_lost": false,
"meta_json": {},
"llm_description": "string",
"voice_transcript": "string",
"origin_side": "bot",
"agent_sendable": false,
"send_once_per_dialogue": false,
"created_at": "2024-07-29T15:51:28.071Z",
"presigned_url": "string"
}
],
"page": 0,
"limit": 0,
"total": 0,
"pages": 0
}