import SGPClient from 'sgp';
const client = new SGPClient({
apiKey: process.env['SGP_API_KEY'], // This is the default and can be omitted
});
const feedback = await client.chatThreads.messages.feedback.delete(
'thread_id',
'application_interaction_id',
);
console.log(feedback);{
"detail": [
{
"loc": [
"<string>"
],
"msg": "<string>",
"type": "<string>"
}
]
}import SGPClient from 'sgp';
const client = new SGPClient({
apiKey: process.env['SGP_API_KEY'], // This is the default and can be omitted
});
const feedback = await client.chatThreads.messages.feedback.delete(
'thread_id',
'application_interaction_id',
);
console.log(feedback);{
"detail": [
{
"loc": [
"<string>"
],
"msg": "<string>",
"type": "<string>"
}
]
}