session

Remove instruction entry

Changed on

Remove one instruction entry; the removal is announced to the model at the next step boundary.

delete/api/experimental/session/{sessionID}/instructions/entries/{key}

Request

  • Base URL
    https://opencode.ai (the document declares no server; this is the origin it was published from)
  • URL
    https://opencode.ai/api/experimental/session/{sessionID}/instructions/entries/{key}
  • Auth
    none required

Path parameters

sessionIDstring required
keystring required

Instruction entry key (lowercase alphanumerics plus . _ -)

Response

<No Content>

Changes

    • breaking

      the response's body type changed from no type to object for status

    • info

      removed from the response body anyOf list for the response status

    • info

      added the required property to the response with the status

    • info

      added the required property to the response with the status

    • info

      added the required property to the response with the status