session

Run command

Execute a slash command callback immediately.

post/api/session/{sessionID}/command

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

Path parameters

sessionIDstring required

Request body

namestring required
textstring required
delivery'steer' | 'queue'

Response

<No Content>

Changes

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