The FastAPI backend exposes two distinct routes for GraphQL query generation:
-
/flat_graphql
- Intended for simple, single-level queries
- Example: "Query all male patients"
-
/nested_graphql
- Intended for complex, multi-level relationship queries involving nested PCDC GitOps nodes
- Example: "Patients with metastatic tumors located in the skin"
However, the current Chainlit frontend implementation routes all user messages exclusively through /nested_graphql, beginning at Line 89.
This makes the /flat_graphql endpoint completely inaccessible from the UI.
The FastAPI backend exposes two distinct routes for GraphQL query generation:
/flat_graphql/nested_graphqlHowever, the current Chainlit frontend implementation routes all user messages exclusively through
/nested_graphql, beginning at Line 89.This makes the
/flat_graphqlendpoint completely inaccessible from the UI.