session

Generate text from session context

Generate transient text from the current session context without mutating session history.

post/api/session/{sessionID}/generate

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}/generate
  • Auth
    none required

Path parameters

sessionIDstring required

Request body

promptstring required

Response

SessionGenerateResponse

Changes

No operation changes recorded.