Claudex.FileMetadata (Claudex v0.6.1)

Copy Markdown View Source

The Files API's record of one stored file — its id, filename, MIME type, size, and timestamps.

downloadable is false for anything you uploaded — only files Claude creates, through skills or the code execution tool, can be downloaded. expires_at is nil unless the file was uploaded with an expiry.

Summary

Types

t()

@type t() :: %Claudex.FileMetadata{
  created_at: DateTime.t() | nil,
  downloadable: boolean() | nil,
  expires_at: DateTime.t() | nil,
  filename: String.t(),
  id: String.t(),
  mime_type: String.t(),
  size_bytes: non_neg_integer(),
  type: String.t()
}