Skip to main content
POST
Datasets Add Task

Authorizations

apikey
string
header
required

Body

application/json
system_description
string
required

Description of the system

Example:

"- **Voter Eligibility**: To vote in U.S. elections, individuals must be U.S. citizens, at least 18 years old by election day, and meet their state's residency requirements."

dataset_name
string
required

Name of the dataset

Example:

"Election"

policy_description
string

Description of the policy

Example:

""

tools
Tool Β· object[]

Array of tools available to the model

Example:
max_prompts
integer

Maximum number of prompts to be generated

Required range: 100 <= x <= 3500
Example:

100

scenarios
integer

Maximum number of scenarios to be generated

Required range: 1 <= x <= 10
Example:

2

categories
integer

Maximum number of categories to be generated

Required range: 1 <= x <= 10
Example:

2

depth
integer

Maximum number of depth to be generated

Required range: 1 <= x <= 3
Example:

2

info_pdf_url
string

URL to the PDF which explains the dataset to be generated

Example:

""

Response

200 - application/json

Successful Response

task_id
string
required
Example:

"data-generation-bc4a320e-60ea-4641-ba1c-f8d8b302f6b8"

message
string
Example:

"Dataset task has been added successfully"

status
enum<string>

Status of the task

Available options:
Success,
Failed
Example:

"Success"