Preview

craftEvents is in Preview status and is subject to change without notice. For more information about Preview status, see the GraphQL API policy.

craftEvents

Retrieve upcoming events from Craft CMS. startDateFrom filters events where startDate >= value (YYYY-MM-DD). Defaults to today when omitted. Returns all matching events; callers apply display limits.

This page contains

    Arguments

    startDateFrom String

    ISO date string (YYYY-MM-DD) to filter events starting from this date. Defaults to today when omitted.

    Return Fields

    CraftEventConnection! PREVIEW

    Container for a list of Craft CMS events

    Interactive example

    This is an example query. Use the embedded interactive tool below to edit the query.

    Hint: use Ctrl + Space for autocompleting fields.