session

Set session environment

Replace the process environment used by local shell commands for this session.

put/api/session/{sessionID}/environment

Request

  • Base URL
    https://opencode.ai (the document declares no server; this is the origin it was published from)
  • URL
    https://opencode.ai/api/session/{sessionID}/environment
  • Auth
    none required

Path parameters

sessionIDstring required

Request body

variablesobject required

Response

<No Content>

Changes

No operation changes recorded.