SAI360 GRC icon

SAI360 GRC

Interact with the SAI360 GRC API

GraphQL → Execute Query

AI-generated

Summary

Execute a GraphQL query against the SAI360 API with optional variables and return the query result data as JSON.

Inputs

  • Authentication — Selects the authentication method to use (Basic Auth or OAuth2), hidden from UI but influencing the request.
  • Query (required) — The GraphQL query string to execute. Variables within the query should be prefixed with $. For example, query sdControlMeasureGet($id: ID!) {...}.
  • Variables Mode (required) — Defines how to provide variables for the GraphQL query: either defined individually below or as a JSON object.
  • Variables (JSON) — Variables provided as a JSON object when Variables Mode is 'JSON Input'. This field holds the variables for the GraphQL query.
  • Query Variables — A collection of named variables and their values to substitute in the GraphQL query, used when Variables Mode is 'Define Below'. Variable names must match those in the query without the $ prefix.

Output shape

a list of JSON objects representing the 'data' property returned by the GraphQL response

The output does not include errors; if the GraphQL query returns errors, the node throws a NodeOperationError with all error messages concatenated. Variables can be provided as JSON or individual entries; the query string must not be empty. Authentication is handled using Basic Auth or OAuth2 based on selected credentials.

Examples

Example 1: Retrieving control measure details

Set the Query to a GraphQL query with variables, define variables via the UI or JSON input, and execute the node to receive the queried data as JSON.

Links

Discussion