You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Update Claude integration documentation to reflect name change and enhance clarity
- Renamed "Claude" to "Claude AI" in both JSON category file and markdown documentation.
- Updated descriptions and titles throughout the documentation to include "AI" for consistency.
- Added new integration entry for Claude AI in the integrations data file.
Copy file name to clipboardExpand all lines: docs/build-your-software-catalog/sync-data-to-catalog/ai-agents/claude/claude.md
+70-28Lines changed: 70 additions & 28 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -4,26 +4,26 @@ import Prerequisites from "/docs/build-your-software-catalog/sync-data-to-catalo
4
4
import AdvancedConfig from '/docs/generalTemplates/_ocean_advanced_configuration_note.md'
5
5
import PortApiRegionTip from "/docs/generalTemplates/_port_region_parameter_explanation_template.md"
6
6
7
-
# Claude
7
+
# Claude AI
8
8
9
-
Port's Claude integration allows you to ingest Claude API usage metrics into your software catalog using the [Ocean Custom Integration](/build-your-software-catalog/custom-integration/ocean-custom-integration/overview) framework.
9
+
Port's Claude AI integration allows you to ingest Claude API usage metrics into your software catalog using the [Ocean Custom Integration](/build-your-software-catalog/custom-integration/ocean-custom-integration/overview) framework. After installing the integration, you can create dashboards to monitor API usage, track costs, analyze model performance, and measure workspace-level metrics using Port's dashboard widgets.
The Claude integration can ingest usage metrics from the Anthropic Admin API into Port:
16
+
The Claude AI integration can ingest usage metrics from the Anthropic Admin API into Port:
17
17
18
-
**Available for all Claude organizations:**
18
+
**Available for all Claude AI organizations:**
19
19
-`claude_usage_record` - Organization-level usage metrics from `/v1/organizations/usage_report/messages` including token consumption (input/output/cache), request counts, and detailed breakdowns by workspace, model, service tier, context window, and API key.
20
20
-`claude_cost_record` - Cost tracking from `/v1/organizations/cost_report` for monitoring organizational spending.
21
21
-`claude_workspace_usage` - Workspace-level usage metrics when grouping by `workspace_id`.
22
22
-`claude_model_usage` - Model-level usage metrics when grouping by `model`.
23
-
-`claude_code_analytics` - Claude Code usage metrics from `/v1/organizations/usage_report/claude_code` including sessions, lines of code edited, commits, and pull requests (requires Claude Code access).
23
+
-`claude_code_analytics` - Claude AI Code usage metrics from `/v1/organizations/usage_report/claude_code` including sessions, lines of code edited, commits, and pull requests (requires Claude AI Code access).
24
24
25
25
:::info User-level metrics
26
-
The Anthropic Admin API does not currently support grouping usage data by user (`user_id`). User-level analytics are not available through these endpoints. If you need user-level insights, consider using Claude Code analytics or other internal telemetry sources.
26
+
The Anthropic Admin API does not currently support grouping usage data by user (`user_id`). User-level analytics are not available through these endpoints. If you need user-level insights, consider using Claude AI Code analytics or other internal telemetry sources.
27
27
:::
28
28
29
29
@@ -147,15 +147,15 @@ Before the integration can sync data, you need to create the required blueprints
147
147
3. Copy and paste each blueprint JSON from the sections below.
148
148
149
149
<details>
150
-
<summary><b>Claude Usage Record Blueprint (Click to expand)</b></summary>
150
+
<summary><b>Claude AI Usage Record Blueprint (Click to expand)</b></summary>
151
151
152
152
Organization-level daily usage metrics:
153
153
154
154
```json showLineNumbers
155
155
{
156
156
"identifier": "claude_usage_record",
157
-
"description": "A daily summary record of Claude API usage for an organization",
158
-
"title": "Claude Usage Record",
157
+
"description": "A daily summary record of Claude AI API usage for an organization",
158
+
"title": "Claude AI Usage Record",
159
159
"icon": "Anthropic",
160
160
"schema": {
161
161
"properties": {
@@ -249,15 +249,15 @@ Before the integration can sync data, you need to create the required blueprints
249
249
</details>
250
250
251
251
<details>
252
-
<summary><b>Claude Cost Record Blueprint (Click to expand)</b></summary>
252
+
<summary><b>Claude AI Cost Record Blueprint (Click to expand)</b></summary>
253
253
254
254
Cost tracking for organizational spending:
255
255
256
256
```json showLineNumbers
257
257
{
258
258
"identifier": "claude_cost_record",
259
259
"description": "Daily cost tracking for Claude API usage",
260
-
"title": "Claude Cost Record",
260
+
"title": "Claude AI Cost Record",
261
261
"icon": "Anthropic",
262
262
"schema": {
263
263
"properties": {
@@ -298,15 +298,15 @@ Before the integration can sync data, you need to create the required blueprints
298
298
</details>
299
299
300
300
<details>
301
-
<summary><b>Claude Workspace Usage Blueprint (Click to expand)</b></summary>
301
+
<summary><b>Claude AI Workspace Usage Blueprint (Click to expand)</b></summary>
302
302
303
303
Workspace-level usage metrics:
304
304
305
305
```json showLineNumbers
306
306
{
307
307
"identifier": "claude_workspace_usage",
308
308
"description": "Usage metrics broken down by workspace",
309
-
"title": "Claude Workspace Usage",
309
+
"title": "Claude AI Workspace Usage",
310
310
"icon": "Anthropic",
311
311
"schema": {
312
312
"properties": {
@@ -394,15 +394,15 @@ Before the integration can sync data, you need to create the required blueprints
394
394
</details>
395
395
396
396
<details>
397
-
<summary><b>Claude Model Usage Blueprint (Click to expand)</b></summary>
397
+
<summary><b>Claude AI Model Usage Blueprint (Click to expand)</b></summary>
398
398
399
399
Model-level usage statistics:
400
400
401
401
```json showLineNumbers
402
402
{
403
403
"identifier": "claude_model_usage",
404
404
"description": "Usage metrics broken down by Claude model type",
405
-
"title": "Claude Model Usage",
405
+
"title": "Claude AI Model Usage",
406
406
"icon": "Anthropic",
407
407
"schema": {
408
408
"properties": {
@@ -495,15 +495,15 @@ Before the integration can sync data, you need to create the required blueprints
495
495
</details>
496
496
497
497
<details>
498
-
<summary><b>Claude Code analytics Blueprint (Click to expand)</b></summary>
498
+
<summary><b>Claude AI Code analytics Blueprint (Click to expand)</b></summary>
499
499
500
500
Claude Code usage metrics for tracking development activity:
501
501
502
502
```json showLineNumbers
503
503
{
504
504
"identifier": "claude_code_analytics",
505
505
"description": "Daily Claude Code usage metrics including sessions, lines of code, commits, and PRs",
506
-
"title": "Claude Code Analytics",
506
+
"title": "Claude AI Code Analytics",
507
507
"icon": "Anthropic",
508
508
"schema": {
509
509
"properties": {
@@ -598,7 +598,7 @@ You can set headers from the Ocean integration UI (Advanced settings → Headers
598
598
599
599
1. Go to your [data sources page](https://app.getport.io/settings/data-sources).
600
600
601
-
2. Find your Claude integration in the list.
601
+
2. Find your Claude AI integration in the list.
602
602
603
603
3. Click on the integration to open the mapping editor.
604
604
@@ -760,7 +760,7 @@ You can set headers from the Ocean integration UI (Advanced settings → Headers
760
760
<details>
761
761
<summary><b>Claude Code analytics mapping (Click to expand)</b></summary>
762
762
763
-
Track Claude Code usage metrics including sessions, lines of code, commits, and pull requests:
763
+
Track Claude AI Code usage metrics including sessions, lines of code, commits, and pull requests:
764
764
765
765
:::info Requires Claude Code access
766
766
This endpoint requires access to Claude Code. You'll receive an error if your organization doesn't have Claude Code enabled.
@@ -839,7 +839,10 @@ You now have a blank dashboard where you can add widgets to visualize your Claud
839
839
840
840
Create the following widgets to gain insights into your Claude API usage:
841
841
842
-
<h3>Total API Requests</h3>
842
+
<h4>Total API Requests</h4>
843
+
844
+
<details>
845
+
<summary><b>Total API Requests (click to expand)</b></summary>
843
846
844
847
1. Click on **`+ Widget`** and select **Number Chart**.
845
848
@@ -859,8 +862,12 @@ Create the following widgets to gain insights into your Claude API usage:
859
862
- **Function**: `Sum`.
860
863
861
864
3. Click **Save**.
865
+
</details>
866
+
867
+
<h4>Total Cost</h4>
862
868
863
-
<h3>Total Cost</h3>
869
+
<details>
870
+
<summary><b>Total Cost (click to expand)</b></summary>
864
871
865
872
1. Click on **`+ Widget`** and select **Number Chart**.
866
873
@@ -881,8 +888,12 @@ Create the following widgets to gain insights into your Claude API usage:
881
888
- **Function**: `Sum`.
882
889
883
890
3. Click **Save**.
891
+
</details>
884
892
885
-
<h3>API Success Rate</h3>
893
+
<h4>API Success Rate</h4>
894
+
895
+
<details>
896
+
<summary><b>API Success Rate (click to expand)</b></summary>
886
897
887
898
1. Click on **`+ Widget`** and select **Number Chart**.
888
899
@@ -901,8 +912,12 @@ Create the following widgets to gain insights into your Claude API usage:
901
912
- **Function**: `Average`.
902
913
903
914
3. Click **Save**.
915
+
</details>
916
+
917
+
<h4>Token Usage Over Time</h4>
904
918
905
-
<h3>Token Usage Over Time</h3>
919
+
<details>
920
+
<summary><b>Token Usage Over Time (click to expand)</b></summary>
906
921
907
922
1. Click on **`+ Widget`** and select **Line Chart**.
908
923
@@ -930,7 +945,12 @@ Create the following widgets to gain insights into your Claude API usage:
930
945
931
946
3. Click **Save**.
932
947
933
-
<h3>Daily Cost Trends</h3>
948
+
</details>
949
+
950
+
<h4>Daily Cost Trends</h4>
951
+
952
+
<details>
953
+
<summary><b>Daily Cost Trends (click to expand)</b></summary>
934
954
935
955
1. Click on **`+ Widget`** and select **Line Chart**.
936
956
@@ -958,7 +978,12 @@ Create the following widgets to gain insights into your Claude API usage:
958
978
959
979
3. Click **Save**.
960
980
961
-
<h3>Model Usage Distribution</h3>
981
+
</details>
982
+
983
+
<h4>Model Usage Distribution</h4>
984
+
985
+
<details>
986
+
<summary><b>Model Usage Distribution (click to expand)</b></summary>
962
987
963
988
1. Click on **`+ Widget`** and select **Pie Chart**.
964
989
@@ -976,7 +1001,12 @@ Create the following widgets to gain insights into your Claude API usage:
976
1001
977
1002
3. Click **Save**.
978
1003
979
-
<h3>Request Success vs Failure Rate</h3>
1004
+
</details>
1005
+
1006
+
<h4>Request Success vs Failure Rate</h4>
1007
+
1008
+
<details>
1009
+
<summary><b>Request Success vs Failure Rate (click to expand)</b></summary>
980
1010
981
1011
1. Click on **`+ Widget`** and select **Line Chart**.
982
1012
@@ -1004,7 +1034,12 @@ Create the following widgets to gain insights into your Claude API usage:
1004
1034
1005
1035
3. Click **Save**.
1006
1036
1007
-
<h3>Claude Code Activity</h3>
1037
+
</details>
1038
+
1039
+
<h4>Claude Code Activity</h4>
1040
+
1041
+
<details>
1042
+
<summary><b>Claude Code Activity (click to expand)</b></summary>
1008
1043
1009
1044
1. Click on **`+ Widget`** and select **Line Chart**.
1010
1045
@@ -1032,7 +1067,12 @@ Create the following widgets to gain insights into your Claude API usage:
1032
1067
1033
1068
3. Click **Save**.
1034
1069
1035
-
<h3>Cache Efficiency</h3>
1070
+
</details>
1071
+
1072
+
<h4>Cache Efficiency</h4>
1073
+
1074
+
<details>
1075
+
<summary><b>Cache Efficiency (click to expand)</b></summary>
1036
1076
1037
1077
1. Click on **`+ Widget`** and select **Line Chart**.
1038
1078
@@ -1060,3 +1100,5 @@ Create the following widgets to gain insights into your Claude API usage:
0 commit comments