Playground

Playground

AttentionSignal

/api/v1/common/attention-signals

An explainable "why now" signal flagging an entity that needs attention.

listgetcreateupdatedeletedismissresolve

Schema

FieldTypeNotes
id*uuidServer-assigned ULID with type prefix (e.g. per_…).
tenant_id*stringTenant scope — auto-stamped from the caller's JWT.
app_idstringApp scope. Stamped ONLY when the caller's JWT was minted for a specific Application (integration API keys). Absent for human-user sessions. Filters reads when present.
created_at*date-timeServer stamp.
updated_at*date-timeServer stamp; updated on every patch.
created_byuuidPerson id from the caller's JWT (sub).
updated_byuuidPerson id from the last writer's JWT (sub).
sourcestringProvenance tag — defaults to 'edm'.
source_typeenumfrontend | backend | server | system | apiWhere the write originated. Defaults to 'api'.
is_deletedbooleanSoft-delete flag. Excluded from default list queries.
deleted_atdate-timeStamped when soft-deleted; null otherwise.
deleted_byuuidPerson id who soft-deleted; null otherwise.
schema_versionnumberDocument schema version. Bumped on incompatible writes.
target_id*stringID of the entity needing attention (account, project, task, etc.).
target_type*enumaccount | project | task | incident | approval | contract | lead | deal | case | policy | risk | asset | employee | otherType of target entity.
domain*enumwork | service | legal | marketing | finance | hr | compliance | operations | security | customer | otherBusiness domain this signal belongs to.
signal_type*enumsla_risk | overdue_approval | stale_owner | renewal_risk | missing_evidence | contract_due | deadline_approaching | blocked | escalation | anomaly | follow_up | review_due | otherType of attention signal.
severity*enumcritical | high | medium | lowSignal severity level.
reason*stringHuman-readable explanation of why attention is needed.
summarystringBrief summary for list views.
due_atdate-timeWhen this becomes urgent/deadline.
stale_atdate-timeWhen this becomes stale if not addressed.
owner_idstringUser who should act on this signal.
team_idstringTeam responsible for this signal.
source_refsjsonArray of source records that generated this signal.
computed_bystringSystem or user that computed this signal.
statusenumactive | dismissed | resolved | expiredSignal lifecycle status.
dismissed_atdate-timeWhen signal was dismissed.
dismissed_bystringWho dismissed the signal.
resolved_atdate-timeWhen signal was resolved.
resolved_bystringWho resolved the signal.
resolution_notesstringNotes about how the signal was resolved.
metadatajsonAdditional context-specific data.
tagsjsonFree-form tags.

API

Loading manifest…