session

Put instruction entry

Changed on

Attach or replace one durable instruction entry. Changes announce as updates at the next step boundary.

put/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 . _ -)

Request body

valueunknown required

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