Skip to content

Integrate Templates with Client API Workflow #50

@orpiske

Description

@orpiske

Integrate Templates with Client API Workflow

Objective

Enhance client-facing API to expose route templates, enabling LLMs to discover and use pre-generated templates when constructing integration workflows.

Dependencies

Requirements

  • Expose template discovery endpoint for clients
  • Implement template search/filter capabilities (by labels, keywords, use case)
  • Provide template metadata in API responses
  • Design workflow for template instantiation
  • Create template parameter documentation endpoint
  • Integrate template retrieval into existing service resolution flow
  • Support template recommendation based on context

Affected Files/Modules

  • /backend/router/src/main/java/ai/wanaku/router/api/ (client-facing endpoints)
  • /backend/router/src/main/java/ai/wanaku/router/service/ServiceResolver.java (template integration)
  • /wanaku-capabilities-java-sdk/capabilities-services-client/ (SDK client updates for template APIs)

Notes

LLMs should receive templates as part of available capabilities/options when planning integrations. Consider providing template examples and documentation in API responses. Template discovery should be efficient - use indexing/caching if needed. Integration with ServiceResolver enables template-aware service composition.

Metadata

Metadata

Assignees

No one assigned
    No fields configured for Feature.

    Projects

    Status

    Backlog

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions