Lists metadata for files uploaded to the Claude API, supporting pagination.
claude_list_files(
.limit = 20,
.order = "desc",
.api_url = "https://api.anthropic.com/",
.timeout = 60,
.max_tries = 3,
.dry_run = FALSE
)The maximum number of files to return (default: 20).
Order of results, either "asc" or "desc" (default: "desc").
Base URL for the Claude API (default: "https://api.anthropic.com/").
Request timeout in seconds (default: 60).
Maximum retry attempts for requests (default: 3).
Logical; if TRUE, returns the prepared request object without executing it.
A tibble containing metadata for each file, including file_id, filename, size, and MIME type.