Authorizations
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Path Parameters
Profile ID or name
Response
Profile ZIP archive
The response is of type file.
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.Download the profile. Profiles are JSON files containing the pieces of state that we save.
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.Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Profile ID or name
Profile ZIP archive
The response is of type file.