Diffy icon

Diffy

Interact with Diffy AI Code Review API

Pattern → Get Pattern

AI-generated

Summary

Retrieve detailed information about a specific pattern from the Diffy AI Code Review API using its Pattern ID.

Inputs

  • Pattern ID (required) — The unique numeric identifier of the pattern to retrieve.
  • Additional Parameters — Optional collection of additional key-value parameters to include in the API request.

Output shape

a single JSON object representing the pattern details

The output is the detailed response from the Diffy API for the specified pattern ID. Additional parameters can modify the request but are optional. Errors are returned if the pattern ID is invalid or not found.

Examples

Example 1: Get details for pattern ID 123

Set Pattern ID to 123, leave Additional Parameters empty or with custom key-value pairs to tweak the request.

Discussion