ask/engine
API

Decide on a recommendation

Accept or dismiss a recommendation, optionally with a note.

POST/v1/recommendations/{recommendationId}/decision

Example

curl -X POST "https://silent-viper-157.convex.site/v1/recommendations/rec_456/decision" \  -H "Authorization: Bearer $ASKENGINE_API_KEY" \  -H "Content-Type: application/json" \  -d '{    "decision": "accepted",    "note": "Scheduled for next sprint."  }'

Request Body

decisionstring
Valuesaccepted, dismissed
note?string

Response

{  "data": {    "recommendationId": "rec_456"  }}