TESSEN Platform
Documentation
Docs/API reference
API REFERENCE

API reference overview

The Tessen API is an HTTPS JSON API at https://api.tessen.ai/v1. This page lists every endpoint Tessen supports for developers and its status.

ItemValue
Base URLhttps://api.tessen.ai/v1
AuthenticationAuthorization: Bearer tes_... (all endpoints except the two marked public)
Content typeapplication/json, UTF-8. Streaming responses are text/event-stream.
FormatChat completions follow the OpenAI chat format. The differences are documented on each page.
HealthGET https://api.tessen.ai/health returns {"status":"ok"}. Public.

Endpoints

Method and pathPurposeStatus
POST /v1/chat/completionsChat completions on Z1, Z1 Code, H1 and Project ZERO. Streaming and tool calling.Available. Models are restricted.
GET /v1/modelsThe Gateway's model registry (legacy entries; not your entitlements).Available
POST /v1/embeddings384-dimension vectors for up to 64 inputs.Available
POST /v1/images/generateImage generation.Not available. Answers 404 capability_unavailable.
GET /v1/economy/usageYour monthly usage totals.Available
GET /v1/wallet/balance, GET /v1/wallet/ledgerYour prepaid wallet and its ledger.Available
GET /v1/pricing/familiesThe published price of each model family.Available. Public: no key.
GET /v1/zero/statusYour ZERO Alpha enrollment, capacity and daily allowance.Available
Limit

The production Gateway serves other routes that Tessen's own products use (memory, jobs, files, tools and others). They are not part of the documented developer contract, may change without notice, and are not described here.

Conventions

  • Errors are JSON. Application errors are { "error": { "code", "message" } }; request-validation errors (422) and a few input errors (400) are { "detail": ... }. See Errors.
  • Money is in US dollars. Prices are per one million tokens.
  • Times are ISO 8601 in UTC, except the created field of a chat response, which is Unix seconds.
  • Send an explicit model on every chat request.

Search documentation

Titles, headings and guides↑ ↓ navigate · Enter open
API reference overview · Tessen Docs