Base URL
Authentication
Krisis accepts two credentials. Send one of them on every request.
Every endpoint under
/api/v1 requires one of them, except the public
dsl/validate, dsl/evaluate, and market-data endpoints noted in their pages.
API key
Use the same API key you use for the Execution API. See Authentication to create one.
Every write is treated as a trading action, because a stop-loss, bracket, or
strategy places orders when it fires. So a key without
trade:execute is
read-only in Krisis.
X-Client-Id selects API-key auth. If you send it, you must also send
X-Api-Key and X-Api-Secret. Krisis does not fall back to the
Authorization header.Session JWT
The web app sends the JWT issued by the user’s Kairos session. Krisis does not issue tokens itself; there is no login endpoint. A session JWT can read and write without scopes.Ownership
Every request acts as the user who owns the key or the session. You can only read and change your own strategies, funds, orders, and positions.Conventions
Gotcha: every order names its outcome. Sendoutcome(e.g."Yes") on every venue, Kalshi included. Token venues such as Polymarket also require the outcome’stoken_id. A request without them is rejected400, e.g."outcome is required for kalshi conditional orders".
Error responses
Errors return a JSON body with a singleerror field:
Gotcha: not every rejection is an HTTP error.
POST /api/v1/dsl/validate answers a bad expression with 200 and
valid: false. A strategy that can’t place its order
records a skip_reason on its execution rather than failing a request — see
Funds & Credentials.
A 200 and a healthy-looking strategy do not mean the engine is trading.Tier limits
Your account carries a Krisis tier that caps how much of the engine you can use. A create call that would exceed a cap fails400 — e.g.
{ "error": "Strategy limit reached for your tier" }. The engine enforces two
of the tier’s limits:
Tiers are administered by Kairos; there is no public endpoint to read or
change your own.
Rate limiting
The API allows 100 requests per second from each client IP. When exceeded, requests get429 with:
What’s in this chapter
Most integrations start with Conditional Orders — the
dedicated stop-loss, bracket, TWAP, peg, and market-maker endpoints — and only drop
down to Strategies & DSL for custom conditions.

