query PipelineModelsFlat($pipeline_name: String) {
  model(where: {model_configs: {deployment_model_configs: {pipeline_version: {pipeline: {pipeline_id: {_eq: $pipeline_name}}}}}}) {
    model_id
  }
}
