Create a new Step
POST/api/v1/steps
Create a new Step
Request
- application/x-www-form-urlencoded
Body
cluster string
connectors string[]
description string
docker object
file
object
inputSchema integer[]
local object
name string
noRemotePush boolean
outputSchema integer[]
prompts
object
property name* string
sync boolean
variables
object,null
property name* string
Responses
- 201
- 400
- 500
Created
- application/json
- Schema
- Example (from schema)
Schema
buildDuration integer
buildLogs string
buildStatus string
cluster string
connectors string[]
createdAt date-time
description string
docker object
error string
id string
inputSchema string
local object
name string
outputSchema string
prompts
object
property name* string
tags string[]
url string
variables
object
property name* string
version integer
{
"buildDuration": 0,
"buildLogs": "string",
"buildStatus": "string",
"cluster": "string",
"createdAt": "2024-07-29T15:51:28.071Z",
"description": "string",
"docker": {},
"error": "string",
"id": "string",
"inputSchema": "string",
"local": {},
"name": "string",
"outputSchema": "string",
"prompts": {},
"url": "string",
"variables": {},
"version": 0
}
Bad Request
- application/json
- Schema
- Example (from schema)
Schema
error string
{
"error": "string"
}
Internal Server Error
- application/json
- Schema
- Example (from schema)
Schema
error string
{
"error": "string"
}
Loading...