Retrieve LLM response generation nodes from flows via the GraphorLM REST API
GET
https://{flow_name}.flows.graphorlm.com/llm
Header | Value | Required |
---|---|---|
Authorization | Bearer YOUR_API_TOKEN | Yes |
Field | Type | Description |
---|---|---|
id | string | Unique identifier for the LLM node |
type | string | Node type (always “llm” for LLM nodes) |
position | object | Position coordinates in the flow canvas |
style | object | Visual styling properties (height, width) |
data | object | LLM node configuration and results |
Field | Type | Description |
---|---|---|
x | number | X coordinate position in the flow canvas |
y | number | Y coordinate position in the flow canvas |
Field | Type | Description |
---|---|---|
height | integer | Height of the node in pixels |
width | integer | Width of the node in pixels |
Field | Type | Description |
---|---|---|
name | string | Display name of the LLM node |
config | object | Node configuration including model settings |
result | object | Processing results and performance metrics (optional) |
Field | Type | Description |
---|---|---|
model | string | LLM model identifier (e.g., “gpt-4o”, “claude-3-sonnet”, “llama-3-70b”) |
promptId | string | ID of the prompt template used for response generation |
temperature | number | Creativity control parameter (0.0-2.0) for response randomness |
Field | Type | Description |
---|---|---|
updated | boolean | Whether the node has been processed with current configuration |
processing | boolean | Whether the node is currently generating responses |
waiting | boolean | Whether the node is waiting for input dependencies |
has_error | boolean | Whether the node encountered errors during processing |
updatedMetrics | boolean | Whether quality evaluation metrics have been calculated |
total_responses | integer | Total number of responses generated (if available) |
avg_response_length | number | Average character length of generated responses |
avg_processing_time | number | Average response generation time in seconds |
streaming_enabled | boolean | Whether real-time streaming responses are supported |
multimodal_support | boolean | Whether the node supports image and multimedia processing |
Status Code | Description | Example Response |
---|---|---|
401 | Unauthorized - Invalid or missing API token | {"detail": "Invalid authentication credentials"} |
404 | Not Found - Flow not found | {"detail": "Flow not found"} |
500 | Internal Server Error - Server error | {"detail": "Failed to retrieve LLM nodes"} |
Flow Not Found Error
Empty LLM Nodes Array
Model Configuration Issues
Slow Response Generation
Missing Quality Metrics
Connection Issues