Add filtering option to the ListFlows endpoint
List Foundational Agents via Flow Listing
Description
Implement functionality to list foundational agents by leveraging the existing ListFlows endpoint. These foundational agents will be defined as custom agent flows using the "chat-partial" environment.
Requirements
- Add filtering/querying capabilities to the
ListFlowsendpoint - Filter flows specifically for "custom agent flows" with "chat-partial" environment
- Return these filtered flows as foundational agents
Technical Details
- Modify the existing
ListFlowsendpoint to accept query parameters - Implement filtering logic for:
- Flow type: "custom agent flows"
- Environment: "chat-partial"
- Version: "v1"
Expected Outcome
Users should be able to retrieve a list of foundational agents through the enhanced ListFlows endpoint.
Description was generated using AI
Edited by Andras Herczeg