lumen.metrics.dimensions ​
Use before group_by/filter to discover dimensions and avoid high-cardinality output.
Discover dimensions for a metric.
Overview ​
| Property | Value |
|---|---|
| Workflow type | Atomic |
| Library | App-lumen |
| Version | 1.0 |
Input Schema ​
| Field | Type | Required | Default | Description |
|---|---|---|---|---|
organization_uuid | uuid | Yes | — | Organization UUID. |
metric_name | string | Yes | — | Metric name or wildcard pattern. |
project | string | No | — | Project filter; supports wildcards. |
from | string | No | — | ISO 8601 lower time bound. |
to | string | No | — | ISO 8601 upper time bound. |
Output Schema ​
| Field | Type | Required | Default | Description |
|---|---|---|---|---|
metric_name | string | Yes | — | — |
dimensions | list | Yes | — | — |
error | string | No | — | — |
error_type | string | No | — | — |
States ​
| State | Initial | Terminal | Success | Auto-advance | Description |
|---|---|---|---|---|---|
done | Yes | Yes | Yes | — | — |
API Usage ​
bash
POST /api/workflows/start
Content-Type: application/json
{
"workflow_type": "lumen.metrics.dimensions",
"initial_data": {
"organization_uuid": "value",
"metric_name": "value"
}
}