Skip to main content
PUT
Create Service

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

name
string
required
service_name
string
required

Query Parameters

duration
integer

Time to monitor logs after starting (default: 5s)

Body

application/json
args
string[]
required

Command arguments

cmd
string
required

Command to execute

needs
string[]
required

Service dependencies (started first)

dir
string

Working directory for the service

env
object

Environment variables to add to the base service environment

http_port
integer | null

HTTP port for proxy routing

Response

Success

args
string[]
required

Command arguments

cmd
string
required

Command to execute

name
string
required

Service name

needs
string[]
required

Service dependencies

http_port
integer | null

HTTP port for proxy routing

state
object | null

Current runtime state

Example: