Run AI triage over untriaged inbox emails
POST
/emails/triage-inbox
Queues asynchronous AI triage over inbox emails and returns a run_id immediately. Track progress with email-triage:run-updated socket events or GET /emails/triage-runs/{run_id}. For classification and generated draft replies, Kumbukum context is searched in each email project first, then across all projects only when no usable project records are found.
Authorizations
BearerAuth
JWT token from login
Type
HTTP (bearer)
or
AccessToken
Personal access token. Value: Token <your-token>
Type
API Key (header: Authorization)
Request Body
application/json
JSON "project": "string", "limit": 25, "run_id": "string"
{
}
Responses
Triage run queued
application/json
JSON "run_id": "string", "status": "string", "total": 0, "run": { "run_id": "string", "host_id": "string", "user_id": "string", "tenant_id": "string", "member_role": "string", "project": "string", "limit": 0, "status": "string", "total": 0, "processed": 0, "triaged": 0, "drafted": 0, "linked": 0, "moved": 0, "errors": [ { "email_id": "string", "error": "string" } ], "last_error": "string", "started_at": "string", "completed_at": "string", "createdAt": "string", "updatedAt": "string" }
{
}