curl "https://api.anthropic.com/v1/organizations/workspaces" \
--header "anthropic-version: 2023-06-01" \
--header "content-type: application/json" \
--header "x-api-key: $ANTHROPIC_ADMIN_KEY"{
"data": [
{
"archived_at": "2024-11-01T23:59:27.427722Z",
"created_at": "2023-11-07T05:31:56Z",
"display_color": "<string>",
"id": "<string>",
"name": "<string>",
"type": "workspace"
}
],
"first_id": "<string>",
"has_more": true,
"last_id": "<string>"
}列出工作區
curl "https://api.anthropic.com/v1/organizations/workspaces" \
--header "anthropic-version: 2023-06-01" \
--header "content-type: application/json" \
--header "x-api-key: $ANTHROPIC_ADMIN_KEY"{
"data": [
{
"archived_at": "2024-11-01T23:59:27.427722Z",
"created_at": "2023-11-07T05:31:56Z",
"display_color": "<string>",
"id": "<string>",
"name": "<string>",
"type": "workspace"
}
],
"first_id": "<string>",
"has_more": true,
"last_id": "<string>"
}Documentation Index
Fetch the complete documentation index at: https://docs.claude.com/llms.txt
Use this file to discover all available pages before exploring further.
Headers
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 1000.
1 <= x <= 1000Response
Successful Response
Show child attributes
Show child attributes
First ID in the data list. Can be used as the before_id for the previous page.
Indicates if there are more results in the requested page direction.
Last ID in the data list. Can be used as the after_id for the next page.
Was this page helpful?