Actions48
- Review Actions
- Repository Actions
- Context Actions
- Knowledge Graph Actions
- Metrics Actions
- Rule Actions
- Agent Actions
- Pattern Actions
- Admin Actions
Knowledge Graph → Index Repository
AI-generatedSummary
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.
