Before you begin
You need a W&B API key, a task with routing applied, and the task’s W&B entity.- Python
- JavaScript
- cURL
wandb.entity only when the task belongs to the API key’s default entity.
Verify the integration
Return to the task overview after sending a request. Confirm that:- the request count increased;
- the expected model served the request;
- the saved input and answer look correct.
metadata["wandb.entity"].
Preserve conversation identity
Use the samewandb.thread_id for every request in one conversation. This keeps a conversation on the same model during a gradual rollout and keeps related examples together when preparing data.
Chat Completions details
Learn about streaming, tools, structured output, provider parameters, and request precedence.