const url = 'https://api.channelautomation.com/api/knowledge-studio/sources';
const options = {method: 'GET', headers: {'X-Workspace-Id': 'string'}};
fetch(url, options)
.then(res => res.json())
.then(json => console.log(json))
.catch(err => console.error(err));