AI label rules
Delete an AI label rule
DELETE
/ai-label-rules/{ruleId}Deletes the rule and its label, and removes the label from every email that carried it.
Authorization
apiKey AuthorizationBearer <token>
Send your key as Authorization: Bearer mk_…. Session cookies are never accepted on this surface.
In: header
Path Parameters
ruleId*string
Response Body
application/json
application/json
application/json
application/json
curl -X DELETE "https://example.com/ai-label-rules/string" \ -H "Authorization: Bearer $MAYLEE_KEY"Empty
Update an AI label rule PATCH
Renames the label, changes the condition, or configures auto-draft and auto-reply. Setting `autoReplyEnabled: true` requires `allowOutboundSend` on the key.
List saved views GET
Apply one with `?viewId=` on `GET /emails`. `filters` is the view definition, in the same DSL as `?filters=`.