OpenAI
Create or manage an OpenAI Platform API key in your own OpenAI account.
Get API key ↗API
The UPEC compiler is accessed through the authenticated UPEC API. Internal implementation details are not part of the public API contract.
Registration and login use email and password. Successful authentication returns a bearer session token and an organization id. The application proxy stores browser session context in httpOnly cookies and forwards the bearer token server-side.
POST /api/auth/register POST /api/auth/login POST /api/auth/logout GET /api/me
POST /api/premium/compile compiles the problem model and returns classification, strategy, diagnostics, done-state, execution contract, explainability, hashes and the final compiled prompt in one response.
POST /api/premium/compile Authentication required. Use an authenticated UPEC session or an authorized API client. Request validation, permissions and execution controls are enforced server-side.
| field | type | description |
|---|---|---|
| quality_score | number | Deterministic 0–100 quality score |
| readiness | string | Ready | NeedsPermission | Blocked | Unverified |
| done_state | string | Done | Partial | Blocked | Unverified |
| compiled_prompt | string | Rendered target-specific AI specification |
| source_hash | string | Integrity hash for normalized source material |
| prompt_hash | string | Integrity hash for the compiled prompt |
| build_fingerprint | string | Deterministic compilation fingerprint |
| lint_issues[] | object | Structured code, severity and message |
| execution_contract | object | Target/tool/permission execution decision |
Optional external AI
UPEC does not provide or resell OpenAI, Anthropic or Gemini API keys. Create the key in your own provider account, enable provider billing there when required, and then save that credential in UPEC.
Create or manage an OpenAI Platform API key in your own OpenAI account.
Get API key ↗Create or manage a Claude Platform API key in your own Anthropic account.
Get API key ↗Create or manage a Gemini API key in Google AI Studio.
Get API key ↗