- Authorization: Bearer token with your API key, or use the
x-api-keyheader. - Body:
{ "messages": [...] }or{ "task": "summarize this doc" }
Response
tier is "group" when a pinned task group matched, "strong" when the complexity score crossed the escalation threshold, else "default". An unconfigured project gets configured: false (never an error), so the call is safe to ship before the dashboard config exists; keep a local fallback model.
See Model Routing for the full integration pattern.