C
CHAXUCognitive APIs

Cognivanta Labs

At Large

Powered by CINTENT

Signed in as

demo@chaxu.co.in

SDK Studio

SDK Studio
C

SDK Generator

Generate starter SDK code from the APIs selected for the demo workflow.

API selection

Generated package

6 APIs included. Ready to generate.

Test selected APIs

Files

8

Runtime

EC2 API

Execution

Playground

Generated package structure

@chaxu/autonomy-demo/
  README.md
  package.json / pyproject.toml / Cargo.toml
  src/client.ts
  src/auth.ts
  src/telemetry.ts
  src/governance.ts
  src/replay.ts
  examples/governed-drone-workflow.ts

Code sample

import { ChaxuClient } from "@chaxu/autonomy-demo";

const client = new ChaxuClient({
  baseUrl: "http://13.205.249.30",
  token: process.env.CHAXU_TOKEN,
});

const workflow = [
  { id: "uav-replay-explain", method: "POST", path: "/api/v1/cognitive/uav/replay/explain" },
  { id: "uav-mavlink-orchestrate", method: "POST", path: "/api/v1/cognitive/uav/mavlink/orchestrate" },
  { id: "uav-governance", method: "POST", path: "/api/v1/cognitive/uav/governance/enforce" },
  { id: "uav-observability", method: "POST", path: "/api/v1/cognitive/uav/observability/telemetry" },
  { id: "simulation.run", method: "POST", path: "/api/simulation/run" },
  { id: "sdk.generate", method: "POST", path: "/api/sdk/generate" }
];

for (const step of workflow) {
  const response = await client.request(step.method, step.path);
  console.log(step.id, response);
}