Claude File
@Serializable
A file that can be referenced by ID from subsequent Claude model requests. The JSON representation of this message matches the Claude Files API File object field-for-field, so that code written against that API parses these responses unchanged. This data type is not supported in Gemini API.
Constructors
Properties
Link copied to clipboard
Output only. The time at which the file was created.
Link copied to clipboard
Output only. Whether the contents of this file can be retrieved with DownloadFile. False for user-uploaded files, true for tool-generated ones.
Link copied to clipboard
Output only. The time at which the file expires and is deleted, set from the expires_in_seconds upload form field. Unset for files that do not expire, which is serialised as null.