workflow management

Append Workflow Event

Append an event to the run's event log. Also updates run.status if event_type maps to a status.

Sequence numbers use optimistic concurrency: on a unique-constraint collision (concurrent append), retries up to _MAX_SEQUENCE_RETRIES times with a fresh MAX+1. The event+status update is atomic in a single DB transaction.

post/v1/workflows/runs/{run_id}/events

Request

  • Base URL: https://apiclaw.biz (the document declares no server; this is the origin it was published from)
  • URL: https://apiclaw.biz/v1/workflows/runs/{run_id}/events
  • Auth: API key in header x-litellm-api-key

Path parameters

run_idstring required

Request body

event_typestring required
step_namestring required
dataobject nullable

Response

Successful Response

unknown required

Changes

No recorded changes to this operation across all 1 revision of this API.