Anthropic Workspaces API
Create and manage workspaces within an organization
Operations 5
Each operation below carries the questions people ask an LLM about it and the instructions they give an agent to run it. Generated by API Evangelist overlay
Ask an LLM
“Which workspaces exist in my organization?”
“Can I include archived workspaces in the list?”
Tell an agent
List workspaces in my organization, archived included {include_archived}.
Show {limit} workspaces per page.
Ask an LLM
“How do I add a new workspace to my organization?”
“What do I need to name a workspace when creating it?”
Tell an agent
Create a workspace called {name}.
Set up a new organization workspace named {name}.
Ask an LLM
“What settings does a particular workspace have?”
“Can I look up one workspace by its ID?”
Tell an agent
Get workspace {workspace_id}.
Show the details of workspace {workspace_id}.
Ask an LLM
“How do I rename a workspace?”
“Can I change a workspace's configuration after it's created?”
Tell an agent
Rename workspace {workspace_id} to {name}.
Update workspace {workspace_id} so its name is {name}.
POST
/organizations/workspaces/{workspace_id}/archive
Archive a workspace and make it read-only · Anthropic Archive Workspace
#
Ask an LLM
“What happens to a workspace when I archive it?”
“Is there a way to freeze a workspace so nothing new can be done in it?”
Tell an agent destructive · confirm first
Archive workspace {workspace_id}.
Make workspace {workspace_id} read-only by archiving it.
Documentation
Documentation
https://docs.anthropic.com/en/api/admin-api/users/get-user
Documentation
https://docs.anthropic.com/en/api/prompt-tools-generate
Documentation
https://docs.anthropic.com/en/api/usage-cost-api
Documentation
https://platform.claude.com/docs/en/managed-agents/overview
Documentation
https://platform.claude.com/docs/en/managed-agents/agent-setup
Documentation
https://platform.claude.com/docs/en/managed-agents/sessions
Documentation
https://platform.claude.com/docs/en/managed-agents/environments