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.

application/json

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 \
 --request POST 'https://api.flow.simplystated.dev/flows/{flowId}/feedback' \
 --header "x-api-key: $API_KEY" \
 --header "Content-Type: application/json" \
 --data '{"rating":"good","comments":"string"}'
Request examples
{
  "rating": "good",
  "comments": "string"
}