Lists all files uploaded to an assistant.
Value
List with http response, content (list of files), and status_code. Content includes a "files" list where each file has: - id: File UUID - name: File name - status: File status ("Processing", "Available", "Failed") - size: File size in bytes - metadata: File metadata (if set) - created_on: Creation timestamp - updated_on: Last update timestamp - percent_done: Processing progress (0.0 to 1.0) - error_message: Error message (if status is "Failed")
Examples
if (FALSE) { # \dontrun{
# List all files
assistant_list_files("my-assistant")
# List files with metadata filter
assistant_list_files("my-assistant", filter = list(document_type = "manuscript"))
} # }