---
title: "Close a context session with an optional summary."
method: POST
path: "/context/sessions/{id}/close"
---

# Close a context session with an optional summary.

`POST /context/sessions/{id}/close`

## Request

- Base URL: `https://forbiz.io/api/public/agent`
- URL: `https://forbiz.io/api/public/agent/context/sessions/{id}/close`
- Auth: HTTP bearer

## Path parameters

- `id` string, required

## Headers

- `Idempotency-Key` string

## Request body

- object
  - `summary` string
  - `unresolvedQuestions` string[]

## Response `200`

Session closed

- object

## Other responses

- `404`: Not found

---

[API](https://skmtc.dev/forbiz/apis/forbiz-external-agent-api.md) · [All operations](https://skmtc.dev/forbiz/apis/forbiz-external-agent-api/llms.txt) · [OpenAPI document](https://skmtc.dev/forbiz/apis/forbiz-external-agent-api/revisions/e5b10d59dc5f?raw)
