{
  "name": "graphql-query",
  "title": "Run a GraphQL query",
  "category": "HTTP",
  "tags": [
    "curl-jq",
    "http"
  ],
  "version": "1.0.0",
  "date": "2026-07-17",
  "notes": "Initial release.",
  "latest": false,
  "installable": false,
  "url": "https://catalog.dagweave.com/api/v1/items/graphql-query/1.0.0.json",
  "entrypoint": "query",
  "parameters": [
    {
      "name": "endpoint",
      "title": "Endpoint",
      "description": "Absolute GraphQL endpoint URL.",
      "type": "string",
      "required": true,
      "example": "https://api.example.com/graphql"
    },
    {
      "name": "query",
      "title": "Query",
      "description": "The GraphQL query (or mutation) document.",
      "type": "string",
      "required": true,
      "example": "query($id: ID!) { user(id: $id) { name } }"
    },
    {
      "name": "token-secret-key",
      "title": "Token secret key",
      "description": "Key within the Secret that holds the bearer token.",
      "type": "string",
      "required": false,
      "default": "token"
    },
    {
      "name": "token-secret-name",
      "title": "Token secret name",
      "description": "Name of the Kubernetes Secret holding the bearer token.",
      "type": "string",
      "required": false,
      "default": "graphql-token"
    },
    {
      "name": "variables-json",
      "title": "Variables (JSON)",
      "description": "JSON object of query variables.",
      "type": "string",
      "required": false,
      "default": "{}",
      "example": "{\"id\":\"123\"}"
    }
  ],
  "images": [
    {
      "ref": "badouralix/curl-jq@sha256:38362e9b8ef4bd09a88c0db07941e61e0bf0f7240e9f36a3ff2c31ad75546be2",
      "repository": "badouralix/curl-jq",
      "digest": "sha256:38362e9b8ef4bd09a88c0db07941e61e0bf0f7240e9f36a3ff2c31ad75546be2"
    }
  ],
  "source": "https://github.com/dagweave/catalog/tree/67458f74dbbf913b03177f3cefc69424be85eb1d/catalog/graphql-query",
  "catalogSha": "67458f74dbbf913b03177f3cefc69424be85eb1d"
}
