MissionControlFastAPI (main.py)

openclaw-mission-control · fastapi, routing, backend-entrypoint, integration

FastAPI application entrypoint and router wiring for the backend.

# Source: https://github.com/abhi1693/openclaw-mission-control | License: MIT | Copyright 2026 OpenClaw Mission Control
# Provided via justclaw.it.com; keep this notice with the code.
"""FastAPI application entrypoint and router wiring for the backend."""

from __future__ import annotations

from contextlib import asynccontextmanager
from typing import TYPE_CHECKING, Any

from fastapi import APIRouter, FastAPI, status
from fastapi.middleware.cors import CORSMiddleware
from fastapi.openapi.utils import get_openapi
from fastapi_pagination import add_pagination

from app.api.activity import router as activity_router
from app.api.agent import router as agent_router
from app.api.agents import router as agents_router
from app.api.approvals import router as approvals_router
from app.api.auth impo

... (truncated -- full source via MCP)

See the full source, get the GitHub permalink, and search 40K more like it.

Get a free API key