API Reference
Node, deployment, workload, proof, and settlement objects
View Documentation →Build storage, compute, and AI workloads with APIs, SDKs, templates, and protocol objects.
Declare the workload, request a resource plan, confirm authorization, then track workloads and proofs through the event stream.
import { STAI } from "@stai/sdk";
const stai = new STAI({ environment: "testnet" });
const deployment = await stai.deploy({
workload: "ai-dataset-storage",
storage: "20TB",
replicas: 2,
regions: ["ap-southeast", "ap-east"]
});Node, deployment, workload, proof, and settlement objects
View Documentation →TypeScript, Python, and Go clients
View Documentation →Storage, inference, dataset, and agent templates
View Documentation →Field contracts, state machines, and raw data
View Documentation →Node identity, keys, and signing boundaries
View Documentation →Contribution proof, settlement, and governance guides
View Documentation →v0.4POST/v1/deploymentsCreate a deployment draft and return a resource plan
JSONGET/v1/network/capacityQuery regional and node capabilities
JSONGET/v1/nodes/{id}/metricsRead node operating metrics
JSONGET/v1/proofs/{id}Read contribution proofs and relationship traces
JSONPOST/v1/authorizationsCreate an authorization summary for a controlled action
JSONInspect upload, delivery, failure recovery, proof, and deletion using simulated scenario data.
Explore Media Gateway →Deterministic simulated experiment. It does not create: