Overview

The ACI API is the gateway surface for the Allternit Computer Interface (ACI). It forwards browser-automation requests to the ACU computer-use gateway (domains/computer-use/core) and adapts the upstream SSE event stream into a stable client contract. Use it to start intent-driven browser runs, stream progress, stop active runs, and approve or deny permission prompts. ACI runs are stateless across the gateway: the gateway drains the upstream event stream into an in-process replay buffer so clients can attach to /api/aci/stream/:id at any time and see the full history.

Base URL

Management and control endpoints:
For local development:

Authentication

All ACI management routes require a valid bearer token via the platform auth middleware. See Authentication.

Endpoints

Start a run

Kicks off an intent-driven browser run in the ACU gateway. The gateway returns a sessionId that is also the run id for streaming, stopping, and approval.

Request body

Example request

Example response

Stream run events

Returns a Server-Sent Events stream for the run. The stream replays buffered events, tails new events, and ends with a done frame. Runs started in the current gateway process are served from an in-process buffer; older runs fall back to proxying ACU’s events endpoint.

Stream frame types

Example curl

Example event

Stop a run

Cancels the run in ACU and returns the upstream response.

Example response

Approve or deny a prompt

Sends an approval decision for a permission prompt raised by the run. Omit deny or set it to false to approve; set deny=true to deny.

Example request

Example response

Error codes