GET/api/orgs/{org_id}/datasets/{dataset_id}/runs/{run_id}/items

List a run's items

Each item's output, the request it made (open it in Observability) and its tag scores, in order.

Authentication: Bearer API key in the Authorization header

Path parameters

  • org_idstringrequired

    Your organization id (uuid). GET /api/whoami returns it.

  • dataset_idstringrequired

    The dataset id.

  • run_idstringrequired

    The run id.

Query parameters

  • cursorstring

    The next_cursor of the previous page.

  • limitinteger

    Rows per page, 1 to 200.

    Default: 50

Responses

  • 200

    One page.

    Response
    • itemsarray<object>
      items
      • dataset_item_idstring
      • request_idstring | null
      • outputany

        The model's output.

      • statusenum
        "done""failed""pending"
      • errorstring | null
      • tagsarray<object>
        tags
        • tag_idstring
        • scorenumber
        • firedboolean
    • next_cursorstring | null
  • 401

    Missing, unknown or revoked API key.

    Response
    • errorstringrequired

      Human-readable message.

    • codestring

      Stable machine reason, when the route defines one (for example pro_required).

    • actionstring

      Stable remediation action, when the route defines one.

    • detailsobject

      Customer-safe string facts the caller needs to act (for example a suggested identifier).

  • 404

    Unknown organization, or not the key's own organization.

    Response
    • errorstringrequired

      Human-readable message.

    • codestring

      Stable machine reason, when the route defines one (for example pro_required).

    • actionstring

      Stable remediation action, when the route defines one.

    • detailsobject

      Customer-safe string facts the caller needs to act (for example a suggested identifier).

  • 429

    Too many reads. rate_limited: this organization's API-key reads of the request log are over about 10 per second (burst 30) or 4 in flight on one server (sessions are not limited). build_capacity: the shared analytics read slots are busy. Retry after Retry-After.

    Response
    • errorstringrequired

      Human-readable message.

    • codestring

      Stable machine reason, when the route defines one (for example pro_required).

    • actionstring

      Stable remediation action, when the route defines one.

    • detailsobject

      Customer-safe string facts the caller needs to act (for example a suggested identifier).

Request

curl 'https://api.experientiallabs.ai/api/orgs/3f6c2a1e-8b7d-4c2a-9e51-6a0d4b2f7c10/datasets/1b2c3d4e-5f6a-4b7c-8d9e-0f1a2b3c4d5e/runs/4d3c2b1a-0f9e-4d8c-7b6a-5f4e3d2c1b0a/items?cursor=eyJ0Ijoi...&limit=50' \
  -H "Authorization: Bearer <YOUR_API_KEY>"

Response

{
  "items": [
    {
      "dataset_item_id": "6f5e4d3c-2b1a-4f0e-9d8c-7b6a5f4e3d2c",
      "request_id": "req_01JD8ZK4M2Q7V9X3N5T6B8C0EF",
      "output": {
        "role": "assistant",
        "content": "Order 4471 shipped on Monday."
      },
      "status": "done",
      "error": null,
      "tags": [
        {
          "tag_id": "0c6f2e4a-7b1d-4f3e-9a2c-5d8e1b7f3a90",
          "score": 0.08,
          "fired": false
        }
      ]
    }
  ],
  "next_cursor": null
}

https://api.experientiallabs.ai/api/orgs/3f6c2a1e-8b7d-4c2a-9e51-6a0d4b2f7c10/datasets/1b2c3d4e-5f6a-4b7c-8d9e-0f1a2b3c4d5e/runs/4d3c2b1a-0f9e-4d8c-7b6a-5f4e3d2c1b0a/items?cursor=eyJ0Ijoi...&limit=50