Get test cases
At least one of datasetId, pipelineId, or pipelineSlug must be provided
Query Parameters
datasetId string
The ID of the Dataset to retrieve test cases for
pipelineId uuid
The ID of the Pipeline to retrieve test cases for
pipelineSlug string
The slug of the Pipeline to retrieve test cases for
Responses
- 200
Test cases retrieved successfully
application/json
application/json; charset=utf-8
Schema
Example (from schema)
Schema
data object[] required
{ "data": [ { "id": "3fa85f64-5717-4562-b3fc-2c963f66afa6", "createdAt": 0, "updatedAt": 0, "deletedAt": 0, "expectedOutputs": {}, "inputs": {}, "name": "string", "pipelineId": "3fa85f64-5717-4562-b3fc-2c963f66afa6", "datasetId": "3fa85f64-5717-4562-b3fc-2c963f66afa6" } ] }
Schema
Example (from schema)
Schema
data object[] required
{ "data": [ { "id": "3fa85f64-5717-4562-b3fc-2c963f66afa6", "createdAt": 0, "updatedAt": 0, "deletedAt": 0, "expectedOutputs": {}, "inputs": {}, "name": "string", "pipelineId": "3fa85f64-5717-4562-b3fc-2c963f66afa6", "datasetId": "3fa85f64-5717-4562-b3fc-2c963f66afa6" } ] }
GET /v2/test-cases
Authorization
name: bearerAuthtype: httpscheme: bearer
Request
Request
curl -L -X GET 'https://gentrace.ai/api/v2/test-cases' \ -H 'Accept: application/json' \ -H 'Authorization: Bearer <TOKEN>'
curl -L -X GET 'https://gentrace.ai/api/v2/test-cases' \ -H 'Accept: application/json' \ -H 'Authorization: Bearer <TOKEN>'
curl -L -X GET 'https://gentrace.ai/api/v2/test-cases' \ -H 'Accept: application/json' \ -H 'Authorization: Bearer <TOKEN>'
curl -L -X GET 'https://gentrace.ai/api/v2/test-cases' \ -H 'Accept: application/json' \ -H 'Authorization: Bearer <TOKEN>'
curl -L -X GET 'https://gentrace.ai/api/v2/test-cases' \ -H 'Accept: application/json' \ -H 'Authorization: Bearer <TOKEN>'
curl -L -X GET 'https://gentrace.ai/api/v2/test-cases' \ -H 'Accept: application/json' \ -H 'Authorization: Bearer <TOKEN>'
curl -L -X GET 'https://gentrace.ai/api/v2/test-cases' \ -H 'Accept: application/json' \ -H 'Authorization: Bearer <TOKEN>'
curl -L -X GET 'https://gentrace.ai/api/v2/test-cases' \ -H 'Accept: application/json' \ -H 'Authorization: Bearer <TOKEN>'
curl -L -X GET 'https://gentrace.ai/api/v2/test-cases' \ -H 'Accept: application/json' \ -H 'Authorization: Bearer <TOKEN>'