Documentation Index
Fetch the complete documentation index at: https://docs.attio.com/llms.txt
Use this file to discover all available pages before exploring further.
Not to be confused with the popular TanStack
useQuery() or
Apollo useQuery()
hooks; this hook is custom to the Attio runtime for running GraphQL queries against the Attio
GraphQL Schema.useQuery() hook in a component, they will be executed in sequence, not in parallel. For parallel queries, use runQuery() with useAsyncCache() instead.
Parameters
A GraphQL query string.
The named variables your query accepts. If your query has no variables, you needn’t pass any.
Returns
The structured JSON as defined by your query.
Example
<LoadingState /> component as the fallback for a consistent loading experience.