---
title: "GraphQL | Response Headers"
description: "<p>Contentstack returns response headers to specify information about the status of an API request. These headers also contain details about other objects that you are retrieving through the API.</p>
<p>Let’s learn about these response headers and what to infer from the possible values that you may get.</p>
<p><strong>x-api-key</strong></p>
<p>This header provides the API Key of the stack that you are trying to access. The API Key can be used to authorize GraphQL API requests.</p>
<p>The possible values for this header can be of string datatype, for example, <strong>blt7263876d7362</strong>.</p>
<p><strong>x-contentstack-organization</strong></p>
<p>This header provides the Organization ID of the organization to which the stack that you are trying to access belongs.</p>
<p>The possible values for this header can be of string datatype, for example, <strong>blt72663654f6532</strong>.</p>
<p><strong>x-query-complexity</strong></p>
<p>This header calculates the complexity value for each API request made to the Contentstack database server. It represents the total number of entries and/or assets that were retrieved from the server by a specific GraphQL API request. Read more about it in the <a href=\"/docs/developers/apis/graphql-content-delivery-api#query-complexity-and-cost-calculation\">Query Complexity and Cost Calculation</a> section.</p>
<p><strong>x-resolver-cost</strong></p>
<p>This header calculates the total number of database calls that need to be made to fetch the data requested by a specific GraphQL API request. Read more about it in the <a href=\"/docs/developers/apis/graphql-content-delivery-api#query-complexity-and-cost-calculation\">Query Complexity and Cost Calculation</a> section.</p>
<p><strong>x-reference-depth</strong></p>
<p>This header specifies the depth up to which a specific GraphQL query traverses to retrieve nested items (entries and/or assets).</p>
<p><strong>x-runtime</strong></p>
<p>This response header specifies the time (in milliseconds) that Contentstack takes to process a single GraphQL API request.</p>
<p>The x-runtime header is an integer value specified in the milliseconds unit of time, e.g., <strong>15 ms</strong>.</p>"
url: "https://www.contentstack.com/docs/developers/apis/graphql-content-delivery-api/response-headers"
product: "Contentstack"
doc_type: "guide"
audience:
  - developers
  - admins
version: "current"
last_updated: "2026-06-02"
---

# GraphQL | Response Headers

Contentstack returns response headers to specify information about the status of an API request. These headers also contain details about other objects that you are retrieving through the API.

Let’s learn about these response headers and what to infer from the possible values that you may get.

**x-api-key**

This header provides the API Key of the stack that you are trying to access. The API Key can be used to authorize GraphQL API requests.

The possible values for this header can be of string datatype, for example, **blt7263876d7362**.

**x-contentstack-organization**

This header provides the Organization ID of the organization to which the stack that you are trying to access belongs.

The possible values for this header can be of string datatype, for example, **blt72663654f6532**.

**x-query-complexity**

This header calculates the complexity value for each API request made to the Contentstack database server. It represents the total number of entries and/or assets that were retrieved from the server by a specific GraphQL API request. Read more about it in the [Query Complexity and Cost Calculation](/docs/developers/apis/graphql-content-delivery-api#query-complexity-and-cost-calculation) section.

**x-resolver-cost**

This header calculates the total number of database calls that need to be made to fetch the data requested by a specific GraphQL API request. Read more about it in the [Query Complexity and Cost Calculation](/docs/developers/apis/graphql-content-delivery-api#query-complexity-and-cost-calculation) section.

**x-reference-depth**

This header specifies the depth up to which a specific GraphQL query traverses to retrieve nested items (entries and/or assets).

**x-runtime**

This response header specifies the time (in milliseconds) that Contentstack takes to process a single GraphQL API request.

The x-runtime header is an integer value specified in the milliseconds unit of time, e.g., **15 ms**.