Claude Platform Docs

To enable the Compliance API, see the setup guide.

Set up the Compliance API

Listar preferencias personales de los miembros de la organización

GET/v1/compliance/organizations/{org_uuid}/user_preferences

Este endpoint está en beta.

Lista las preferencias personales de los miembros actuales de una organización.

Devuelve el texto de "Instrucciones para Claude" y de "Instrucciones globales" de Cowork de cada miembro. Ambas son configuraciones a nivel de cuenta: se devuelve el mismo texto en cada organización a la que pertenece el miembro. Los miembros se listan en el orden en que se unieron a la organización, del más antiguo al más reciente; usa limit y page para paginar. Una página puede contener menos de limit filas, o ninguna, sin ser la última página: el servidor limita el trabajo que realiza por solicitud. Sigue next_page hasta que sea null.

Path parameters
org_uuid: string

The organization's UUID

Query parameters
include_unset: optional boolean

When true, list every current member, with null for each value they have not set. By default only members with at least one value set are listed.

defaultfalse
limit: optional number

Maximum results (default: 20, max: 100)

default20
minimum1
maximum100
page: optional string

Opaque pagination token from a previous response's next_page field. Pass this to retrieve the next page of results. Clients should treat this value as an opaque string and not attempt to parse or interpret its contents, as the format may change without notice.

user_ids: optional array of string

Restrict the list to these users (max 10 per request). An entry that does not name a current member of the organization matches nothing. Omit to list every eligible member. Enumerate IDs via GET /v1/compliance/organizations/{org_uuid}/users.

maxItems10
Headers
"anthropic-version": string

The version of the Claude API to use. Send an available version on every request. A request that sends any other value, including an empty one, returns a 400 error. This endpoint treats a request that omits this header as version 2023-06-01; some other Compliance API endpoints return a 400 error instead.

See API versions for the available versions.

"x-api-key": optional string
Returns
data: array of object{ conversation_preferences, cowork_global_instructions, user }

Current organization members in the order they joined the organization, oldest first. By default only members with at least one value set are listed; with include_unset=true every member is.

conversation_preferences: string or null

The member's "Instructions for Claude" text from their personal settings, with leading and trailing whitespace removed. null when the member has never set it or has cleared it.

cowork_global_instructions: string or null

The member's "Global instructions" text for Cowork, Claude's desktop agent, with leading and trailing whitespace removed. null when the member has never set it or has cleared it.

user: object{ id, email_address }

The organization member.

id: string

User identifier

email_address: string

User's current email address

has_more: boolean

Whether there is a further page to request. A page can hold fewer records than limit, or none, and still have more: the server bounds the work it does per request.

next_page: string or null

Token to retrieve the next page. Use this as the 'page' parameter in your next request; null on the last page.

Listar preferencias personales de los miembros de la organización
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"
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="
}