List Workspaces
Headers
Your unique Admin API key for authentication.
This key is required in the header of all Admin API requests, to authenticate your account and access Anthropic's services. Get your Admin API key through the Console.
The version of the Anthropic API you want to use.
Read more about versioning and our version history here.
Query Parameters
Whether to include Workspaces that have been archived in the response
ID of the object to use as a cursor for pagination. When provided, returns the page of results immediately before this object.
ID of the object to use as a cursor for pagination. When provided, returns the page of results immediately after this object.
Number of items to return per page.
Defaults to 20
. Ranges from 1
to 100
.
Response
Indicates if there are more results in the requested page direction.
First ID in the data
list. Can be used as the before_id
for the previous page.
Last ID in the data
list. Can be used as the after_id
for the next page.