mutation($namespaceId: NamespaceID!) {
  createDevopsAdoptionSegment(input: { namespaceId: $namespaceId }) {
    segment {
      id
      latestSnapshot {
        issueOpened
        mergeRequestOpened
        mergeRequestApproved
        runnerConfigured
        pipelineSucceeded
        deploySucceeded
        securityScanSucceeded
        recordedAt
      }
      namespace {
        fullName
        id
      }
    }
    errors
  }
}
