Get Custom Model Payload

Get the custom model payload based on a historical evaluation.

🚧

The data that is sent to the custom model in a live evaluation may be different from the data seen in historical evaluations depending on the configuration of services in your workflow.

HTTP Request

GET https://api.alloy.co/custom-models/evaluations/<evaluation_token>

curl https://api.alloy.co/custom-models/evaluations/<evaluation_token> \
  -u workflow_token:workflow_secret

HTTP Response

The sample payload based on the historical evaluation data will be returned. See in the input specification on the Custom Models page for more information.

Example

{
  "Alloy Data Supplied": [
    {
      "attributeName": "name_first",
      "attributeValue": "false"
    },
    {
      "attributeName": "name_last",
      "attributeValue": "false"
    },
    {
      "attributeName": "birth_date",
      "attributeValue": "false"
    },
  ],
}