feat(gateway): service-accounts management endpoints (Stage 1 PR4)
Owner/admin self-service CRUD for service accounts: POST create, GET list, PATCH status; workspace-scoped with 404 existence hiding for cross-workspace targets. Gated by require_workspace_admin. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
This commit is contained in:
@@ -22,6 +22,7 @@ from app.gateway.routers import (
|
||||
memory,
|
||||
models,
|
||||
runs,
|
||||
service_accounts,
|
||||
skills,
|
||||
suggestions,
|
||||
thread_runs,
|
||||
@@ -411,6 +412,9 @@ This gateway provides custom endpoints for models, MCP configuration, skills, an
|
||||
# Auth API is mounted at /api/v1/auth
|
||||
app.include_router(auth.router)
|
||||
|
||||
# Service Accounts API is mounted at /api/v1/service-accounts
|
||||
app.include_router(service_accounts.router)
|
||||
|
||||
# Feedback API is mounted at /api/threads/{thread_id}/runs/{run_id}/feedback
|
||||
app.include_router(feedback.router)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user