GET/api/orgs/{org_id}/scores

スコアを一覧表示する

1つの対象のスコア(target_kindとtarget_id)、または期間内の組織のスコアを新しい順に返します。

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

パスパラメーター

  • org_idstring必須

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

クエリパラメーター

  • target_kindenum

    request、session、spanのいずれか。

    "request""session""span"
  • target_idstring

    対象のID。target_kindと一緒に指定します。

  • fromstring

    範囲の開始(RFC 3339)。

  • tostring

    範囲の終了(RFC 3339)。

  • namestring

    この名前のスコアのみ。

  • sourceenum

    human、api、judgeのいずれか。

    "human""api""judge"
  • cursorstring

    前のページのnext_cursor。

  • limitinteger

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

    既定値: 50

レスポンス

  • 200

    スコアの1ページ。

    レスポンス
    • scoresarray<object>
      scores
      • idstring
      • targetobject

        組織の1つのリクエスト、セッション、またはスパン。

        target
        • kindenum必須
          "request""session""span"
        • idstring必須
      • namestring
      • config_idstring | null
      • valuenumber | null
      • string_valuestring | null
      • commentstring | null
      • sourceenum
        "human""api""judge"
      • author_emailstring | null
      • created_atstring
    • next_cursorstring | null
  • 400

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

    レスポンス
    • errorstring必須

      人が読めるメッセージ。

    • codestring

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

    • actionstring

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

    • detailsobject

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

  • 401

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

    レスポンス
    • errorstring必須

      人が読めるメッセージ。

    • codestring

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

    • actionstring

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

    • detailsobject

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

  • 404

    不明な組織か、キー自身の組織ではありません。

    レスポンス
    • errorstring必須

      人が読めるメッセージ。

    • codestring

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

    • actionstring

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

    • detailsobject

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

  • 429

    読み取りが多すぎます。rate_limited:この組織のAPIキーによるリクエストログの読み取りが、毎秒約10件(バースト30件)または1サーバーあたり同時4件を超えています(セッションには制限はありません)。build_capacity:共有の分析読み取りスロットが混雑しています。Retry-Afterの時間が経過してから再試行してください。

    レスポンス
    • errorstring必須

      人が読めるメッセージ。

    • codestring

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

    • actionstring

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

    • detailsobject

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

  • 503

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

    レスポンス
    • errorstring必須

      人が読めるメッセージ。

    • codestring

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

    • actionstring

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

    • detailsobject

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

リクエスト

curl 'https://api.experientiallabs.ai/api/orgs/3f6c2a1e-8b7d-4c2a-9e51-6a0d4b2f7c10/scores?target_kind=request&target_id=req_01JD8ZK4M2Q7V9X3N5T6B8C0EF&from=2026-11-11T00%3A00%3A00Z&to=2026-11-18T00%3A00%3A00Z&name=helpful&source=human&cursor=eyJ0Ijoi...&limit=50' \
  -H "Authorization: Bearer <YOUR_API_KEY>"

レスポンス

{
  "scores": [
    {
      "id": "9a8b7c6d-5e4f-4a3b-2c1d-0e9f8a7b6c5d",
      "target": {
        "kind": "request",
        "id": "req_01JD8ZK4M2Q7V9X3N5T6B8C0EF"
      },
      "name": "helpful",
      "config_id": "5d4c3b2a-1f0e-4d9c-8b7a-6f5e4d3c2b1a",
      "value": 0.9,
      "string_value": null,
      "comment": "Answered in one step",
      "source": "api",
      "author_email": null,
      "created_at": "2026-11-18T14:40:00Z"
    }
  ],
  "next_cursor": null
}

https://api.experientiallabs.ai/api/orgs/3f6c2a1e-8b7d-4c2a-9e51-6a0d4b2f7c10/scores?target_kind=request&target_id=req_01JD8ZK4M2Q7V9X3N5T6B8C0EF&from=2026-11-11T00%3A00%3A00Z&to=2026-11-18T00%3A00%3A00Z&name=helpful&source=human&cursor=eyJ0Ijoi...&limit=50