Testmail · Schema
FilterInput
Advanced filter input for GraphQL inbox queries. Allows filtering on email fields beyond namespace and tag, with wildcard and regex support.
Email TestingDeveloper ToolsAPI TestingGraphQLREST APICI/CDQA AutomationProgrammable Inboxes
Properties
| Name | Type | Description |
|---|---|---|
| field | string | Email field to apply the filter to. |
| match | string | Matching strategy. 'exact' requires full string match; 'wildcard' supports * and ? patterns; 'regex' accepts regular expressions. |
| action | string | Whether to include or exclude emails matching this filter. |
| value | string | Value to match against the specified field. Body fields (text/html) are limited to 30KB. |
JSON Schema
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$id": "https://api.testmail.app/schemas/filter-input",
"title": "FilterInput",
"description": "Advanced filter input for GraphQL inbox queries. Allows filtering on email fields beyond namespace and tag, with wildcard and regex support.",
"type": "object",
"required": ["field", "match", "action", "value"],
"properties": {
"field": {
"type": "string",
"enum": ["from", "to", "subject", "text", "html"],
"description": "Email field to apply the filter to.",
"examples": ["subject"]
},
"match": {
"type": "string",
"enum": ["exact", "wildcard", "regex"],
"description": "Matching strategy. 'exact' requires full string match; 'wildcard' supports * and ? patterns; 'regex' accepts regular expressions.",
"examples": ["wildcard"]
},
"action": {
"type": "string",
"enum": ["include", "exclude"],
"description": "Whether to include or exclude emails matching this filter.",
"examples": ["include"]
},
"value": {
"type": "string",
"description": "Value to match against the specified field. Body fields (text/html) are limited to 30KB.",
"examples": ["Welcome*"]
}
}
}
Work with this as data
Every JSON Schema here is available over the APIs.io API and to AI agents over MCP.
MCP server
One button, every client — Claude, Cursor, VS Code and the rest.
https://apis.io/mcp
Tools for schemas
4 MCP tools reach this
find_json_schemasBrowse and filter every JSON Schema in the catalog.apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.resolveTurn a domain, URL or GitHub org into the provider it belongs to.find_cohortsEvery scored population of providers in the catalog.
Call it yourself
curl for this page
This JSON Schema
curl "https://apis.io/api/v1/json-schemas/filter-input"
All schemas
curl "https://apis.io/api/v1/json-schemas?limit=25"
Discovery needs no key. Ratings and market analysis are Pro.
Get an API key
Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. See our Privacy Policy and Terms.
A second provider on the same verified email joins the account you already have.