API
SDK

Future-Ready Client Layer

The SDK layer is not fully shipped yet, but the docs already define the intended client surfaces so the API and product layers converge toward a coherent developer experience.

Planned Surfaces

JS SDK

Convenient methods for flows, executions, and mail actions.

REST Client

Thin helpers over direct API calls with consistent request and response handling.

CLI

Automation-friendly commands for deploy, inspect, and operate workflows.

Possible JavaScript Shape

import { IAI } from "@iai/sdk";

const client = new IAI({
  baseURL: "https://api.iai.one",
  session: "current-session"
});

await client.flows.create({
  name: "Lead qualification",
  nodes: [],
  edges: []
});

Current Gaps Before Shipping

  • Auth layer standardization
  • Normalized error envelope
  • Stable endpoint versioning
  • Formal SDK release strategy