{"service":"@nocold-email/api","version":"0.2.0","endpoints":[{"method":"GET","path":"/health","description":"liveness + version + store"},{"method":"GET","path":"/v1/rules","description":"rule table and default thresholds"},{"method":"POST","path":"/v1/classify","description":"classify one message (JSON or message/rfc822)"},{"method":"POST","path":"/v1/classify/batch","description":"classify up to BATCH_MAX messages"},{"method":"POST","path":"/v1/eval","description":"precision/recall over labelled messages"},{"method":"GET","path":"/v1/context","description":"the stored context for this API key"},{"method":"PUT","path":"/v1/context","description":"replace the stored context"},{"method":"PATCH","path":"/v1/context","description":"add to / remove from the stored context"},{"method":"DELETE","path":"/v1/context","description":"forget the stored context"}],"docs":"docs/monorepo/01-api-spec.md"}