You're looking for the bundle key, which can be obtained from the entity type:
$entity_type = 'node';
// Load the entity type definition and get its keys.
$keys = \Drupal::entityTypeManager()
$query = \Drupal::entityQuery($entity_type);
// 'bundle' is optional, if not provided it will be the same as ...