Skip to main content
Update a session. The only supported field is instructions. Updates use POST on the resource path.

Endpoint

Authentication

Authorization: Bearer <api_key> or Authorization: ApiKey <key>. Optional if AGENT_CLOUD_API_KEY is unset.

Path parameters

string
required
Session identifier.

Request body

string
Replacement session-level instructions.

Response

Returns the full updated session (same shape as Get Session).

Example