younifyd
Menu

Perform a GraphQL query

Perform a GraphQL query

POST/v1/graphql

Use it in a workflow

  1. Add a step and choose the Weaviate connector.
  2. Pick the Perform a GraphQL query action (under graphql).
  3. Fill in the fields below, then reference the result from later steps as {{performAGraphqlQuery.response.data}}.

Request

Request body

Enter the body as JSON in the step's Body field.

operationNamestring

The name of the operation if multiple exist in the query.

querystring

Query based on GraphQL syntax.

variablesobject

Additional variables for the query.

json
{
  "operationName": "string",
  "query": "string",
  "variables": {}
}

Response

Returns 200 with a any. Read it in later steps with {{performAGraphqlQuery.response.data.<field>}}.

Need more? See the Weaviate guide for connection setup and behaviour shared by every action.