---
title: "POST /v1/{+name}:executeGraphqlRead"
method: POST
path: "/v1/{+name}:executeGraphqlRead"
tags: ["projects"]
---

# POST /v1/{+name}:executeGraphqlRead

`POST /v1/{+name}:executeGraphqlRead`

Execute any GraphQL query against the Firebase SQL Connect's generated GraphQL schema. Grants full read to the connected data sources. `ExecuteGraphqlRead` is identical to `ExecuteGraphql` except it only accepts read-only query.

## Path parameters

- `name` string, required

## Request body

- GraphqlRequest — The GraphQL request to Firebase SQL Connect. It strives to match the GraphQL over HTTP spec. https://github.com/graphql/graphql-over-http/blob/main/spec/GraphQLOverHTTP.md#post
  - `query` string — Required. The GraphQL query document source.
  - `variables` object — Optional. Values for GraphQL variables provided in this request.
  - `extensions` GraphqlRequestExtensions — GraphqlRequestExtensions contains additional information of `GraphqlRequest`.
    - `impersonate` Impersonation — Impersonation configures the Firebase Auth context to impersonate.
      - `unauthenticated` boolean — Evaluate the auth policy as an unauthenticated request. Can only be set to true.
      - `authClaims` object — Evaluate the auth policy with a customized JWT auth token. Should follow the Firebase Auth token format. https://firebase.google.com/docs/rules/rules-and-auth For example: a verified user may have auth_claims of {"sub": , "email_verified": true}
      - `includeDebugDetails` boolean — Optional. If set, include debug details in GraphQL error extensions.
  - `operationName` string — Optional. The name of the GraphQL operation name. Required only if `query` contains multiple operations. See https://graphql.org/learn/queries/#operation-name.

## Response `200`

Successful response

---

[API](https://skmtc.net/google/apis/firebasedataconnect.md) · [All operations](https://skmtc.net/google/apis/firebasedataconnect/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/google/firebasedataconnect/versions/dda665bc52bd/schema)
