Authentication
GraphQL takes the same credentials as REST: an organization API key or a dashboard session token in theAuthorization header. See
Authentication.
401 before the query runs.
The schema
The schema supports introspection, so any GraphQL client can load it from the endpoint; there’s no hosted GraphiQL in sandbox or production. Names are camelCase, so the REST fieldconsumer_identity_id corresponds to a
consumer’s identifier here.
Every object has two IDs:
id is its global Relay ID, which node(id:)
accepts, and identifier is its UUID.
Reading data
- Scope. Reads under
furnished(networkIds:)only see rows in those networks, and you must be a member of each. LeavenetworkIdsout to use every network you belong to. Within that scope you read the records your organization furnished, records the networks’ governors furnished, and records from institutions that granted you access through consent. - Filtering. List fields take a
filterbuilt fromfield(a lookup on one field, such as{ lastName: { exact: "Alvarez" } }),object(a filter on a related object), andall,anyandnotto combine them. - Ordering.
ordertakes a list such as[{ field: { createdAt: DESC } }]. - Pagination. Root collections come in two forms:
consumerIdentitiestakeslimitandoffset, andconsumerIdentitiesConnectiontakesfirstandafterand returnsedges,pageInfoandtotalCount. Nested lists takelimitandoffset.
Billing
Reads underfurnished and networks are recorded as billable query events.
The exception is furnished(networkIds: [...], isEntitled: true), which isn’t
billed and returns only rows you’re already entitled to through an earlier
product query or furnish. Furnishing a consumer entitles you to the consumer’s
profile, not to every record under it, so nested lists in an entitled read can
come back empty.
Errors
A request that reaches GraphQL returns200 with an errors array when a
field fails, alongside whatever data resolved. Unexpected server errors are
reported without internal detail; quote the X-Request-ID response header
when you contact support.
Next steps
Querying
Filter, paginate and read nested records.
Furnishing
Upsert an identity and its records in one mutation.