Run Pipeline

POST /pipelines/run/${pipelineId}

Run transforms based on the passed in request parameters

Request

Pipeline must be enabled to run.

Headers

An API Key is required to access this endpoint.

NameValue

x-api-key

your_api_key

Body

The body should exactly match what you defined. The parameter can be passed in either as text or file, depending on how it was defined.

Example

{
  "restaurant_id": "d9504261cc66", 
  "review": "This place was really good. Highly recommend it. We had the steak, chicken and prawns. All super good. You definitely come out full."
}

Response

The API returns the response in JSON format.

The request will return a 200 with a jobId and status. You can use this jobId to check the processing status and fetch results.

Example

{
  "jobId": "e368f726-aa81-435a-8c41-0830b665b4ec",
  "result": "https://api.getomni.ai/pipelines/run/46e92af4-3174-47af-998a-cd694fc850ce?jobId=98778b09-0312-4fdc-be5c-d9504261cc66",
  "status": "PENDING"
}

Last updated