Skip to main content
POST
Get Patterns
Use this API to list the decision patterns Memory has detected for the workspace, e.g. “copy with medical claims is rejected unless it cites a source.” Patterns are derived from accumulated judgments.

Endpoint

POST https://api.velt.dev/v2/memory/patterns/get

Headers

string
required
Your API key.
string
required

Body

Params

object
required
No fields required. Send an empty object.

Example Requests

List detected patterns

Response

The response returns at most 100 patterns, most recently updated first. There is no paging parameter. Each pattern includes its scope (apiKey or org), an optional organizationId, a plain-language description, a confidence score, the sourceCount of judgments behind it, and the contentType and category it applies to. organizationId is Velt’s internal organization id, not the organization id you sent. discoveredAt and updatedAt are epoch milliseconds. Both move forward whenever the judgments behind the pattern change, so discoveredAt is not pinned to first detection. A pattern may carry additional internal fields you can ignore. Three optional fields are present when Memory can compute them: enforcementRate (how consistently the pattern is applied), uniqueReviewers (how many distinct reviewers it was derived from), and topSourceRecordIds (sample judgment ids you can look up with Query Judgments).

Success Response

Failure Response