검토 케이스 조회
GET/v1/compliance/review/cases/{case_id}
검토 케이스 하나를 읽습니다.
API 키가 접근할 수 없거나 Anthropic이 보내지 않은 케이스는 존재하지 않는 케이스와 동일한 404를 반환합니다.
read:compliance_review_cases 범위를 가진 Admin API 키로 이 엔드포인트를 호출할 수 있습니다.
Parameters
Returns
검토 케이스 조회
package com.anthropic.example;
import com.anthropic.client.AnthropicClient;
import com.anthropic.client.okhttp.AnthropicOkHttpClient;
import com.anthropic.models.beta.compliance.review.cases.BetaComplianceReviewCase;
import com.anthropic.models.beta.compliance.review.cases.CaseRetrieveParams;
public final class Main {
private Main() {}
public static void main(String[] args) {
AnthropicClient client = AnthropicOkHttpClient.fromEnv();
BetaComplianceReviewCase betaComplianceReviewCase = client.beta().compliance().review().cases().retrieve("case_id");
}
}Response 200
{
"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"
}Returns Examples
Response 200
{
"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"
}