insights.tools
Test Insights Tool
agents
agents.test
conversations
data_sources
events
incidents
insights
insights.workflows
insights.tools
custom_messages
prompts
session_labels
sessions.transcript
sessions.full-summary
session_debug
channels.targets
directory
dashboards
outbound.batches
- GETList Outbound Communication Batches
- POSTCreate Outbound Communication Batch
- GETGet Outbound Communication Batch
- PUTUpdate Outbound Communication Batch
- DELDelete Outbound Communication Batch
- POSTUpload Outbound Communication Batch
- GETFetch Outbound Communication Batch Results
- POSTCreate Outbound Communication Request
- POSTDelete Requests By List Of Reference Ids
outbound.campaigns
language_groups
takeouts
insights.tools
Test Insights Tool
Manually run the given insight tool against a session and return the response.
POST
/
api
/
v1
/
insights
/
tools-test
import { SyllableSDK } from "syllable-sdk";
const syllableSDK = new SyllableSDK({
apiKeyHeader: process.env["SYLLABLESDK_API_KEY_HEADER"] ?? "",
});
async function run() {
const result = await syllableSDK.insights.tools.insightsToolTest({
toolName: "summary-tool",
sessionId: 283467,
});
// Handle the result
console.log(result);
}
run();
"<any>"
Authorizations
Body
application/json
Request model to test an insight tool.
Human readable name of insight tool
Example:
"summary-tool"
The session ID of the session to run the tool against
Example:
"283467"
Response
200
application/json
Successful Response
The response is of type any
.
import { SyllableSDK } from "syllable-sdk";
const syllableSDK = new SyllableSDK({
apiKeyHeader: process.env["SYLLABLESDK_API_KEY_HEADER"] ?? "",
});
async function run() {
const result = await syllableSDK.insights.tools.insightsToolTest({
toolName: "summary-tool",
sessionId: 283467,
});
// Handle the result
console.log(result);
}
run();
"<any>"