Skip to main content
The W&B Reports and Workspaces API, accessible at wandb_workspaces, allows you to create reports, which can be published on the web to share findings, and well as customize a workspace where training and fine-tuning work was done.

View the source code

W&B Report and Workspace API is in Public Preview.

Installation and setup

Sign up and create an API key

To authenticate your machine with W&B, you must first generate an API key at User Settings.

Install and import packages

Install the W&B Report and Workspaces library.

Create a report

To create a report, specify your team’s entity and provide a name for your report. Replace enclosed text with your values:
Next, add blocks and panels to your report. For example, the following code creates a report with a table of contents, header, and a paragraph:
See the Reports API Quickstart Google Colab for an end to end example.

Create a workspace

The following code shows how to create a workspace with a section containing three panels: a line plot, a bar plot, and a scalar chart. Replace enclosed text with your values:
See the Workspace API Quickstart Google Colab for an end to end example.