claude_file_metadata | R Documentation |
Retrieves metadata for a specific file uploaded to the Claude API.
claude_file_metadata(
.file_id,
.api_url = "https://api.anthropic.com/",
.timeout = 60,
.max_tries = 3,
.dry_run = FALSE
)
.file_id |
The file ID to retrieve metadata for. |
.api_url |
Base URL for the Claude API (default: "https://api.anthropic.com/"). |
.timeout |
Request timeout in seconds (default: 60). |
.max_tries |
Maximum retry attempts for requests (default: 3). |
.dry_run |
Logical; if TRUE, returns the prepared request object without executing it. |
A tibble containing metadata fields such as file_id, filename, size, and MIME type.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.