GET/api/orgs/{org_id}/score-configs

List score configs

Every score config: a fixed name and type (a number with bounds, a boolean or a category).

Authentication: Bearer API key in the Authorization header

Path parameters

  • org_idstringrequired

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

Responses

  • 200

    Configs.

    Response
    • configsarray<object>
      configs
      • idstring
      • namestring

        1 to 64 characters.

      • data_typeenum
        "numeric""boolean""categorical"
      • minnumber | null

        Numeric lower bound.

      • maxnumber | null

        Numeric upper bound.

      • categoriesarray | null

        Categorical values, at most 32.

      • descriptionstring | null

        At most 500 characters.

      • archivedboolean
  • 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/score-configs' \
  -H "Authorization: Bearer <YOUR_API_KEY>"

Response

{
  "configs": [
    {
      "id": "5d4c3b2a-1f0e-4d9c-8b7a-6f5e4d3c2b1a",
      "name": "helpful",
      "data_type": "numeric",
      "min": 0,
      "max": 1,
      "categories": null,
      "description": "How helpful the answer was.",
      "archived": false
    }
  ]
}

https://api.experientiallabs.ai/api/orgs/3f6c2a1e-8b7d-4c2a-9e51-6a0d4b2f7c10/score-configs