# Playground for Testing GraphQL Queries

Each `input` block in a job within the [workflow](/docs/g/concepts/workflow-manifest.md) is used to define the data for inspection/audit in the form of GraphQL queries.
When crafting the GraphQL queries for this block, you can use the **[Playground for Testing GraphQL Queries](https://cloud.shisho.dev/*/playground/query) (abbreviated: GraphQL Playground)**.

## Use Case: Verifying Compliance of GraphQL Queries with the Schema

The Playground for Testing GraphQL Queries accepts all GraphQL queries the `input` block of a job can handle.
By running a GraphQL query on the Playground, you can **verify if the query is currently functional on Shisho Cloud** (for example, detect any syntax errors or references to non-existent fields).

## Use Case: Acquiring Test Cases Usable as Input for Policies

If you require test cases for your described policy, you can use the JSON-formatted results produced by the Playground.
Please take note that the values returned by the Playground are **not actual data from external services linked to your Shisho Cloud organization but random values created for testing purposes**.

:::warning
If you aim to use the JSON-formatted results from the Playground as test data for commands like [`opa`](https://www.openpolicyagent.org/docs/latest/cli/), it's necessary to manipulate the data following the [definition of the API that the Shisho Cloud's policy code must comply with](/docs/g/api/rego.md).
:::
