JavaScript
import { createCognitioClient } from "@cognitio/sdk
const client = createCognitioClient()
await client.tui.executeCommand({
...
})true{
"data": "<unknown>",
"errors": [
{}
],
"success": false
}API Reference
Execute TUI command
Execute a TUI command (e.g. agent_cycle)
POST
/
tui
/
execute-command
JavaScript
import { createCognitioClient } from "@cognitio/sdk
const client = createCognitioClient()
await client.tui.executeCommand({
...
})true{
"data": "<unknown>",
"errors": [
{}
],
"success": false
}