Get test cases for a pipeline or dataset
At least one of datasetId, pipelineId, or pipelineSlug must be provided
Query Parameters
The ID of the Dataset to retrieve test cases for
The ID of the Pipeline to retrieve test cases for
The slug of the Pipeline to retrieve test cases for
- 200
- 400
- 500
Test cases retrieved successfully
Schema
- Array [
- ]
testCases object[]
The ID of the test case
The date and time when the test case was created
The date and time when the test case was archived, can be null if the test case has not been archived
The date and time when the test case was deleted, can be null if the test case has not been deleted
The date and time when the test case was last updated
The expected outputs for the test case
inputs object required
The input data for the test case as a JSON object
The input data for the test case as a JSON object
The name of the test case
The ID of the pipeline that the test case belongs to
The ID of the dataset that the test case belongs to
{ "testCases": [ { "id": "3fa85f64-5717-4562-b3fc-2c963f66afa6", "createdAt": "2024-12-16T21:57:25.735Z", "deletedAt": "2024-12-16T21:57:25.735Z", "updatedAt": "2024-12-16T21:57:25.735Z", "expectedOutputs": {}, "inputs": {}, "name": "string", "pipelineId": "3fa85f64-5717-4562-b3fc-2c963f66afa6", "datasetId": "3fa85f64-5717-4562-b3fc-2c963f66afa6" } ] }
Schema
- Array [
- ]
testCases object[]
The ID of the test case
The date and time when the test case was created
The date and time when the test case was archived, can be null if the test case has not been archived
The date and time when the test case was deleted, can be null if the test case has not been deleted
The date and time when the test case was last updated
The expected outputs for the test case
inputs object required
The input data for the test case as a JSON object
The input data for the test case as a JSON object
The name of the test case
The ID of the pipeline that the test case belongs to
The ID of the dataset that the test case belongs to
{ "testCases": [ { "id": "3fa85f64-5717-4562-b3fc-2c963f66afa6", "createdAt": "2024-12-16T21:57:25.735Z", "deletedAt": "2024-12-16T21:57:25.735Z", "updatedAt": "2024-12-16T21:57:25.735Z", "expectedOutputs": {}, "inputs": {}, "name": "string", "pipelineId": "3fa85f64-5717-4562-b3fc-2c963f66afa6", "datasetId": "3fa85f64-5717-4562-b3fc-2c963f66afa6" } ] }
Invalid pipeline ID
Server error