The W&B Training API provides endpoints for managing and interacting with training jobs, including serverless reinforcement learning (RL) and supervised fine-tuning (SFT). The API is OpenAI-compatible for chat completions.
Authentication
All API requests require authentication using your W&B API key. Create an API key at wandb.ai/settings. Include your API key in theAuthorization header:
Base URL
Available Endpoints
chat-completions
- POST /v1/chat/completions - Create Chat Completion
- POST /v1/chat/completions/ - Create Chat Completion
models
- POST /v1/preview/models - Create Model
- DELETE /v1/preview/models/ - Delete Model
- DELETE /v1/preview/models//checkpoints - Delete Model Checkpoints
- GET /v1/preview/models//checkpoints - List Model Checkpoints
- POST /v1/preview/models//log - Log
training-jobs
- POST /v1/preview/sft-training-jobs - Create SFT Training Job
- POST /v1/preview/training-jobs - Create RL Training Job
- GET /v1/preview/training-jobs/ - Get Training Job
- GET /v1/preview/training-jobs//events - Get Training Job Events
health
- GET /v1/health - Health Check
- GET /v1/system-check - System Check