Skip to main content
PUT
Sets environment variables for the session. Replaces all existing env vars with the provided values. Required scope: secrets:write

Path Parameters

string
required
The session ID (e.g. ses_abc123).

Headers

string
required
Bearer token. Example: Bearer runtm_xxx

Body

object
required
Key-value map of environment variables to set.

Response

object
Updated key-value map of environment variables.