OptionalcreatedThe timestamp when the file was uploaded, in ISO 8601 format (YYYY-MM-DDTHH:MM:SSZ).
The unique identifier for the uploaded file. This may be a user-provided identifier or a system-generated ID.
OptionalmetadataOptional metadata associated with the file. This metadata can be used to filter files when listing them or to restrict search results when querying the assistant.
OptionalmultimodalIndicates whether the file was processed as multimodal.
The name of the uploaded file.
OptionalsignedA signed URL that provides temporary, read-only access to the file. Anyone with the link can access the file, so treat it as sensitive data. Expires after a short time.
OptionalsizeThe size of the uploaded file, in bytes.
OptionalstatusThe current state of the uploaded file. Possible values:
Processing: File is being processed (parsed, chunked, embedded)Available: Processing completed successfully; file is ready for useDeleting: Deletion has been initiated but not yet completedProcessingFailed: Processing failed with an errorNote: Once a file is deleted, the API returns 404 Not Found instead of a file object.
OptionalupdatedThe timestamp of the most recent update to the file, in ISO 8601 format (YYYY-MM-DDTHH:MM:SSZ).
The response format for a successful file upload request.
Export
AssistantFileModel