GET /v1/counters
Returns an array of Counter objects.
Curl:
Successful Response (200)
Empty Result
If the user owns or shares no counters, the endpoint returns [].
Authentication Errors
Missing / invalid token →
401 Unauthorized
Error Body (Business Errors)
Errors generated inside the pipeline use the structure documented in Errors.
Notes
No pagination yet (the typical number of counters per user is expected to be small). Pagination may be introduced later; treat additional unknown top-level fields as forward-compatible.
The endpoint is idempotent and safe.
Field Reference (Counter)
Field | Type | Description |
|---|---|---|
id | string (UUID v7) | Unique counter identifier |
displayName | string | Human readable name (5..40 chars) |
type | enum | Counter category controlling |
members | array | Current member list (see Data Models) |
data | object or null | Type-specific payload |
See Counter Data Models for data shapes.~~~~