Diffy icon

Diffy

Interact with Diffy AI Code Review API

Context → Get Stats

AI-generated

Summary

Retrieve context/embedding statistics for a Diffy repository via a GET request.

Inputs

  • repoId (required) — The Diffy repository ID. Used in the API path as /api/v1/context/repos/{repoId}/stats.
  • additionalParams — Additional key-value parameters for the API request. Declared in node properties as a collection of custom parameters, though the source implementation for this specific operation does not consume these params beyond repoId.

Output shape

JSON response from the Diffy API containing context/embedding statistics.

The source executes a GET request to /api/v1/context/repos/{repoId}/stats and returns the parsed JSON body as the workflow output item.

Examples

Example 1: Get stats for repository ID 42

repoId: 42; additionalParams: {} (optional)

Discussion