Skip to main content

Create a session

POST /linc/v1/sessions starts asynchronous provisioning and returns 202 Accepted.
The response includes the session ID, provisioning status, installed-skill report, and URLs for state, replay, and live event streams. Missing requested skills are reported explicitly.

Wait for activation

Wait until session.status is active. A runtime that has idle-stopped remains resumable; the next prompt wakes it and restores its session file.

Send a prompt

Commands use the native Linc RPC envelope. Prompt IDs are idempotency keys, so retry the same request with the same ID if delivery is uncertain.
The endpoint returns 202 Accepted after Linc accepts or rejects the command. Read results from the event stream or durable replay endpoints.

Cancel or end

Abort only the current turn while preserving the session:
End the session and stop its sandbox:
Deletion revokes the managed session credential and marks the durable session record as ended.