Get Agent Session Port
Return the preview link for a port in the session's live sandbox (a dev server running there): the same dashboard page as the IDE, deep-linked to the port. Backs `agent session port`.
Return the preview link for a port in the session's live sandbox (a dev server running there): the same dashboard page as the IDE, deep-linked to the port.
Backs agent session port.
Authorization
HTTPBearer In: header
Path Parameters
Header Parameters
Response Body
application/json
application/json
curl -X GET "https://example.com/v1/sessions/string/ports/0"{ "port": 0, "url": "string"}Send Agent Session Message
Post a human message into a durable (keyed) session's conversation. 409 for react/cron, non-interactive, and closed sessions. Returns the created message so the caller can track it by id; a retried send with the same idempotency_key returns the original message.
Get Agent Session Records
Return the session's stored transcript records. Pagination is opt-in (after_seq/limit — the same feed_seq cursor as the stream); a bare call returns the full retained transcript. Available to sandbox tokens too: an agent answering "did X look into Y?" needs to read the session it found via /sessions/search, and any org member sees the same transcript in the dashboard (laptop transcripts are redacted client-side before they are ever uploaded).