Skip to main content

Documentation Index

Fetch the complete documentation index at: https://adcp-docs-ja.pier1.co.jp/llms.txt

Use this file to discover all available pages before exploring further.

update_content_standards

既存のコンテンツスタンダード設定を更新し、新しいバージョンを作成します。 レスポンスタイム: < 1s

Request

Schema: update-content-standards-request.json
ParameterTypeRequiredDescription
standards_idstringYes更新対象スタンダードの ID
scopeobjectNoスコープの更新
policystringNoポリシープロンプトの更新
calibration_exemplarsobjectNoキャリブレーション用の pass/fail 例の更新

リクエスト例

{
  "$schema": "/schemas/content-standards/update-content-standards-request.json",
  "standards_id": "nike_emea_safety",
  "policy": "Sports and fitness content is ideal. Lifestyle content about health and wellness is good. Entertainment content is generally acceptable. Avoid violence, controversial politics, adult themes. Block hate speech and illegal activities.",
  "calibration_exemplars": {
    "pass": [
      { "type": "url", "value": "https://espn.com/nba/story/_/id/12345/lakers-win", "language": "en" },
      { "type": "url", "value": "https://healthline.com/fitness/cardio-workout", "language": "en" },
      { "type": "url", "value": "https://runnersworld.com/training/marathon-tips", "language": "en" }
    ],
    "fail": [
      { "type": "url", "value": "https://tabloid.example.com/celebrity-scandal", "language": "en" },
      { "type": "url", "value": "https://gambling.example.com/betting-guide", "language": "en" }
    ]
  }
}

Response

Schema: update-content-standards-response.json

成功レスポンス

{
  "$schema": "/schemas/content-standards/update-content-standards-response.json",
  "success": true,
  "standards_id": "nike_emea_safety"
}

エラーレスポンス

{
  "$schema": "/schemas/content-standards/update-content-standards-response.json",
  "success": false,
  "errors": [
    {
      "code": "STANDARDS_NOT_FOUND",
      "message": "No standards found with ID 'invalid_id'"
    }
  ]
}