query getPipelineData($fullPath: ID!, $iid: ID!) {
  project(fullPath: $fullPath) {
    id
    pipeline(iid: $iid) {
      id
      iid
      path
      sha
      ref
      refPath
      commit {
        id
        shortId
        title
        webPath
      }
      detailedStatus {
        id
        icon
        group
      }
      stages {
        edges {
          node {
            id
            name
            jobs {
              nodes {
                id
                createdAt
                name
                scheduledAt
                startedAt
                status
                triggered
                detailedStatus {
                  id
                  detailsPath
                  icon
                  group
                  text
                  tooltip
                }
                downstreamPipeline {
                  id
                  path
                }
                stage {
                  id
                  name
                }
              }
            }
          }
        }
      }
      user {
        id
        avatarUrl
        name
        username
        webPath
        webUrl
        status {
          message
        }
      }
    }
  }
}
