@Anonymous Thanks for reaching out.
It looks like you are using the List secrets action which returns the SecretMetadataCollection with value and continuationToken as documented and not the secret tags. You cannot specify the api-version=7.4 to this action and if you change anything in the code view then it will return 404 error as you have received as the path doesn't exist with the api-version.
The workaround would be leveraging the HTTP action and call the respective HTTP API to get the requested details.
Let me know if you have any queries or concerns.
Please "Accept Answer" if the answer is helpful so that it can help others in the community.