AnalyticsMetrics

The space catalogue: what every conversation is measured against. Attributes and metrics share one shape and differ by kind.

GET
/Analytics/metrics
AuthorizationBearer <token>

JWT Authorization header using Bearer scheme

In: header

Query Parameters

directoryId?string

Limit to one folder.

Formatuuid
kind?string

Limit to attributes or to metrics.

Value in"Attribute" | "Metric"
includeInactive?boolean

Include switched-off definitions.

Defaultfalse

Response Body

application/json

curl -X GET "https://test.api.speaknode.com/api/Analytics/metrics"
{
  "metrics": [
    {
      "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
      "directory_id": "dca58562-24cf-4cbc-aa50-5a4039358aa5",
      "key": "string",
      "title": "string",
      "description": "string",
      "llm_instruction": "string",
      "kind": "Attribute",
      "scope": "Conversation",
      "computation": "Auto",
      "value_type": "Number",
      "scale_max": 0,
      "weight": 0,
      "norm_min": 0,
      "norm_max": 0,
      "direction": "None",
      "is_system": true,
      "is_active": true,
      "version": 0,
      "sort_index": 0
    }
  ]
}