lumen.memory.unresolved ​
Return the top open/regressed Lumen error groups for an organization.
Return the most impactful open/regressed error groups for an org.
Intended for agent triage loops and observability dashboards that need to know what is actively on fire right now. Results are ranked by occurrence count, last-seen time, or severity (all three sort modes are implemented by the Lumen route, including the undocumented 'severity' mode).
Auth: direct Lumen API call using the LUMEN_API_KEY service key. Organization scoping is enforced at the engine layer — the engine must validate organization_uuid against the caller's token. This workflow fails fast before the HTTP call when organization_uuid is absent.
Overview ​
| Property | Value |
|---|---|
| Workflow type | Atomic |
| Library | App-lumen |
| Version | 1.0 |
Input Schema ​
| Field | Type | Required | Default | Description |
|---|---|---|---|---|
organization_uuid | uuid | Yes | — | UUID of the organization whose open/regressed error groups are returned. Must match the caller's engine token org; engine validates before accepting start. |
project | string | No | — | Project name or glob pattern (, prefix-, -suffix). Defaults to '' (all projects). Empty string is normalized to '*' by the route. |
sort | string | No | — | Ranking field. Accepted values: occurrence_count (default, highest first), last_seen_at (most recent first), severity (critical→high→medium→low, then by occurrence_count descending). Any other value silently falls back to occurrence_count. |
from | string | No | — | Lower bound on last_seen_at (ISO 8601). Time range is capped at 90 days by parse_time_range(). |
to | string | No | — | Upper bound on last_seen_at (ISO 8601). Same 90-day cap. |
limit | integer | No | — | Maximum number of groups to return (default 20, route hard-cap 100). Must be a positive integer; 0 or non-integer triggers a 400 from Lumen. |
Output Schema ​
| Field | Type | Required | Default | Description |
|---|---|---|---|---|
groups | list | Yes | — | List of open/regressed error-group objects with UUID-only identifiers. |
total | integer | Yes | — | Count of groups returned in this response (len(groups), not a full COUNT(*) over the filtered set — the route does not support offset/pagination). |
error | string | No | — | Error message when RAISE_ON_QUERY_ERROR=False and query() raises. |
error_type | string | No | — | Python exception class name on query failure. |
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.memory.unresolved",
"initial_data": {
"organization_uuid": "value"
}
}