https://prefect.io logo
Title
k

Karlo

01/27/2023, 11:06 PM
I scraped the call from the UI on the flow page that is working and it sends this request:
--data-raw '[{"operationName":"TableFlowRuns","variables":{"limit":15,"name":null,"offset":0,"state":null,"orderBy":{"scheduled_start_time":"desc"},"flow_group_id":"84054e78-22a4-478b-9394-7efad0ebcf9e"},"query":"query TableFlowRuns($name: String, $limit: Int, $offset: Int, $orderBy: [flow_run_order_by!], $flow_group_id: uuid, $flow_id: uuid, $state: [String!]) {\n  flow_run(\n    where: {flow: {flow_group_id: {_eq: $flow_group_id}, id: {_eq: $flow_id}}, name: {_ilike: $name}, state: {_in: $state}}\n    order_by: $orderBy\n    limit: $limit\n    offset: $offset\n  ) {\n    id\n    name\n    end_time\n    scheduled_start_time\n    start_time\n    state\n    __typename\n  }\n}\n"}]'
Any idea why the first call is only returning one result? Which corresponds to the incorrect UI state?