Developer Docs

Docs should convert confusion into trust, then trust into usage.

The documentation layer here is not a generic knowledge dump. It is part of the sales and activation path: pricing, compatibility, quick-start, client setup, and troubleshooting all need to feel immediate and credible.

Documentation structure

Built for activation, not vanity.

Copy

Show the endpoint

Put Base URL and key usage above long explanation.

Choose

Pick a client

Route users into Codex, Claude Code, Cursor, Cline, or SDK setup.

Run

First request

Give one copyable command and one safe first task.

Fix

Troubleshoot fast

Name common Base URL, model, and quota mistakes early.

Quick Start

From registration and first key to the first successful request in the shortest possible route.

Open section

AI Agent Starter

For beginners: choose a coding agent, install it, connect OpenMagic, and run the first useful task.

Open section

Client Setup

Claude Code, Codex, Cursor, Cline, and SDK setup notes with the right base URL shape.

Open section

Billing And Limits

How top-up, monthly plans, rewards, and fair-use rules fit together.

Open section

Activation principles

Documentation should answer the exact questions that block the first successful call.

Show the exact base URL shape

Do not bury the one value users need under paragraphs. Put the right endpoint shape at the top of each relevant page.

Name client exceptions early

Claude-style routes, Codex config files, and tool-specific edge cases should be explicit so support volume stays manageable.

Connect docs to billing

Users need to know whether they are on balance, plan quota, or a support-assisted arrangement before heavy usage begins.

Keep build docs separate

Public docs should feel clean. Internal implementation notes stay under /DOCS/ where they help construction instead of confusing customers.


Warning: session_name(): Cannot change session name when headers already sent in /www/wwwroot/api.openmagic.ai/lib/UserSession.php on line 13

Warning: session_start(): Cannot start session when headers already sent in /www/wwwroot/api.openmagic.ai/lib/UserSession.php on line 14
Agent setup Start now