This post is old and you may not remember it, but I need to check the last execution of a non-solution flow, do you know how to get it? this solution works, as long as the flow is in a solution or you are the owner/co-owner, otherwise, it fails with Status Code 403 and message: ConnectionAuthorizationFailed.
The caller object id is 'xxxx-xxx-xxx-xxx-xxxx'. Connection 'xxxx-xxxx-xxxx-xxxx-xxxx' to 'shared_logicflows' cannot be used to activate this flow, either because this is not a valid connection or because it is not a connection you have access permission for. Either replace the connection with a valid connection you can access or have the connection owner activate the flow, so the connection is shared with you in the context of this flow.