---
title: "Read the analytics metric catalog and provider support"
description: "PubNio API analytics.capabilities.get: read the analytics metric catalog and provider support. Request fields, examples in five clients, errors, and idempotency."
---

> Documentation Index
> Fetch the complete documentation index at: https://pubnio.com/docs/llms.txt
> Use this file to discover all available pages before exploring further.

# Read the analytics metric catalog and provider support

Read the analytics metric catalog and provider support with [`GET /api/v1/workspaces/{workspaceId}/analytics/capabilities`](https://pubnio.com/api/v1/docs#tag/analytics/GET/api/v1/workspaces/{workspaceId}/analytics/capabilities). Requires an API key with the `read` scope or a signed-in workspace member.

## Request

Lists every canonical metric and supported provider without a provider call, plus each account's scope and access state.

| Parameter     | In   | Type | Required |
| ------------- | ---- | ---- | -------- |
| `workspaceId` | path | UUID | Yes      |

## Response

- HTTP 200: `AnalyticsCapabilities` with `metrics`, `providers`, `accounts`, `checkedAt`.

The [OpenAPI document](https://pubnio.com/api/v1/openapi) has each field's type.

## Examples

### TypeScript

```ts
const catalog = await workspace.analytics.capabilities();
```

### Python

```python
catalog = workspace.analytics.get_capabilities()
```

### cURL

```sh
curl "https://pubnio.com/api/v1/workspaces/$WORKSPACE_ID/analytics/capabilities" \
  -H "Authorization: Bearer $PUBNIO_API_KEY"
```

### CLI

```sh
pnio analytics capabilities get
```

### MCP execute

```js
async () => {
  const response = await codemode.request({
    method: "GET",
    path: `/api/v1/workspaces/${codemode.workspaceId}/analytics/capabilities`,
  });
  return response.data;
};
```

## Errors

It declares no problem of its own.

It declares the problems [every Analytics operation](https://pubnio.com/docs/reference/#analytics) and [most operations](https://pubnio.com/docs/reference/#shared-problems) declare.

## Idempotency

None needed: a read is safe to retry.

## Limits

- Field lengths and ranges are in the [OpenAPI document](https://pubnio.com/api/v1/openapi).

## Related

- [Analytics operations](https://pubnio.com/docs/reference/#analytics)

Source: https://pubnio.com/docs/reference/analytics-capabilities-get/index.mdx
