Get the current state of an instance
GET/api/state-machine-instances/current-state/:stateMachineInstanceId
Returns the state the instance is currently in, resolving to the deepest active state when a callback state is active. Scopes to the caller's organization. Returns 400 for a malformed id and 404 when the instance does not exist in that organization.
Request
Responses
- 200
The current state of the instance; the body is the standard { message, response } envelope, response holds the state