curl --request PATCH \
--url https://api.example.com/api/v2/projects/{project_id}/agent-datasets/{dataset_id}/test-cases/{test_case_id} \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"inputs": true,
"outputs": true,
"metadata": null
}
'{
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"input": true,
"output": true,
"metadata": null
}Modify an existing agent test case’s inputs, outputs, or metadata. Use to correct errors or update expected outputs.
curl --request PATCH \
--url https://api.example.com/api/v2/projects/{project_id}/agent-datasets/{dataset_id}/test-cases/{test_case_id} \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"inputs": true,
"outputs": true,
"metadata": null
}
'{
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"input": true,
"output": true,
"metadata": null
}Bearer authentication header of the form Bearer <token>, where <token> is your auth token.