Skip to content

solutions_backend.api.classification

Authenticated normalized-email classification endpoints.

Functions

classify_email

classify_email(intake: ClassificationIntake, runtime: AuthenticatedRuntime, response: Response) -> ClassificationWorkflowResult | ClassificationRunView

Durably classify one normalized email without mutating a WorkOrder.

get_classification_run

get_classification_run(classification_id: UUID, runtime: AuthenticatedRuntime) -> ClassificationRunView

Return the safe durable state of one classification execution.