Cognivanta Labs
At Large
Powered by CINTENT
Signed in as
demo@chaxu.co.in
Generate starter SDK code from the APIs selected for the demo workflow.
6 APIs included. Ready to generate.
Files
8
Runtime
EC2 API
Execution
Playground
@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
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);
}