Authentication and API keys
Create and revoke Maple API keys, require a caller key for Maple Work, and configure saved-key or browser access for Maple Research and standalone proxies.
Requests are billed to the account that owns the API key.
Create an API key
Open Settings → API keys in Maple Work, or Settings → API & credits → API Keys in Maple Research. Create a key and copy it: the full key is shown only once. Give each tool its own key so you can revoke it separately. Delete lost or leaked keys here and create replacements; never commit keys to source control.
Which key is used?
Maple Work Local API requires Authorization: Bearer <your-key> on every /v1/ request. It saves no fallback key: signing in to Maple or creating a key does not supply credentials to your other applications. Enter the real key in each application’s API-key field.
Maple Research and standalone proxies support these choices:
Authorization: Bearer <your-key>takes priority. Use a real Maple key; placeholders override the saved key.- With CORS off, a request that omits Authorization can use Research’s saved key or standalone
MAPLE_API_KEY. - With CORS on, every request needs its own key; the saved key is ignored.
/health needs no key in any mode; it checks only the local listener.
Browser clients and CORS
Maple Work Local API blocks browser-origin requests and has no CORS toggle. Use a desktop application, CLI or server client.
In Maple Research or a standalone proxy, enabling CORS permits any website origin. Research rejects browser-origin requests when CORS is off; standalone CORS-off is not access control.
Keep a saved key only within a trusted, private boundary: every caller can spend it. For shared or browser-facing proxies, omit the saved key and require per-request keys.