Actions48
- Review Actions
- Repository Actions
- Context Actions
- Knowledge Graph Actions
- Metrics Actions
- Rule Actions
- Agent Actions
- Pattern Actions
- Admin Actions
Pattern → Create Pattern
AI-generatedSummary
Create a new pattern in Diffy by specifying its content and optionally a name, with support for additional custom parameters to customize the API request.
Inputs
- Pattern Content (required) — The pattern definition as a multiline string describing the pattern.
- Pattern Name — An optional name for the pattern.
- Additional Parameters — Optional additional key-value parameters (custom parameters) to include in the API request.
Output shape
a single JSON object representing the created pattern's details as returned by the Diffy API
The response includes the pattern's assigned ID, name, content, and other metadata as provided by the API. Errors will be handled per node error settings.
