envs

xAI — Grok API

xai/api · version 1

envs add xai/api

This declares the keys below in your catalog and sets none of them. A template is a schema for keys; it never carries a value.

Key Needed Kind Notes
XAI_API_KEY required secret Server-side key for the Grok models. Bills per token.. Shape ^xai-[A-Za-z0-9]{20,}$. where to get it

The JSON the CLI reads