OpenSS developer documentation

Build around
the local engine.

Technical documentation for the authenticated REST API that connects OpenSS interfaces to capture, OCR, chat and local processing.

local-engineAPI / v1
$ openss gui --no-open
Local interface: 127.0.0.1:53142
GET /api/version 200
{"desktopVersion":"0.2.8","apiVersion":1}
POST /api/chat/stream SSE
data: {"delta":"..."}data: {"done":true}
01

Security boundary

A real API, with a local contract.

OpenSS runs a FastAPI server on loopback. It is an internal integration surface for a running desktop engine, not a public cloud endpoint. That boundary shapes every page here: short-lived credentials, approved origins, temporary captures and explicit cleanup.

Read authentication and security
127.0.0.1loopback only
8 hourssession lifetime
30 mincapture expiry
Developer paths

Choose the layer
you need to touch.

Featured workflow

From pixels
to a useful answer.

One compact integration journey demonstrates the parts that matter in a real client: compatibility, authentication, binary-derived context, streaming and resource ownership.

01
CheckGET /api/version

Confirm the engine and API contract before touching a protected route.

02
ExchangePOST /api/session/exchange

Turn the local launch credential into an in-memory session token.

03
CapturePOST /api/screenshots/capture

Capture a supported app and receive OCR plus a temporary screenshot ID.

04
StreamPOST /api/chat/stream

Consume delta events, then persist the final session ID from done.

05
ReleaseDELETE /api/screenshots/{id}

Remove the temporary capture as soon as the workflow ends.

Reference notes

A curated local contract.

OpenAPI, Swagger UI and ReDoc are disabled in the engine. This reference is maintained from the FastAPI routes and Pydantic schemas so it can explain the intended lifecycle without publishing authentication internals.