Modify dataset node configurations in flows via the GraphorLM REST API
PATCH
https://{flow_name}.flows.graphorlm.com/datasets/{node_id}
Header | Value | Required |
---|---|---|
Authorization | Bearer YOUR_API_TOKEN | Yes |
Content-Type | application/json | Yes |
Parameter | Type | Required | Description |
---|---|---|---|
flow_name | string | Yes | The name of the flow containing the dataset node |
node_id | string | Yes | The unique identifier of the dataset node to update |
Field | Type | Required | Description |
---|---|---|---|
config | object | Yes | The new configuration for the dataset node |
config.files | array | No | List of file names to include in the dataset node |
Field | Type | Description |
---|---|---|
success | boolean | Whether the update operation was successful |
message | string | Descriptive message about the operation result |
node_id | string | The ID of the updated dataset node |
Status Code | Description | Example Response |
---|---|---|
400 | Bad Request - Invalid configuration or files not found | {"detail": "The following files do not exist as sources in the dataset: missing_file.pdf"} |
401 | Unauthorized - Invalid or missing API token | {"detail": "Invalid authentication credentials"} |
404 | Not Found - Flow or dataset node not found | {"detail": "Dataset node with id 'invalid-node' not found in flow 'my-flow'"} |
500 | Internal Server Error - Server error | {"detail": "Failed to update dataset node"} |
"updated": false
to indicate it needs reprocessingFiles Not Found Error
Dataset Node Not Found
Empty Files Configuration
files
arrayUpdate Not Reflected
"updated": false
and needs reprocessingNetwork Connection Issues