I have set up custom variables a couple of months ago. Basically it tracks categories of pages, much like the example in the docs.
Now I want to get a list of the most popular categories. I've checked the dashboard, and the data is being reported fine. However, I noticed that on the dashboard, the amounts listed in the column 'visits' don't match the amounts I get when requesting the Analytics API. Instead, these numbers seem to correspond with the number of unique events.
Maybe the dashboard uses the wrong parameter here, it clearly says the visits column represents:
The number of visits to your site with one of more of these custom variables specified.
Or maybe I'm just interpreting this the wrong way. The pages that track these custom variables call two actions: _trackPageview and _trackPageLoadTime. All other pages call these actions as well, without the custom variables.
Below is sample output from the Data Feed Query Explorer for my categories:

I want to know what's best to use in my API calls; the ga:visits metric is substantially lower than the number of unique events. How do I need to interpret this table exactly?
