GET
/
profiles
/
{id_or_name}
/
download
JavaScript
import Kernel from '@onkernel/sdk';

const client = new Kernel({
  apiKey: 'My API Key',
});

const response = await client.profiles.download('id_or_name');

console.log(response);

const content = await response.blob();
console.log(content);
This response does not have an example.

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

id_or_name
string
required

Profile ID or name

Response

200
application/octet-stream

Profile ZIP archive

The response is of type file.