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
string
required
string (date-time)
Exclusive creation-time bound on a matching Message
string (date-time)
Inclusive creation-time bound on a matching Message
MessageDirection
Received or sent Message. All message-prefixed filters must match the same Message.
string
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.
string
Resource ownership captured by a matching Message
string (date-time)
Exclusive upper bound on createdAt, RFC 3339. Cannot combine with updatedAt bounds.
string (date-time)
Inclusive lower bound on createdAt, RFC 3339. Cannot combine with updatedAt bounds.
string
Matches participant phone or email handles case-insensitively, excluding participantId. Phone formatting characters are optional.
string
Restricts the page to Spaces this User participates in
Platform
Restricts the page to one platform
string (date-time)
Exclusive upper bound on updatedAt, RFC 3339. Cannot combine with createdAt bounds.
string (date-time)
Inclusive lower bound on updatedAt, RFC 3339. Cannot combine with createdAt bounds.
Returns
200 Number of matching Spaces SpaceCount
integer
required