Diffy icon

Diffy

Interact with Diffy AI Code Review API

Knowledge Graph → Index Repository

AI-generated

Summary

Indexes the entire repository in Diffy's knowledge graph by posting to /api/v1/knowledge/repos/{repoId}/index/repo.

Inputs

  • repoId (required) — The Diffy repository ID
  • additionalParams — Additional key-value parameters for the API request

Output shape

main

Passthrough of execution metadata and API response data.

Examples

Example 1: Index a Diffy-connected repository so its code can be queried via the knowledge graph.

Set repoId to the target repository's ID. No other parameters are required for this operation.

Discussion