> ## Documentation Index
> Fetch the complete documentation index at: https://domoinc-bradley-turek-pfilter-operators-reference.mintlify.site/llms.txt
> Use this file to discover all available pages before exploring further.

# Anthropic Admin Connector

## Intro

This article explains how to use Domo's Anthropic Admin Connector to pull organization, usage, cost, and Claude Code analytics data from the Anthropic Admin API into Domo.

***

## Prerequisites

To connect to the Anthropic Admin API and create a DataSet, you need the API Key associated with your Anthropic account. For more information about how to obtain this key, see [Anthropic Admin API Documentation](https://platform.claude.com/docs/en/manage-claude/admin-api).

This article covers the fields and menus specific to the Anthropic Admin Connector user interface. For general information about adding DataSets, setting update schedules, and editing DataSet information, see [Add a DataSet Using a Data Connector](/s/article/360042926274).

## Configure the Connection

This section describes the options in the **Credentials** and **Details** panes on the Anthropic Admin Connector page. The components of the **Scheduling** and **Name & Describe Your DataSet** panes are universal across most connector types and are discussed in [Add a DataSet Using a Data Connector](/s/article/360042926274).

### Enter Your Credentials

The **Credentials** pane contains the field for entering credentials to connect to the Anthropic Admin API. The following table describes what is needed for each field.

| Field   | Description                                               |
| ------- | --------------------------------------------------------- |
| API Key | Enter the API key associated with your Anthropic account. |

After you have entered valid credentials, you can use the same account any time you set up a new Domo-Anthropic connection. You can manage connector accounts in the **Accounts** tab in the Data Center. For more information about this tab, see [Manage User Accounts for Connectors](/s/article/360042926054).

### Configure the Details Pane

This pane contains a primary **Reports** menu, along with various other menus for configuring your report.

| Menu            | Description                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            |   |
| --------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | - |
| Report          | Select the Anthropic report you want to run. The following reports are available: <table class="zebra-striped bordered"><tr><td>Report</td><td>Description</td></tr><tr><td>Organizations</td><td>Gets details for the current organization.</td></tr><tr><td>List Organization Members</td><td>Gets all users in the organization.</td></tr><tr><td>List Organization Invites</td><td>Gets pending and historical organization invites.</td></tr><tr><td>List Organization Workspaces</td><td>Gets all workspaces in the organization.</td></tr><tr><td>List Organization API Keys</td><td>	Gets all API keys in the organization.</td></tr><tr><td>List Organization Workspace Members</td><td>Gets members of the selected workspace.</td></tr><tr><td>List Organization Rate Limits</td><td>Gets Messages API rate limits for the organization. Returns one row per limiter value for each rate-limit group.</td></tr><tr><td>List Organization External Keys</td><td>Gets CMEK configurations for the organization. Includes provider details and lists records from newest to oldest.</td></tr><tr><td>Messages Usage Report</td><td>Gets Messages API token usage by API key, workspace, model, service tier, context window, geography, account, and service account.</td></tr><tr><td>Cost Report</td><td>Gets cost by workspace and description for the selected date range.</td></tr><tr><td>Cost Partition Report</td><td>Loads cost data into monthly partitions (YYYY-MM). The first run backfills data, and subsequent runs refresh recent data.</td></tr><tr><td>Claude Code Usage Report</td><td>Gets daily per-user Claude Code metrics, including sessions, code changes, commits, pull requests, tool usage, token usage, and estimated cost.</td></tr><tr><td>Claude Code Usage Partition Report</td><td>Loads Claude Code usage data into monthly partitions (YYYY-MM). The first run backfills data, and subsequent runs refresh recent data.</td></tr></table> |   |
| Workspace       | Specify the workspace. Required for the **List Organization Workspace Members** report.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                |   |
| Group Type      | Select a group type to filter rate limits. Defaults to Model Group.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    |   |
| Date            | Select the date range to retrieve the data.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            |   |
| Bucket Width    | Select the time granularity for the response data. Only 1 day is supported for Cost Report.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            |   |
| Limit           | Specify the maximum number of time buckets to return. This field is optional. Defaults and limits depend on the bucket width: <br /> **For Messages Usage Report:** **1d** (default 7, max 31), **1h** (default 24, max 168), **1m** (default 60, max 1440). <br /> **For Cost Report:** **1d** (default 7, max 31).                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   |   |
| Backfill Months | Specifies the number of months to load on the first run. Defaults to 24 for the Cost Partition report and 6 for the Claude Code Usage Partition report.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                |   |
| Restate Months  | Specifies the number of recent months to refresh on each subsequent run. Defaults to 6 for the Cost Partition report and 2 for the Claude Code Usage Partition report. The value must be less than or equal to Backfill Months.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        |   |

## Configure Other Options

For information about the remaining sections of the connector interface, including how to configure scheduling, retry, and update options, see [Add a DataSet Using a Data Connector](/s/article/360042926274).
