List feedback records with filters
Lists feedback records with optional filters and pagination
Query Parameters
Filter by field group ID (for ranking/matrix questions). NULL bytes not allowed.
Filter by field ID. NULL bytes not allowed.
Filter by field type. NULL bytes not allowed.
Number of results to return (max 1000)
Number of results to skip
Filter by collected_at >= since (ISO 8601 format). Must be between 1970-01-01 and 2080-12-31.
Filter by source ID (NULL bytes not allowed)
Filter by source type. NULL bytes not allowed.
Filter by tenant ID (for multi-tenant deployments). NULL bytes not allowed.
Filter by collected_at <= until (ISO 8601 format). Must be between 1970-01-01 and 2080-12-31.
Filter by user identifier. NULL bytes not allowed.
Returns
Limit used in query
Offset used in query
Total count of feedback records matching filters
List feedback records with filters
curl http://localhost:8080/v1/feedback-records \
-H "Authorization: Bearer $HUB_API_KEY"{
"data": [
{
"id": "018e1234-5678-9abc-def0-123456789abc",
"collected_at": "2024-01-15T10:30:00Z",
"created_at": "2024-01-15T10:30:00Z",
"updated_at": "2024-01-15T10:30:00Z",
"source_type": "survey",
"field_id": "q1",
"field_type": "rating",
"field_label": "How satisfied are you?",
"value_number": 9,
"source_id": "survey-123",
"source_name": "Q1 NPS Survey",
"user_identifier": "user-abc-123",
"tenant_id": "org-123"
}
],
"total": 1,
"limit": 100,
"offset": 0
}{
"type": "about:blank",
"title": "Bad Request",
"status": 400,
"detail": "Validation failed",
"instance": "/v1/feedback-records",
"errors": [
{
"location": "body.field_id",
"message": "Field is required",
"value": null
}
]
}Returns Examples
{
"data": [
{
"id": "018e1234-5678-9abc-def0-123456789abc",
"collected_at": "2024-01-15T10:30:00Z",
"created_at": "2024-01-15T10:30:00Z",
"updated_at": "2024-01-15T10:30:00Z",
"source_type": "survey",
"field_id": "q1",
"field_type": "rating",
"field_label": "How satisfied are you?",
"value_number": 9,
"source_id": "survey-123",
"source_name": "Q1 NPS Survey",
"user_identifier": "user-abc-123",
"tenant_id": "org-123"
}
],
"total": 1,
"limit": 100,
"offset": 0
}{
"type": "about:blank",
"title": "Bad Request",
"status": 400,
"detail": "Validation failed",
"instance": "/v1/feedback-records",
"errors": [
{
"location": "body.field_id",
"message": "Field is required",
"value": null
}
]
}