Xác thực

Tất cả request cần header Authorization với API key:

Authorization: Bearer tram_sk-...

Tạo API key tại Console → API Keys.

Ví dụ

$curl https://api.tramlabs.io/v1/chat/completions \
> -H "Content-Type: application/json" \
> -H "Authorization: Bearer tram_sk-..." \
> -d '{
> "model": "gemini-3.5-flash",
> "messages": [{"role": "user", "content": "Hello"}]
>}'