condensate docs
Reference / Condensate

Runtime HTTP API

The routes for reading, streaming, and controlling a thread.

The runtime listens on loopback port 4741 by default. These routes are selected from packages/agents-host/src/http.ts. Request schemas and error behavior remain defined by the source and the SDK.

Read and follow

MethodRoutePurpose
GET/threadsPaginated thread summaries
GET/threads/:idThread detail
GET/threads/:id/tailDurable event pages
GET/threads/:id/followFollow durable events
GET/threads/:id/streamLive deltas
GET/threads/:id/aguiAG-UI stream for a thread
GET/threads/:id/turnCurrent turn status
GET/workspacesConfigured workspaces
GET/metricsRuntime metrics
curl -fsS 'http://127.0.0.1:4741/threads?limit=20'
curl -fsS 'http://127.0.0.1:4741/threads/THREAD_ID/tail?limit=20'

Replace THREAD_ID with a returned ID. For older history use the supported before cursor; do not mix forward and reverse pagination semantics. The SDK handles the response schemas.

Change a task

MethodRoutePurpose
POST/spawnCreate a task from a validated spawn request
POST/threads/:id/messagesAccept a message for asynchronous delivery
POST/threads/:id/sendSend through the turn-oriented path
POST/threads/:id/interruptInterrupt execution
POST/threads/:id/forkFork a task
POST/threads/:id/approvals/:approvalIdResolve an approval
POST/threads/:id/subscriptionsSubscribe to task events

These routes have side effects and distinct contracts. Use their SDK methods and schemas rather than guessing a request body from the route name. Follow durable events after an accepted request to determine its outcome.

Completion endpoint

POST /v1/chat/completions and GET /v1/models expose the runtime completion surface. A completion request is not automatically a durable multi-turn agent task. Check account, workspace, and model configuration for this path separately.

Condensate developer documentation · Source ba6d28952e