ap calendar
Agenda Panda treats calendars as reviewable JSON. The normal loop is pull or generate calendar.json, dry-run the sync, review in the dashboard, then apply.
Calendar views
Section titled “Calendar views”ap calendarap calendar --weekap calendar 2026-05-01 --detailap calendar --interactiveap calendarshows the month view for the active workspaceap calendar --weekshows a weekly viewap calendar <date> --detailshows a detailed day viewap calendar --interactivelets you navigate the calendar in the terminal
ap calendar import
Section titled “ap calendar import”Use import when you want to bulk-create posts from a JSON file. external_id is optional: if you provide it, Agenda Panda preserves it so the posts are immediately syncable with your chosen stable IDs. If you omit it, Agenda Panda assigns a stable sync identity automatically so imported posts can still be pulled and synced later.
ap calendar import --file posts.jsonap calendar import --file posts.json --dry-runcat posts.json | ap calendar import --jsonEach item needs:
contentconnectionschedule
Optional fields:
external_idtimezonemedia,image, orvideo
Schedules must be UTC ISO 8601 values with a Z suffix. timezone is optional display metadata only.
ap calendar sync
Section titled “ap calendar sync”Use sync when you want a stable, reviewable file that can be edited repeatedly over time.
ap calendar sync --file calendar.json --dry-runap calendar sync --file calendar.jsonap calendar sync --file calendar.json --delete-missingSync requires external_id on every item so Agenda Panda can decide whether to create, update, skip, or delete each post safely. ap calendar pull includes one for every item, including older posts that predate sync identity support.
--delete-missing only removes unposted calendar_sync items that are no longer present in the file.
ap calendar pull
Section titled “ap calendar pull”Pull the current server state down as a CalendarItem[] JSON array:
ap calendar pull --file calendar.jsonap calendar pull --from 2026-05-01 --to 2026-05-31ap calendar pull --include-publishedBy default, pull excludes already-published posts.
Round-trip workflow
Section titled “Round-trip workflow”ap calendar pull --file calendar.json# edit calendar.json in your IDE or ask your agent to update itap calendar sync --file calendar.json --dry-runap dashboardap calendar sync --file calendar.jsonFile shape and validation
Section titled “File shape and validation”[ { "external_id": "launch-day-x", "content": "Shipping today.", "connection": "x", "schedule": "2026-05-01T14:00:00Z", "timezone": "America/New_York", "media": "https://agendapanda.com/api/media/abc12345.png" }]connectioncan be a connection ID or an unambiguous platform nameschedulemust be UTC for import and synctimezoneis optional metadata for display- Use hosted HTTPS media URLs inside
calendar.json
See Calendar as Code for the full JSON guide.