Skip to main content

Controllk API

Controllk API

import { CodeBoltClient } from '@codebolt/clientsdk';

const client = new CodeBoltClient();

Quick Reference

MethodDescription
sendSends a command to the controllk endpoint.

Methods


send

client.controllk.send(data: ControllkCommand): Promise<unknown>

Sends a command to the controllk endpoint.

Dispatches a structured command for the CodeBolt runtime to execute. Commands are defined by their type and associated payload.

ParameterTypeRequiredDescription
dataControllkCommandYesThe command to send, including its type and payload

Returns: Promise<unknown> — A promise that resolves with the command execution result

Full reference →