GET/v1/tags/{tag_id}

タグを取得

タグを1件取得します。プラットフォームのタグは、id、source、descriptionだけが表示されます。

認証: AuthorizationヘッダーにBearer形式のAPIキー

パスパラメーター

  • tag_idstring必須

    タグID。

レスポンス

  • 200

    タグ。

    レスポンス
    • idstring必須

      ルールで使用するID。camelCaseで、最大64文字です。

    • sourceenum必須

      組み込みのタグはplatform、組織が作成したタグはorganizationです。

      "platform""organization"
    • descriptionstring必須

      人が読むための短いラベル。

    • questionstring

      リクエストについて「はい」か「いいえ」で答える質問。組織が作成したタグにのみ表示されます。

    • definitionstring

      「はい」に該当するものと該当しないもの。組織が作成したタグにのみ表示されます。

    • created_atstring
    • updated_atstring
  • 401

    APIキーがない、不明、または失効しています。

  • 403

    キーがプロビジョニングキーではないか、リソースが読み取り専用です(tag_read_only、guardrail_read_only)。

    レスポンス
    • errorstring必須

      人が読めるメッセージ。

    • codestring

      エンドポイントが定義している場合の、安定した機械可読の理由。

  • 404

    リソースが存在しないか、他の組織に属しています。アクセス権のない組織には、すべてのエンドポイントがこのレスポンスを返します。

    レスポンス
    • errorstring必須

      人が読めるメッセージ。

    • codestring

      エンドポイントが定義している場合の、安定した機械可読の理由。

リクエスト

curl 'https://api.experientiallabs.ai/v1/tags/internalConfidential' \
  -H "Authorization: Bearer <YOUR_API_KEY>"

レスポンス

{
  "id": "internalConfidential",
  "source": "organization",
  "description": "Confidential company information",
  "question": "Does the message contain confidential company information?",
  "definition": "Confidential: unreleased product plans, customer records, contract terms, internal financial figures, network or security designs. Not confidential: published press releases, public pricing, general industry knowledge.",
  "created_at": "2026-11-20T00:00:00Z",
  "updated_at": "2026-11-20T00:00:00Z"
}

https://api.experientiallabs.ai/v1/tags/internalConfidential