Actions48
- Review Actions
- Repository Actions
- Context Actions
- Knowledge Graph Actions
- Metrics Actions
- Rule Actions
- Agent Actions
- Pattern Actions
- Admin Actions
Pattern → Get Stats
AI-generatedSummary
Retrieve statistical data about learned code patterns from the Diffy API.
Inputs
- additionalParams — Optional additional key-value parameters to customize the API request; includes support for multiple custom keys and values.
Output shape
a list of JSON objects containing pattern statistics.
The operation performs a GET request to '/api/v1/patterns/stats' endpoint. Additional parameters specified in 'additionalParams' are sent as query parameters. The output is an array of JSON objects representing the statistical data about code patterns known to Diffy.
Examples
Example 1: Fetch pattern stats without additional parameters.
Use default settings with empty additional parameters.
Example 2: Fetch pattern stats with custom filtering keys.
Add one or more custom key-value pairs in 'Additional Parameters' to refine the stats query.
