TimelineEvent
/api/v1/common/timeline-eventsA source-backed business activity ledger event.
listgetcreateupdatedeleteSchema
| Field | Type | Notes |
|---|---|---|
| id* | uuid | Server-assigned ULID with type prefix (e.g. per_…). |
| tenant_id* | string | Tenant scope — auto-stamped from the caller's JWT. |
| app_id | string | App 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-time | Server stamp. |
| updated_at* | date-time | Server stamp; updated on every patch. |
| created_by | uuid | Person id from the caller's JWT (sub). |
| updated_by | uuid | Person id from the last writer's JWT (sub). |
| source | string | Provenance tag — defaults to 'edm'. |
| source_type | enum | frontend | backend | server | system | apiWhere the write originated. Defaults to 'api'. |
| is_deleted | boolean | Soft-delete flag. Excluded from default list queries. |
| deleted_at | date-time | Stamped when soft-deleted; null otherwise. |
| deleted_by | uuid | Person id who soft-deleted; null otherwise. |
| schema_version | number | Document schema version. Bumped on incompatible writes. |
| source_id* | string | ID of the source record (account, project, incident, etc.). |
| source_type* | enum | account | project | task | incident | approval | contract | lead | deal | case | policy | risk | asset | employee | meeting | document | otherType of source entity. |
| domain* | enum | work | service | legal | marketing | finance | hr | compliance | operations | security | customer | otherBusiness domain this event belongs to. |
| event_type* | enum | created | updated | status_changed | assigned | comment_added | attachment_added | approval_requested | approved | rejected | escalated | resolved | closed | reopened | deadline_set | deadline_missed | milestone_reached | handoff | otherType of timeline event. |
| title* | string | Human-readable event title. |
| summary | string | Detailed summary of what happened. |
| actor_id | string | User who performed the action (if human-initiated). |
| actor_type | enum | user | system | agent | workflow | externalType of actor. |
| actor_name | string | Display name of the actor. |
| occurred_at* | date-time | When the event occurred. |
| visibility | enum | public | internal | private | restrictedWho can see this event. |
| risk_level | enum | none | low | medium | high | criticalRisk level associated with this event. |
| citation_refs | json | Array of source records that prove this event happened. |
| previous_state | json | State before the event (for change events). |
| current_state | json | State after the event (for change events). |
| metadata | json | Additional context-specific data. |
| tags | json | Free-form tags. |
API
Loading manifest…