You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Groq provider: 404 for non-Enterprise keys, and metrics URL doesn't match Groq docs #606
With a standard (non-Enterprise) Groq API key, the Groq card shows Groq metrics API returned status 404 Not Found. codexbar-cli diagnose --provider groq reports the same error with category unknown.
2. Request path looks wrong for Enterprise users too
Groq documents the query endpoint as https://api.groq.com/v1/metrics/prometheus (so /v1/metrics/prometheus/api/v1/query). In rust/src/providers/groq/mod.rs, GROQ_API_BASE is https://api.groq.com/openai/v1 with no trailing slash, and Url::join("metrics/prometheus/api/v1/query") replaces the last segment. The actual request goes to https://api.groq.com/openai/metrics/prometheus/api/v1/query. I can't confirm this with an Enterprise key, but it doesn't match either the docs or the apparent intent. A dedicated base like https://api.groq.com/v1/ (with trailing slash) would fix it.
Activity
Finesssee commentedon Sep 24, 2026
Thanks for the report, I will fix it ASAP.
Query the documented Groq metrics route and explain the 404