---
canonical_url: "https://docs.composio.dev/toolkits/weights_and_biases"
markdown_url: "https://docs.composio.dev/toolkits/weights_and_biases.md"
product: "platform"
version: null
last_updated: null
---

# Weights & Biases

Read W&B Models projects, runs, sweeps, artifact types, reports, automations, integrations, teams, and organizations through the W&B Cloud GraphQL API.

- **Category:** developer tools
- **Auth:** API_KEY
- **Composio-managed OAuth available?** N/A
- **Tools:** 10
- **Triggers:** 0
- **Slug:** `WEIGHTS_AND_BIASES`
- **Version:** 00000000_00

## Tools

### Get Current Viewer

**Slug:** `WEIGHTS_AND_BIASES_GET_CURRENT_VIEWER`

Return the authenticated W&B user, default entity, and team names for connection context.

#### Output

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `data` | string | Yes | Data from the action execution |
| `error` | string | No | Error if any occurred during the execution of the action |
| `successful` | boolean | Yes | Whether or not the action execution was successful or not |

### Get Organization

**Slug:** `WEIGHTS_AND_BIASES_GET_ORGANIZATION`

Return a W&B organization's identifiers and organization entity by exact name.

#### Input Parameters

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `organization_name` | string | Yes | Exact W&B organization name associated with the connected account. |

#### Output

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `data` | string | Yes | Data from the action execution |
| `error` | string | No | Error if any occurred during the execution of the action |
| `successful` | boolean | Yes | Whether or not the action execution was successful or not |

### Get Team

**Slug:** `WEIGHTS_AND_BIASES_GET_TEAM`

Return a W&B team's identity and bounded membership metadata by exact team entity name.

#### Input Parameters

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `team_name` | string | Yes | Exact W&B team entity name; use GET_CURRENT_VIEWER to discover the default team. |

#### Output

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `data` | string | Yes | Data from the action execution |
| `error` | string | No | Error if any occurred during the execution of the action |
| `successful` | boolean | Yes | Whether or not the action execution was successful or not |

### List Artifact Types

**Slug:** `WEIGHTS_AND_BIASES_LIST_ARTIFACT_TYPES`

Return one page of artifact types defined in a W&B project.

#### Input Parameters

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `cursor` | string | No | Opaque next_cursor from a previous LIST_ARTIFACT_TYPES response. |
| `entity` | string | Yes | W&B username or team that owns the project. |
| `project` | string | Yes | Project name whose artifact types to list. |
| `per_page` | integer | No | Number of artifact types to request in this page; must be at least 1. |

#### Output

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `data` | string | Yes | Data from the action execution |
| `error` | string | No | Error if any occurred during the execution of the action |
| `successful` | boolean | Yes | Whether or not the action execution was successful or not |

### List Automations

**Slug:** `WEIGHTS_AND_BIASES_LIST_AUTOMATIONS`

Return one page of W&B automations accessible under an entity.

#### Input Parameters

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `cursor` | string | No | Opaque next_cursor from a previous LIST_AUTOMATIONS response. |
| `entity` | string | Yes | W&B username or team whose automations to list. |
| `per_page` | integer | No | Number of automations to request in this page; must be at least 1. |

#### Output

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `data` | string | Yes | Data from the action execution |
| `error` | string | No | Error if any occurred during the execution of the action |
| `successful` | boolean | Yes | Whether or not the action execution was successful or not |

### List Integrations

**Slug:** `WEIGHTS_AND_BIASES_LIST_INTEGRATIONS`

List one page of Slack workspace/channel metadata and webhook integration names for a W&B entity. Webhook URLs and credentials are excluded.

#### Input Parameters

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `cursor` | string | No | Opaque next_cursor from a previous LIST_INTEGRATIONS response. |
| `entity` | string | Yes | W&B username or team whose integrations to list. |
| `per_page` | integer | No | Number of integrations to request in this page; must be at least 1. |

#### Output

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `data` | string | Yes | Data from the action execution |
| `error` | string | No | Error if any occurred during the execution of the action |
| `successful` | boolean | Yes | Whether or not the action execution was successful or not |

### List Projects

**Slug:** `WEIGHTS_AND_BIASES_LIST_PROJECTS`

Return one page of W&B projects visible under an entity.

#### Input Parameters

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `cursor` | string | No | Opaque next_cursor from a previous LIST_PROJECTS response. |
| `entity` | string | Yes | W&B username or team that owns the projects; use GET_CURRENT_VIEWER to find the default entity. |
| `per_page` | integer | No | Number of projects to request in this page; must be at least 1. |

#### Output

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `data` | string | Yes | Data from the action execution |
| `error` | string | No | Error if any occurred during the execution of the action |
| `successful` | boolean | Yes | Whether or not the action execution was successful or not |

### List Reports

**Slug:** `WEIGHTS_AND_BIASES_LIST_REPORTS`

Return one page of beta W&B reports for a project.

#### Input Parameters

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `cursor` | string | No | Opaque next_cursor from a previous LIST_REPORTS response. |
| `entity` | string | Yes | W&B username or team that owns the project. |
| `project` | string | Yes | Project name whose reports to list. |
| `per_page` | integer | No | Number of reports to request in this page; must be at least 1. |

#### Output

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `data` | string | Yes | Data from the action execution |
| `error` | string | No | Error if any occurred during the execution of the action |
| `successful` | boolean | Yes | Whether or not the action execution was successful or not |

### List Runs

**Slug:** `WEIGHTS_AND_BIASES_LIST_RUNS`

List one page of runs with IDs, display names, states, and creation times. Does not return run config, metrics, or history.

#### Input Parameters

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `cursor` | string | No | Opaque next_cursor from a previous LIST_RUNS response. |
| `entity` | string | Yes | W&B username or team that owns the project. |
| `project` | string | Yes | Project name whose runs to list. |
| `per_page` | integer | No | Number of runs to request in this page; must be at least 1. |

#### Output

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `data` | string | Yes | Data from the action execution |
| `error` | string | No | Error if any occurred during the execution of the action |
| `successful` | boolean | Yes | Whether or not the action execution was successful or not |

### List Sweeps

**Slug:** `WEIGHTS_AND_BIASES_LIST_SWEEPS`

Return one page of hyperparameter sweeps from a W&B project when sweeps are enabled for the account.

#### Input Parameters

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `cursor` | string | No | Opaque next_cursor from a previous LIST_SWEEPS response. |
| `entity` | string | Yes | W&B username or team that owns the project. |
| `project` | string | Yes | Project name whose sweeps to list. |
| `per_page` | integer | No | Number of sweeps to request in this page; must be at least 1. |

#### Output

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `data` | string | Yes | Data from the action execution |
| `error` | string | No | Error if any occurred during the execution of the action |
| `successful` | boolean | Yes | Whether or not the action execution was successful or not |
