> ## Documentation Index
> Fetch the complete documentation index at: https://docs.pathors.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Update Node

> Partially update a node's configuration

## Request

```bash theme={null}
PATCH https://api.pathors.com/v1/projects/{projectId}/pathway/nodes/{nodeId}
```

Only send the fields you want to update. Existing fields are preserved.

### Path Parameters

<ParamField path="projectId" type="string" required>The project ID</ParamField>
<ParamField path="nodeId" type="string" required>The node ID</ParamField>

### Headers

<ParamField header="Authorization" type="string" required>
  Bearer token using your developer key
</ParamField>

### Body

<ParamField body="data" type="object">
  Partial node data to merge. Only include fields you want to change.

  <Expandable title="fields">
    <ParamField body="data.title" type="string">Updated display title</ParamField>
    <ParamField body="data.prompt" type="string">Updated prompt text</ParamField>
    <ParamField body="data.tools" type="string[]">Updated tool ID bindings</ParamField>
  </Expandable>
</ParamField>

<ParamField body="position" type="object">
  Updated canvas position: `{ "x": number, "y": number }`
</ParamField>

## Response

Returns the full updated node.

### Example: Update prompt text

```bash theme={null}
curl -X PATCH https://api.pathors.com/v1/projects/{projectId}/pathway/nodes/{nodeId} \
  -H "Authorization: Bearer dk_your_key" \
  -H "Content-Type: application/json" \
  -d '{
    "data": {
      "prompt": "Updated: Help the user complete their booking and confirm details."
    }
  }'
```

### Example: Update tool bindings

```bash theme={null}
curl -X PATCH https://api.pathors.com/v1/projects/{projectId}/pathway/nodes/{nodeId} \
  -H "Authorization: Bearer dk_your_key" \
  -H "Content-Type: application/json" \
  -d '{
    "data": {
      "tools": ["tool-uuid-1", "tool-uuid-2"]
    }
  }'
```
