Skip to content
OpenCode
Esc
navigateopen⌘Jpreview

List instruction entries

List API-managed instruction entries attached to the session.

GET/api/session/{sessionID}/instructions/entries
Path parameters
sessionIDobjectrequired
Responses
200Success
dataInstructionEntry.Info[]required
Show properties
Array of InstructionEntry.Info
keyInstructionEntry.Keyrequired
Show properties
object
valueanyrequired
400InvalidRequestError
_tagstringrequired
Allowed:InvalidRequestError
messagestringrequired
kindstring | any
Show properties
Any of:
string
string
any
any
fieldstring | any
Show properties
Any of:
string
string
any
any
401UnauthorizedError
_tagstringrequired
Allowed:UnauthorizedError
messagestringrequired
404SessionNotFoundError
Any of:
SessionNotFoundError
_tagstringrequired
Allowed:SessionNotFoundError
sessionIDstringrequired
messagestringrequired
SessionNotFoundError
_tagstringrequired
Allowed:SessionNotFoundError
sessionIDstringrequired
messagestringrequired
Request
curl -X GET "/api/session/%5Bobject%20Object%5D/instructions/entries"
Response
{
  "data": [
    {
      "key": {},
      "value": "string"
    }
  ]
}