v1

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

List Model Lab project facet values

List available facet values for a specific project facet key.

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

Query parameters

facet_type'tag' required

The type of facet for filtering Model Lab projects.

Example:tag

Facet type. Valid values: tag.

facet_namestring required
Example:model

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"
  }
}