Test complete flow execution using current configuration via the GraphorLM REST API
POST
https://{flow_name}.flows.graphorlm.com/simulate
Header | Value | Required |
---|---|---|
Authorization | Bearer YOUR_API_TOKEN | Yes |
Content-Type | application/json | Yes |
Field | Type | Required | Description |
---|---|---|---|
query | string | Yes | The query to process through the flow simulation |
page | integer | No | Page number for pagination (starts from 1) |
page_size | integer | No | Number of items per page (default: 10, max: 100) |
Field | Type | Description |
---|---|---|
items | array | Array of document results from the flow simulation |
total | integer | Total number of items available across all pages |
page | integer | Current page number (if pagination was used) |
page_size | integer | Number of items per page (if pagination was used) |
total_pages | integer | Total number of pages available |
items
array contains:
Status Code | Description | Common Causes |
---|---|---|
400 | Bad Request | Invalid query or malformed request parameters |
401 | Unauthorized | Invalid or missing API token |
404 | Not Found | Flow not found or not accessible |
500 | Internal Server Error | Flow simulation failed, processing error |
Flow Simulation Failed
Missing Response Node
No Results Returned
Authentication Issues