v1

latestOpenAPI 3.0.32026-07-223120123.1 KB
Tests

List test results for a test.

List the test results for a test.

get/tests/{testId}/results

Path parameters

testIdstring uuid required

The test id.

Query parameters

pageinteger

The page to return in a paginated query.

perPageinteger

Maximum number of items to return per page.

projectVersionIdstring uuid nullable

Retrive test results for a specific project version.

inferencePipelineIdstring uuid nullable

Retrive test results for a specific inference pipeline.

includeInsightsboolean

Include the insights linked to each test result

statusstring[]

Filter by status(es).

startTimestampnumber

Filter for results that use data ending after the start timestamp.

endTimestampnumber

Filter for results that use data starting before the end timestamp.

Response

Status OK.

Example response

{
  "items": [
    {
      "id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
      "goal": {
        "id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
        "number": 1,
        "name": "No duplicate rows",
        "dateCreated": "2024-03-22T11:31:01.185Z",
        "dateUpdated": "2024-03-22T11:31:01.185Z",
        "evaluationWindow": 3600,
        "type": "integrity",
        "subtype": "duplicateRowCount",
        "creatorId": "589ece63-49a2-41b4-98e1-10547761d4b0",
        "originProjectVersionId": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
        "thresholds": [
          {
            "measurement": "duplicateRowCount",
            "insightName": "duplicateRowCount",
            "insightParameters": [
              {
                "name": "column_name",
                "value": "Age"
              }
            ],
            "operator": "<="
          }
        ],
        "dateArchived": "2024-03-22T11:31:01.185Z",
        "usesValidationDataset": true
      },
      "goalId": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
      "projectVersionId": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
      "inferencePipelineId": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
      "dateCreated": "2024-03-22T11:31:01.185Z",
      "dateUpdated": "2024-03-22T11:31:01.185Z",
      "dateDataStarts": "2024-03-22T11:31:01.185Z",
      "dateDataEnds": "2024-03-22T11:31:01.185Z",
      "status": "passing",
      "statusMessage": "Test successfully processed.",
      "rows": "https://api.openlayer.com/v1/versions/3fa85f64-5717-4562-b3fc-2c963f66afa6/rows?label=validation",
      "rowsBody": {
        "columnFilters": [
          {
            "measurement": "openlayer_token_set",
            "operator": "contains_none",
            "value": [
              "cat"
            ]
          }
        ]
      }
    }
  ],
  "lastUnskippedResult": {
    "id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
    "goal": {
      "id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
      "number": 1,
      "name": "No duplicate rows",
      "dateCreated": "2024-03-22T11:31:01.185Z",
      "dateUpdated": "2024-03-22T11:31:01.185Z",
      "evaluationWindow": 3600,
      "type": "integrity",
      "subtype": "duplicateRowCount",
      "creatorId": "589ece63-49a2-41b4-98e1-10547761d4b0",
      "originProjectVersionId": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
      "thresholds": [
        {
          "measurement": "duplicateRowCount",
          "insightName": "duplicateRowCount",
          "insightParameters": [
            {
              "name": "column_name",
              "value": "Age"
            }
          ],
          "operator": "<="
        }
      ],
      "dateArchived": "2024-03-22T11:31:01.185Z",
      "usesValidationDataset": true
    },
    "goalId": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
    "projectVersionId": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
    "inferencePipelineId": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
    "dateCreated": "2024-03-22T11:31:01.185Z",
    "dateUpdated": "2024-03-22T11:31:01.185Z",
    "dateDataStarts": "2024-03-22T11:31:01.185Z",
    "dateDataEnds": "2024-03-22T11:31:01.185Z",
    "status": "passing",
    "statusMessage": "Test successfully processed.",
    "rows": "https://api.openlayer.com/v1/versions/3fa85f64-5717-4562-b3fc-2c963f66afa6/rows?label=validation",
    "rowsBody": {
      "columnFilters": [
        {
          "measurement": "openlayer_token_set",
          "operator": "contains_none",
          "value": [
            "cat"
          ]
        }
      ]
    }
  }
}