session

Create session

Create a session at the requested location. A parentID creates a linked child session at its parent's location.

post/api/session

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
  • Auth: none required

Request body

idstring
parentIDstring
titlestring nullable
agentstring
metadataSessionMetadata

Response

Success

Changes

No recorded changes to this operation across all 1 revision of this API.