To enable the Compliance API, see the setup guide.
列出組織成員的個人偏好設定
GET/v1/compliance/organizations/{org_uuid}/user_preferences
此端點目前為 beta 版。
列出組織目前成員的個人偏好設定。
傳回每位成員的「給 Claude 的指示」和 Cowork「全域指示」文字。兩者皆為帳戶層級設定:成員所屬的每個組織下都會傳回相同的文字。成員依加入組織的順序列出,最早加入者在前;請使用 limit 和 page 進行分頁。某一頁可能包含少於 limit 筆資料列,甚至完全沒有資料列,但不一定是最後一頁:伺服器會限制每個請求所執行的工作量。請持續依循 next_page,直到其為 null。
Path parameters
Query parameters
Headers
Returns
列出組織成員的個人偏好設定
cURL
curl https://api.anthropic.com/v1/compliance/organizations/$ORG_UUID/user_preferences \
-H 'anthropic-version: 2026-10-21' \
-H "Authorization: Bearer $ANTHROPIC_COMPLIANCE_API_KEY"Response 200
{
"data": [
{
"conversation_preferences": "Always answer in British English.",
"cowork_global_instructions": "Prefer short status updates.",
"user": {
"id": "user_01WxYzAbCdEfGhJkMnPqRsTu",
"email_address": "jane.doe@example.com"
}
}
],
"has_more": true,
"next_page": "cGFnZV90b2tlbl9leGFtcGxlXzE3MzQ1Njc4OTA="
}Returns Examples
Response 200
{
"data": [
{
"conversation_preferences": "Always answer in British English.",
"cowork_global_instructions": "Prefer short status updates.",
"user": {
"id": "user_01WxYzAbCdEfGhJkMnPqRsTu",
"email_address": "jane.doe@example.com"
}
}
],
"has_more": true,
"next_page": "cGFnZV90b2tlbl9leGFtcGxlXzE3MzQ1Njc4OTA="
}