Skip to content

Overview

LTG API Portal is a self-hosted, white-label API management platform built by Lockstep Technology Group. It handles the full lifecycle of API products — from publishing OpenAPI specs and issuing API keys through to AI-powered integrations, webhook delivery, and scheduled automation.

Core concepts

Specs → Products → Packages → Subscriptions

The data model flows from broad to narrow:

Level What it is
Spec An OpenAPI JSON/YAML file describing every available endpoint
Product A named offering linked to a spec (e.g. “ConnectWise PSA API”)
Package A named bundle of specific endpoints from a product (e.g. “Read-Only Tickets”)
Subscription An entity (person, app, or service) subscribed to a product with an auto-generated API key

When a subscription has packages assigned, the gateway enforces access at the endpoint level. Without packages, the subscription gets unrestricted access to the entire product.

Gateway enforcement

Every inbound API call should be validated through POST /api/gateway/validate. This endpoint checks:

  1. Key valid — the API key exists and is active
  2. Scope — read-scoped keys can’t call POST/PUT/DELETE
  3. Rate limit — sliding 60-second window per API key (configurable per plan)
  4. Daily quota — calls-per-day limit based on plan tier
  5. Package permissions — if packages are assigned, the requested METHOD:path must be in the union of allowed endpoints

Plans

Three built-in plan tiers:

Plan Calls/day Req/min Default scope
free 100 10 read
professional 10,000 100 write
enterprise 1,000,000 1,000 admin

AI Agents

Agents are Claude-powered (Anthropic API) with optional tool access via MCP servers. An agent run:

  1. Sends a user message to Claude
  2. Claude calls tools from linked MCP servers (auto-discovered)
  3. Tool results feed back into Claude
  4. Loop repeats until Claude stops calling tools or hits 10 iterations

MCP Protocol

The platform ships with a built-in MCP server (/apps/mcp-server) that exposes 16 tools covering products, subscriptions, storage, webhooks, and ConnectWise integrations. Any external MCP server can be registered and its tools made available to agents.

Services at a glance

Service Port Purpose
Portal + API 3000 Astro frontend + Hono API (combined)
MCP Server 4000 Model Context Protocol tool server
Docs 4001 This documentation site
S3 Adapter 8080 MinIO management API (FastAPI)
MinIO 9000/9001 S3-compatible object storage
Convoy 5005 Webhook delivery engine