Push a run event
Reports something that happened in a run. Agents call this through the SDK; you normally do not. The event is sent to everyone following the run (Stream run events) and forwarded to CliqHub for notifications. It is not stored on the daemon.
Some event types change the run: run.completed, run.failed and run.crashed end it
(payload.error is recorded as the reason), phase.input_required pauses it
(awaiting_input), and phase.inputs_supplied resumes it. Files listed in the payload
are uploaded as the run’s artifacts. A custom_event with payload.custom_type is
forwarded to CliqHub as a custom event that notification rules can match.
No credential is needed from this machine. From another host, send Authorization: Bearer with a dispatch token CliqHub signed for this daemon or a cliq_tok_… personal token of a user in the daemon’s realm; this only works once the daemon is connected to CliqHub. See Authentication.
Authorizations
Not needed from the same machine. From another host: a dispatch JWT CliqHub signed for this daemon, or a cliq_tok_… personal token whose user is in the daemon's realm.