The GraphiQL Explorer is a useful tool to help understand the ultimate format for your inputs and desired outputs. You can also view the self-generated documentation in the right-hand Docs pane.
You can access the GraphiQL Explorer here. Paste in your API key and start to explore!
At any time, hit Shift+Space to get a list of viable inputs given your particular syntax.