Skip to main content
GET
/
api
/
v2
/
reporting
/
chats-feedback
/
Get feedbacks report
curl --request GET \
  --url https://paradigm.lighton.ai/api/v2/reporting/chats-feedback/ \
  --header 'Authorization: Bearer <token>'
{
  "metadata": {
    "likes_count": {
      "description": "<string>",
      "unit": "<string>"
    },
    "dislikes_count": {
      "description": "<string>",
      "unit": "<string>"
    },
    "copies_count": {
      "description": "<string>",
      "unit": "<string>"
    },
    "model_responses_count": {
      "description": "<string>",
      "unit": "<string>"
    }
  },
  "reporting": [
    {
      "company": {
        "name": "<string>",
        "id": 123
      },
      "dates": [
        {
          "date": "2023-12-25",
          "model_responses_count": 123,
          "feedbacks": {
            "likes_count": 123,
            "dislikes_count": 123,
            "copies_count": 123
          }
        }
      ]
    }
  ]
}

Authorizations

Authorization
string
header
required

Bearer token authentication

Query Parameters

company_id
integer

The unique identifier of the company (optional for admin users).

end_date
string<date>

The end date for the report (optional, defaults to today).

start_date
string<date>
required

The start date for the report.

Response

Successful response

metadata
object
required
reporting
object[]
required
I