Skip to main content
POST
/
beta
/
dataset
/
{dataset_id}
/
split
Create a split
curl --request POST \
  --url https://api.friendli.ai/beta/dataset/{dataset_id}/split \
  --header 'Authorization: Bearer <token>'
{
  "id": "<string>",
  "name": "<string>",
  "createdAt": 123,
  "updatedAt": 123
}

Documentation Index

Fetch the complete documentation index at: https://friendli.ai/docs/llms.txt

Use this file to discover all available pages before exploring further.

Create a new split. To request successfully, it is required to enter a Personal API Key (e.g. flp_XXX) in the Bearer Token field. Refer to the authentication section on our introduction page to learn more and visit here to generate your API Key.
This API is currently in Beta. While we strive to provide a stable and reliable experience, this feature is still under active development. As a result, you may encounter unexpected behavior or limitations. We encourage you to provide feedback to help us improve the feature before its official release.

Authorizations

Authorization
string
header
required

When using Friendli Suite API for inference requests, you need to provide a Friendli Token for authentication and authorization purposes.

For more detailed information, please refer here.

Headers

X-Friendli-Team
string | null

ID of team to run requests as (optional parameter).

Path Parameters

dataset_id
string
required

ID of the dataset.

Query Parameters

name
string
required

Response

OK

Split info.

id
string
required

ID of the split.

name
string
required

Name of the split.

createdAt
integer
required

Unix timestamp (in seconds) of when the split was created.

updatedAt
integer
required

Unix timestamp (in seconds) of when the split was last modified.

Last modified on April 29, 2026