Skip to content

Backend: Streamline guardrails routes #1151

Closed

Description

@Prajna1999

Is your feature request related to a problem?
For the guardrails service being proxied through kaapi-backend to work, we need to add identical routes to kaapi-guardrails in kaapi-backend too. They must mirror the API request schema parsed without error by kaapi-guardrails service.

Also, kaapi-backend sends X-ORGANIZATION-ID and X-PROJECT-ID post resolving the X-API-KEY token through the payload for kaapi-guardrails to process i.e REST request verbs are independent of the above two arguments and only concerned with payloads being proxied.

Describe the solution you'd like

Original issue

Describe the current behavior
All 16 guardrails routes are mirrored in the Kaapi backend as a proxy layer over kaapi-guardrails (IP whitelisting + org/prod ID header). The 16 come from CRUD fan-out per endpoint.

Describe the enhancement you'd like
Common wrapper function for endpoints. Reuse that for individual guardrails endpoint.

Why is this enhancement needed?
Better maintainability.

Activity

  1. self-assigned this
    on Aug 21, 2026
  2. changed the title [-]Kaapi Guardrails: Common router wrapper for Kaapi backend <---> kaapi guardrails APIs[/-] [+]Backend: Streamline guardrails routes[/+] on Aug 21, 2026
  3. moved this from To Do to In Progress in Kaapi-devon Aug 28, 2026
  4. moved this from In Progress to In Review in Kaapi-devon Sep 7, 2026
  5. moved this from In Review to Closed in Kaapi-devon Sep 11, 2026
  6. github-actions commented on Sep 11, 2026

    @github-actions

    🎉 This issue has been resolved in version 1.7.0-main.3 🎉

    The release is available on GitHub release

    Your semantic-release bot 📦🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Type

No type

Projects

  • Status
    Closed

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions