optimization

Upload Dataset

Upload and register a dataset file (.json or .jsonl).

post/api/v1/optimization/datasets

Response

Successful Response

idstring required

Unique dataset identifier.

namestring required

Human-readable dataset name.

row_countinteger required

Number of rows/examples in the dataset.

formatstring required

File format (json or jsonl).

module_slugstring nullable

Associated module slug, when provided.

versioninteger

Immutable version number within the dataset lineage.

supersedes_dataset_idstring nullable

Previous Dataset Version, when present.

eligibilitystring

Dataset lifecycle eligibility state.

consent_statusstring

Consent review state.

redaction_statusstring

Redaction review state.

content_sha256string nullable

Canonical ordered-row SHA-256 digest.

approved_atstring nullable

Approval timestamp for sealed versions.

approved_by_user_idstring nullable

Approving user identifier.

created_atstring required

ISO-8601 creation timestamp.

Changes