Fetch test result by ID
Fetch test result by ID
Path Parameters
The ID of the test result
- 200
- 400
- 404
- 500
Test result retrieved successfully
Schema
- url
- string
- boolean
- Array [
- ]
- Array [
- Array [
- ]
- url
- string
- boolean
- Array [
- ]
- Array [
- ]
- Array [
- ]
- ]
The unique identifier for the test result.
The date and time the test result was created.
The date and time the test result was last updated.
The unique identifier for the pipeline associated with the test result.
The branch that the test result was created from
The commit that the test result was created from
metadata object nullable
property name* MetadataValueObject nullable
Possible values: [url
]
Possible values: [string
]
Possible values: [boolean
]
Possible values: [url
]
Possible values: [string
]
Possible values: [boolean
]
The name of the test result
pipeline object
The ID of the pipeline
The date and time when the pipeline was created
The date and time when the pipeline was last updated
The date and time when the pipeline was archived, can be null if the pipeline has not been archived
The labels attached to the pipeline
The name of the pipeline
The slug of the pipeline
The ID of the organization that owns the pipeline
The branch that the pipeline is associated with
The ID of the golden dataset associated with the pipeline
evaluators object[]
runs object[]
path object[] nullable
Possible values: [suite
]
full object
Possible values: <= 1
inputs object nullable
outputs object nullable
metadata object nullable
property name* MetadataValueObject nullable
Possible values: [url
]
Possible values: [string
]
Possible values: [boolean
]
Possible values: [url
]
Possible values: [string
]
Possible values: [boolean
]
path object[] nullable
Possible values: [suite
]
steps object[]
modelParams object
inputs object
outputs object
case 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
evaluations object[]
Error message if the test run failed
{ "id": "3fa85f64-5717-4562-b3fc-2c963f66afa6", "createdAt": "2024-12-16T21:57:25.748Z", "updatedAt": "2024-12-16T21:57:25.748Z", "pipelineId": "3fa85f64-5717-4562-b3fc-2c963f66afa6", "branch": "string", "commit": "string", "metadata": {}, "name": "string", "pipeline": { "id": "3fa85f64-5717-4562-b3fc-2c963f66afa6", "createdAt": "2024-12-16T21:57:25.748Z", "updatedAt": "2024-12-16T21:57:25.748Z", "archivedAt": "2024-12-16T21:57:25.748Z", "labels": [ "string" ], "displayName": "string", "slug": "string", "organizationId": "string", "branch": "string", "goldenDatasetId": "string", "evaluators": [ { "id": "3fa85f64-5717-4562-b3fc-2c963f66afa6", "createdAt": "string", "updatedAt": "string", "archivedAt": "string", "icon": "string", "name": "string", "options": [ null ], "aiModel": "string", "pipelineId": "string", "processorId": "string", "heuristicFn": "string", "aiPromptFormat": "string", "humanPrompt": "string", "who": "string", "valueType": "string" } ] }, "runs": [ { "id": "3fa85f64-5717-4562-b3fc-2c963f66afa6", "createdAt": "string", "updatedAt": "string", "caseId": "3fa85f64-5717-4562-b3fc-2c963f66afa6", "resultId": "3fa85f64-5717-4562-b3fc-2c963f66afa6", "path": [ { "type": "suite", "name": "string" } ], "full": { "pipelineRunId": "3fa85f64-5717-4562-b3fc-2c963f66afa6", "pipelineId": "3fa85f64-5717-4562-b3fc-2c963f66afa6", "organizationId": "3fa85f64-5717-4562-b3fc-2c963f66afa6", "startTime": "string", "endTime": "string", "cost": 0, "elapsed": 0, "feedback": 0, "lastInvocation": "string", "inputs": {}, "outputs": {}, "renderHTMLKey": "string", "metadata": {}, "path": [ { "type": "suite", "name": "string" } ], "error": "string" }, "steps": [ { "id": "3fa85f64-5717-4562-b3fc-2c963f66afa6", "organizationId": "3fa85f64-5717-4562-b3fc-2c963f66afa6", "providerName": "string", "invocation": "string", "modelParams": {}, "inputs": {}, "outputs": {}, "startTime": "string", "endTime": "string", "pipelineRunId": "3fa85f64-5717-4562-b3fc-2c963f66afa6", "error": "string" } ], "case": { "id": "3fa85f64-5717-4562-b3fc-2c963f66afa6", "createdAt": "2024-12-16T21:57:25.749Z", "deletedAt": "2024-12-16T21:57:25.749Z", "updatedAt": "2024-12-16T21:57:25.749Z", "expectedOutputs": {}, "inputs": {}, "name": "string", "pipelineId": "3fa85f64-5717-4562-b3fc-2c963f66afa6", "datasetId": "3fa85f64-5717-4562-b3fc-2c963f66afa6" }, "evaluations": [ { "id": "3fa85f64-5717-4562-b3fc-2c963f66afa6", "createdAt": "string", "updatedAt": "string", "isPending": true, "debug": {}, "evaluatorId": "3fa85f64-5717-4562-b3fc-2c963f66afa6", "runId": "3fa85f64-5717-4562-b3fc-2c963f66afa6", "evalLabel": "string", "evalValue": 0, "manualCreatedByEmail": "string", "billingGpt4InputTokens": 0, "billingGpt4OutputTokens": 0, "billingGpt35InputTokens": 0, "billingGpt35OutputTokens": 0 } ], "error": "string" } ] }
Schema
- url
- string
- boolean
- Array [
- ]
- Array [
- Array [
- ]
- url
- string
- boolean
- Array [
- ]
- Array [
- ]
- Array [
- ]
- ]
The unique identifier for the test result.
The date and time the test result was created.
The date and time the test result was last updated.
The unique identifier for the pipeline associated with the test result.
The branch that the test result was created from
The commit that the test result was created from
metadata object nullable
property name* MetadataValueObject nullable
Possible values: [url
]
Possible values: [string
]
Possible values: [boolean
]
Possible values: [url
]
Possible values: [string
]
Possible values: [boolean
]
The name of the test result
pipeline object
The ID of the pipeline
The date and time when the pipeline was created
The date and time when the pipeline was last updated
The date and time when the pipeline was archived, can be null if the pipeline has not been archived
The labels attached to the pipeline
The name of the pipeline
The slug of the pipeline
The ID of the organization that owns the pipeline
The branch that the pipeline is associated with
The ID of the golden dataset associated with the pipeline
evaluators object[]
runs object[]
path object[] nullable
Possible values: [suite
]
full object
Possible values: <= 1
inputs object nullable
outputs object nullable
metadata object nullable
property name* MetadataValueObject nullable
Possible values: [url
]
Possible values: [string
]
Possible values: [boolean
]
Possible values: [url
]
Possible values: [string
]
Possible values: [boolean
]
path object[] nullable
Possible values: [suite
]
steps object[]
modelParams object
inputs object
outputs object
case 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
evaluations object[]
Error message if the test run failed
{ "id": "3fa85f64-5717-4562-b3fc-2c963f66afa6", "createdAt": "2024-12-16T21:57:25.753Z", "updatedAt": "2024-12-16T21:57:25.753Z", "pipelineId": "3fa85f64-5717-4562-b3fc-2c963f66afa6", "branch": "string", "commit": "string", "metadata": {}, "name": "string", "pipeline": { "id": "3fa85f64-5717-4562-b3fc-2c963f66afa6", "createdAt": "2024-12-16T21:57:25.754Z", "updatedAt": "2024-12-16T21:57:25.754Z", "archivedAt": "2024-12-16T21:57:25.754Z", "labels": [ "string" ], "displayName": "string", "slug": "string", "organizationId": "string", "branch": "string", "goldenDatasetId": "string", "evaluators": [ { "id": "3fa85f64-5717-4562-b3fc-2c963f66afa6", "createdAt": "string", "updatedAt": "string", "archivedAt": "string", "icon": "string", "name": "string", "options": [ null ], "aiModel": "string", "pipelineId": "string", "processorId": "string", "heuristicFn": "string", "aiPromptFormat": "string", "humanPrompt": "string", "who": "string", "valueType": "string" } ] }, "runs": [ { "id": "3fa85f64-5717-4562-b3fc-2c963f66afa6", "createdAt": "string", "updatedAt": "string", "caseId": "3fa85f64-5717-4562-b3fc-2c963f66afa6", "resultId": "3fa85f64-5717-4562-b3fc-2c963f66afa6", "path": [ { "type": "suite", "name": "string" } ], "full": { "pipelineRunId": "3fa85f64-5717-4562-b3fc-2c963f66afa6", "pipelineId": "3fa85f64-5717-4562-b3fc-2c963f66afa6", "organizationId": "3fa85f64-5717-4562-b3fc-2c963f66afa6", "startTime": "string", "endTime": "string", "cost": 0, "elapsed": 0, "feedback": 0, "lastInvocation": "string", "inputs": {}, "outputs": {}, "renderHTMLKey": "string", "metadata": {}, "path": [ { "type": "suite", "name": "string" } ], "error": "string" }, "steps": [ { "id": "3fa85f64-5717-4562-b3fc-2c963f66afa6", "organizationId": "3fa85f64-5717-4562-b3fc-2c963f66afa6", "providerName": "string", "invocation": "string", "modelParams": {}, "inputs": {}, "outputs": {}, "startTime": "string", "endTime": "string", "pipelineRunId": "3fa85f64-5717-4562-b3fc-2c963f66afa6", "error": "string" } ], "case": { "id": "3fa85f64-5717-4562-b3fc-2c963f66afa6", "createdAt": "2024-12-16T21:57:25.754Z", "deletedAt": "2024-12-16T21:57:25.754Z", "updatedAt": "2024-12-16T21:57:25.754Z", "expectedOutputs": {}, "inputs": {}, "name": "string", "pipelineId": "3fa85f64-5717-4562-b3fc-2c963f66afa6", "datasetId": "3fa85f64-5717-4562-b3fc-2c963f66afa6" }, "evaluations": [ { "id": "3fa85f64-5717-4562-b3fc-2c963f66afa6", "createdAt": "string", "updatedAt": "string", "isPending": true, "debug": {}, "evaluatorId": "3fa85f64-5717-4562-b3fc-2c963f66afa6", "runId": "3fa85f64-5717-4562-b3fc-2c963f66afa6", "evalLabel": "string", "evalValue": 0, "manualCreatedByEmail": "string", "billingGpt4InputTokens": 0, "billingGpt4OutputTokens": 0, "billingGpt35InputTokens": 0, "billingGpt35OutputTokens": 0 } ], "error": "string" } ] }
Bad request.
Test result not found.
Internal server error.