Skip to content
Shortcut: /, ⌘K or Ctrl+K

polymorfa event

Inspect and replay durable developer events.

Polymorfa CLI · CLI API requests

View as Markdown

polymorfa event list

List retained events for an explicit owner.

Usage

polymorfa event list [flags]

Flags

  • --cursor <value>takes a value

    Continue from this opaque cursor.

  • --limit <value>takes a value

    Request this many resources per page.

    Default 25
  • --max-items <value>takes a value

    Stop automatic pagination after this many resources.

  • --paginateboolean

    Request consecutive pages until --max-items resources are collected or no pages remain. Requires --max-items.

  • --since <value>takes a value

    Include events at or after this RFC 3339 time.

  • --type <value>takes a value

    Filter by one exact event type.

  • --until <value>takes a value

    Include events before this RFC 3339 time.

Also accepts the global flags.

polymorfa event replay

Replay one retained event to a webhook.

Usage

polymorfa event replay EVENT [flags]

Arguments

  • EVENTrequired

    Event ID.

Flags

  • --idempotency-key <value>takes a value

    Use this key to identify retries; one is generated when omitted.

  • --webhook <value>takes a valuerequired

    Destination webhook ID.

  • --yesboolean

    Confirm the external effect without prompting.

Also accepts the global flags.

polymorfa event stream

Stream a project's events as they happen, with automatic reconnect and resume. Requires events:listen and the Event streams beta.

Usage

polymorfa event stream [flags]

Examples

polymorfa event stream --owner project --project 11111111-1111-4111-8111-111111111111 --type "message.*"
polymorfa event stream --owner project --project 11111111-1111-4111-8111-111111111111 --from "$CURSOR" --json

Flags

  • --from <value>takes a value

    Resume after this cursor from a previous run; valid for 24 hours.

  • --max-events <value>takes a value

    Stop after this many events.

  • --on-gap <value>takes a value

    Continue or stop when events after --from expired before delivery.

    Allowed valuescontinuestop
    Default continue
  • --type <value>takes a valuerepeatable

    Stream an event type or trailing-wildcard pattern such as message.*.

Also accepts the global flags.

polymorfa event view

View one retained event.

Usage

polymorfa event view EVENT [flags]

Arguments

  • EVENTrequired

    Event ID.

Flags

  • --include-payloadboolean

    Include the retained payload when it is available.

Also accepts the global flags.