v28

latestOpenAPI 3.1.0Apache-2.0raw.githubusercontent.com2026-07-082940159.9 KB
Feedback Records

Count feedback records

Returns the total number of feedback records matching the given filters. Supports the same query parameters as the list endpoint.

get/v1/feedback-records/count

Query parameters

tenant_idstring required

Tenant ID (required for isolation). NULL bytes not allowed.

Example:org-123

Tenant ID (required for isolation). NULL bytes not allowed.

submission_idstring

Filter by submission ID (e.g. UUID from webhook idempotency). NULL bytes not allowed.

Example:550e8400-e29b-41d4-a716-446655440000

Filter by submission ID to group records belonging to one logical submission. NULL bytes not allowed.

source_typestring

Filter by source type. NULL bytes not allowed.

Example:survey

Filter by source type. NULL bytes not allowed.

source_idstring

Filter by source ID (NULL bytes not allowed)

Example:survey-123

Filter by source ID (NULL bytes not allowed)

field_idstring
Example:q1

Filter by field ID. NULL bytes not allowed.

field_group_idstring

Filter by field group ID (for ranking/matrix questions). NULL bytes not allowed.

Example:feature_priority

Filter by field group ID (for ranking/matrix questions). NULL bytes not allowed.

field_type'text' | 'categorical' | 'nps' | 'csat' | 'ces' | 'rating' | 'number' | 'boolean' | 'date'

Filter by field type. NULL bytes not allowed.

Filter by field type. NULL bytes not allowed.

value_idstring

Filter by the source system's stable option id. NULL bytes not allowed.

Example:opt_very_satisfied

Filter by the source system's stable option id (e.g. all records for one survey choice). NULL bytes not allowed.

user_idstring

Filter by user ID. NULL bytes not allowed.

Example:user-abc-123

Filter by user ID. NULL bytes not allowed.

sincestring date-time

Filter by collected_at >= since (ISO 8601 format). Must be between 1970-01-01 and 2080-12-31.

Example:2024-01-01T00:00:00Z

Filter by collected_at >= since (ISO 8601 format). Must be between 1970-01-01 and 2080-12-31.

untilstring date-time

Filter by collected_at <= until (ISO 8601 format). Must be between 1970-01-01 and 2080-12-31.

Example:2024-12-31T23:59:59Z

Filter by collected_at <= until (ISO 8601 format). Must be between 1970-01-01 and 2080-12-31.

Response

OK

countinteger required

Number of feedback records matching the filters

Example response

{
  "count": 42
}