ContextVars

Gets a list of currently known context variable names.

get

This API requires a Giver session.

Path parameters
strSessionIDstringRequired

The session ID

Responses
200
Success
application/json
get
GET /memori/v2/ContextVarNames/{strSessionID} HTTP/1.1
Host: 
Accept: */*
200

Success

{
  "contextVarNames": [
    "text"
  ],
  "requestID": 1,
  "requestDateTime": "2025-07-23T12:39:10.720Z",
  "resultCode": 1,
  "resultMessage": "text"
}

Gets a list of currently known values for a named context variable.

get

This API requires a Giver session.

Path parameters
strSessionIDstringRequired

The session ID

contextVarNamestringRequired

The name of the context variable

Responses
200
Success
application/json
get
GET /memori/v2/ContextVarValues/{strSessionID}/{contextVarName} HTTP/1.1
Host: 
Accept: */*
200

Success

{
  "contextVarName": "text",
  "contextVarValues": [
    "text"
  ],
  "requestID": 1,
  "requestDateTime": "2025-07-23T12:39:10.720Z",
  "resultCode": 1,
  "resultMessage": "text"
}

Gets a dictionary of all the known values of known context variables.

get

This API requires a Giver session.

Path parameters
strSessionIDstringRequired

The session ID

Responses
200
Success
application/json
get
GET /memori/v2/ContextVars/{strSessionID} HTTP/1.1
Host: 
Accept: */*
200

Success

{
  "contextVars": {
    "ANY_ADDITIONAL_PROPERTY": [
      "text"
    ]
  },
  "requestID": 1,
  "requestDateTime": "2025-07-23T12:39:10.720Z",
  "resultCode": 1,
  "resultMessage": "text"
}