Skip to content

Get Status

GET
/api/divinity/project-classifier/status

Return the persisted training-status snapshot for a project.

project_id
required
Project Id
string
>= 1 characters <= 128 characters

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
legendryHash
Any of:
string
trainedAt
Any of:
string format: date-time
nExamples
Nexamples
integer
0
labels
Labels
Array<string>
metrics
Metrics
object
key
additional properties
number
insufficientCorpus
Insufficientcorpus
boolean
insufficientCorpusReason
Any of:
string
isLowQuality
Islowquality
boolean
lowQualityReason
Any of:
string
engineVersion
Engineversion
string
default: 1.0.0

Validation Error

HTTPValidationError
object
detail
Detail
Array<object>
ValidationError
object
loc
required
Location
Array
msg
required
Message
string
type
required
Error Type
string
input
Input
ctx
Context
object