systemprompt-api 0.21.1

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
//! 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.
//!
//! Copyright (c) systemprompt.io — Business Source License 1.1.
//! See <https://systemprompt.io> for licensing details.

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

mod archive;
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))
}