skills/get-file-metadata/SKILL.md
# Get File Metadata Retrieve metadata information for a previously uploaded file, including filename, MIME type, size, and download availability. ## API Details - **API**: Anthropic Files API - **Method**: GET - **Path**: `/files/{file_id}` - **Operation ID**: `getFileMetadata` - **OpenAPI**: [anthropic-files-api-openapi.yml](../../openapi/anthropic-files-api-openapi.yml) ## Sandbox Mock server URL: `http://localhost:8080/rest/anthropic-files-api/1.0.0/files/{file_id}` ## Required Headers
npx skillsauth add naftiko/anthropic-sandbox skills/get-file-metadataInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
Retrieve metadata information for a previously uploaded file, including filename, MIME type, size, and download availability.
/files/{file_id}getFileMetadataMock server URL: http://localhost:8080/rest/anthropic-files-api/1.0.0/files/{file_id}
anthropic-version: 2023-06-01anthropic-beta: files-api-2025-04-14x-api-key: {api-key}| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| file_id | string | Yes | Unique identifier of the file |
curl -X GET "http://localhost:8080/rest/anthropic-files-api/1.0.0/files/file_011CNha8iCJcU1wXNR6q4V8w" \
-H "anthropic-version: 2023-06-01" \
-H "anthropic-beta: files-api-2025-04-14" \
-H "x-api-key: your-api-key"
{
"id": "file_011CNha8iCJcU1wXNR6q4V8w",
"type": "file",
"filename": "quarterly-report.pdf",
"mime_type": "application/pdf",
"size_bytes": 2048576,
"created_at": "2024-11-07T05:31:56Z",
"downloadable": true
}
When the user asks to get metadata or information about a specific file, use this operation by making a GET request to /files/{file_id}. Include the anthropic-beta: files-api-2025-04-14 header.
development
# Update Workspace Update the name or display color of an existing workspace. ## API Details - **API**: Anthropic Administrative API - **Method**: POST - **Path**: `/organizations/workspaces/{workspace_id}` - **Operation ID**: `updateWorkspace` - **OpenAPI**: [anthropic-admin-api-openapi.yml](../../openapi/anthropic-admin-api-openapi.yml) ## Sandbox Mock server URL: `http://localhost:8080/rest/anthropic-admin-api/1.0.0/organizations/workspaces/{workspace_id}` ## Required Headers - `anthro
development
# Update Workspace Member Update the workspace role of a specific member within a workspace. ## API Details - **API**: Anthropic Administrative API - **Method**: POST - **Path**: `/organizations/workspaces/{workspace_id}/members/{user_id}` - **Operation ID**: `updateWorkspaceMember` - **OpenAPI**: [anthropic-admin-api-openapi.yml](../../openapi/anthropic-admin-api-openapi.yml) ## Sandbox Mock server URL: `http://localhost:8080/rest/anthropic-admin-api/1.0.0/organizations/workspaces/{workspa
development
# Update Organization Member Update the role or other attributes of a specific user within the organization. ## API Details - **API**: Anthropic Administrative API - **Method**: POST - **Path**: `/organizations/users/{user_id}` - **Operation ID**: `updateOrganizationMember` - **OpenAPI**: [anthropic-admin-api-openapi.yml](../../openapi/anthropic-admin-api-openapi.yml) ## Sandbox Mock server URL: `http://localhost:8080/rest/anthropic-admin-api/1.0.0/organizations/users/{user_id}` ## Require
development
# Update API Key Update the name or status of an existing API key. Can be used to activate or deactivate a key. ## API Details - **API**: Anthropic Administrative API - **Method**: POST - **Path**: `/organizations/api_keys/{api_key_id}` - **Operation ID**: `updateApiKey` - **OpenAPI**: [anthropic-admin-api-openapi.yml](../../openapi/anthropic-admin-api-openapi.yml) ## Sandbox Mock server URL: `http://localhost:8080/rest/anthropic-admin-api/1.0.0/organizations/api_keys/{api_key_id}` ## Requ