Update the title or metadata of a Forward Session.
HTTP 200 OK
Request headers
| Header | Required | Description |
|---|---|---|
| Authorization | Yes | Bearer <PAT> |
| Content-Type | Yes | application/json |
| Idempotency-Key | No | Optional idempotency key for unsafe requests. |
Path parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
session_id | string | Yes | Session ID. |
Request body
| Parameter | Type | Required | Description |
|---|---|---|---|
title | string | No | New Session title. |
metadata | object | No | Metadata merge patch. Provided keys overwrite existing keys; keys not present are preserved. |
Example request
Example response
HTTP 200 OK
Response fields
| Field | Type | Description |
|---|---|---|
| Return value | object | Session object after update. |
Errors
| HTTP | Type | Code | Trigger |
|---|---|---|---|
| 400 | invalid_request_error | invalid_request | Update body is invalid. |
| 404 | not_found_error | session_not_found | Session does not exist. |
| 409 | conflict_error | session_archived | Session is archived. |
| 401 | authentication_error | TOKEN_INVALID | PAT missing, invalid, or malformed. |
Notes
config,resources, andincremental_streaming_enabledare create-time settings and cannot be changed through this endpoint.