Graphql Content API returning null for data section

I’m running into a strange GraphQL issue with a Builder.io “Page” model.

In my model, under Options → Fields, I have the following custom fields:

Title

Page URL (text field)

According to the Builder docs, the field label “Page URL” should map to an API key like url, or similar, inside the data { … } block returned by GraphQL.

However, when I query my pages using the following GraphQL:

query {

page {

id

data {

  url

}

query {

  property

  operator

  value

}

}

}

{

“id”: “22222222222222222222222222222222”,

“data”: null,

“query”: [

{

  "property": "urlPath",

  "operator": "startsWith",

  "value": "/example/url"

}

]

}

Why am I getting the null in the data. Did recent changes or some update change the way of getting the data where I would normally get the URL and metadata from ?

Hello @Adravya,

Unfortunately, we’re not able to reproduce the issue on our end—the query appears to return the correct results for us. We suspect the issue may be related to your model setup.

Could you please share your Builder space API key or a content link so we can test this directly on our side?

{
  page(target: {urlPath: "/test-page"}) {
    id
    data {
      url
    }
    query {
      property
      operator
      value
    }
  }
}