Search...
/
Contact
Sign in
Documentation
API Reference
Glossary
Overview
API Reference
Testset
GET
Read Testset
DEL
Delete
PATCH
Update Testset
POST
Create Testset
GET
Read Testset Schema
GET
Read Testcases
Testcase
POST
Create Testcase
GET
Read Testcase
DEL
Delete Testcase
PATCH
Update Testcase
POST
Batch Copy Testcases
PATCH
Batch Delete Testcases
Testrecord
GET
Read Testrecord
POST
Create Testrecord
Run
POST
Create Run
GET
Read Run
PATCH
Update Run Status
Score
POST
Create Score
PATCH
Update Score
Run Metric
GET
Read Run Metrics
Tracing
GET
Get Traces
GET
Get Trace
GET
Get Trace Span
Prompt
GET
Get Prompt By Name
POST
Create Prompt
GET
Get Prompt By Id
DEL
Delete Scoring Config
PATCH
Update Prompt
Scoring Config
POST
Create Scoring Config
GET
Get Scoring Config
Contact
Sign in
API Reference
Testcase
Delete Testcase
DEL
https://
api.getscorecard.ai
/
v1
/
testset
/
:testset_id
/
testcase
/
:testcase_id
Delete a Testcase
Path parameters
testcase_id
integer
Required
The ID of the Testcase to delete.
testset_id
integer
Required
The ID of the Testset to delete the Testcase from.
Response
This endpoint returns an object
id
integer
The ID of the testcase that was deleted.
detail
string
The message indicating the testcase was deleted.
Errors
401
Unauthorized
403
Forbidden
404
Not Found
422
Unprocessable Entity
Built with