List state machines
GET/api/state-machines
With stateMachineId, returns that single state machine. Without it, returns all state machines of the caller's organization, optionally filtered by purpose.
Request
Responses
- 200
A single state machine when stateMachineId is sent, otherwise the organization's machines; the body is the standard { message, response } envelope