I'm trying to use the Tooling APi to get the 'Where is this used?' data for all Contact custom fields, but I dont know how to filter on only custom fields for the Contact object, I have this so far:
SELECT MetadataComponentType, MetadataComponentName, RefMetadataComponentName, RefMetadataComponentId,RefMetadataComponentType FROM MetadataComponentDependency WHERE RefMetadataComponentType = 'CustomField' ORDER By RefMetadataComponentName
Due to the large number of records and it seems there is a limit of 2,000 records returned, I cannot find the records for just the custom Contact fields or return in the dataset the object the custom field relates to.
Can anyone help please?