Skip to main content
POST
Submit an event

Authorizations

Authorization
string
header
required

User PAT (cliq_tok_…, including session-scoped) or realm token (cliq_dt_…).

Body

application/json
type
enum<string>
required

Hub catalog type (run.* / phase.* / hug.* / …) or custom.

Available options:
run.started,
run.resumed,
run.resume_requested,
run.completed,
run.failed,
run.crashed,
run.cancelled,
phase.started,
phase.completed,
phase.failed,
phase.skipped,
phase.escalated,
phase.input_required,
phase.inputs_supplied,
phase.timed_out,
phase.idle,
hug.review_requested,
hug.review_reminded,
hug.review_responded,
hug.routing_requested,
hug.review_resolved,
hug.review_expired,
team.published,
team.visibility_changed,
daemon.enrolled,
daemon.removed,
daemon.online,
daemon.offline,
s local hub_outbox dead_count. `dead` events carry // a compact cause summary so operators can triage without opening // the SPA. Emitted best-effort via the outbox itself; loss on a // completely-broken daemon is acceptable because `daemon.offline` // covers the total-loss case. ,
, ,
, ,
, ,
, ,
, ,
, ,
, ,
, ,
, ,
, ,
, ,
, ,
, ,
, // Org-scoped identity events, raised only by CliqHub itself // (notifications/org_events.ts); `events/submit` refuses them. ,
, ,
, ,
, ,
, ,
, ,
, ,
, ,
, ,
, ,
, ,
, ,
, ,
, ,
, ,
, ,
, ,
, ,
, ,
, ,
, ,
,
occurred_at
string

ISO-8601 timestamp; Hub defaults to now when omitted

realm_id
string

Required for most families (see family rules)

org_id
string

Optional org scope

team
string

Team slug; required for team.*

run_id
string

Required for run.* / phase.* / hug.*

phase
string

Required for phase.*

daemon_id
string

Required for run.* / phase.* / hug.* / daemon.*

title
string

Short notification title

message
string

Longer notification body

severity
enum<string>

Overrides catalog default severity when set

Available options:
info,
warn,
error,
critical
payload
object

Type-specific extras (notify routing, names, error, …)

Response

Success.

ok
enum<boolean>
required

Always true on success.

Available options:
true
event
object