PATCH/api/orgs/{org_id}/datasets/{dataset_id}

データセットの名前を変更する

データセットの名前または説明を変更します。

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

パスパラメーター

  • org_idstring必須

    お客様の組織ID(uuid)。GET /api/whoamiで取得できます。

  • dataset_idstring必須

    データセットのID。

リクエストボディ

  • namestring

    1〜80文字。

  • descriptionstring | null

    最大500文字。

レスポンス

  • 200

    データセット。

    レスポンス
    • idstring
    • namestring

      1〜80文字。

    • descriptionstring | null

      最大500文字。

    • item_countinteger
    • created_atstring
    • updated_atstring
  • 401

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

    レスポンス
    • errorstring必須

      人が読めるメッセージ。

    • codestring

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

    • actionstring

      エンドポイントが定義している場合の、安定した対処アクション。

    • detailsobject

      呼び出し元が対処するために必要な、顧客に提示して安全な文字列情報(推奨される識別子など)。

  • 404

    リソースが存在しないか、他の組織に属しています。

    レスポンス
    • errorstring必須

      人が読めるメッセージ。

    • codestring

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

    • actionstring

      エンドポイントが定義している場合の、安定した対処アクション。

    • detailsobject

      呼び出し元が対処するために必要な、顧客に提示して安全な文字列情報(推奨される識別子など)。

リクエスト

curl -X PATCH 'https://api.experientiallabs.ai/api/orgs/3f6c2a1e-8b7d-4c2a-9e51-6a0d4b2f7c10/datasets/1b2c3d4e-5f6a-4b7c-8d9e-0f1a2b3c4d5e' \
  -H "Authorization: Bearer <YOUR_API_KEY>" \
  -H "Content-Type: application/json" \
  -d '{
  "description": "Tickets the agent got wrong in November."
}'

レスポンス

{
  "id": "1b2c3d4e-5f6a-4b7c-8d9e-0f1a2b3c4d5e",
  "name": "Hard support tickets",
  "description": null,
  "item_count": 120,
  "created_at": "2026-11-18T14:32:07Z",
  "updated_at": "2026-11-18T14:32:07Z"
}

https://api.experientiallabs.ai/api/orgs/3f6c2a1e-8b7d-4c2a-9e51-6a0d4b2f7c10/datasets/1b2c3d4e-5f6a-4b7c-8d9e-0f1a2b3c4d5e