Skip to main content
POST
Suggest Decision
Use this API to compute a suggested decision for a new item, grounded in past judgments. primary is the best-grounded recommendation; conflict is populated when the evidence is split, so you can surface disagreement to your users.

Endpoint

POST https://api.velt.dev/v2/memory/suggest

Headers

x-velt-api-key
string
required
Your API key.
x-velt-auth-token
string
required

Body

Params

data
object
required

Example Requests

Suggest a decision for new ad copy

Response

Both primary and conflict are a suggestion object or null. recommendation is approve or reject; basedOn is the number of judgments the suggestion drew on; caveats carries conflict and freshness warnings.

Success Response

Failure Response