Test Cases

These endpoints allow you to programmatically interact with your test cases. You can start by configuring managed test cases in Autoblocks


Get a list of test cases

This endpoint returns a list of all test cases related to a test suite.

Code samples for getting a list of test cases

curl 'https://api.autoblocks.ai/test-suites/my-test-suite-id/test-cases' \
  --header "Authorization: Bearer $AUTOBLOCKS_API_KEY"
  "testCases": [
      "id": "cljzx8zhd00077w3sqredd0fz",
      "body": {
        "anyJsonKey": "anyJsonValue"