skills/list-files/SKILL.md
# List Files Retrieve a paginated list of all files that have been uploaded to the organization via the Files API. ## API Details - **API**: Anthropic Files API - **Method**: GET - **Path**: `/files` - **Operation ID**: `listFiles` - **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` ## Required Headers - `anthropic-version: 2023-06-01` - `anthropic-beta: fil
npx skillsauth add naftiko/anthropic-sandbox skills/list-filesInstall 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 a paginated list of all files that have been uploaded to the organization via the Files API.
/fileslistFilesMock server URL: http://localhost:8080/rest/anthropic-files-api/1.0.0/files
anthropic-version: 2023-06-01anthropic-beta: files-api-2025-04-14x-api-key: {api-key}| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| limit | integer | No | Items per page (1-1000, default 20) |
| before_id | string | No | Cursor for previous page |
| after_id | string | No | Cursor for next page |
curl -X GET "http://localhost:8080/rest/anthropic-files-api/1.0.0/files" \
-H "anthropic-version: 2023-06-01" \
-H "anthropic-beta: files-api-2025-04-14" \
-H "x-api-key: your-api-key"
{
"data": [
{
"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
}
],
"first_id": "file_011CNha8iCJcU1wXNR6q4V8w",
"has_more": true,
"last_id": "file_033EPjc0kELeW3zZPT8s6X0y"
}
When the user asks to list or view uploaded files, use this operation by making a GET request to /files with the required 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