Introducing the Sai API: Put Your Agent to Work, Programmatically | Sai by Simular AI

Sai HTTP API

Today we’re launching the Sai HTTP API — a way to send tasks to your Sai agent over HTTPS, straight from your own code. If you’ve ever wanted Sai to run inside a CI pipeline, on a device, or as part of your own app, this is for you.

It’s the same REST surface that powers our sapi CLI, now documented and available to build on directly.

Here’s a task from start to finish — one request in, a live stream out:

curl -N -X POST https://api.sai.simular.ai/v1/agents/message \
  -H "Authorization: Bearer sapi_..." \
  -H "Content-Type: application/json" \
  -d '{"machineId":"m_1a2b","message":"list my unread emails from today"}'
data: {"type":"start"}
data: {"type":"reasoning-delta","id":"r1","delta":"Opening Gmail..."}
data: {"type":"text-delta","id":"t1","delta":"You have 3 unread emails: ..."}
data: {"type":"finish","finishReason":"stop"}
data: [DONE]

What you can do

Built for real workflows

curl https://api.sai.simular.ai/v1/agents/auth \
  -H "Authorization: Bearer sapi_your_api_key_here"

Prefer the command line?

The same capabilities are available through the sapi CLI — perfect for quick scripts and terminal-driven workflows.

Get started

Read the full reference, including authentication, endpoints, streaming events, and rate limits, here:

Sai API Documentation

We can’t wait to see what you build with Sai.

_Email us at support@simular.ai.