GET/api/orgs/{org_id}/trace-tags/{tag_id}/scores

チェックのスコアを一覧表示する

スコアと理由(新しい順)。AIチェックのスコアには理由がありません。

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

パスパラメーター

  • org_idstring必須

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

  • tag_idstring必須

    トレースタグのID。

クエリパラメーター

  • fromstring必須

    範囲の開始(RFC 3339)。

  • tostring必須

    範囲の終了(RFC 3339)。

  • firedboolean

    発火したスコアのみ(true)、または発火しなかったスコアのみ(false)。

  • cursorstring

    前のページのnext_cursor。

  • limitinteger

    ページあたりの行数(1〜200)。

    既定値: 50

レスポンス

  • 200

    スコアの1ページ。

    レスポンス
    • scoresarray<object>
      scores
      • target_kindenum
        "span""session""dataset_item"
      • target_idstring
      • request_idstring | null
      • session_idstring | null
      • scorenumber

        0〜1。

      • firedboolean
      • reasonstring

        1文の理由。AIチェックでは空。

      • scored_atstring
      • judge_modelstring
    • next_cursorstring | null
  • 400

    期間またはカーソルが無効です。

    レスポンス
    • errorstring必須

      人が読めるメッセージ。

    • codestring

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

    • actionstring

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

    • detailsobject

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

  • 401

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

    レスポンス
    • errorstring必須

      人が読めるメッセージ。

    • codestring

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

    • actionstring

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

    • detailsobject

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

  • 404

    このIDのタグは存在しません(tag_not_found)。

    レスポンス
    • errorstring必須

      人が読めるメッセージ。

    • codestring

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

    • actionstring

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

    • detailsobject

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

  • 503

    このデプロイ環境にはスコアストアがありません(tags_unavailable)。

    レスポンス
    • errorstring必須

      人が読めるメッセージ。

    • codestring

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

    • actionstring

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

    • detailsobject

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

リクエスト

curl 'https://api.experientiallabs.ai/api/orgs/3f6c2a1e-8b7d-4c2a-9e51-6a0d4b2f7c10/trace-tags/0c6f2e4a-7b1d-4f3e-9a2c-5d8e1b7f3a90/scores?from=2026-11-11T00%3A00%3A00Z&to=2026-11-18T00%3A00%3A00Z&fired=true&cursor=eyJ0Ijoi...&limit=50' \
  -H "Authorization: Bearer <YOUR_API_KEY>"

レスポンス

{
  "scores": [
    {
      "target_kind": "span",
      "target_id": "a3ce929d0e0e4736",
      "request_id": "req_01JD8ZK4M2Q7V9X3N5T6B8C0EF",
      "session_id": "run-42",
      "score": 0.91,
      "fired": true,
      "reason": "",
      "scored_at": "2026-11-18T14:33:10Z"
    }
  ],
  "next_cursor": null
}

https://api.experientiallabs.ai/api/orgs/3f6c2a1e-8b7d-4c2a-9e51-6a0d4b2f7c10/trace-tags/0c6f2e4a-7b1d-4f3e-9a2c-5d8e1b7f3a90/scores?from=2026-11-11T00%3A00%3A00Z&to=2026-11-18T00%3A00%3A00Z&fired=true&cursor=eyJ0Ijoi...&limit=50