Update Session
Sessions
Update Session
Update a session’s title or status.
PATCH
Update Session
Authentication
Requires an API key.Path parameters
The ID of the session to update.
Query parameters
The ID of the workspace the session belongs to. Optional when using an API key.
Request body
All fields are optional — only include the fields you want to update.New title for the session.
New status. One of
active, completed, or failed.Response
The updated session object. See List Sessions for the full schema.
Example
Response
Errors
| Status | Description |
|---|---|
400 | Invalid request body |
401 | Invalid or missing authentication |
403 | No access to the specified workspace |
404 | Session not found |
500 | Server error |