---
title: "Perform a GraphQL Query"
method: POST
path: "/graphql"
---

# Perform a GraphQL Query

`POST /graphql`

Performs a GraphQL Query

## Request body

- GraphQLRequest
  - `operationName` string — If the Query contains several named operations, the operationName controls which one should be executed
  - `query` string, required — The GraphQL query
  - `variables` object, nullable — Optional Query variables

## Response `200`

GraphQL Query Response

- GraphQLResponse
  - `data` object — Results from the GraphQL query
  - `errors` object[] — Errors resulting from the GraphQL query

---

[API](https://skmtc.net/redhat/apis/catalog-inventory.md) · [All operations](https://skmtc.net/redhat/apis/catalog-inventory/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/redhat/catalog-inventory/versions/190f3ae0a70a/schema)
