import requests
url = "https://eu.app.clarifeye.ai/api/v1/projects/{project_id}/feedbacks/counts/"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://eu.app.clarifeye.ai/api/v1/projects/{project_id}/feedbacks/counts/', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));curl --request GET \
--url https://eu.app.clarifeye.ai/api/v1/projects/{project_id}/feedbacks/counts/ \
--header 'Authorization: Bearer <token>'{
"total": 120,
"needs_review": 28,
"reviewed": 40,
"dismissed": 5,
"positive": 30,
"mine_to_review": 3,
"unassigned_to_review": 20,
"conversations_to_review": 12
}{
"error": "Authentication credentials were not provided."
}{
"error": "You do not have permission to perform this action."
}{
"error": "Not found."
}Get feedback counts by status
Retrieve comprehensive counts of feedbacks split by status, conversation grouping, and ungrouped feedbacks.
Access Control:
- Admins see counts for all feedback in the project
- Regular users see counts only for feedback they submitted
Impersonation:
- When using impersonation, returns counts for feedback submitted by the impersonated user
import requests
url = "https://eu.app.clarifeye.ai/api/v1/projects/{project_id}/feedbacks/counts/"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://eu.app.clarifeye.ai/api/v1/projects/{project_id}/feedbacks/counts/', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));curl --request GET \
--url https://eu.app.clarifeye.ai/api/v1/projects/{project_id}/feedbacks/counts/ \
--header 'Authorization: Bearer <token>'{
"total": 120,
"needs_review": 28,
"reviewed": 40,
"dismissed": 5,
"positive": 30,
"mine_to_review": 3,
"unassigned_to_review": 20,
"conversations_to_review": 12
}{
"error": "Authentication credentials were not provided."
}{
"error": "You do not have permission to perform this action."
}{
"error": "Not found."
}Authorizations
Use Authorization: Bearer <token>. The token is either a user token / OAuth access
token, or a service-account API key (cfk_...). A key is valid on every endpoint and
acts as its service account, an organization member with per-store permissions.
Refused keys answer 403 with Invalid API key., API key revoked.,
API key expired. or API key disabled..
Headers
Email of the user to impersonate. Requires CAN_IMPERSONATE_OTHER_USERS permission.
If the target user is not found or does not have access to the project, the request
proceeds as the authenticated user. Contact Clarifeye to enable this permission.
Path Parameters
UUID of the project
Response
Successful response
Counts for the signals dashboard. "Actionable" means negative or neutral: positive feedback is praise and never enters the review queue, and a hand-written signal carries no sentiment yet is still work.
Every visible feedback, any status or sentiment
120
Actionable feedback still at "to_review" — the work tile
28
Actionable feedback with status "reviewed"
40
Actionable feedback with status "dismissed"
5
Positive feedback, any status
30
Open work assigned to the caller
3
Open work with no assignee
20
Conversations holding at least one actionable open feedback
12