Query
Only ask what you need



Request the useful data

At its simplest, GraphQL asks for specific fields on objects. Let's start by looking at a very simple query and the result we get when we run it:


Request the useful data

REQUEST
{
  organizations{
    nodes{
      fullname
      dbId
    }
  }
}
RESPONSE
{
  "data": {
    "organizations": {
      "nodes": [
        {
          "fullname": "Hogwarts School",
          "dbId": 42
        },
        {
          "fullname": "Art School",
          "dbId": 43
        },
      ]
    }
  }
}

  

All interfaces

ValueDescription
nodeFetches an object given its ID
nodesFetches objects given their IDs
applicationLookup an application by clientId
viewerCurrently authenticated user based on token