systemprompt-api 0.4.2

Axum-based HTTP server and API gateway for systemprompt.io AI governance infrastructure. Exposes governed agents, MCP, A2A, and admin endpoints with rate limiting and RBAC.
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
use axum::http::StatusCode;
use axum::response::{IntoResponse, Json};
use serde_json::json;

#[allow(clippy::unused_async)]
pub async fn handle_health_api() -> impl IntoResponse {
    (
        StatusCode::OK,
        Json(json!({
            "status": "healthy",
            "service": "oauth"
        })),
    )
}