arize-admin
Skill72 starsChanged 37 days agoMITView on GitHub
Manages Arize users, organizations, spaces, projects, roles, role bindings, resource restrictions, and API keys via the ax CLI. Use for enterprise admin workflows: inviting and offboarding users, onboarding new teams, creating custom roles for SAML/SSO mappings, assigning roles to users, restricting project-level access, and managing service keys for multi-tenant architectures. Covers ax users, ax organizations, ax spaces, ax projects, ax roles, ax role-bindings, and ax api-keys.
- Reads credentials
1 other project uses a version of this, 1 of them edited.
Adopted by
Most recently taken up by
- JustineDevs/premortemedited, first seen Jun 9, 2026
Other versions1 project uses a version of this.
Word for word · 0
None found.
Edited · 1
- JustineDevs/premortem★ 286% same
Wrote their own version · 0
None found.
How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.
In this repository18 other files it gives its agents.
- AGENTS.mdAGENTS.md
- arize-ai-provider-integrationSkill
- arize-annotationSkill
- arize-compliance-auditSkill
- arize-datasetSkill
- arize-evaluatorSkill
- arize-experimentSkill
- arize-instrumentation-healthSkill
- arize-instrumentationSkill
- arize-linkSkill
- arize-migrate-braintrustSkill
- arize-migrate-langfuseSkill
- arize-migrate-langsmithSkill
- arize-phoenix-migrationSkill
- arize-prompt-optimizationSkill
- arize-promptsSkill
- arize-span-routingSkill
- arize-traceSkill
The file
We split this skill into the rules it gives an agent
10 rules. About 0 are common, 5 are distinctive, and 5 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈5
Distinctive · estimate
This author's own choices. Worth a look.
5
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 28
Create custom roles for SAML/SSO attribute mappings (need stable role IDs)
- Distinctive: line 30
Create scoped service keys for CI/CD pipelines or multi-tenant architectures
- Distinctive: line 32
Create or delete projects within a space
- Very specific: line 39
Run ax organizations get NAME -o json when the org name is known.
- Very specific: line 40
Use AskUserQuestion (single call, up to 4 questions) to gather:
- Distinctive: line 47
Ask before running any commands:
- Very specific: line 66
If the user says "delete" an API key, use ax api-keys revoke to invalidate it.
- Very specific: line 81
If an ax command fails:
- Very specific: line 194
Finding available permissions: Run ax roles get <predefined-role> -o json on a system role (e.g.
- Distinctive: line 312
arize-dataset: Create and manage datasets within a space.
≈ “Common” is an estimate: at least 1 in 5 of the 350,495 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
Arize Admin Skill
Programmatic management of Arize users, organizations, spaces, roles, permissions, and API keys — the building blocks for enterprise access control.
Privilege requirement: Most operations require org-admin or account-admin privileges. If commands return
403 Forbidden, the authenticated profile lacks sufficient permissions.
Destructive-action rule: Commands that delete, revoke, remove, or irreversibly modify resources (
delete,revoke,remove-user,unrestrict) require explicit user confirmation before execution. When a user asks you to perform one of these operations:
- Summarize exactly what will happen (e.g., "This will delete user jane@example.com and cascade-revoke their API keys and remove all their org/space memberships and role bindings.")
- Ask the user to confirm (use
AskUserQuestion).- Only after the user confirms, run the command with
--forceto skip the CLI's interactive prompt.Never run a
--forcedestructive command without confirming with the user first.
When to Use
- Invite users to the account, assign them to orgs and spaces
- Offboard a user and revoke all their access in one command
- Onboard a new team: create a space, create a custom role, assign users, generate a service key
- Create custom roles for SAML/SSO attribute mappings (need stable role IDs)
- Restrict a project so only explicitly bound users can access it
- Create scoped service keys for CI/CD pipelines or multi-tenant architectures
- Rotate or revoke API keys
- Create or delete projects within a space
Upfront Questions
For multi-step workflows, collect all required information before running any ax commands. Use AskUserQuestion to avoid back-and-forth mid-workflow. Fetch live data first (e.g. org list) so you can present real options rather than asking the user to recall IDs.
Onboarding a new team
- Run
ax organizations get NAME -o jsonwhen the org name is known; useax organizations list -o jsonto present org names as options. - Use
AskUserQuestion(single call, up to 4 questions) to gather:- Which org? — present the org names from the list as options
- Space name — what to call the new team's space
- Team members — names and emails to invite (user can type via "Other"; ask if none yet)
- Service key? — whether to generate a service key for CI/CD pipelines
Offboarding a user
Ask before running any commands:
- Which user? — email address (then look up with
ax users get EMAIL -o json)
Restricting a project
Ask before running any commands:
- Which space and project? — to look up the project global ID
- Which users get explicit access? — emails of users to bind to the restricted project
Inviting users (standalone)
Ask before running any commands:
- Name and email — for each user to invite
- Role —
ADMIN,MEMBER, orANNOTATOR(present as options; account-level user creation has noREAD_ONLYrole) - Invite mode —
EMAIL_LINK,TEMPORARY_PASSWORD, orNONE(--invite-modeis required)
Revoking or rotating an API key
Ask before running any commands:
- Which key? — run
ax api-keys list -o jsonand present options by name and status; or ask forKEY_ID - Revoke or rotate? —
revokeinvalidates immediately;refreshissues a new key with the same scope and invalidates the old one immediately unless--grace-period-secondsis passed
If the user says "delete" an API key, use ax api-keys revoke to invalidate it.
Concepts
- Organization — a named grouping within an account (e.g. one per business unit). Spaces live inside organizations. Users are added to the account first, then to orgs, then to spaces.
- Space — a workspace that isolates traces, datasets, and projects. A user must be an org member before they can be added to a space within that org.
- Role — a named set of permissions. Predefined roles are system-managed. Custom roles are created by admins. The roles for org/space membership (
ADMIN,MEMBER,READ_ONLY,ANNOTATOR) are separate from custom RBAC roles used withax role-bindings. - Role binding — fine-grained assignment of a custom role to a user on a specific resource (a space or a project).
- Resource restriction — marks a project so that only users with an explicit role binding on that project can access it. Roles bound at any higher hierarchy level (space, org, account) are excluded.
- API key — either a user key (authenticates as the creator, full user permissions) or a service key (scoped to a specific space, for automated pipelines).
Prerequisites
Proceed directly — run the ax command you need. Do NOT check versions or profiles upfront.
If an ax command fails:
command not foundor version error → see references/ax-setup.md401 Unauthorized/ missing API key → runax profiles show; follow references/ax-profiles.md403 Forbidden→ the active profile lacks admin privileges; see references/ax-profiles.md (never ask the user to paste an admin key into chat)- Security: Never read
.envfiles or search the filesystem for credentials. Exception: the non-secretARIZE_SPACE_IDline (see Space). Useax profilesfor Arize credentials. Never ask the user to paste secrets into chat. Never echo, log, or display raw API key values. For missing credentials, see references/ax-profiles.md.
OAuth login option: Users can authenticate via browser-based OAuth PKCE instead of API keys by running
ax auth login(thenax auth logoutto revoke). The active profile must be an OAuth profile, created withax profiles create --auth-method oauth. Inform users of this option if they ask about authentication alternatives — do not runax auth loginyourself, as it opens a browser interactively.
Users
A user must exist in the account before they can be added to an org or space. Account-level roles: ADMIN, MEMBER, ANNOTATOR
ax users list # all users
ax users list --email "jane" # substring filter
ax users list --status ACTIVE # ACTIVE or INVITED
ax users list -l 100 -o json # paginate, get global IDs
ax users get USER_ID_OR_EMAIL # direct lookup; list is for browsing
ax users create \
--full-name "Jane Doe" \
--email jane@example.com \
--role MEMBER \
--invite-mode EMAIL_LINK # or: NONE | TEMPORARY_PASSWORD
ax users update USER_ID --full-name "Jane Smith"
ax users update USER_ID --is-developer # grant developer flag
ax users delete --id USER_ID --force # ⚠ confirm first — cascades: org/space memberships, API key revocation, role bindings
ax users delete --email jane@example.com --force # or resolve by email instead of ID
ax users resend-invitation USER_ID
ax users reset-password USER_IDOrganizations
Organization roles: ADMIN, MEMBER, READ_ONLY, ANNOTATOR
ax organizations list
ax organizations list --name "platform"
ax organizations list -l 100 -o json
ax organizations get "Platform Team"
ax organizations create --name "Platform Team" --description "Core ML platform"
ax organizations update "Platform Team" --name "ML Platform" --description "Updated"
# Add user (must exist in account first)
ax organizations add-user "Platform Team" --user-id USER_ID --role MEMBER
# Remove user (also removes from all child spaces) — ⚠ confirm first
ax organizations remove-user "Platform Team" --user-id USER_ID --force
# Delete organization: ⚠ irreversible; deletes org and all resources inside (spaces, projects, experiments, datasets)
ax organizations delete "Platform Team" --forceSpaces
Space roles: ADMIN, MEMBER, READ_ONLY, ANNOTATOR
ax spaces list
ax spaces list --organization-id ORG_ID
ax spaces get "my-workspace"
# --organization-id required; get ORG_ID from ax organizations list -o json
ax spaces create --name "team-alpha" --organization-id ORG_ID
ax spaces update "team-alpha" --name "team-alpha-v2"
ax spaces delete "team-alpha" --force # ⚠ confirm first — irreversible; deletes all resources
# User must be an org member before being added to a space
ax spaces add-user "team-alpha" --user-id USER_ID --role MEMBER
ax spaces remove-user "team-alpha" --user-id USER_ID --force # ⚠ confirm firstRoles
Custom RBAC roles used with ax role-bindings. Separate from the simpler ADMIN/MEMBER/READ_ONLY/ANNOTATOR roles in org/space membership.
ax roles list # all roles
ax roles list --is-custom -o json # custom only — get stable IDs for SAML mappings
ax roles list --is-predefined
ax roles get "Data Scientist" # inspect permissions
# --permissions is comma-separated; fully replaces on update
ax roles create \
--name "Data Scientist" \
--permissions "PROJECT_READ,DATASET_CREATE,EXPERIMENT_CREATE" \
--description "Read traces, create datasets and experiments"
ax roles update "Data Scientist" --permissions "PROJECT_READ,DATASET_CREATE,EXPERIMENT_CREATE,EVALUATOR_CREATE"
ax roles delete "Data Scientist" --force # ⚠ confirm first — predefined roles cannot be deletedFinding available permissions: Run ax roles get <predefined-role> -o json on a system role (e.g. Member, Admin) to see valid permission names.
Role Bindings
Fine-grained assignment of a custom role to a user on a specific resource (space or project).
# Assign at space level
ax role-bindings create \
--user-id USER_GLOBAL_ID \
--role-id ROLE_GLOBAL_ID \
--resource-type SPACE \
--resource-id SPACE_GLOBAL_ID
# Assign at project level
ax role-bindings create \
--user-id USER_GLOBAL_ID \
--role-id ROLE_GLOBAL_ID \
--resource-type PROJECT \
--resource-id PROJECT_GLOBAL_ID
ax role-bindings get BINDING_ID
ax role-bindings update BINDING_ID --role-id NEW_ROLE_ID
ax role-bindings delete BINDING_ID --force # ⚠ confirm first
# List bindings for a resource type (--resource-type is required)
ax role-bindings list --resource-type SPACE
ax role-bindings list --resource-type PROJECT --user-id USER_GLOBAL_ID -o jsonIdempotent — if a binding already exists for the user on that resource, exits without error.
Resource Restrictions
Restricts a project, dashboard, or prompt so only users with an explicit role binding on that resource can access it. Space/org-level roles are excluded.
ax resource-restrictions list # all restrictions, paginated
ax resource-restrictions list --resource-type DASHBOARD # filter to one resource type (PROJECT, DASHBOARD, or PROMPT)
ax resource-restrictions list --limit 50 --cursor PAGINATION_CURSOR # fetch next page
ax resource-restrictions restrict --resource-id RESOURCE_GLOBAL_ID # idempotent
ax resource-restrictions unrestrict --resource-id RESOURCE_GLOBAL_ID --force # ⚠ confirm first
# Finding a project ID
ax projects get NAME --space "my-workspace" -o jsonAPI Keys
Scope:
ax api-keys listreturns only keys owned by the authenticated user. For org-wide auditing, use the Arize UI (Settings > API Keys).
ax api-keys list
ax api-keys list --key-type SERVICE --status ACTIVE -o json
# User key — authenticates as creator, inherits their full permissions
ax api-keys create --name "CI pipeline" --expires-at "2027-01-01T00:00:00"
# Service key — bot user scoped to org(s)/space(s) via --assignments JSON
# (recommended for CI/CD pipelines; get ORG_ID from `ax organizations list -o json`)
ax api-keys create-service-key \
--name "team-alpha-traces" \
--assignments '[{"org_id": "ORG_ID", "spaces": [{"space": "team-alpha"}]}]' \
--expires-at "2027-01-01T00:00:00"
ax api-keys revoke KEY_ID --force # ⚠ confirm first — invalidates the key immediately
# Rotation — issues a new key with same scope; old key dies immediately
# unless --grace-period-seconds keeps it valid while clients switch over
ax api-keys refresh KEY_ID --grace-period-seconds 3600
ax api-keys refresh KEY_ID --expires-at "2028-01-01T00:00:00"The raw key is displayed once. Save it immediately in your secrets manager. It cannot be retrieved again.
Scope create-service-key entirely through --assignments; run ax api-keys create-service-key --help for the assignment JSON shape, role defaults, and --account-role. Pass --env-file PATH to write the new key to ARIZE_API_KEY in a dotenv or .envrc file, so the key lands in a file rather than the conversation.
Projects
Projects live inside spaces and contain traces, datasets, and experiments.
ax projects list --space SPACE
ax projects list --space SPACE --name "playground" # substring filter
ax projects list --space SPACE -l 100 -o json # get base64 IDs
ax projects get NAME_OR_ID --space SPACE
ax projects create --name "my-project" --space SPACE
ax projects update NAME_OR_ID --name "new-project-name" --space SPACE
ax projects delete NAME_OR_ID --space SPACE --force # ⚠ confirm first — deletes all traces and datasetsNote: Project IDs (base64 strings) are used by
ax spans export,ax traces export, andax resource-restrictions. If commands reject a project name, take theidfield fromax projects get NAME --space SPACE -o json;ax projects listis for browsing.
Enterprise Workflows & Troubleshooting
Step-by-step workflows (onboard a team, SAML/SSO mappings, project restriction, offboarding, multi-tenant keys) and a troubleshooting table are in references/REFERENCE.md.
Related Skills
- arize-instrumentation: Set up tracing in an LLM app once a space is ready.
- arize-trace: Export and inspect traces within a managed space.
- arize-dataset: Create and manage datasets within a space.
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

