session

Get session context

Changed on

Retrieve the active context messages for a session (all messages after the last compaction).

get/api/session/{sessionID}/context

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

Path parameters

sessionIDstring required

Response

Success

Changes

    • warning

      removed the optional property ////// from the response with the status

    • info

      added the optional property ////// to the response with the status