session

Update mutable session properties.

patch/api/session/{sessionID}

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

Path parameters

sessionIDstring required

Request body

titlestring nullable
metadataSessionMetadata
archivedboolean nullable

Archive the session with true or restore it with false. Repeating the current state is a no-op.

Response

<No Content>

Changes