Diffy icon

Diffy

Interact with Diffy AI Code Review API

Knowledge Graph → Index Files

AI-generated

Summary

Index specified files within a Diffy repository's knowledge graph to update or build the code knowledge base.

Inputs

  • Repository ID (required) — The Diffy repository ID to identify which repository the files belong to.
  • File Paths (required) — A comma-separated list of file paths indicating the specific files to index in the repository.
  • Additional Parameters — Optional additional key-value pairs to include as parameters in the indexing API request.

Output shape

A JSON object containing the API response to the indexing request, typically reflecting the status or result of the file indexing operation.

The output is a single item per execution input containing the JSON response from Diffy's knowledge graph files index endpoint. Errors surface as failures unless 'Continue On Fail' is enabled.

Discussion