Datei herunterladen
GET/v1/files/{file_id}/content
Datei herunterladen
Parameters
Returns
Datei herunterladen
<?php
require_once dirname(__DIR__) . '/vendor/autoload.php';
$client = new Client(apiKey: 'my-anthropic-api-key');
$response = $client->files->download(
'file_id', workspaceID: 'wrkspc_011CZkZaBF1tNoB5wlCeusgy'
);
var_dump($response);