Schedule reference
9 pages, 87 routes, 75 connections and 22 CLI commands, generated from the declarations of Schedule without reading storage or running anything.
Code · 0 files
No ingested source sits in a crate named for this app. Either its crate has not been ingested, or the app's name does not match its crate.
Pages · 11
| Page | View id | Role | Route | Order | Parent | Entity | Navigation |
|---|---|---|---|---|---|---|---|
| My bookings | schedule.customer | custom | /view/schedule/my-bookings | 0 | in navigation | ||
| Scheduling | schedule.console | custom | /view/schedule/scheduling/{owner_id} | 20 | hidden | ||
| Practice | schedule.practice | custom | /view/schedule/practice/{practice_id} | 30 | hidden | ||
| Calendar | schedule.my_calendar | custom | /view/schedule/calendar | 60 | in navigation | ||
| Agenda | schedule.agenda | /view/schedule/agenda | in navigation | ||||
| Pick a time | schedule.book | /view/schedule/meet/{owner_id}/{slug} | in navigation | ||||
| Your booking | schedule.booking | /view/schedule/booking/{manage_token} | in navigation | ||||
| Schedule | schedule.calendar | /view/schedule/calendar | in navigation | ||||
| Meet | schedule.directory | /view/schedule/meet | in navigation | ||||
| Book time | schedule.host | /view/schedule/meet/{owner_id} | in navigation | ||||
| Book an appointment | schedule.practice.book | /view/schedule/appointments/{practice_slug} | in navigation |
Connections · 75
Booking.Approve
Owner-only: approve a booking request. Confirms it, or opens checkout when an online price is due.
| Field | Type | Required | Description | Allowed |
|---|---|---|---|---|
| booking_id | string | optional |
- Output keyschedule.result
- Classificationreal
- POST /booking/approveHTTP route
Booking.AttestOutcome
Store one immutable Passport-bound post-appointment attestation. Pairing reveals the two statements and returns manual Time, Location, and Ballot proposals; it never commits them or moves money.
| Field | Type | Required | Description | Allowed |
|---|---|---|---|---|
| manage_token | optional | |||
| booking_id | optional | |||
| attended | required | |||
| witnessed_minutes | required | |||
| value_to_self | required | |||
| value_to_other | required | |||
| value_of_place | required | |||
| would_meet_again | required | |||
| outcome_place | optional | |||
| outcome_note | optional |
- Output keyschedule.result
- Classificationreal
- POST /booking/outcome/attestHTTP route
Booking.Book
Book a currently offered appointment. Optional purchased package references redeem one session instead of opening checkout.
| Field | Type | Required | Description | Allowed |
|---|---|---|---|---|
| owner_id | string | required | ||
| slug | string | required | ||
| start_ts_ms | integer | required | ||
| invitee_name | string | required | ||
| invitee_email | string | required | ||
| session_order_id | string | optional | ||
| session_order_item_id | string | optional |
- Output keyschedule.result
- Classificationreal
- POST /booking/bookHTTP route
- booking bookCLI command
Booking.CancelBooking
Cancel a booking from its manage token (invitee) or its id (host), freeing the slot. A group slot's reservation is only released once the last live invitee leaves.
| Field | Type | Required | Description | Allowed |
|---|---|---|---|---|
| manage_token | optional | |||
| booking_id | optional |
- Output keyschedule.result
- Classificationreal
- POST /booking/cancelHTTP route
- booking cancelCLI command
Booking.Checkout
Open (or re-open) a provider checkout session for a held booking — the "I closed the tab" path. Restarts the hold window and returns a fresh pay link. Refuses a booking that is already paid, so nobody is charged twice.
| Field | Type | Required | Description | Allowed |
|---|---|---|---|---|
| manage_token | optional | |||
| booking_id | optional |
- Output keyschedule.result
- Classificationreal
- POST /booking/checkoutHTTP route
- booking checkoutCLI command
Booking.Claim
Save a guest appointment using its private manage token. Does not change payment or appointment status.
| Field | Type | Required | Description | Allowed |
|---|---|---|---|---|
| manage_token | string | required |
- Output keyschedule.result
- Classificationreal
- POST /booking/claimHTTP route
Booking.Decline
Owner-only: decline a booking request, freeing its seat. The reason is shown to the invitee.
| Field | Type | Required | Description | Allowed |
|---|---|---|---|---|
| booking_id | string | optional | ||
| reason | string | optional |
- Output keyschedule.result
- Classificationreal
- POST /booking/declineHTTP route
Booking.DefineType
Create or edit a public, Passport-gated, or allowlisted appointment agreement at /view/schedule/meet/{owner}/{slug} — audience, duration, interval, buffers, notice, daily cap, capacity, horizon, host timezone, location, fixed price, payment rail or payment_mode=at_visit (confirmed now, collected in person), a private notify_email host alert, the public organizer_name/organizer_email invites are sent under, a booking_page_url for rebooking links, and invitee questions. Requires the owner's verified Passport session. Re-defining the same (owner_id, slug) edits in place; omitted fields keep their current value.
| Field | Type | Required | Description | Allowed |
|---|---|---|---|---|
| owner_id | required | |||
| slug | required | |||
| title | optional | |||
| audience | optional | |||
| allowed_account_ids | optional | |||
| payment_mode | optional | |||
| notify_email | optional | |||
| organizer_name | optional | |||
| organizer_email | optional | |||
| booking_page_url | optional |
- Output keyschedule.result
- Classificationreal
- POST /booking/typeHTTP route
- booking define-typeCLI command
Booking.ExpireHolds
Release checkout holds whose window closed unpaid, freeing their slots. The slot and booking paths already sweep lazily; this forces it.
- Output keyschedule.result
- Classificationreal
- POST /booking/expire-holdsHTTP route
- booking expire-holdsCLI command
Booking.GetOutcome
Read the authenticated participant's appointment outcome. Peer ratings stay sealed until both host and invitee attest.
| Field | Type | Required | Description | Allowed |
|---|---|---|---|---|
| manage_token | optional | |||
| booking_id | optional |
- Output keyschedule.result
- Classificationroute_handler
- POST /booking/outcomeHTTP route
Booking.GetType
Fetch one booking type by (owner_id, slug) or booking_type_id.
| Field | Type | Required | Description | Allowed |
|---|---|---|---|---|
| owner_id | required | |||
| slug | required |
- Output keyschedule.result
- Classificationroute_handler
- POST /booking/type/getHTTP route
Booking.Ics
The iCalendar (RFC 5545) invite for one booking, addressed by its manage token.
| Field | Type | Required | Description | Allowed |
|---|---|---|---|---|
| manage_token | optional |
- Output keyschedule.result
- Classificationroute_handler
- POST /booking/icsHTTP route
Booking.ListBookings
List bookings with optional owner / type filters and an upcoming-only flag.
| Field | Type | Required | Description | Allowed |
|---|---|---|---|---|
| owner_id | optional |
- Output keyschedule.result
- Classificationroute_handler
- GET /booking/listHTTP route
- booking listCLI command
Booking.ListTypes
List public booking types, optionally for one owner.
| Field | Type | Required | Description | Allowed |
|---|---|---|---|---|
| owner_id | optional |
- Output keyschedule.result
- Classificationroute_handler
- GET /booking/typesHTTP route
Booking.MarkAttendance
Owner-only: record a started visit as completed or no_show.
| Field | Type | Required | Description | Allowed |
|---|---|---|---|---|
| booking_id | string | optional | ||
| status | string | optional | completed or no_show |
- Output keyschedule.result
- Classificationreal
- POST /booking/mark_attendanceHTTP route
Booking.MessagePreferences
Read or set which appointment messages a customer gets from one practice: reminders, care follow-up, no-show follow-up, by email and by inbox. The manage link sets them for its own visit only; with a booking id, the owner's verified session sets them for that customer's visits and the account the visit was booked under sets them for its own visits. A send goes out only while every one of those records allows it. Turning something off withdraws its pending sends, which turning it on again does not restore. Sales opt-outs are never read or changed.
| Field | Type | Required | Description | Allowed |
|---|---|---|---|---|
| manage_token | string | optional | ||
| booking_id | string | optional | ||
| reminders | boolean | optional | ||
| care_follow_up | boolean | optional | ||
| no_show_follow_up | boolean | optional | ||
| by_email | boolean | optional | ||
| by_inbox | boolean | optional |
- Output keyschedule.result
- Classificationreal
- POST /booking/message-preferencesHTTP route
Booking.MyBookings
List appointments saved to the current authenticated account; input cannot select another customer.
| Field | Type | Required | Description | Allowed |
|---|---|---|---|---|
| bucket | string | optional | upcoming, history or all | |
| offset | integer | optional | ||
| limit | integer | optional |
- Output keyschedule.result
- Classificationroute_handler
- GET /booking/mineHTTP route
Booking.Override
Set a single-day exception across every booking type an owner has: closed:true blocks the date (a holiday), or ranges replace that weekday's usual hours. With from_date/to_date and closed:true it closes every day of that span (time off, up to 120 days); with remove:true it reopens them to the weekly hours.
| Field | Type | Required | Description | Allowed |
|---|---|---|---|---|
| owner_id | required | |||
| date | required |
- Output keyschedule.result
- Classificationreal
- POST /booking/overrideHTTP route
- booking overrideCLI command
Booking.PaymentWebhook
Confirm a held booking from a provider webhook. Payment verifies the signature and resolves the intent; Schedule then requires that intent to match the booking on provider, amount and currency before it may mean 'paid' — a cheaper charge can never confirm a dearer meeting. Replays are no-ops.
| Field | Type | Required | Description | Allowed |
|---|---|---|---|---|
| raw_body | required |
- Output keyschedule.result
- Classificationreal
- POST /booking/payment/webhookHTTP route
Booking.Refund
Send a paid booking's money back through the provider. Idempotent; a refund the provider declines is reported on the booking rather than swallowed.
| Field | Type | Required | Description | Allowed |
|---|---|---|---|---|
| manage_token | optional | |||
| booking_id | optional |
- Output keyschedule.result
- Classificationreal
- POST /booking/refundHTTP route
- booking refundCLI command
Booking.Requests
Owner-only: the caller's booking requests waiting for an answer, soonest first.
- Output keyschedule.result
- Classificationroute_handler
- POST /booking/requestsHTTP route
Booking.Reschedule
Move a booking to a new offered slot, carrying the invitee's details forward and keeping the same manage link so the original confirmation email still resolves.
| Field | Type | Required | Description | Allowed |
|---|---|---|---|---|
| manage_token | optional | |||
| booking_id | optional | |||
| start_ts_ms | required |
- Output keyschedule.result
- Classificationreal
- POST /booking/rescheduleHTTP route
- booking rescheduleCLI command
Booking.Roster
Owner-only: bookings holding a seat at one start time of a meeting type.
| Field | Type | Required | Description | Allowed |
|---|---|---|---|---|
| type_id | string | optional | ||
| slug | string | optional | ||
| start_ts_ms | integer | optional |
- Output keyschedule.result
- Classificationroute_handler
- POST /booking/rosterHTTP route
Booking.SessionCredits
Read remaining purchased sessions for the authenticated customer.
- Output keyschedule.result
- Classificationroute_handler
- GET /booking/session-creditsHTTP route
Booking.SessionHistory
Read the authenticated customer's session usage and returns.
| Field | Type | Required | Description | Allowed |
|---|---|---|---|---|
| order_id | string | optional | Optional purchase scope. | |
| offset | integer | optional | ||
| limit | integer | optional |
- Output keyschedule.result
- Classificationroute_handler
- GET /booking/session-historyHTTP route
Booking.SetHours
Replace a booking type's weekly working hours. Each rule is a weekday (Mon=0..Sun=6) plus a band given either as start_min/end_min or as clock strings like 09:00 and 17:00.
| Field | Type | Required | Description | Allowed |
|---|---|---|---|---|
| owner_id | required | |||
| slug | required | |||
| hours | required |
- Output keyschedule.result
- Classificationreal
- POST /booking/hoursHTTP route
- booking set-hoursCLI command
Booking.Slots
The times a visitor may actually pick: weekly hours and date overrides, minus the host's busy calendar, filtered by buffers, minimum notice, daily cap, booking horizon and group seats. The public booking page and the booking handler both read this, so the page and the server can never disagree.
| Field | Type | Required | Description | Allowed |
|---|---|---|---|---|
| owner_id | required | |||
| slug | required |
- Output keyschedule.result
- Classificationroute_handler
- POST /booking/slotsHTTP route
- booking slotsCLI command
Calendar.AccountCalendars
Set per-remote-calendar choices: import, blocks_availability, push_target (one per account, writable calendars only). refresh=true re-lists the provider's calendars first.
| Field | Type | Required | Description | Allowed |
|---|---|---|---|---|
| account_id | string | optional | ||
| refresh | boolean | optional | ||
| calendars | array | optional | [{remote_id, import?, blocks_availability?, push_target?}] |
- Output keyschedule.result
- Classificationreal
- POST /schedule/calendar/accounts/calendarsHTTP route
Calendar.AccountCallback
Finish a Google or Microsoft calendar connect: redeem the calendar_claim the callback page received. Only the account that started the connect can redeem it; any other attempt burns it.
| Field | Type | Required | Description | Allowed |
|---|---|---|---|---|
| claim | string | optional | The calendar_claim query value. | |
| provider | string | optional | google (default) or microsoft: the calendar_provider query value. | |
| return_to | string | optional |
- Output keyschedule.result
- Classificationreal
- POST /schedule/calendar/accounts/callbackHTTP route
Calendar.AccountConnect
Connect a calendar account for the signed-in owner. Google and Microsoft return an authorize_url (Google connects at once when its link already has calendar access); CalDAV stores the app password in Passport, discovers calendars and pulls; ICS stores the feed URL and fetches it.
| Field | Type | Required | Description | Allowed |
|---|---|---|---|---|
| provider | string | optional | google (default), caldav, ics or microsoft. | |
| redirect_uri | string | optional | Google: https://<host>/calendar/oauth/google/callback (defaults from google.redirect_uri); Microsoft: https://<host>/calendar/oauth/microsoft/callback (defaults from microsoft.redirect_uri). | |
| return_to | string | optional | Landing page after consent; /view/schedule/calendar with an optional query. | |
| login_hint | string | optional | Google account email to preselect. | |
| server_url | string | optional | CalDAV server or ICS feed (https://, webcal:// accepted). | |
| username | string | optional | CalDAV login. | |
| password | string | optional | CalDAV app password; stored in the Passport vault, never returned. | |
| credential_name | string | optional | Existing Passport vault entry instead of password. | |
| name | string | optional | Display name for the account. |
- Output keyschedule.result
- Classificationreal
- POST /schedule/calendar/accounts/connectHTTP route
Calendar.AccountDisconnect
Disconnect a calendar account and delete its mirrored reservations and local calendars. revoke_google=true also revokes the whole Google link.
| Field | Type | Required | Description | Allowed |
|---|---|---|---|---|
| account_id | string | optional | ||
| revoke_google | boolean | optional |
- Output keyschedule.result
- Classificationreal
- POST /schedule/calendar/accounts/disconnectHTTP route
Calendar.AccountList
The signed-in owner's calendar accounts, their remote calendars and choices, sync status and pending pushes.
- Output keyschedule.result
- Classificationroute_handler
- GET /schedule/calendar/accountsHTTP route
Calendar.Create
Create a calendar for the signed-in owner. Kinds: personal (default), classes, or {type:practice, practice_id}.
| Field | Type | Required | Description | Allowed |
|---|---|---|---|---|
| name | string | optional | Calendar name. | |
| color | string | optional | #RRGGBB; a palette colour when omitted. | |
| kind | string | optional | personal, classes, or a tagged practice object. | |
| blocks_availability | boolean | optional | Whether entries hide booking slots (default true). | |
| visibility | string | optional | private (default), free_busy or public. | |
| timezone | string | optional | IANA zone for all-day and repeating entries. |
- Output keyschedule.result
- Classificationreal
- POST /schedule/calendars/createHTTP route
Calendar.CreateEvent
Add an entry to a calendar the caller owns or edits: timed (start_ms/end_ms), all-day (date/end_date), optionally repeating (rrule).
| Field | Type | Required | Description | Allowed |
|---|---|---|---|---|
| calendar_id | string | optional | Target calendar; the caller's primary when omitted. | |
| title | string | optional | ||
| start_ms | integer | optional | ||
| end_ms | integer | optional | ||
| date | string | optional | All-day start, YYYY-MM-DD in the calendar's zone. | |
| end_date | string | optional | Last all-day date, inclusive. | |
| rrule | string | optional | Repeat rule. | |
| location | string | optional | ||
| description | string | optional | ||
| attendees | array | optional | Invitee emails written into the entry. |
- Output keyschedule.result
- Classificationreal
- POST /schedule/calendars/events/createHTTP route
Calendar.Delete
Owner-only: delete a calendar and cancel every entry on it. The primary cannot be deleted.
| Field | Type | Required | Description | Allowed |
|---|---|---|---|---|
| calendar_id | string | optional | Calendar to delete. |
- Output keyschedule.result
- Classificationreal
- POST /schedule/calendars/deleteHTTP route
Calendar.DeleteEvent
Cancel a calendar entry (or part of its series), freeing the time.
| Field | Type | Required | Description | Allowed |
|---|---|---|---|---|
| reservation_id | string | optional | Entry to cancel. | |
| scope | string | optional | this (default), following or all. |
- Output keyschedule.result
- Classificationreal
- POST /schedule/calendars/events/deleteHTTP route
Calendar.Events
Calendar items in [start_ms, end_ms) across visible calendars: reservations, bookings, mirrors and the owner's Events, redacted to the caller's access.
| Field | Type | Required | Description | Allowed |
|---|---|---|---|---|
| start_ms | integer | optional | Range start, epoch milliseconds. | |
| end_ms | integer | optional | Range end, epoch milliseconds (at most 400 days after start). | |
| owner_id | string | optional | Read this owner's calendars instead of the caller's. | |
| calendar_ids | array | optional | Only these calendars (also accepts a comma-separated string). | |
| include_events | boolean | optional | Include the owner's Events (default true). |
- Output keyschedule.result
- Classificationroute_handler
- POST /schedule/calendars/eventsHTTP route
Calendar.FreeBusy
Merged busy intervals per person from blocking calendars the caller may see; people with none visible read visible=false.
| Field | Type | Required | Description | Allowed |
|---|---|---|---|---|
| peer_ids | array | optional | People to check (also accepts a comma-separated string). | |
| start_ms | integer | optional | ||
| end_ms | integer | optional | At most 120 days after start. |
- Output keyschedule.result
- Classificationroute_handler
- POST /schedule/calendars/free-busyHTTP route
Calendar.GooglePush
Mirror confirmed bookings to Google Calendar through a Passport access token. `dry_run=true` performs no network mutation and returns the intended bounded receipts.
| Field | Type | Required | Description | Allowed |
|---|---|---|---|---|
| owner_id | string | required | Authenticated Calendar owner. | |
| booking_id | string | optional | Optional single booking; otherwise up to 250 confirmed bookings. | |
| dry_run | boolean | optional | Return mutation receipts without network access. |
- Output keyschedule.result
- Classificationreal
- POST /schedule/calendar/google-pushHTTP route
Calendar.List
List the caller's calendars (primary first) plus calendars shared with them, or one owner's calendars at the caller's access.
| Field | Type | Required | Description | Allowed |
|---|---|---|---|---|
| owner_id | string | optional | Read this owner's calendars instead of the caller's. |
- Output keyschedule.result
- Classificationroute_handler
- GET /schedule/calendarsHTTP route
Calendar.MoveEvent
Move or resize a calendar entry: new start_ms (keeps length unless end_ms), only end_ms (resize), or delta_ms.
| Field | Type | Required | Description | Allowed |
|---|---|---|---|---|
| reservation_id | string | optional | Entry to move. | |
| start_ms | integer | optional | ||
| end_ms | integer | optional | ||
| delta_ms | integer | optional | ||
| scope | string | optional | this (default), following or all. |
- Output keyschedule.result
- Classificationreal
- POST /schedule/calendars/events/moveHTTP route
Calendar.SettingsGet
Read the authenticated owner's calendar provider and booking-notification settings. Returns Passport readiness, never credential material.
| Field | Type | Required | Description | Allowed |
|---|---|---|---|---|
| owner_id | string | required | Authenticated Calendar owner. |
- Output keyschedule.result
- Classificationroute_handler
- GET /schedule/calendar/settingsHTTP route
Calendar.SettingsSet
Update calendar provider and booking-notification policy. Google writes remain disabled unless explicitly enabled; the credential name refers to Passport and is not a token.
| Field | Type | Required | Description | Allowed |
|---|---|---|---|---|
| owner_id | string | required | Authenticated Calendar owner. | |
| google_push_enabled | boolean | optional | Opt in to outbound Google event mutations. | |
| google_calendar_id | string | optional | Google Calendar id, normally `primary`. | |
| google_credential_name | string | optional | Passport service-credential lookup key. Never credential material. | |
| invitee_email_enabled | boolean | optional | Send booking lifecycle email to invitees. | |
| host_inbox_enabled | boolean | optional | Write booking lifecycle notices to the host inbox. | |
| reminder_minutes | array | optional | Google event reminder offsets in minutes, each 0..=40320; at most five. | |
| rotate_feed_token | boolean | optional | Mint a new private booking-feed URL (returned as `feed_path`); the old URL stops working. | |
| clear_feed_token | boolean | optional | Remove the private booking feed. |
- Output keyschedule.result
- Classificationreal
- POST /schedule/calendar/settingsHTTP route
Calendar.Sync
Pull one account (account_id) or the owner's due accounts (force=true for all) and retry failed pushes.
| Field | Type | Required | Description | Allowed |
|---|---|---|---|---|
| account_id | string | optional | ||
| force | boolean | optional |
- Output keyschedule.result
- Classificationreal
- POST /schedule/calendar/syncHTTP route
Calendar.Update
Owner-only: change a calendar's name, colour, zone, visibility or availability blocking. The primary always blocks.
| Field | Type | Required | Description | Allowed |
|---|---|---|---|---|
| calendar_id | string | optional | Calendar to change. | |
| name | string | optional | ||
| color | string | optional | ||
| blocks_availability | boolean | optional | ||
| visibility | string | optional | private, free_busy or public. | |
| timezone | string | optional |
- Output keyschedule.result
- Classificationreal
- POST /schedule/calendars/updateHTTP route
Calendar.UpdateEvent
Edit a calendar entry. scope=this|following|all reaches its series. Booking entries change through Booking.Reschedule.
| Field | Type | Required | Description | Allowed |
|---|---|---|---|---|
| reservation_id | string | optional | Entry to edit. | |
| scope | string | optional | this (default), following or all. | |
| title | string | optional | ||
| location | string | optional | ||
| description | string | optional | ||
| start_ms | integer | optional | ||
| end_ms | integer | optional | ||
| all_day | boolean | optional | ||
| target_calendar_id | string | optional | Move to another calendar of the same owner. |
- Output keyschedule.result
- Classificationreal
- POST /schedule/calendars/events/updateHTTP route
Practice.Availability
Open times for a service variant grouped by practitioner, plus first available; each slot names the booking-type slug for Booking.Book.
| Field | Type | Required | Description | Allowed |
|---|---|---|---|---|
| practice_id | string | optional | ||
| service_id | string | optional | ||
| variant_id | string | optional | ||
| location_id | string | optional | ||
| staff_id | string | optional | A staff_id, or any | |
| date | string | optional | YYYY-MM-DD in the practice zone | |
| days | integer | optional |
- Output keyschedule.result
- Classificationroute_handler
- POST /practice/availabilityHTTP route
Practice.Get
Read one practice by practice_id or slug, with its live offerings.
| Field | Type | Required | Description | Allowed |
|---|---|---|---|---|
| practice_id | string | optional | ||
| slug | string | optional |
- Output keyschedule.result
- Classificationroute_handler
- POST /practice/getHTTP route
Practice.List
List practices; non-owners see active ones only.
| Field | Type | Required | Description | Allowed |
|---|---|---|---|---|
| owner_id | string | optional |
- Output keyschedule.result
- Classificationroute_handler
- GET /practice/listHTTP route
Practice.Project
Re-run the offering projection for one practice, or all of the caller's.
| Field | Type | Required | Description | Allowed |
|---|---|---|---|---|
| practice_id | string | optional |
- Output keyschedule.result
- Classificationreal
- POST /practice/projectHTTP route
Practice.Schedule
Owner-only: one day across practitioners as calendar items, one column per staff member.
| Field | Type | Required | Description | Allowed |
|---|---|---|---|---|
| practice_id | string | optional | ||
| date | string | optional | YYYY-MM-DD in the practice zone |
- Output keyschedule.result
- Classificationroute_handler
- POST /practice/scheduleHTTP route
Practice.ServiceUpsert
Add, edit (partial fields) or remove one service and its variants.
| Field | Type | Required | Description | Allowed |
|---|---|---|---|---|
| practice_id | string | optional | ||
| service | object | optional | ||
| remove | boolean | optional |
- Output keyschedule.result
- Classificationreal
- POST /practice/serviceHTTP route
Practice.ShiftSet
Set one practitioner's weekly hours at one location; empty hours clear them.
| Field | Type | Required | Description | Allowed |
|---|---|---|---|---|
| practice_id | string | optional | ||
| staff_id | string | optional | ||
| location_id | string | optional | ||
| hours | array | optional | ||
| effective_from | string | optional | ||
| effective_until | string | optional |
- Output keyschedule.result
- Classificationreal
- POST /practice/shiftHTTP route
Practice.StaffUpsert
Add, edit (partial fields) or remove one practitioner.
| Field | Type | Required | Description | Allowed |
|---|---|---|---|---|
| practice_id | string | optional | ||
| staff | object | optional | ||
| remove | boolean | optional |
- Output keyschedule.result
- Classificationreal
- POST /practice/staffHTTP route
Practice.Upsert
Create or edit a practice: name, slug, timezone, locations, rooms, staff, services (with variants), shifts. Projects each offering into a hidden booking type.
| Field | Type | Required | Description | Allowed |
|---|---|---|---|---|
| practice_id | string | optional | ||
| name | string | optional | ||
| slug | string | optional | ||
| timezone | string | optional | ||
| locations | array | optional | ||
| rooms | array | optional | ||
| staff | array | optional | ||
| services | array | optional | ||
| shifts | array | optional | ||
| active | boolean | optional |
- Output keyschedule.result
- Classificationreal
- POST /practice/upsertHTTP route
Practice.WaitlistJoin
Join a practice's waitlist for one service; matching cancellations are offered first-come by email (or inbox when signed in without an email).
| Field | Type | Required | Description | Allowed |
|---|---|---|---|---|
| practice_id | string | optional | ||
| slug | string | optional | ||
| service_id | string | optional | ||
| variant_id | string | optional | ||
| staff_id | string | optional | A staff_id, or any | |
| location_id | string | optional | ||
| from_date | string | optional | YYYY-MM-DD | |
| until_date | string | optional | YYYY-MM-DD | |
| weekdays | array | optional | 0 = Monday to 6 = Sunday | |
| earliest | string | optional | HH:MM | |
| latest | string | optional | HH:MM | |
| name | string | optional | ||
| string | optional | |||
| phone | string | optional | ||
| note | string | optional |
- Output keyschedule.result
- Classificationreal
- POST /practice/waitlist/joinHTTP route
Practice.WaitlistLeave
Leave a waitlist by entry_id with its leave_token, as the joining account, or as the practice owner.
| Field | Type | Required | Description | Allowed |
|---|---|---|---|---|
| entry_id | string | optional | ||
| leave_token | string | optional |
- Output keyschedule.result
- Classificationreal
- POST /practice/waitlist/leaveHTTP route
Practice.WaitlistList
A practice's waitlist: every entry for the owner, the caller's own otherwise.
| Field | Type | Required | Description | Allowed |
|---|---|---|---|---|
| practice_id | string | optional | ||
| slug | string | optional | ||
| include_left | boolean | optional |
- Output keyschedule.result
- Classificationroute_handler
- POST /practice/waitlist/listHTTP route
Schedule.CalDavPush
Push reservations to an external CalDAV server. HANDLES A SECRET -- the account password is sent verbatim to the given URL. Reaches the open internet.
| Field | Type | Required | Description | Allowed |
|---|---|---|---|---|
| caldav_url | string | required | CalDAV collection URL. | |
| username | string | required | CalDAV account name. | |
| password | string | required | CalDAV account password. Sent to the URL above. |
- Output keyschedule.result
- Classificationreal
- POST /schedule/caldav-pushHTTP route
- schedule caldav-pushCLI command
Schedule.Cancel
Cancel a reservation and free its slot.
| Field | Type | Required | Description | Allowed |
|---|---|---|---|---|
| reservation_id | string | required | Reservation to cancel. |
- Output keyschedule.result
- Classificationreal
- POST /schedule/cancelHTTP route
- schedule cancelCLI command
Schedule.Complete
Mark a reservation completed. Terminal transition.
| Field | Type | Required | Description | Allowed |
|---|---|---|---|---|
| reservation_id | string | required | Reservation to complete. |
- Output keyschedule.result
- Classificationreal
- POST /schedule/completeHTTP route
- schedule completeCLI command
Schedule.Conflicts
List reservations that would collide with a proposed window. Reads only.
| Field | Type | Required | Description | Allowed |
|---|---|---|---|---|
| resource_id | string | required | Resource to test against. | |
| start_ts_ms | integer | required | Proposed start as epoch milliseconds. | |
| end_ts_ms | integer | required | Proposed end as epoch milliseconds. |
- Output keyschedule.result
- Classificationroute_handler
- POST /schedule/conflictsHTTP route
- schedule conflictsCLI command
Schedule.Feed
Render reservations as an iCalendar feed for external calendar clients.
| Field | Type | Required | Description | Allowed |
|---|---|---|---|---|
| resource_filter | string | optional | Restrict the feed to one resource. |
- Output keyschedule.result
- Classificationroute_handler
- GET /schedule/feedHTTP route
- schedule feedCLI command
Schedule.FindSlot
Find the first free window of a given length inside a search range. Reads only -- nothing is booked.
| Field | Type | Required | Description | Allowed |
|---|---|---|---|---|
| resource_id | string | required | Resource to search. | |
| window_start_ts_ms | integer | required | Earliest acceptable start, epoch milliseconds. | |
| window_end_ts_ms | integer | required | Latest acceptable end, epoch milliseconds. | |
| duration_ms | integer | required | Length of slot needed, in milliseconds. |
- Output keyschedule.result
- Classificationroute_handler
- POST /schedule/find-slotHTTP route
- schedule find-slotCLI command
Schedule.Get
Read one reservation.
| Field | Type | Required | Description | Allowed |
|---|---|---|---|---|
| reservation_id | string | required | Reservation to read. |
- Output keyschedule.result
- Classificationroute_handler
- POST /schedule/getHTTP route
Schedule.Import
Import an iCalendar feed into reservations, by inline text or by URL.
| Field | Type | Required | Description | Allowed |
|---|---|---|---|---|
| resource_id | string | required | Resource the imported events land on. | |
| holder_id | string | required | Peer the imported reservations belong to. | |
| ical_text | string | optional | Inline iCalendar document. Use this or `url`, not both. | |
| url | string | optional | Feed URL to fetch. Reaches the open internet. | |
| source_id | string | optional | Names the feed; re-importing the same source replaces its earlier import. Defaults to the URL. | |
| timezone | string | optional | IANA zone for floating times and all-day dates in the feed. | |
| window_start_ts_ms | integer | optional | Import occurrences from this instant (epoch ms). | |
| window_end_ts_ms | integer | optional | Import occurrences until this instant (epoch ms). |
- Output keyschedule.result
- Classificationreal
- POST /schedule/importHTTP route
- schedule importCLI command
Schedule.List
List reservations, optionally filtered by resource or holder.
- Output keyschedule.result
- Classificationroute_handler
- GET /schedule/listHTTP route
- schedule listCLI command
Schedule.ListAvailability
List the availability windows declared for a resource.
| Field | Type | Required | Description | Allowed |
|---|---|---|---|---|
| resource_id | string | required | Resource to read availability for. |
- Output keyschedule.result
- Classificationroute_handler
- GET /schedule/availabilityHTTP route
Schedule.PublicMeetings.Import
Append public meeting source revisions; no reservations, invitations or attendance assets.
- Output keyschedule.result
- Classificationreal
- POST /schedule/public-meetings/importHTTP route
Schedule.PublicMeetings.List
Read public meeting observations without reserving time or claiming attendance.
- Output keyschedule.result
- Classificationroute_handler
- POST /schedule/public-meetings/listHTTP route
Schedule.PublicMeetings.Preview
Read public meeting observations without reserving time or claiming attendance.
- Output keyschedule.result
- Classificationroute_handler
- POST /schedule/public-meetings/previewHTTP route
Schedule.Recur
Expand a recurrence rule into reservations across a window. Writes every instance it materializes.
| Field | Type | Required | Description | Allowed |
|---|---|---|---|---|
| resource_id | string | required | Resource being booked. | |
| holder_id | string | required | Peer the reservations are for. | |
| start_ts_ms | integer | required | First instance start, epoch milliseconds. | |
| end_ts_ms | integer | required | First instance end, epoch milliseconds. | |
| recurrence | string | required | Recurrence rule, iCalendar RRULE syntax. | |
| window_end_ts_ms | integer | required | Stop expanding past this epoch-millisecond instant. |
- Output keyschedule.result
- Classificationreal
- POST /schedule/recurHTTP route
- schedule recurCLI command
Schedule.Reserve
Book a resource for a holder over a time window. Rejects overlaps against existing reservations.
| Field | Type | Required | Description | Allowed |
|---|---|---|---|---|
| resource_id | string | required | Resource being booked. | |
| holder_id | string | required | Peer the reservation is for. | |
| start_ts_ms | integer | required | Start as epoch milliseconds, UTC. | |
| end_ts_ms | integer | required | End as epoch milliseconds, UTC. |
- Output keyschedule.result
- Classificationreal
- POST /schedule/reserveHTTP route
- schedule reserveCLI command
Schedule.SetAvailability
Declare a bookable availability window on a resource.
| Field | Type | Required | Description | Allowed |
|---|---|---|---|---|
| resource_id | string | required | Resource to open. | |
| start_ts_ms | integer | required | Window start, epoch milliseconds. | |
| end_ts_ms | integer | required | Window end, epoch milliseconds. |
- Output keyschedule.result
- Classificationreal
- POST /schedule/availabilityHTTP route
- schedule availabilityCLI command
CLI commands · 22
booking book
Take a slot as an invitee; returns the manage link and an .ics invite
booking book {"owner_id":"alice","slug":"30-min","start_ts_ms":0,"invitee_name":"Bob","invitee_email":"bob@example.com"}booking cancel
Cancel a booking by its manage token (invitee) or id (host), freeing the slot
booking cancel {"manage_token":"...","reason":"conflict"}booking checkout
Open a provider payment link for a held booking
booking checkout {"manage_token":"..."}booking define-type
Create or edit a public meeting type (Calendly-style) at /view/schedule/meet/{owner}/{slug}
booking define-type {"owner_id":"alice","slug":"30-min","title":"30 Min Meeting","duration_minutes":30,"slot_interval_minutes":15,"min_notice_minutes":240,"location":"Google Meet"}booking expire-holds
Release checkout holds whose window closed unpaid, freeing their slots
booking expire-holds {}booking list
List bookings for an owner or meeting type
booking list {"owner_id":"alice","upcoming_only":true}booking override
Block a date, or give it special hours, across every meeting type an owner has
booking override {"owner_id":"alice","date":"2026-12-25","closed":true,"note":"Holiday"}booking refund
Refund a paid booking through its payment provider
booking refund {"manage_token":"...","reason":"cancelled"}booking reschedule
Move a booking to another offered slot, keeping the same manage link
booking reschedule {"manage_token":"...","start_ts_ms":0}booking set-hours
Replace a meeting type's weekly working hours (weekday 0=Mon .. 6=Sun)
booking set-hours {"owner_id":"alice","slug":"30-min","hours":[{"weekday":0,"start":"09:00","end":"17:00"},{"weekday":1,"start":"09:00","end":"17:00"}]}booking slots
List the times a visitor may actually pick on a meeting type
booking slots {"owner_id":"alice","slug":"30-min"}schedule availability
Publish an availability window for a resource
schedule availability {"resource_id":"room-a","start_ts_ms":32400000,"end_ts_ms":61200000}schedule caldav-push
Push reservations to an external CalDAV calendar (Basic auth / app-password)
schedule caldav-push {"caldav_url":"https://dav.example.com/cal/me","username":"me","password":"app-pw"}schedule cancel
Cancel a reservation, freeing its slot
schedule cancel {"reservation_id":"resv-..."}schedule complete
Mark a reservation kept; mints the kept-commitment credential
schedule complete {"reservation_id":"resv-..."}schedule conflicts
List reservations overlapping a candidate interval on a resource
schedule conflicts {"resource_id":"room-a","start_ts_ms":0,"end_ts_ms":3600000}schedule feed
Export reservations as an iCalendar (.ics) document
schedule feed {"resource_filter":"room-a"}schedule find-slot
Find free slots of a duration on a resource within a window
schedule find-slot {"resource_id":"room-a","window_start_ts_ms":0,"window_end_ts_ms":28800000,"duration_ms":3600000}schedule import
Import an iCal feed (inline text or a .ics URL) as reservations
schedule import {"resource_id":"room-a","holder_id":"alice","url":"https://calendar.google.com/calendar/ical/.../basic.ics"}schedule import {"resource_id":"room-a","holder_id":"alice","url":"https://.../basic.ics"}schedule import {"resource_id":"room-a","holder_id":"alice","ical_text":"BEGIN:VCALENDAR..."}schedule list
List reservations with optional resource / holder filters
schedule list
schedule list
schedule list {"resource_filter":"room-a"}schedule recur
Expand a daily/weekly recurrence into reservations within a window
schedule recur {"resource_id":"room-a","holder_id":"alice","start_ts_ms":0,"end_ts_ms":3600000,"recurrence":{"freq":"weekly","interval":1,"count":4},"window_end_ts_ms":2419200000}schedule reserve
Book a resource for [start, end); rejects on conflict unless force=true
schedule reserve {"resource_id":"room-a","holder_id":"alice","start_ts_ms":0,"end_ts_ms":3600000,"title":"standup"}Other routes · 12
| Method | Path | Kind |
|---|---|---|
| GET | /booking/feed/{owner_id}/{feed_file} | raw handler |
| GET | /calendar/oauth/{provider}/callback | raw handler |
| GET | /view/schedule/appointments/{practice_slug} | raw handler |
| GET | /view/schedule/booking/{manage_token} | raw handler |
| GET | /view/schedule/calendar | raw handler |
| GET | /view/schedule/calendar/{owner_id} | raw handler |
| GET | /view/schedule/meet | raw handler |
| GET | /view/schedule/meet/{owner_id} | raw handler |
| GET | /view/schedule/meet/{owner_id}/{slug} | raw handler |
| GET | /view/schedule/my-bookings | raw handler |
| GET | /view/schedule/practice/{practice_id} | raw handler |
| GET | /view/schedule/scheduling/{owner_id} | raw handler |
Schema and data model
Declared storage and kinds. Linked kinds open their app pages.
- Authorityhyper
- Preferred truthhyper
- App ownerSchedule
- SQL projectionnone · DDL declarations: 0
- AppointmentAttestation
- AvailabilityWindow
- Booking
- BookingSessionCreditUse
- BookingType
- Calendar
- CalendarAccount
- CalendarPushPending
- CalendarSettings
- DateOverride
- Practice
- PracticeWaitlistEntry
- Reservation
- ServiceCredential
- ShopSessionPackageRefundBlock
- google.account_link
- schedule.public_meeting_observation
- AppointmentAttestation
- AvailabilityWindow
- Booking
- BookingSessionCreditUse
- BookingType
- Calendar
- CalendarAccount
- CalendarOAuthClaim
- CalendarOAuthPending
- CalendarPushPending
- CalendarPushedEvent
- CalendarSettings
- DateOverride
- Practice
- PracticeWaitlistEntry
- Reservation
- ScheduleMessagePreference
- ServiceCredential
- google.account_link
- google.oauth_claim
- google.oauth_pending
- schedule.public_meeting_observation
- None declared.
- None declared.
- cre8/schedule/{holder_id}/kept
- No model warnings were reported.
Capabilities and dependencies
- Protocol