systemprompt-api 0.1.18

HTTP API server and gateway for systemprompt.io OS
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
use axum::http::StatusCode;
use axum::response::{IntoResponse, Json};
use serde_json::json;

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