v37

latestOpenAPI 3.1.0raw.githubusercontent.com2026-06-1170194628.0 KB
v1
Messages

Update Session

Update session properties (e.g., title, metadata).

**Authentication Required**: Bearer token, API key, or session token

**Updatable Fields**:
- `title`: Update the conversation title
- `metadata`: Update session metadata (merged with existing)

**Example Request**:
```json
{
    "title": "Updated Session Title",
    "metadata": {"custom_field": "value"}
}
```
patch/v1/messages/sessions/{session_id}

Path parameters

session_idstring required

Request body

titlestring nullable

New title for the session

metadataobject nullable

Metadata to merge with existing session metadata

Response

Session updated successfully

object required

Generic JSON response object