SpyBara
Go Premium

resources/safety/subresources/cases/methods/retrieve/index.md 2026-11-18 22:59 UTC to 2026-11-19 22:59 UTC

This page contains 0 additions and 22 deletions.

2026
Thu 19 22:59

For the complete documentation index, see llms.txt. Markdown versions of documentation pages are available by appending .md to the page URL.

Get safety case

get /safety/cases/{id}

Get a safety case by ID.

Path Parameters

  • id: string

    Safety case ID

    maxLength: 128

Returns

  • SafetyCase object { id, created_at, entity_identifier, 3 more }

    • id: string

    • created_at: integer

      format: unixtime

    • entity_identifier: string

    • notice: object { type }

      • type: "warning" or "deactivation"

        • "warning"

        • "deactivation"

    • object: "safety.case" (default: "safety.case")

      • "safety.case"
    • reason: string or null

Example

curl https://api.openai.com/v1/safety/cases/C-abc123 \
  -H "Authorization: Bearer $OPENAI_API_KEY"

Response example

{
  "id": "C-abc123",
  "object": "safety.case",
  "created_at": 1787659200,
  "entity_identifier": "safety-id-123",
  "reason": "cyber_abuse",
  "notice": {"type": "warning"}
}