Get Status
GET /api/divinity/project-classifier/status
GET
/api/divinity/project-classifier/status
Return the persisted training-status snapshot for a project.
Parameters
Section titled “ Parameters ”Query Parameters
Section titled “Query Parameters ” project_id
required
Project Id
string
Responses
Section titled “ Responses ”Successful Response
ProjectClassifierStatus
Snapshot of one project’s classifier state.
Persisted to data/ml/project-{id}/classifiers/meta.json;
served by GET /api/divinity/project-classifier/status.
is_low_quality flips on when the trained classifier’s
cross-validated F1 macro falls below
low_quality_cv_f1_threshold (default 0.40). Predictions are
still served — the UI surfaces the flag so the author knows the
model trained on insufficient or noisy signal and that confident
predictions may be wrong.
object
projectId
required
Projectid
string
trained
required
Trained
boolean
nExamples
Nexamples
integer
labels
Labels
Array<string>
metrics
Metrics
object
key
additional properties
number
insufficientCorpus
Insufficientcorpus
boolean
isLowQuality
Islowquality
boolean
engineVersion
Engineversion
string
Validation Error
HTTPValidationError
object
detail
Detail
Array<object>
ValidationErrorobject
loc
required
Location
Array
msg
required
Message
string
type
required
Error Type
string
input
Input
ctx
Context