Get all event types with counts, optionally filtered by category
cURL
curl --request GET \ --url https://api.example.com/v1/corpus/metadata/event-types