Claude Platform Docs

Arquivos

Fazer upload de arquivo
POST/v1/files
Listar arquivos
GET/v1/files
Baixar arquivo
GET/v1/files/{file_id}/content
Obter metadados do arquivo
GET/v1/files/{file_id}
Excluir arquivo
DELETE/v1/files/{file_id}
Models
BetaDeletedFile object{ type, id }
type: optional "file_deleted"

Deleted object type.

For file deletion, this is always "file_deleted".

defaultfile_deleted
id: string

ID of the deleted file.

BetaFileMetadata object{ type, id, created_at, 6 more }
BetaFileScope object{ type, id }
type: "session"

The type of scope (e.g., "session").

id: string

The ID of the scoping resource (e.g., the session ID).