Skip to main content
POST
/
v1
/
projects
/
{projectId}
/
pathway
/
nodes
Create node
curl --request POST \
  --url https://api.pathors.com/v1/projects/{projectId}/pathway/nodes \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "id": "<string>",
  "data": {
    "type": "<string>",
    "title": "<string>",
    "prompt": "<string>",
    "tools": [
      "<string>"
    ],
    "knowledgeBaseId": "<string>",
    "variableKeys": [
      "<string>"
    ],
    "staticTokenCount": 123
  }
}
'
{
  "data": {
    "id": "<string>",
    "data": {
      "type": "<string>",
      "title": "<string>",
      "prompt": "<string>",
      "tools": [
        "<string>"
      ],
      "knowledgeBaseId": "<string>",
      "variableKeys": [
        "<string>"
      ],
      "staticTokenCount": 123
    }
  }
}

Authorizations

Authorization
string
header
required

Developer key created from the dashboard (Settings → Developer Keys)

Path Parameters

projectId
string
required

The ID of your project

Body

application/json
id
string
required
data
object
required
{key}
any

Response

Created

data
object
required