Before you begin
You need a W&B API key, a project with routing applied, and the project’s W&B entity.- Python
- JavaScript
- cURL
wandb.entity only when the project belongs to the API key’s default entity.
Verify the integration
Return to the project 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.