Upsert Parameters

POST /pipelines/save-parameters

Creates or updates a pipeline parameters

Request

Headers

An API Key is required to access this endpoint.

Name
Value

x-api-key

your_api_key

Body

Name
Type
Description

id

string

Unique ID for the pipeline.

parameters

Array of parameters.

Parameter

Parameter ID is required when updating an existing parameter.

Name
Type
Description

id

string

Unique ID for the parameter.

name

string

Name of the parameter.

type

enum

Supported enums: file string

Example

{
  "id": "fe66acaa-2c30-4d92-ac11-c6ece7cc25c0",
  "parameters": [
    { "name": "restaurant_id" },
    { "name": "review" }
  ]
}

Response

The API returns the response in JSON format.

Each response includes a success boolean and the parameters.

Example

{
  "parameters": [
    { "id": "6901b859-fe94-4c3c-a826-a4d484f309a6", "name": "restaurant_id", "type": "string" },
    { "id": "daa2c04d-0fa5-4d0e-be21-e18c1e940592", "name": "review", "type": "string" }
  ],
  "success": true
}

Last updated