Salesforce · Schema

Gettestresults

Fortune 500AIAnalyticsCloudCommerceCRMCustomer ServiceEnterpriseMarketingPlatformSales

Properties

Name Type Description
endTime string
startTime string
status string
subjectName string
testCases array
View JSON Schema on GitHub

JSON Schema

salesforce-gettestresults-schema.json Raw ↑
{
  "type": "object",
  "properties": {
    "endTime": {
      "type": "string",
      "example": "2026-01-15T10:30:00Z"
    },
    "startTime": {
      "type": "string",
      "example": "2026-01-15T10:30:00Z"
    },
    "status": {
      "type": "string",
      "example": "example_value"
    },
    "subjectName": {
      "type": "string",
      "example": "example_value"
    },
    "testCases": {
      "type": "array",
      "description": "",
      "example": [],
      "items": {
        "type": "object",
        "properties": {
          "endTime": {
            "type": "string",
            "example": "2026-01-15T10:30:00Z"
          },
          "generatedData": {
            "type": "object",
            "properties": {
              "actionsSequence": {
                "type": "string",
                "example": "example_value"
              },
              "invokedActions": {
                "type": "string",
                "example": "example_value"
              },
              "outcome": {
                "type": "string",
                "example": "example_value"
              },
              "sessionId": {
                "type": "string",
                "example": "500123"
              },
              "topic": {
                "type": "string",
                "example": "example_value"
              },
              "citations": {
                "type": "string",
                "example": "example_value"
              }
            },
            "required": [
              "actionsSequence",
              "invokedActions",
              "outcome",
              "sessionId",
              "topic"
            ]
          },
          "inputs": {
            "type": "object",
            "properties": {
              "contextVariables": {
                "type": "object",
                "example": "example_value"
              },
              "conversationHistory": {
                "type": "array",
                "description": "",
                "example": [],
                "items": {
                  "type": "string"
                }
              },
              "utterance": {
                "type": "string",
                "example": "example_value"
              }
            },
            "required": [
              "contextVariables",
              "conversationHistory",
              "utterance"
            ]
          },
          "startTime": {
            "type": "string",
            "example": "2026-01-15T10:30:00Z"
          },
          "status": {
            "type": "string",
            "example": "example_value"
          },
          "testNumber": {
            "type": "integer",
            "example": 10
          },
          "testResults": {
            "type": "array",
            "description": "",
            "example": [],
            "items": {
              "type": "object",
              "properties": {
                "actualValue": {
                  "type": "string",
                  "example": "example_value"
                },
                "endTime": {
                  "type": "string",
                  "example": "2026-01-15T10:30:00Z"
                },
                "errorCode": {
                  "type": "integer",
                  "example": 10
                },
                "expectedValue": {
                  "type": "string",
                  "example": "example_value"
                },
                "metricLabel": {
                  "type": "string",
                  "example": "example_value"
                },
                "name": {
                  "type": "string",
                  "example": "Example Title"
                },
                "result": {
                  "type": "string",
                  "example": "example_value"
                },
                "score": {
                  "type": "integer",
                  "example": 10
                },
                "startTime": {
                  "type": "string",
                  "example": "2026-01-15T10:30:00Z"
                },
                "status": {
                  "type": "string",
                  "example": "example_value"
                },
                "metricExplainability": {
                  "type": "string",
                  "example": "example_value"
                }
              },
              "required": [
                "endTime",
                "errorCode",
                "metricLabel",
                "name",
                "score",
                "startTime",
                "status"
              ]
            }
          }
        },
        "required": [
          "endTime",
          "generatedData",
          "inputs",
          "startTime",
          "status",
          "testNumber",
          "testResults"
        ]
      }
    }
  },
  "required": [
    "endTime",
    "startTime",
    "status",
    "subjectName",
    "testCases"
  ],
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "title": "Gettestresults"
}