Skip to main content

Introspecting Values

The Stitch GraphQL API offers an introspection endpoint at https://api.stitch.money/graphql. This endpoint can be used to get more information about the underlying schema by showing the queries, types, fields and directives supported.

An example is the below introspection query which can be used to get a list of banks for which client disbursement is enabled by querying the DisbursementBankBeneficiaryBankId enum.

tip

Please note that the introspection queries don't require any authentication.

The query shown above can also be executed in the commandline by running the below cURL command within your terminal:

curl --request POST \
--url https://api.stitch.money/graphql \
--header 'Content-Type: application/json' \
--data '{"query":"{\n __type(name: \"DisbursementBankBeneficiaryBankId\") {\n name\n enumValues {\n name\n }\n }\n}"}'
Other Useful Values

A few other useful values you can introspect and get the possible values include: