Push Dataset

Pushes a list of Goldens or ConversationalGoldens to your dataset.

Path parameters

aliasstringRequired
The unique alias of the dataset.

Headers

CONFIDENT_API_KEYstringRequired
The API key of your Confident AI project.

Request

finalizedbooleanRequired
Determines whether goldens are finalized when pushed to the dataset.
versionstringOptional

Optional dataset version (e.g. "00.00.01") to push goldens onto. When the dataset already has versions, omitting this pushes to the latest version. When the dataset has no versions yet, omitting this leaves the goldens unversioned. Specifying a version on a brand-new dataset alias returns 400.

goldenslist of objectsOptional

This is a list of single-turn goldens to push. If you are pushing a multi-turn dataset, this should be null.

conversationalGoldenslist of objectsOptional

This is a list of conversational goldens to push. If you are pushing a single-turn dataset, this should be null.

Response