---
title: "POST /unstable/dataset-entry/create"
method: POST
path: "/unstable/dataset-entry/create"
---

# POST /unstable/dataset-entry/create

`POST /unstable/dataset-entry/create`

Add new dataset entries. Note, this endpoint is unstable and may change without notice. Do not use without consulting the OpenPipe team.

## Request body

- object
  - `archiveId` string, required
  - `entries` object[], required
    - `messages` union[], required
      - union
        - object
          - `role` 'system', required
          - `content` string
        - object
          - `role` 'user', required
          - `content` union
            - string
            - union[]
              - …
        - object
          - `role` 'assistant', required
          - `content` union
            - string
            - 'null', nullable
          - `function_call` object
            - `name` string
            - `arguments` string
          - `tool_calls` object[]
            - `id` string, required
            - `function` object, required
              - …
            - `type` 'function', required
        - object
          - `role` 'tool', required
          - `content` string
          - `tool_call_id` string, required
        - object
          - `role` 'function', required
          - `name` string, required
          - `content` union, required
            - string
            - 'null', nullable
    - `function_call` union
      - 'none'
      - 'auto'
      - object
        - `name` string, required
    - `functions` object[]
      - `name` string, required
      - `parameters` object
      - `description` string
    - `tool_choice` union
      - 'none'
      - 'auto'
      - object
        - `type` 'function'
        - `function` object
          - `name` string, required
    - `tools` object[]
      - `function` object, required
        - `name` string, required
        - `parameters` object
        - `description` string
      - `type` 'function', required
    - `response_format` object
      - `type` union, required
        - 'text'
        - 'json_object'
    - `split` 'TRAIN' | 'TEST'

## Response `200`

Successful response

- object
  - `createdEntries` number, required
  - `errors` object[], required
    - `index` number, required
    - `message` string, required

## Other responses

- `default` — Error response

---

[API](https://skmtc.net/openpipe/apis/openpipe-api.md) · [All operations](https://skmtc.net/openpipe/apis/openpipe-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/openpipe/openpipe-api/revisions/4054c6b918a8/schema)
