curl --request POST \
  --url https://api-openlayer.com/v1/inference-pipelines/{inference_pipeline_id}/data-stream \
  --header 'Authorization: Bearer <token>' \
  --data '{
  "rows": "<rows>",
  "config": {}
}'
{ "success": true }

Authorization

Authorization
string
required

Bearer authentication header of the form Bearer <token>, where <token> is your workspace API key (see Find your API key.)

Path parameter

inference_pipeline_id
string

The inference pipeline id (a UUID).

Body parameters

rows
array[object]
required

A list of entries (objects) that represent rows of data.

config
object
required

Configuration for the data stream. What goes into the config depends on the task type of the inference pipeline. Refer to the data config guides for each task type (make sure to select the “Monitoring” tab):