---
title: "Get the managed preview server status for a session"
method: GET
path: "/api/v1/sessions/{sessionId}/preview/server"
tags: ["sessions"]
---

# Get the managed preview server status for a session

`GET /api/v1/sessions/{sessionId}/preview/server`

## Path parameters

- `sessionId` string, required — Session identifier, e.g. project-1.

## Headers

- `X-AO-Browser-Capability` string — Opaque browser capability injected into the owning AO worker.

## Response `200`

OK

- PreviewServerStatusResponse
  - `configuration` string
  - `error` string
  - `logs` string[], required
  - `port` integer
  - `sessionId` string, required
  - `startedAt` string, date-time
  - `state` 'stopped' | 'starting' | 'ready' | 'stopping' | 'failed', required
  - `targetKind` 'app' | 'api'
  - `url` string

## Other responses

- `403` — Forbidden
- `404` — Not Found
- `409` — Conflict
- `500` — Internal Server Error
- `501` — Not Implemented

## Changes

- **2026-07-29** `0d7d65412642` — 1 info
  - endpoint added

[Change history](https://skmtc.dev/composiohq/apis/agent-orchestrator-http-daemon/changes/api/v1/sessions/:sessionId/preview/server/get.md)

---

[API](https://skmtc.dev/composiohq/apis/agent-orchestrator-http-daemon.md) · [All operations](https://skmtc.dev/composiohq/apis/agent-orchestrator-http-daemon/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/composiohq/agent-orchestrator-http-daemon/revisions/09f65272fe44/schema)
