API Reference
Subscriptions API
The namespace to which the pipeline and model in the subscription belong.
The name of the pipeline associated with the subscription.
OK
Bad Request
Internal Server Error
An unexpected error response.
GET /api/v1/pipeline/subscriptions HTTP/1.1
Host:
Accept: */*
{
"subscriptions": [
{
"subscriptionId": "text",
"modelName": "text",
"featuresMetadata": [
{
"numeric": {
"name": "Age"
},
"categorical": {
"name": "Marital Status",
"categories": [
"Married",
"Single",
"Divorced"
]
},
"categoricalProbaTensor": {
"name": "Marital Status",
"categories": [
"Married",
"Single",
"Divorced"
]
}
}
],
"namespace": "text",
"pipelineName": "text"
}
]
}
The namespace to which the pipeline and model belong.
my-namespace
The name of the pipeline to which the model belongs.
my-pipeline
The name of the model.
my-model
OK
Bad Request
Conflict
Internal Server Error
An unexpected error response.
POST /api/v1/pipeline/model/subscribe HTTP/1.1
Host:
Content-Type: application/json
Accept: */*
Content-Length: 309
{
"namespace": "my-namespace",
"pipelineName": "my-pipeline",
"modelName": "my-model",
"featuresMetadata": [
{
"numeric": {
"name": "Age"
},
"categorical": {
"name": "Marital Status",
"categories": [
"Married",
"Single",
"Divorced"
]
},
"categoricalProbaTensor": {
"name": "Marital Status",
"categories": [
"Married",
"Single",
"Divorced"
]
}
}
]
}
{
"subscriptionId": "text"
}
The unique identifier of the subscription.
OK
Bad Request
Internal Server Error
An unexpected error response.
DELETE /api/v1/pipeline/model/unsubscribe?subscriptionId=text HTTP/1.1
Host:
Accept: */*
{}
Feedback API
The namespace to which the pipeline and model belong.
seldon-system
The name of the pipeline to which the model belongs.
my-pipeline
The name of the model.
my-model
The prediction request ID, could represent a batch or not.
1234
The request index in the batch, if applicable. Defaults to 0.
0
OK
Bad Request
Forbidden
Internal Server Error
An unexpected error response.
POST /api/v1/pipeline/model/feedback HTTP/1.1
Host:
Content-Type: application/json
Accept: */*
Content-Length: 197
{
"namespace": "seldon-system",
"pipelineName": "my-pipeline",
"modelName": "my-model",
"requestId": "1234",
"batchId": "0",
"feedback": {
"classificationFeedback": {
"value": 1
},
"regressionFeedback": {
"value": 1
}
}
}
{
"feedbackId": "text"
}
Metrics API
Classification Metrics
The namespace to which the pipeline and model belong.
The name of the pipeline to which the model belongs.
The name of the model.
The start datetime of the metrics to retrieve (inclusive), in ISO 8601 format.
The end datetime of the metrics to retrieve (exclusive), in ISO 8601 format.
The size of each bucket within the time window, e.g., 10s, 2h45m, 1h. If left empty, a single bucket covering the entire time window will be returned.
OK
Bad Request
Internal Server Error
An unexpected error response.
GET /api/v1/metrics/pipeline/classification?namespace=text&pipelineName=text&modelName=text&startTime=2025-08-31T06%3A37%3A47.628Z&endTime=2025-08-31T06%3A37%3A47.628Z HTTP/1.1
Host:
Accept: */*
{
"metrics": [
{
"confusionMatrix": {
"categories": [
"text"
],
"values": [
1
],
"computedConfusionValues": [
{
"truePositiveCount": 1,
"trueNegativeCount": 1,
"falsePositiveCount": 1,
"falseNegativeCount": 1
}
]
},
"accuracy": 1,
"recall": 1,
"precision": 1,
"specificity": 1,
"f1": 1,
"endTime": "2025-08-31T06:37:47.628Z"
}
]
}
Regression Metrics
The namespace to which the pipeline and model belong.
The name of the pipeline to which the model belongs.
The name of the model.
The start datetime of the metrics to retrieve (inclusive), in ISO 8601 format.
The end datetime of the metrics to retrieve (exclusive), in ISO 8601 format.
The size of each bucket within the time window, e.g., 10s, 2h45m, 1h. If left empty, a single bucket covering the entire time window will be returned.
OK
Bad Request
Internal Server Error
An unexpected error response.
GET /api/v1/metrics/pipeline/regression?namespace=text&pipelineName=text&modelName=text&startTime=2025-08-31T06%3A37%3A47.628Z&endTime=2025-08-31T06%3A37%3A47.628Z HTTP/1.1
Host:
Accept: */*
{
"metrics": [
{
"meanSquaredError": 1,
"rootMeanSquaredError": 1,
"meanAbsoluteError": 1,
"endTime": "2025-08-31T06:37:47.628Z"
}
]
}
Last updated
Was this helpful?