Create Test Run
Creates a new in-progress test run and returns its id. Use this id as the testRunId when ingesting traces (POST /v1/traces) so that each trace becomes one test case in this run.
Headers
CONFIDENT_API_KEY
The API key of your Confident AI project.
Request
metricCollection
This is the metric collection used to evaluate the test cases formed from traces ingested into this test run.
identifier
This is an optional human-readable identifier for the test run, shown on the Confident AI platform.
Response
The created test run id.
success
A boolean indicating the success or failure of the API call
data
This maps to the test run id.
link
This is the URL to the test run on the Confident AI platform.
deprecated
This is true if this endpoint is deprecated.