取得審查案件
GET/v1/compliance/review/cases/{case_id}
讀取單一審查案件。
若案件是 API 金鑰無法存取的,或 Anthropic 尚未傳送的,將傳回與不存在之案件相同的 404。
具有 read:compliance_review_cases 範圍的 Admin API 金鑰可呼叫此端點。
Parameters
Returns
取得審查案件
require "anthropic"
anthropic = Anthropic::Client.new(api_key: "my-anthropic-api-key")
beta_compliance_review_case = anthropic.beta.compliance.review.cases.retrieve("case_id")
puts(beta_compliance_review_case)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"
}