Endpoints
Add Test Cases
Add test cases to an existing dataset.
POST
/
api
/
parea
/
v1
/
testcases
Body
data
list[dict]
requiredlist of key-value pairs where keys represent input names. Each item in the list represent a test case row. Target and Tags are reserved keys. There can only be one target and tags key per dict item. If target is present it will represent the target/expected response for the inputs. If tags are present they must be a list of json_serializable values.
name
string
The name of the dataset to add the test cases to. Either name or dataset_id is required.
dataset_id
int
The id of the dataset to add the test cases to. Either name or dataset_id is required.
Was this page helpful?