---
title: List Review Cases
url: https://platform.claude.com/docs/en/api/go/beta/compliance/review/cases/list
---

# List Review Cases

`client.Beta.Compliance.Review.Cases.List(ctx, params) (*PageCursor[BetaComplianceReviewCase], error)`

**GET** `/v1/compliance/review/cases`

List the review cases of every organization that the API key can reach, newest first by default. Both open and closed cases are returned unless `status` is set.

To sync, store the largest `updated_at` you have read, and send it as the at-or-after filter on `updated_at`, sorted by `updated_at` ascending. That finds new cases, newly closed cases, and cases with a new notice. Read every page, match results by `id`, and store the new largest value after the last page.

A request with the `anthropic-user-profile-id` header and no `user_profile_id` parameter returns a 400 error.

An Admin API key with the `read:compliance_review_cases` scope can call this endpoint.

## Parameters

- `params BetaComplianceReviewCaseListParams`

  - `CreatedAtGt param.Opt[Time] Optional` (query parameter)

    Return only cases whose `created_at` is after this time.

    format: date-time

  - `CreatedAtGte param.Opt[Time] Optional` (query parameter)

    Return only cases whose `created_at` is at or after this time.

    format: date-time

  - `CreatedAtLt param.Opt[Time] Optional` (query parameter)

    Return only cases whose `created_at` is before this time.

    format: date-time

  - `CreatedAtLte param.Opt[Time] Optional` (query parameter)

    Return only cases whose `created_at` is at or before this time.

    format: date-time

  - `Limit param.Opt[int64] Optional` (query parameter)

    Number of cases to return per page, between 1 and 100. Defaults to 20.

    format: int32

  - `Order BetaComplianceReviewOrder Optional` (query parameter)

    Sort direction, by `order_by` and then by `id`. Defaults to `desc`.

  - `OrderBy BetaComplianceReviewCaseOrderBy Optional` (query parameter)

    The field to sort by. Defaults to `created_at`.

  - `Page param.Opt[string] Optional` (query parameter)

    Opaque cursor from a previous response's `next_page`. Leave it out to get the first page. A cursor works only with the filters and sort order of the request that returned it.

  - `Status BetaComplianceReviewCaseStatusFilter Optional` (query parameter)

    Return only cases with this status. Leave it out to get both open and closed cases.

  - `UpdatedAtGt param.Opt[Time] Optional` (query parameter)

    Return only cases whose `updated_at` is after this time.

    format: date-time

  - `UpdatedAtGte param.Opt[Time] Optional` (query parameter)

    Return cases whose `updated_at` is at or after this time. Cases slightly older than this time are also returned, so that a sync misses no change.

    format: date-time

  - `UpdatedAtLt param.Opt[Time] Optional` (query parameter)

    Return only cases whose `updated_at` is before this time.

    format: date-time

  - `UpdatedAtLte param.Opt[Time] Optional` (query parameter)

    Return only cases whose `updated_at` is at or before this time.

    format: date-time

  - `UserProfileID param.Opt[string] Optional` (query parameter)

    Return only cases where a message's `user_profile_id` is this ID, including cases that also have messages of other user profiles. A case stops matching once its messages' `user_profile_id` is null. An ID that matches no reachable case returns no cases. A request that sends the `anthropic-user-profile-id` header without this parameter returns a 400 error.

  - `Betas []AnthropicBeta Optional` (header parameter)

    Optional header to specify the beta version(s) you want to use.

    - `const AnthropicBetaComputerUse2024_10_22 AnthropicBeta = "computer-use-2024-10-22"`

    - `const AnthropicBetaComputerUse2025_01_24 AnthropicBeta = "computer-use-2025-01-24"`

    - `const AnthropicBetaOutput128k2025_02_19 AnthropicBeta = "output-128k-2025-02-19"`

    - `const AnthropicBetaMCPClient2025_04_04 AnthropicBeta = "mcp-client-2025-04-04"`

    - `const AnthropicBetaMCPClient2025_11_20 AnthropicBeta = "mcp-client-2025-11-20"`

    - `const AnthropicBetaDevFullThinking2025_05_14 AnthropicBeta = "dev-full-thinking-2025-05-14"`

    - `const AnthropicBetaInterleavedThinking2025_05_14 AnthropicBeta = "interleaved-thinking-2025-05-14"`

    - `const AnthropicBetaCodeExecution2025_05_22 AnthropicBeta = "code-execution-2025-05-22"`

    - `const AnthropicBetaContext1m2025_08_07 AnthropicBeta = "context-1m-2025-08-07"`

    - `const AnthropicBetaContextManagement2025_06_27 AnthropicBeta = "context-management-2025-06-27"`

    - `const AnthropicBetaModelContextWindowExceeded2025_08_26 AnthropicBeta = "model-context-window-exceeded-2025-08-26"`

    - `const AnthropicBetaFastMode2026_02_01 AnthropicBeta = "fast-mode-2026-02-01"`

    - `const AnthropicBetaOutput300k2026_03_24 AnthropicBeta = "output-300k-2026-03-24"`

    - `const AnthropicBetaUserProfiles2026_03_24 AnthropicBeta = "user-profiles-2026-03-24"`

    - `const AnthropicBetaUserProfiles2026_08_18 AnthropicBeta = "user-profiles-2026-08-18"`

    - `const AnthropicBetaUserProfiles2026_09_04 AnthropicBeta = "user-profiles-2026-09-04"`

    - `const AnthropicBetaAdvisorTool2026_03_01 AnthropicBeta = "advisor-tool-2026-03-01"`

    - `const AnthropicBetaManagedAgents2026_04_01 AnthropicBeta = "managed-agents-2026-04-01"`

    - `const AnthropicBetaDreaming2026_04_21 AnthropicBeta = "dreaming-2026-04-21"`

    - `const AnthropicBetaThinkingTokenCount2026_05_13 AnthropicBeta = "thinking-token-count-2026-05-13"`

    - `const AnthropicBetaServerSideFallback2026_06_01 AnthropicBeta = "server-side-fallback-2026-06-01"`

    - `const AnthropicBetaServerSideFallback2026_07_01 AnthropicBeta = "server-side-fallback-2026-07-01"`

    - `const AnthropicBetaFallbackCredit2026_06_01 AnthropicBeta = "fallback-credit-2026-06-01"`

    - `const AnthropicBetaFallbackCredit2026_07_01 AnthropicBeta = "fallback-credit-2026-07-01"`

    - `const AnthropicBetaAgentMemory2026_07_22 AnthropicBeta = "agent-memory-2026-07-22"`

    - `const AnthropicBetaMidConversationToolChanges2026_07_01 AnthropicBeta = "mid-conversation-tool-changes-2026-07-01"`

    - `const AnthropicBetaCompact2026_01_12 AnthropicBeta = "compact-2026-01-12"`

    - `const AnthropicBetaComputerUse2025_11_24 AnthropicBeta = "computer-use-2025-11-24"`

    - `const AnthropicBetaMCPTunnels2026_06_22 AnthropicBeta = "mcp-tunnels-2026-06-22"`

    - `const AnthropicBetaStructuredOutputs2025_11_13 AnthropicBeta = "structured-outputs-2025-11-13"`

    - `const AnthropicBetaTaskBudgets2026_03_13 AnthropicBeta = "task-budgets-2026-03-13"`

    - `const AnthropicBetaThinkingDisplayUpdates2026_08_18 AnthropicBeta = "thinking-display-updates-2026-08-18"`

    - `const AnthropicBetaMidConversationOutputConfig2026_07_01 AnthropicBeta = "mid-conversation-output-config-2026-07-01"`

    - `const AnthropicBetaThinkingBindingControls2026_08_01 AnthropicBeta = "thinking-binding-controls-2026-08-01"`

    - `const AnthropicBetaMidConversationSystemClearAt2026_08_21 AnthropicBeta = "mid-conversation-system-clear-at-2026-08-21"`

    - `const AnthropicBetaCompact2026_09_04 AnthropicBeta = "compact-2026-09-04"`

    - `const AnthropicBetaInlineTools2026_09_15 AnthropicBeta = "inline-tools-2026-09-15"`

    - `const AnthropicBetaMCPClient2026_09_15 AnthropicBeta = "mcp-client-2026-09-15"`

    - `const AnthropicBetaCEPlugins2026_09_01 AnthropicBeta = "ce-plugins-2026-09-01"`

    - `const AnthropicBetaSpendLimitReads2026_09_26 AnthropicBeta = "spend-limit-reads-2026-09-26"`

    - `const AnthropicBetaTelemetryDestinations2026_08_11 AnthropicBeta = "telemetry-destinations-2026-08-11"`

    - `const AnthropicBetaWebhooks2026_10_07 AnthropicBeta = "webhooks-2026-10-07"`

    - `const AnthropicBetaAdminUserSignOut2026_10_08 AnthropicBeta = "admin-user-sign-out-2026-10-08"`

    - `const AnthropicBetaMessageThreads2026_08_12 AnthropicBeta = "message-threads-2026-08-12"`

    - `const AnthropicBetaAnalyticsUsageCost2026_08_24 AnthropicBeta = "analytics-usage-cost-2026-08-24"`

    - `const AnthropicBetaExperimentalClaudeTag2026_10_21 AnthropicBeta = "experimental-claude-tag-2026-10-21"`

    - `const AnthropicBetaCEClaudeCodeManagedSettings2026_10_06 AnthropicBeta = "ce-claude-code-managed-settings-2026-10-06"`

    - `const AnthropicBetaEfs2026_10_01 AnthropicBeta = "efs-2026-10-01"`

    - `const AnthropicBetaGoogleManagedDataControls2026_09_01 AnthropicBeta = "google-managed-data-controls-2026-09-01"`

    - `const AnthropicBetaUserProfilesBilling2026_10_01 AnthropicBeta = "user-profiles-billing-2026-10-01"`

    - `const AnthropicBetaMessageBatches2024_09_24 AnthropicBeta = "message-batches-2024-09-24"`

      **Deprecated**: This value is no longer needed. Remove it from your requests.

    - `const AnthropicBetaPromptCaching2024_07_31 AnthropicBeta = "prompt-caching-2024-07-31"`

      **Deprecated**: This value is no longer needed. Remove it from your requests.

    - `const AnthropicBetaPDFs2024_09_25 AnthropicBeta = "pdfs-2024-09-25"`

      **Deprecated**: This value is no longer needed. Remove it from your requests.

    - `const AnthropicBetaTokenCounting2024_11_01 AnthropicBeta = "token-counting-2024-11-01"`

      **Deprecated**: This value is no longer needed. Remove it from your requests.

    - `const AnthropicBetaTokenEfficientTools2025_02_19 AnthropicBeta = "token-efficient-tools-2025-02-19"`

      **Deprecated**: This value is no longer needed. Remove it from your requests.

    - `const AnthropicBetaFilesAPI2025_04_14 AnthropicBeta = "files-api-2025-04-14"`

      **Deprecated**: Sending this value selects the beta response shapes. Removing it moves you to the current shapes, so follow the migration steps: https://platform.claude.com/docs/en/build-with-claude/files#migrate-from-files-api-2025-04-14

    - `const AnthropicBetaExtendedCacheTTL2025_04_11 AnthropicBeta = "extended-cache-ttl-2025-04-11"`

      **Deprecated**: This value is no longer needed. Remove it from your requests.

    - `const AnthropicBetaSkills2025_10_02 AnthropicBeta = "skills-2025-10-02"`

      **Deprecated**: Sending this value selects the beta response shapes. Removing it moves you to the current shapes, so follow the migration steps: https://platform.claude.com/docs/en/build-with-claude/skills-guide#migrate-from-skills-2025-10-02

    - `const AnthropicBetaCacheDiagnosis2026_04_07 AnthropicBeta = "cache-diagnosis-2026-04-07"`

      **Deprecated**: This value is no longer needed. Remove it from your requests.

    - `const AnthropicBetaCEUserManagement2026_07_13 AnthropicBeta = "ce-user-management-2026-07-13"`

      **Deprecated**: This value is no longer needed. Remove it from your requests.

## Returns

- `type BetaComplianceReviewCase`

  A record of an organization's messages that Anthropic flagged and sent to the organization to review. It lists the messages by ID and doesn't include their content.

  - `Type ComplianceReviewCase`

    The object type, always `compliance_review_case`.

  - `ID string`

    The unique ID of the case (`rvc_...`).

  - `CreatedAt Time`

    When Anthropic sent the case. The time you have to respond starts here.

    format: date-time

  - `EnforcementAction BetaComplianceReviewEnforcementAction`

    The action that Anthropic took before it sent the case. Null when it took none.

    - `Type string`

      The kind of action. New values can appear, so accept a value that you don't know.

  - `OrganizationID string`

    The UUID of the organization that sent the flagged messages, which the case belongs to.

  - `PolicyCategories []BetaComplianceReviewPolicyCategory`

    Anthropic's labels for why the messages were flagged, such as `cyber` or `fraud`. There is at least one. New values can appear, so accept a value that you don't know.

    - `const BetaComplianceReviewPolicyCategoryCyber BetaComplianceReviewPolicyCategory = "cyber"`

    - `const BetaComplianceReviewPolicyCategoryBio BetaComplianceReviewPolicyCategory = "bio"`

    - `const BetaComplianceReviewPolicyCategoryChem BetaComplianceReviewPolicyCategory = "chem"`

    - `const BetaComplianceReviewPolicyCategoryRadnuc BetaComplianceReviewPolicyCategory = "radnuc"`

    - `const BetaComplianceReviewPolicyCategoryCgw BetaComplianceReviewPolicyCategory = "cgw"`

    - `const BetaComplianceReviewPolicyCategoryMgw BetaComplianceReviewPolicyCategory = "mgw"`

    - `const BetaComplianceReviewPolicyCategoryIo BetaComplianceReviewPolicyCategory = "io"`

    - `const BetaComplianceReviewPolicyCategoryFraud BetaComplianceReviewPolicyCategory = "fraud"`

    - `const BetaComplianceReviewPolicyCategoryViolentExtremism BetaComplianceReviewPolicyCategory = "violent_extremism"`

    - `const BetaComplianceReviewPolicyCategorySurveillance BetaComplianceReviewPolicyCategory = "surveillance"`

    - `const BetaComplianceReviewPolicyCategoryHumanExploitation BetaComplianceReviewPolicyCategory = "human_exploitation"`

    - `const BetaComplianceReviewPolicyCategorySelfHarm BetaComplianceReviewPolicyCategory = "self_harm"`

    - `const BetaComplianceReviewPolicyCategoryAdultContent BetaComplianceReviewPolicyCategory = "adult_content"`

    - `const BetaComplianceReviewPolicyCategoryReasoningExtraction BetaComplianceReviewPolicyCategory = "reasoning_extraction"`

    - `const BetaComplianceReviewPolicyCategoryFrontierLLM BetaComplianceReviewPolicyCategory = "frontier_llm"`

    - `const BetaComplianceReviewPolicyCategoryCompromisedKey BetaComplianceReviewPolicyCategory = "compromised_key"`

    - `const BetaComplianceReviewPolicyCategoryBenign BetaComplianceReviewPolicyCategory = "benign"`

    - `const BetaComplianceReviewPolicyCategoryOther BetaComplianceReviewPolicyCategory = "other"`

    - `const BetaComplianceReviewPolicyCategoryUndetermined BetaComplianceReviewPolicyCategory = "undetermined"`

  - `Status BetaComplianceReviewCaseStatusUnion`

    Whether Anthropic is still waiting for a response.

    - `type BetaComplianceReviewCaseOpen`

      Anthropic is waiting for a response to the case.

      - `Type Open`

    - `type BetaComplianceReviewCaseClosed`

      Anthropic has stopped waiting for a response. A closed case stays closed.

      - `Type Closed`

      - `Reason BetaComplianceReviewCaseCloseReason`

        Why the case closed. It doesn't change afterwards.

        - `Type BetaComplianceReviewCaseCloseReasonType`

          `responded` means that Anthropic recorded a response. `window_ended` means that the time to respond ended with no response. `ended_by_anthropic` means that Anthropic ended the case before that time was over. New values can appear, so accept a value that you don't know.

          - `const BetaComplianceReviewCaseCloseReasonTypeResponded BetaComplianceReviewCaseCloseReasonType = "responded"`

          - `const BetaComplianceReviewCaseCloseReasonTypeWindowEnded BetaComplianceReviewCaseCloseReasonType = "window_ended"`

          - `const BetaComplianceReviewCaseCloseReasonTypeEndedByAnthropic BetaComplianceReviewCaseCloseReasonType = "ended_by_anthropic"`

  - `Transcripts []BetaComplianceReviewTranscript`

    The flagged messages. There is at least one, and the list isn't paginated.

    - `ItemID string`

      The ID of the flagged message.

    - `UserProfileID string`

      The ID of the user profile that the message belongs to. Null when the message belongs to none, or when the profile can no longer be looked up.

  - `UpdatedAt Time`

    When the case last changed. It changes when Anthropic sends the case, when the case closes, and when Anthropic sends a notice about the case.

    format: date-time

  - `WorkspaceID string`

    The ID of the workspace that sent the flagged messages (`wrkspc_...`). Null when the messages have no workspace, and it can be null for the default workspace.

## Example

```go
package main

import (
	"context"
	"fmt"

	"github.com/anthropics/anthropic-sdk-go/v2"
	"github.com/anthropics/anthropic-sdk-go/v2/option"
)

func main() {
	client := anthropic.NewClient(
		option.WithAPIKey("my-anthropic-api-key"),
	)
	page, err := client.Beta.Compliance.Review.Cases.List(context.TODO(), anthropic.BetaComplianceReviewCaseListParams{})
	if err != nil {
		panic(err.Error())
	}
	fmt.Printf("%+v\n", page)
}
```

### Response (200)

```json
{
  "data": [
    {
      "id": "id",
      "created_at": "2019-12-27T18:11:19.117Z",
      "enforcement_action": {
        "type": "type"
      },
      "organization_id": "organization_id",
      "policy_categories": [
        "cyber"
      ],
      "status": {
        "type": "open"
      },
      "transcripts": [
        {
          "item_id": "item_id",
          "user_profile_id": "user_profile_id"
        }
      ],
      "type": "compliance_review_case",
      "updated_at": "2019-12-27T18:11:19.117Z",
      "workspace_id": "workspace_id"
    }
  ],
  "next_page": "next_page"
}
```
