---
title: "Side chat"
method: POST
path: "/sessions/{id}/side-chat"
---

# Side chat

`POST /sessions/{id}/side-chat`

## Request

- Base URL: `https://api.agentsky.dev/v1`
- URL: `https://api.agentsky.dev/v1/sessions/{id}/side-chat`
- Auth: HTTP bearer

Ask one question about this session's conversation, as the web's Side chat does: answered beside the session, never sent to the agent.

## Path parameters

- `id` string, required

## Request body

- object
  - `transcript` string, required: The session's conversation text the question refers to.
  - `history` object[]: Prior side-chat exchanges in this panel, as {role, text}[].
  - `question` string, required
  - `quote` string, nullable: A specific passage the question targets.

## Response `200`

OK

- object
  - `answer` string, required
  - `looked` string[], required: Sources the side model consulted.

## Other responses

- `400`: Error — { error: { code, message } }
- `401`: Error — { error: { code, message } }
- `422`: Error — { error: { code, message } }
- `default`: Error — { error: { code, message, request_id } }

## Changes

- **2026-11-02** `e5e8f0229a99`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/agentsky/apis/agentsky-developer-api/changes/sessions/:id/side-chat/post.md)

---

[API](https://skmtc.dev/agentsky/apis/agentsky-developer-api.md) - [All operations](https://skmtc.dev/agentsky/apis/agentsky-developer-api/llms.txt) - [OpenAPI document](https://skmtc.dev/agentsky/apis/agentsky-developer-api/revisions/0d435187cd55?raw)
