import SGPClient from 'sgp';
const client = new SGPClient({
apiKey: 'My API Key',
});
const response = await client.applicationThreads.process('application_variant_id', 'thread_id', {
inputs: { foo: 'bar' },
});
console.log(response);
"<any>"
import SGPClient from 'sgp';
const client = new SGPClient({
apiKey: 'My API Key',
});
const response = await client.applicationThreads.process('application_variant_id', 'thread_id', {
inputs: { foo: 'bar' },
});
console.log(response);
"<any>"
Successful Response
The response is of type any
.