Provide user feedback on the quality of a previously-generated flow

POST /flows/{flowId}/feedback

Path parameters

  • format string

    The id from a POST /flows response.

Body

  • rating string Required

    Rating of the response

    Values are good or bad.

  • comments string

    Optional user-provided comments on the quality of the response

Responses

  • 200

    Feedback received

POST /flows/{flowId}/feedback
curl \
 -X POST https://api.flow.simplystated.dev/flows/{flowId}/feedback \
 -H "x-api-key: $API_KEY" \
 -H "Content-Type: application/json" \
 -d '{"rating":"good","comments":"string"}'
Request example
{
  "rating": "good",
  "comments": "string"
}
Request examples
{
  "rating": "good",
  "comments": "string"
}