Playground

Playground

Pending

/api/v1/operations/pending

A generic pending item queued for processing or action.

listgetcreateupdatedelete

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.
type*stringType of pending item (approval, task, review, etc.).
source_id*stringID of the source record (approval, task, etc.).
statusenumqueued | processing | blocked | completedPending item status.
prioritynumberPriority level (1 = highest, 5 = lowest).
assignee_idstringUser ID of the person assigned to this item.
due_atdate-timeISO 8601 due date/time.
titlestringHuman-readable title for the pending item.
entity_typestringEDM entity type being approved (e.g. 'Expense', 'LeaveRequest', 'Contract').
entity_iduuidUUID of the specific entity instance awaiting approval.
requested_by_iduuidUUID of the Person who initiated this approval request.
descriptionstringOptional longer description or justification for the approval request.
current_step_indexintegerZero-based index of the currently active approval step.
total_stepsintegerTotal number of approval steps required before fully approved.
completed_atdate-timeISO 8601 timestamp when the approval reached a terminal state.
tagsjsonFree-form tags.

API

Loading manifest…