APEX Developers

Forge — Platform Core

Forge is the platform's control plane: tenants, configuration, credentials, billing, and workflow tracking live here. It presents three surfaces with different maturity:

Surface Status Spec
Portal API — tenant control plane Available openapi/forge-portal.yaml
Support service — support agent, tool/agent execution, pipeline tracking Preview openapi/forge-support.yaml
LLM gateway — model dispatch for your agents Planned (contract pinned) openapi/forge-llm-gateway.yaml

Portal API (Available)

Base URL: https://forge.dev.apex.reisiger.org. Two credential styles apply per operation (Authentication): portal sessions (your administrators, signed in to the portal) and machine-to-machine tokens (provisioning integrations).

Provisioning (machine-to-machine, scope forge/tenant.write): POST /api/tenants creates a tenant — the venture-factory path described in Tenancy & Onboarding. Idempotency-Key: provision:<uuid> makes retries replay-safe; 201 means complete, 202 + status URL means runtime resources are still provisioning (poll GET /api/tenants/{id}/provisioning).

Tenant administration (session): tenant detail and update, API keys (create — value shown once; rotate; revoke), per-product configuration (GET/PUT /api/tenants/{id}/products/{productId}/config), members, and Echo channel registrations.

Billing & usage (session): balances, budgets and alerts, invoices, rate card, cost series, and the transaction ledger — GET /api/tenants/{id}/billing/transactions filtered by period/product, and …/transactions/{correlationId} for the full per-model token and ZAR breakdown of one correlated transaction. This is the reconciliation surface described in Usage & Cost.

Workflows (session): definition CRUD plus run tracking (…/workflows/{workflowId}/runs) for operational visibility of your recurring processes.

Support service (Preview)

A tenant-scoped assistant and agent-execution surface, currently available in local/companion deployments; cloud availability is operator-arranged. Authenticates with a dedicated support-service token from your operator.

LLM gateway (Planned)

Contract pinned — not yet served. Build against the spec behind a flag or mock; do not point production traffic at it until your operator confirms launch. Until then, LLM dispatch is available to platform products only.

The committed path for model dispatch from your own agents, so you never embed vendor SDKs or keys:

Auth: Forge-issued tenant API key with scope llm:invoke.

Integration notes