Claude Platform Docs

Fichiers

Téléverser un fichier
POST/v1/files
Lister les fichiers
GET/v1/files
Télécharger un fichier
GET/v1/files/{file_id}/content
Supprimer un fichier
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).