Skip to main content
GET
Action suggestions
This is the Policy Guide endpoint. Given the current context, it recommends the next best action based on past experiences and learned strategies.

Query parameters

integer
required
Context fingerprint (computed from the current context).
integer
Last action node ID. Set to null to get suggestions from the start.
integer
default:"10"
Maximum number of suggestions to return.

Response

Returns an array of ActionSuggestionResponse objects.
string
Suggested action name.
number
Probability of success (0.01.0).
integer
Number of supporting past examples.
string
Explanation for why this action is recommended.

Usage with the SDK