Skip to content

List day ratings

GET
/day-ratings
curl --request GET \
--url 'https://kmlrvcofvtzdlbomxrbp.supabase.co/functions/v1/external-api/day-ratings?limit=100&format=json&since=2026-09-01T00%3A00%3A00Z' \
--header 'Authorization: Bearer <token>'

Day ratings, newest first, keyed to a team and never to a person. Requires the read:analytics scope.

limit
integer
default: 100 >= 1 <= 1000

How many rows to return, 1 to 1000.

format
string
default: json
Allowed values: json csv

csv returns the same rows as CSV, for Excel, Google Sheets or Power BI.

since
string format: date-time

Only rows created at or after this time (ISO 8601).

until
string format: date-time

Only rows created at or before this time (ISO 8601).

team_id
string format: uuid

Day ratings, newest first.

Array<object>
object
id
string format: uuid
rating
integer
>= 1 <= 5
comment
string | null
team_id
string | null format: uuid
points_awarded
integer | null
created_at
string format: date-time
Examplegenerated
[
{
"id": "2489E9AD-2EE2-8E00-8EC9-32D5F69181C0",
"rating": 1,
"comment": "example",
"team_id": "2489E9AD-2EE2-8E00-8EC9-32D5F69181C0",
"points_awarded": 1,
"created_at": "2026-04-15T12:00:00Z"
}
]

The key is missing, malformed or revoked.

Media typeapplication/json
object
error
string
Example
{
"error": "Unauthorized: Invalid or missing API Key"
}

The key works but does not have the scope this endpoint needs.

Media typeapplication/json
object
error
string
Example
{
"error": "Forbidden: this key is missing the \"read:members\" scope"
}

Something went wrong on our side. The response does not include details.

Media typeapplication/json
object
error
string
Example
{
"error": "Internal Server Error"
}