GET /v1/projects/{id}/spaces/count
Counts distinct Spaces matching the list filters; multiple matching Messages count once. Results are eventually consistent.
- TypeScript
- Python
- Rust
- Go
TypeScript
Parameters
Comma-separated public content types to exclude from matching Messages. Requires messageResourceId. A group is excluded when its type or all its parts are excluded.
Exclusive upper bound on createdAt, RFC 3339. Cannot combine with updatedAt bounds.
Inclusive lower bound on createdAt, RFC 3339. Cannot combine with updatedAt bounds.
Matches participant phone or email handles case-insensitively, excluding participantId. Phone formatting characters are optional.
Exclusive upper bound on updatedAt, RFC 3339. Cannot combine with createdAt bounds.
Inclusive lower bound on updatedAt, RFC 3339. Cannot combine with createdAt bounds.
Returns
200 Number of matching Spaces SpaceCount