Add or replace dataset entries
Writes up to 5,000 OpenAI chat rows in one transaction. Send a JSON array, or the same rows as NDJSON (one row per line) with Content-Type: application/x-ndjson. Any invalid row rejects the request and is reported by its index; NDJSON line N is index N - 1. mode=append rejects a row_id that already exists (409 entry_exists); mode=upsert replaces it, keeping the stored group_id, split, metadata, and provenance for any of those the row omits. New entries default to train and their own group. A write that would place one group in more than one split returns 409 group_split_conflict. Writing moves the dataset to a new revision and marks completed relabels and evaluations stale.
Authorizations
Headers
Query Parameters
Body
1 - 5000 elementsResponse
Entries were written, or would be for a dry run.