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 recorded changes to this operation across all 1 revision of this API.