v1

latestOpenAPI 3.0.02026-07-141,4077,1665.2 MB
Model Lab API

List Model Lab run facet values

List available facet values for a specific run facet key.

get/api/v2/model-lab-api/facet-values

Query parameters

filter[project_id]integer required
Example:101

Filter by project ID.

facet_type'parameter' | 'attribute' | 'tag' | 'metric' required

The type of facet for filtering Model Lab runs.

Example:tag

Facet type. Valid values: parameter, attribute, tag, metric.

facet_namestring required
Example:algorithm

Facet name.

Response

OK

Example response

{
  "data": {
    "attributes": {
      "facet_name": "model",
      "facet_type": "tag",
      "metric_stat_ranges": [
        {
          "max": 1,
          "stat": "mean"
        }
      ],
      "numeric_range": {
        "max": 1
      },
      "values": [
        "gpt4"
      ]
    },
    "id": "1",
    "type": "facet_values"
  }
}