v2

latestOpenAPI 3.1.02026-08-05267431678.1 KB
felix

Check Labels

Use AI to verify label quality by checking if labels match the text content.

Args: request: Label check request with dataset name, columns, and sample size. auth: Authenticated user.

Returns: Label check results with per-row assessments.

Raises: HTTPException: 404 if dataset not found, 400 for invalid columns, 504 if upstream LLM provider times out.

post/felix/data-editing/check-labels

Request body

dataset_namestring required

Dataset name

versionstring nullable

Dataset version (latest if omitted)

text_columnstring required

Column containing text

label_columnstring required

Column containing labels

sample_sizeinteger

Number of samples to check

Response

Successful Response

successboolean required
dataset_namestring required
dataset_versionstring required
checked_countinteger required
issues_foundinteger required