Seldon · Example Payload

Seldon Inference Request Example

Example inference request to a Seldon iris classification model using the Open Inference Protocol V2

MLOpsMachine LearningModel ServingInferenceKubernetesAI OperationsDrift DetectionExplainabilityCanary DeploymentA/B TestingLLMOps

Seldon Inference Request Example is an example object payload from Seldon, with 3 top-level fields. It illustrates the shape of data this provider's APIs accept or return.

Top-level fields

descriptionrequestresponse

Example Payload

Raw ↑
{
  "description": "Example inference request to a Seldon iris classification model using the Open Inference Protocol V2",
  "request": {
    "method": "POST",
    "url": "http://seldon-gateway/seldon/default/iris-model/api/v1.0/predictions",
    "headers": {
      "Content-Type": "application/json"
    },
    "body": {
      "data": {
        "ndarray": [[5.1, 3.5, 1.4, 0.2]]
      }
    }
  },
  "response": {
    "status": 200,
    "body": {
      "data": {
        "ndarray": [0],
        "names": ["predict"]
      },
      "meta": {
        "requestPath": {
          "classifier": "seldonio/sklearnserver:1.15.0"
        }
      }
    }
  }
}