---
title: graphSearchResults query | Wartiva GraphQL API
description: Retrieves a page of result rows from a graph search job started by graphSearch, using limit (at least 1) and skip.
url: https://wartiva.com/api-docs/queries/graph-search-results.html
updated: 2026-10-07
---

Graph search · GraphQL query

# `graphSearchResults` query

Retrieves a page of result rows from a graph search job started by [graphSearch](https://wartiva.com/api-docs/queries/graph-search.html), using `limit` (at least 1) and `skip`. Rows are available as soon as the search produces them, so a page can be read while the job is still RUNNING; check [graphSearchJob](https://wartiva.com/api-docs/queries/graph-search-job.html) for completion before treating the results as final. Each row is a path of matched objects; an object removed by data retention after the search ran comes back with only its id and type.

## Response

Returns a [`GraphSearchResultsPayload!`](https://wartiva.com/api-docs/types/graph-search-results-payload.html)

## Arguments

| Name | Description |
|---|---|
| `input` - [`GraphSearchResultsInput!`](https://wartiva.com/api-docs/types/graph-search-results-input.html) | The graph search results input parameters. |

## Example

### Query

```graphql
query graphSearchResults($input: GraphSearchResultsInput!) {
  graphSearchResults(input: $input) {
    nodes {
      path {
        ...GraphSearchResultsPathSegmentFragment
      }
    }
    job {
      id
      orgId
      requestedInput {
        ...GraphSearchInputPayloadFragment
      }
      effectiveInput {
        ...GraphSearchInputPayloadFragment
      }
      hash
      user {
        ...UserFragment
      }
      state
      errors
      resultsCount
      hasResults
      startedAt
      endedAt
      running
      duration
      updatedAt
      accessedAt
      winningTrace {
        ...SearchTraceStageFragment
      }
      unselectedTraces {
        ...SearchTraceStageFragment
      }
    }
  }
}

```

### Variables

```json
{"input": GraphSearchResultsInput}

```

### Response

```json
{
  "data": {
    "graphSearchResults": {
      "nodes": [GraphSearchResultsPath],
      "job": GraphSearchJob
    }
  }
}

```

---

Wartiva is in early access. Request access: https://wartiva.com/early-access.html  
All pages: https://wartiva.com/llms.txt
