camelAI Documentation

API Reference

Authentication

Every Camel Stream endpoint accepts the same API key in either header style

Every endpoint requires a live Camel Stream API key. Both header styles accept keys beginning with qaml_live_.

Bearer token

OpenAI clients normally send Authorization: Bearer $CAMEL_API_KEY.

API key header

Anthropic clients normally send x-api-key: $CAMEL_API_KEY.

Never expose a key in browser code, commit it to a repository, or include it in a public log. Revoked keys stop working immediately.

Programmatic key provisioning

Management API keys begin with qaml_mgmt_ and are separate from inference keys. They can create and revoke qaml_live_ keys but cannot run inference. See the Management API guide to provision keys from your backend.