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

Request

  • Base URL
    https://api.datadoghq.com
  • URL
    https://api.datadoghq.com/api/v2/model-lab-api/facet-values
  • Auth
    API key in header DD-API-KEY and API key in header DD-APPLICATION-KEY

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

Changes

No recorded changes to this operation across all 1 revision of this API.