POST/api/orgs/{org_id}/scores/feedback

Rate a request with a thumb

One click on a thumb. It sets your rating; the same thumb again clears it, and the other thumb switches it. One rating per person (or API key) per request. The first rating creates the organization's built-in Feedback score type (numeric, up 1, down -1); the ratings are scores, so GET /scores reads them too.

Authentication: Bearer API key in the Authorization header

Path parameters

  • org_idstringrequired

    Your organization id (uuid). GET /api/whoami returns it.

Request body

  • request_idstringrequired
  • ratingenumrequired
    "up""down"

Responses

  • 200

    The request's thumbs after the click.

    Response
    • request_idstring
    • mineenum

      Your own thumb, or null.

      "up""down"null
    • ratingsarray<object>
      ratings
      • ratingenum
        "up""down"
      • rater_emailstring | null

        The person who rated, null for an API key.

      • rated_atstring
      • mineboolean
  • 401

    Missing, unknown or revoked API key.

    Response
    • errorstringrequired

      Human-readable message.

    • codestring

      Stable machine reason, when the route defines one (for example pro_required).

    • actionstring

      Stable remediation action, when the route defines one.

    • detailsobject

      Customer-safe string facts the caller needs to act (for example a suggested identifier).

  • 404

    The resource does not exist or belongs to another organization.

    Response
    • errorstringrequired

      Human-readable message.

    • codestring

      Stable machine reason, when the route defines one (for example pro_required).

    • actionstring

      Stable remediation action, when the route defines one.

    • detailsobject

      Customer-safe string facts the caller needs to act (for example a suggested identifier).

  • 409

    The organization already has a Feedback score type that is not numeric from -1 to 1 (feedback_config_conflict).

    Response
    • errorstringrequired

      Human-readable message.

    • codestring

      Stable machine reason, when the route defines one (for example pro_required).

    • actionstring

      Stable remediation action, when the route defines one.

    • detailsobject

      Customer-safe string facts the caller needs to act (for example a suggested identifier).

Request

curl -X POST 'https://api.experientiallabs.ai/api/orgs/3f6c2a1e-8b7d-4c2a-9e51-6a0d4b2f7c10/scores/feedback' \
  -H "Authorization: Bearer <YOUR_API_KEY>" \
  -H "Content-Type: application/json" \
  -d '{
  "request_id": "req_01JD8ZK4M2Q7V9X3N5T6B8C0EF",
  "rating": "up"
}'

Response

{
  "request_id": "req_01JD8ZK4M2Q7V9X3N5T6B8C0EF",
  "mine": "up",
  "ratings": [
    {
      "rating": "up",
      "rater_email": "ana@example.com",
      "rated_at": "2026-11-18T14:40:00Z",
      "mine": true
    }
  ]
}

https://api.experientiallabs.ai/api/orgs/3f6c2a1e-8b7d-4c2a-9e51-6a0d4b2f7c10/scores/feedback