### Answer
There is mention of users programmatically creating test cases for batch testing, but the official documentation does not list a public API endpoint for directly creating a test_case_definition (test case) via API. The batch test API requires test_case_definition_ids, so test cases must exist before initiating a batch test [(1) ](
) [(2) ](
) .
However, a community discussion references an internal API endpoint (
) used for creating test cases, which requires a bearer token and org id [(3) ](
) [(4) ](
) . This endpoint is not documented in the official public API references, and there is no official support or guarantee for its use.
If you need to automate test case creation, you could try using the internal endpoint as discussed in the community forums, but be aware this is not officially documented or supported. Otherwise, test cases are created via the dashboard UI as described in the documentation [(2) ](
) .
Check out these potentially useful sources: [Create Batch Test](
) , [Batch test your agent](
) , [Test case data issues](
)
Would you like a general answer based on my knowledge instead?