Retrieves a page of result rows from a graph search job started by graphSearch, 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 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!
Arguments
| Name | Description |
|---|---|
input - GraphSearchResultsInput!
|
The graph search results input parameters. |
Example
Query
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
{"input": GraphSearchResultsInput}
Response
{
"data": {
"graphSearchResults": {
"nodes": [GraphSearchResultsPath],
"job": GraphSearchJob
}
}
}