Skip to main content
POST
/
orchestration
/
nodes
/
compute
Compute node
curl --request POST \
  --url https://api.getcargo.io/v1/orchestration/nodes/compute \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "node": {
    "uuid": "<string>",
    "slug": "<string>",
    "config": {},
    "childrenUuids": [
      "<string>"
    ],
    "fallbackOnFailure": true,
    "position": {
      "x": 123,
      "y": 123
    },
    "kind": "native",
    "actionSlug": "<string>",
    "name": "<string>",
    "description": "<string>",
    "retry": {
      "maximumAttempts": 123,
      "initialInterval": 123,
      "backoffCoefficient": 123
    },
    "fallbackChildUuid": "<string>"
  },
  "context": {},
  "groupContext": {}
}
'
{
  "computedConfig": {}
}

Authorizations

Authorization
string
header
required

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

Body

application/json

Request body schema.

node
Node · object
required

Node configuration.

context
Context · object
required

Execution context for the node.

groupContext
Group context · object

Group context for node computation.

Response

Successful response

computedConfig
Computed config · object
required

Computed node configuration.