SageMaker Studio Usage Reports
Answers questions about SageMaker Unified Studio projects, members and subscriptions from its daily usage tables.
Claude's review
7/10 Precise guide to SageMaker Unified Studio usage tables: namespace rule, snapshot counting trap, error meanings and API fallback.
We asked Claude the question you would ask: would I be glad I installed this? Two separate reviews, the second blind to the first, must both rate a skill 7 or higher before we sell it.
In detail
Runs SQL on the Amazon SageMaker Unified Studio system tables, Apache Iceberg tables in the AWS-managed aws-sagemaker-unified-studio S3 table bucket, with Athena and the Amazon DataZone API as fallback. The usage tables hold daily snapshots of a domain's projects, project profiles, members, environments, blueprints, connections, domain units, notebooks, subscriptions, subscription requests and user profiles. Applies to counts, growth and change over time, who created or changed something, ownership, most subscribed or requested listings, stuck or failed projects, and tracing a failing Glue, Redshift or notebook resource to the project, account and Region that owns it. Not for catalog asset metadata (inventory, descriptions, glossary), Athena or Redshift query history, or the data inside a table. Trigger phrases: SageMaker Unified Studio system tables, SageMaker Unified Studio usage, DataZone domain inventory, how many projects, projects created last month, most subscribed tables, stuck project.
How you use it
- Add it to your pack, then download your pack (1 credit).
- In Claude, open Customize > Skills and upload the zip. Code execution needs to be on under Settings > Capabilities.
- Ask Claude for the job in your own words. It uses the skill when your request matches what it does. Step by step guide
Safety check
Nothing risky found: no hidden instructions, no download and run, no reading of saved passwords or keys.
An automated scan lowers risk but cannot promise zero risk. How we check skills
Preview
The first lines of SKILL.md
---
name: querying-aws-sagemaker-unified-studio-system-tables
description: >-
Runs SQL on the Amazon SageMaker Unified Studio system tables, Apache Iceberg tables in the
AWS-managed aws-sagemaker-unified-studio S3 table bucket, with Athena and the Amazon DataZone
API as fallback. The usage tables hold daily snapshots of a domain's projects,
project profiles, members, environments, blueprints, connections, domain units, notebooks,
subscriptions, subscription requests and user profiles. Applies to counts, growth and change
over time, who created or changed something, ownership, most subscribed or requested listings,
stuck or failed projects, and tracing a failing Glue, Redshift or notebook resource to the
project, account and Region that owns it. Not for catalog asset metadata (inventory,
descriptions, glossary), Athena or Redshift query history, or the data inside a table.
Trigger phrases: SageMaker Unified Studio system tables, SageMaker Unified Studio usage,
DataZone domain inventory, how many projects, projects created last month, most subscribed
tables, stuck project.
metadata:
version: "1"
argument-hint: "[query|domain-id|'status']"
---
# Query Amazon SageMaker Unified Studio System Tables
## Overview
**Works best with** the [AWS MCP server](https://docs.aws.amazon.com/aws-mcp/) for sandboxed execution and audit logging. All commands below use the AWS CLI and work in any environment with configured AWS credentials. Use IAM roles or temporary credentials; avoid long-lived access keys.
Amazon SageMaker Unified Studio publishes system tables: read-only Apache Iceberg tables in the AWS-managed S3 table bucket `aws-sagemaker-unified-studio`, in the account and Region that hold the domain's usage export. The bucket holds the usage tables, a daily inventory of each domain. One namespace holds one domain:
```sql
"s3tablescatalog/aws-sagemaker-unified-studio"."<namespace>"."domain_entity"
"s3tablescatalog/aws-sagemaker-unified-studio"."<namespace>"."user_profile"
```
- `<namespace>` is the domain id lowercased with `-` replaced by `_`: domain `dzd-ab12cd34ef56gh` lives in namespace `dzd_ab12cd34ef56gh`.
- `domain_entity` holds every entity category in one table, told apart by `category_enum`. `user_profile` holds one row per user profile.
- Each daily snapshot appends a full copy of the inventory, stamped with one `snapshot_time`. Rows are kept 365 days. The latest snapshot is the current state; all snapshots together are the history.
The tables are preferred over the DataZone list APIs because the APIs return current state only, page per project, and need one call per listing or approver project to count subscriptions. The tables answer the same question with one `GROUP BY`, and they also answer history questions (what changed, when, by whom, what was deleted) that the APIs cannot.
This skill is read-only. It does not turn the usage export on or off and does not change any DataZone resource.
...From aws's repository, Apache-2.0 licence.
Related skills
-
Checked
dbt platform migration
Moves a dbt project from one warehouse to another and fixes SQL dialect gaps, so your models build again.
7/101 credit -
Checked
CSV and Excel merging
Merges, stacks and dedupes CSV and Excel files into one clean table, then checks the row counts add up.
7/101 credit -
Checked
BigQuery migration checks
Validates that tables moved to BigQuery match their source on schema, aggregates and rows, so nothing is lost.
7/101 credit -
Checked
dbt Mesh contracts
Checks whether a dbt model change breaks consumers and versions it, so downstream dashboards keep working.
7/101 credit -
Checked
SQL and dbt Analytics
Writes analytical SQL and dbt models tested for grain and join errors, so the numbers come out right.
7/101 credit -
Checked
D3 Animated Data Charts
Turns sourced data into honest, accessible animated D3 charts that render reliably frame by frame for video.
7/101 credit