Anthropic · Arazzo Workflow

Anthropic Create Workspace and Add a Member

Version 1.0.0

Create a workspace, add a user to it, then confirm the member appears in the roster.

1 workflow 2 source APIs 1 provider
View Spec View on GitHub Artificial IntelligenceClaudeFoundation ModelsLarge Language ModelsMachine-LearningMCPAgentsArazzoWorkflows

Provider

anthropic

Workflows

create-workspace-add-member
Provision a workspace and add a member, then verify the roster.
Creates a workspace, adds a user as a member with the supplied workspace role, and lists the workspace members to confirm the addition.
3 steps inputs: adminApiKey, userId, workspaceName, workspaceRole outputs: memberRole, memberUserId, workspaceId
1
createWorkspace
Create a new workspace within the organization to hold the new member.
2
addMember
Add the specified user to the new workspace with the requested workspace role.
3
verifyMembers
List the workspace members to confirm the newly added user appears in the roster.

Source API Descriptions

Arazzo Workflow Specification

Raw ↑
arazzo: 1.0.1
info:
  title: Anthropic Create Workspace and Add a Member
  summary: Create a workspace, add a user to it, then confirm the member appears in the roster.
  description: >-
    An Admin API provisioning flow. The workflow creates a new workspace within
    the organization, adds a user to that workspace with a given role, and then
    lists the workspace members to confirm the new member is present. Every step
    spells out its request inline — including the inline admin x-api-key and
    anthropic-version headers the spec defines — so the flow can be read and
    executed without opening the underlying OpenAPI description.
  version: 1.0.0
  x-realizes-capability-ids:
  - BC-4230.10
  - BC-4230.50
  x-capability-derivation:
    method: 'deterministic join: sourceDescriptions -> per-tag OpenAPI -> tag/capability edge. No classification at this step.'
    min_confidence: 0.7
    sources:
    - capability_id: BC-4230.10
      capability_name: Tenant Provisioning & Lifecycle
      spec: anthropic-workspaces-api-openapi.yml
      confidence: 0.7
    - capability_id: BC-4230.50
      capability_name: Tenant Identity Federation
      spec: anthropic-workspace-members-api-openapi.yml
      confidence: 0.7
    model: Turbo EA Capabilities by Vincent Verdet — Turbo EA, https://github.com/vincentmakes/turbo-ea-capabilities, CC BY 4.0
sourceDescriptions:
- name: workspaceMembersApi
  url: ../openapi/anthropic-workspace-members-api-openapi.yml
  type: openapi
- name: workspacesApi
  url: ../openapi/anthropic-workspaces-api-openapi.yml
  type: openapi
workflows:
- workflowId: create-workspace-add-member
  summary: Provision a workspace and add a member, then verify the roster.
  description: >-
    Creates a workspace, adds a user as a member with the supplied workspace
    role, and lists the workspace members to confirm the addition.
  inputs:
    type: object
    required:
    - adminApiKey
    - workspaceName
    - userId
    - workspaceRole
    properties:
      adminApiKey:
        type: string
        description: An Anthropic Admin API key (starts with sk-ant-admin...) sent in x-api-key.
      workspaceName:
        type: string
        description: Name for the new workspace (1 to 40 characters).
      userId:
        type: string
        description: The id of the user to add to the new workspace.
      workspaceRole:
        type: string
        description: >-
          Role to grant the member: workspace_user, workspace_developer,
          workspace_admin, or workspace_billing.
  steps:
  - stepId: createWorkspace
    description: >-
      Create a new workspace within the organization to hold the new member.
    operationId: createWorkspace
    parameters:
    - name: x-api-key
      in: header
      value: $inputs.adminApiKey
    - name: anthropic-version
      in: header
      value: "2023-06-01"
    requestBody:
      contentType: application/json
      payload:
        name: $inputs.workspaceName
    successCriteria:
    - condition: $statusCode == 200
    outputs:
      workspaceId: $response.body#/id
      workspaceName: $response.body#/name
  - stepId: addMember
    description: >-
      Add the specified user to the new workspace with the requested workspace
      role.
    operationId: addWorkspaceMember
    parameters:
    - name: x-api-key
      in: header
      value: $inputs.adminApiKey
    - name: anthropic-version
      in: header
      value: "2023-06-01"
    - name: workspace_id
      in: path
      value: $steps.createWorkspace.outputs.workspaceId
    requestBody:
      contentType: application/json
      payload:
        user_id: $inputs.userId
        workspace_role: $inputs.workspaceRole
    successCriteria:
    - condition: $statusCode == 200
    outputs:
      memberUserId: $response.body#/user_id
      memberRole: $response.body#/workspace_role
  - stepId: verifyMembers
    description: >-
      List the workspace members to confirm the newly added user appears in the
      roster.
    operationId: listWorkspaceMembers
    parameters:
    - name: x-api-key
      in: header
      value: $inputs.adminApiKey
    - name: anthropic-version
      in: header
      value: "2023-06-01"
    - name: workspace_id
      in: path
      value: $steps.createWorkspace.outputs.workspaceId
    - name: limit
      in: query
      value: 100
    successCriteria:
    - condition: $statusCode == 200
    outputs:
      firstMemberId: $response.body#/data/0/user_id
      hasMore: $response.body#/has_more
  outputs:
    workspaceId: $steps.createWorkspace.outputs.workspaceId
    memberUserId: $steps.addMember.outputs.memberUserId
    memberRole: $steps.addMember.outputs.memberRole

Work with this as data

Every workflow here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for arazzo workflows

4 MCP tools reach this
  • find_arazzoBrowse and filter every workflow in the catalog.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This workflow
curl "https://apis.io/api/v1/arazzo/anthropic-create-workspace-and-add-member-workflow"
All arazzo workflows
curl "https://apis.io/api/v1/arazzo?limit=25"

Discovery needs no key. Ratings and market analysis are Pro.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.