Assert message count matches constraints
Returns 200 OK when the number of messages matching the given filters satisfies the min/max bounds. Returns 417 Expectation Failed otherwise. Designed for use in CI pipelines with curl -f. min defaults to 1 and max to no upper bound, so a bare call asserts that at least one message matches; pass min=0 to only read the count. The filters combine with AND.
Parameters
Query Parameters
Minimum number of matching messages (inclusive)
1Maximum number of matching messages (inclusive). Unbounded when omitted.
"int64"Filter by subject substring, case-insensitive. % and _ match themselves, not as wildcards.
Filter by sender address substring, case-insensitive. % and _ match themselves, not as wildcards.
Filter by recipient address substring, case-insensitive. % and _ match themselves, not as wildcards.
Responses
Assertion passed
