Misar Docs
MisarMailMisar.BlogMisarReachMisarPostMisar.DevMisar PlatformMisar IdentityMisar Posts API
Sdks

SDKs

Official Misar.Dev SDKs — build, deploy, and manage AI-built apps from any language via api.misar.io/dev.

The Misar.Dev SDKs are thin, typed clients over the Misar.Dev REST API. They let you create and deploy projects, manage templates and API keys, run AI chat completions, and read usage and billing — all over https://api.misar.io/dev with a single bearer API key.

The TypeScript SDK (@misar/dev) is the reference implementation and exposes the full surface. Other language ports are early v0.1.0 releases that implement a curated subset of the most common operations; each page documents exactly what its port supports.

Authentication

Every SDK authenticates with a Misar.Dev API key sent as a bearer token:

Authorization: Bearer <your-api-key>

Create and manage keys from the Misar.Dev dashboard (Account → API Keys). Keep keys server-side; never embed them in client bundles.

Base URL

https://api.misar.io/dev

All SDKs target this base URL by default (or accept it as an override). Retryable responses (429, 500, 502, 503, 504) are retried automatically with exponential backoff.

Languages

Ports are at v0.1.0 and implement a subset of the TypeScript reference. Check each language page for the exact resources and methods available.

Quick start (TypeScript)

import { MisarDevClient } from "@misar/dev";

const client = new MisarDevClient(process.env.MISARDEV_API_KEY!);

const { project } = await client.projects.create({ name: "my-app" });

const deploy = await client.projects.deploy(project.id);
console.log(deploy.url);