Skip to main content
POST
/
executors
Create Executor
curl --request POST \
  --url http://localhost:8000/executors/ \
  --header 'Authorization: Basic <encoded-value>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "executor_config": {},
  "account_name": "<string>"
}
'
{
  "executor_id": "<string>",
  "executor_type": "<string>",
  "connector_name": "<string>",
  "trading_pair": "<string>",
  "status": "<string>",
  "created_at": "<string>"
}

Authorizations

Authorization
string
header
required

Basic authentication header of the form Basic <encoded-value>, where <encoded-value> is the base64-encoded string username:password.

Body

application/json

Request to create a new executor.

executor_config
Executor Config · object
required

Executor configuration. Must include 'type' field and executor-specific parameters.

account_name
string | null

Account name to use (defaults to master_account)

Response

Successful Response

Response after creating an executor.

executor_id
string
required

Unique executor identifier

executor_type
string
required

Type of executor created

connector_name
string
required

Connector name

trading_pair
string
required

Trading pair

status
string
required

Initial status

created_at
string
required

Creation timestamp (ISO format)