Skip to main content
POST
/
api
/
v1
/
pipelines
Create a new pipeline
curl --request POST \
  --url http://localhost:5300/api/v1/pipelines \
  --header 'Content-Type: application/json' \
  --header 'X-API-Key: <api-key>' \
  --data '
{
  "name": "<string>",
  "config": {}
}
'
{
  "code": 0,
  "msg": "ok",
  "data": {
    "uuid": "3c90c3cc-0d44-4b50-8888-8dd25736052a"
  }
}

Authorizations

X-API-Key
string
header
required

API Key authentication using X-API-Key header. Example: X-API-Key: lbk_your_api_key_here

Body

application/json
name
string
required
config
object
required

Response

Pipeline created successfully

code
integer
Example:

0

msg
string
Example:

"ok"

data
object