githubEdit

API Reference

Subscriptions API

List subscriptions for a pipeline

get
Query parameters
namespacestringOptional

The namespace to which the pipeline and model in the subscription belong.

pipelineNamestringOptional

The name of the pipeline associated with the subscription.

Responses
chevron-right
200

OK

application/json
get
/api/v1/pipeline/subscriptions

Subscribe to a pipeline model

post
Body
namespacestringRequired

The namespace to which the pipeline and model belong.

Example: my-namespace
pipelineNamestringRequired

The name of the pipeline to which the model belongs.

Example: my-pipeline
modelNamestringRequired

The name of the model.

Example: my-model
Responses
chevron-right
200

OK

application/json
post
/api/v1/pipeline/model/subscribe

Unsubscribe from a pipeline model

delete
Query parameters
subscriptionIdstring · uint64Required

The unique identifier of the subscription.

Responses
chevron-right
200

OK

application/json
Responseobject
delete
/api/v1/pipeline/model/unsubscribe

Feedback API

Send feedback for a model

post
Body
namespacestringRequired

The namespace to which the pipeline and model belong.

Example: seldon-system
pipelineNamestringRequired

The name of the pipeline to which the model belongs.

Example: my-pipeline
modelNamestringRequired

The name of the model.

Example: my-model
requestIdstringRequired

The prediction request ID, could represent a batch or not.

Example: 1234
batchIdinteger · int64Optional

The request index in the batch, if applicable. Defaults to 0.

Example: 0
Responses
chevron-right
200

OK

application/json
post
/api/v1/pipeline/model/feedback

Metrics API

Classification Metrics

Get classification metrics

get
Query parameters
namespacestringRequired

The namespace to which the pipeline and model belong.

pipelineNamestringRequired

The name of the pipeline to which the model belongs.

modelNamestringRequired

The name of the model.

startTimestring · date-timeRequired

The start datetime of the metrics to retrieve (inclusive), in ISO 8601 format.

endTimestring · date-timeRequired

The end datetime of the metrics to retrieve (exclusive), in ISO 8601 format.

intervalstringOptional

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.

Responses
chevron-right
200

OK

application/json
get
/api/v1/metrics/pipeline/classification

Regression Metrics

Get regression metrics

get
Query parameters
namespacestringRequired

The namespace to which the pipeline and model belong.

pipelineNamestringRequired

The name of the pipeline to which the model belongs.

modelNamestringRequired

The name of the model.

startTimestring · date-timeRequired

The start datetime of the metrics to retrieve (inclusive), in ISO 8601 format.

endTimestring · date-timeRequired

The end datetime of the metrics to retrieve (exclusive), in ISO 8601 format.

intervalstringOptional

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.

Responses
chevron-right
200

OK

application/json
get
/api/v1/metrics/pipeline/regression

Last updated

Was this helpful?