import Kernel from '@onkernel/sdk';const client = new Kernel({ apiKey: process.env['KERNEL_API_KEY'], // This is the default and can be omitted});const response = await client.profiles.download('id_or_name');console.log(response);const content = await response.blob();console.log(content);
"<string>"
Profiles
Download profile archive
Returns a zstd-compressed tar file of the full user-data directory.
GET
/
profiles
/
{id_or_name}
/
download
JavaScript
import Kernel from '@onkernel/sdk';const client = new Kernel({ apiKey: process.env['KERNEL_API_KEY'], // This is the default and can be omitted});const response = await client.profiles.download('id_or_name');console.log(response);const content = await response.blob();console.log(content);