Skip to content

Latest commit

 

History

History
37 lines (22 loc) · 1.2 KB

prediction-api.md

File metadata and controls

37 lines (22 loc) · 1.2 KB
layout title
default
Seldon Prediction APIs
General Prediction Steps

setup server --> events --> feature extraction pipeline --> runtime scorer --> microservice scorer --> predictions

Seldon Prediction API

Introduction

This document provides an overview of how to use the Seldon OAuth REST API and JavaScript API for general predictive analytics. Seldon provides a REST API with JSON for data representation and OAuth 2.0 for authorisation. For further clarification on any section please contact support at seldon dot io.

OAuth Authorisation

A service will be granted

  • a consumer_key k
  • a consumer_secret s

An authorisation_token t can be retrieved with this API call {% highlight http %} POST /token?consumer_key=k&consumer_secret=s {% endhighlight %}

JavaScript Authorization

A service will be provided with a consumer_key which should be passed with each JavaScript request.

Prediction API Details