Skip to main content
POST
Create dataset

Authorizations

Authorization
string
header
required

Organization API key, generated in studio.sidenet.ai. Backend only — never in a browser.

Body

application/json
name
string
required
Example:

"Refund questions"

description
string
Example:

"Twelve refund questions with the policy answer for each"

agentId
string

The agent this dataset is written for (agent id or agent version id). Informational.

Example:

"6f1c0f4e-2b7a-4a51-9a2f-0c9d1b3e5a10"

tags
string[]
Example:
metadata
object
Example:
items
object[]

Initial items, at most 500.

Example:

Response

The created dataset and its items

dataset
object
items
object[]