systemprompt-api 0.14.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
15
16
17
//! Cloud-sync routes for transferring the `services/` configuration tree.
//!
//! Mounts the file manifest, download, and upload handlers from `files` used
//! to push and pull agent, skill, content, and config definitions.

use axum::Router;
use axum::routing::get;
use systemprompt_runtime::AppContext;

mod files;
mod types;

pub fn router() -> Router<AppContext> {
    Router::new()
        .route("/files", get(files::download).post(files::upload))
        .route("/files/manifest", get(files::manifest))
}