API Coverage is calculated whenever you run any Test Configuration with the Execution > API Coverage > Calculate API coverage option enabled, plus the Referenced by tests option enabled and/or definitions specified in the "Calculate coverage against service definitions" table.
API Coverage configuration options are explained in API Coverage - Overview.