Skip to content
All documentation

Start here

API keys and authentication

Keep credentials private and control access to your workspace.

OPENAI BASE URLhttps://www.modelmesh.in/api/v1

Use a ModelMesh key

Customer keys have the cc_ prefix followed by 40 alphanumeric characters. Send Authorization: Bearer <key>. The gateway also accepts x-api-key. Administrator-managed provider credentials are different from customer keys.

Scopes and revocation

Inference endpoints require chat access. Keys can restrict model IDs. Use separate keys for separate integrations and revoke a lost key in the dashboard. Credentials are revalidated on each request.

Handle keys safely

Full keys are shown once and stored as SHA-256 hashes. Keep them on your server, never in browser code or a public repository. Connections fills snippets locally without saving or sending the entered key.