Datasets Get Task
curl --request GET \
--url https://api.enkryptai.com/datasets/get-task \
--header 'apikey: <api-key>'
{
"data": {
"dataset_name": "Election2",
"created_at": "2025-02-28T11:07:36.872803+00:00",
"started_at": "2025-02-28T11:07:37.853691+00:00",
"status": "Failed",
"system_description": "- **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. - **Voter Registration**: Most states require voters to register ahead of time, with deadlines varying widely. North Dakota is an exception, as it does not require voter registration. - **Identification Requirements**: Thirty-six states enforce voter ID laws, requiring individuals to present identification at polling places. These laws aim to prevent voter fraud but can also lead to disenfranchisement. - **Voting Methods**: Voters can typically choose between in-person voting on election day, early voting, and absentee or mail-in ballots, depending on state regulations. - **Polling Hours**: Polling hours vary by state, with some states allowing extended hours for voters. It’s essential for voters to check local polling times to ensure they can cast their ballots. - **Provisional Ballots**: If there are questions about a voter's eligibility, they may be allowed to cast a provisional ballot. This ballot is counted once eligibility is confirmed. - **Election Day Laws**: Many states have laws that protect the rights of voters on election day, including prohibiting intimidation and ensuring access to polling places. - **Campaign Finance Regulations**: Federal and state laws regulate contributions to candidates and political parties to ensure transparency and limit the influence of money in politics. - **Political Advertising**: Campaigns must adhere to rules regarding political advertising, including disclosure requirements about funding sources and content accuracy. - **Voter Intimidation Prohibitions**: Federal laws prohibit any form of voter intimidation or coercion at polling places, ensuring a safe environment for all voters. - **Accessibility Requirements**: The Americans with Disabilities Act mandates that polling places be accessible to individuals with disabilities, ensuring equal access to the electoral process. - **Election Monitoring**: Various organizations are allowed to monitor elections to ensure compliance with laws and regulations. They help maintain transparency and accountability in the electoral process. - **Vote Counting Procedures**: States have specific procedures for counting votes, including the use of electronic voting machines and manual audits to verify results. - **Ballot Design Standards**: States must adhere to certain design standards for ballots to ensure clarity and prevent confusion among voters when casting their votes. - **Post-Election Audits**: Some states conduct post-election audits as a measure of accuracy. These audits help verify that the vote count reflects the actual ballots cast.",
"max_prompts": 100,
"scenarios": 1,
"categories": 1,
"depth": 1,
"policy_description": "",
"project_name": "default",
"info_pdf_url": "",
"tools": [],
"task_id": "data-generation-535a2b71-ac8a-4a3d-8da3-b9b68b28e668"
}
}
Authorizations
Headers
The Dataset task ID
"data-generation-94f40d84-5b4e-4e97-a793-48357b71490a"
The dataset name. E.g. Election
"Election"
Response
Name of the dataset
"Election2"
When the task was created
"2025-02-28T11:07:36.872803+00:00"
Current status of the dataset generation task
Queued
, Running
, Finished
, Failed
"Failed"
Unique identifier for the dataset generation task
"data-generation-535a2b71-ac8a-4a3d-8da3-b9b68b28e668"
When the task started execution
"2025-02-28T11:07:37.853691+00:00"
Description of the system for dataset generation
""
Number of scenarios for dataset generation
1
Number of categories for dataset generation
1
Depth level for dataset generation
1
Description of the policy for dataset generation
""
URL to the PDF which explains the dataset to be generated
""
Array of tools available to the model
[
{
"name": "web_search",
"description": "The tool web search is used to search the web for information related to finance."
}
]
Project the dataset belongs to
"default"
curl --request GET \
--url https://api.enkryptai.com/datasets/get-task \
--header 'apikey: <api-key>'
{
"data": {
"dataset_name": "Election2",
"created_at": "2025-02-28T11:07:36.872803+00:00",
"started_at": "2025-02-28T11:07:37.853691+00:00",
"status": "Failed",
"system_description": "- **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. - **Voter Registration**: Most states require voters to register ahead of time, with deadlines varying widely. North Dakota is an exception, as it does not require voter registration. - **Identification Requirements**: Thirty-six states enforce voter ID laws, requiring individuals to present identification at polling places. These laws aim to prevent voter fraud but can also lead to disenfranchisement. - **Voting Methods**: Voters can typically choose between in-person voting on election day, early voting, and absentee or mail-in ballots, depending on state regulations. - **Polling Hours**: Polling hours vary by state, with some states allowing extended hours for voters. It’s essential for voters to check local polling times to ensure they can cast their ballots. - **Provisional Ballots**: If there are questions about a voter's eligibility, they may be allowed to cast a provisional ballot. This ballot is counted once eligibility is confirmed. - **Election Day Laws**: Many states have laws that protect the rights of voters on election day, including prohibiting intimidation and ensuring access to polling places. - **Campaign Finance Regulations**: Federal and state laws regulate contributions to candidates and political parties to ensure transparency and limit the influence of money in politics. - **Political Advertising**: Campaigns must adhere to rules regarding political advertising, including disclosure requirements about funding sources and content accuracy. - **Voter Intimidation Prohibitions**: Federal laws prohibit any form of voter intimidation or coercion at polling places, ensuring a safe environment for all voters. - **Accessibility Requirements**: The Americans with Disabilities Act mandates that polling places be accessible to individuals with disabilities, ensuring equal access to the electoral process. - **Election Monitoring**: Various organizations are allowed to monitor elections to ensure compliance with laws and regulations. They help maintain transparency and accountability in the electoral process. - **Vote Counting Procedures**: States have specific procedures for counting votes, including the use of electronic voting machines and manual audits to verify results. - **Ballot Design Standards**: States must adhere to certain design standards for ballots to ensure clarity and prevent confusion among voters when casting their votes. - **Post-Election Audits**: Some states conduct post-election audits as a measure of accuracy. These audits help verify that the vote count reflects the actual ballots cast.",
"max_prompts": 100,
"scenarios": 1,
"categories": 1,
"depth": 1,
"policy_description": "",
"project_name": "default",
"info_pdf_url": "",
"tools": [],
"task_id": "data-generation-535a2b71-ac8a-4a3d-8da3-b9b68b28e668"
}
}