import SGPClient from 'sgp';
const client = new SGPClient({
apiKey: process.env['SGP_API_KEY'], // This is the default and can be omitted
});
const response = await client.knowledgeBaseDataSources.verify('knowledge_base_data_source_id');
console.log(response);
"<any>"
import SGPClient from 'sgp';
const client = new SGPClient({
apiKey: process.env['SGP_API_KEY'], // This is the default and can be omitted
});
const response = await client.knowledgeBaseDataSources.verify('knowledge_base_data_source_id');
console.log(response);
"<any>"
Successful Response
The response is of type any
.