Skip to main content

Get bounded agenda context for AI classification

Returns up to twelve requested occurrence keys, deterministic overlap
pairs, and skip counts for category (60 questions) and conflict (40
questions) pools.

1 min read
get/calendar/profiles/{studioId}/agenda/ai-context
Request example
Response
get/calendar/profiles/{studioId}/agenda/ai-context

Authorization

Authorizationstringheaderrequired#
Better Auth session token. Go resolves the token in the session table and maps it to users.id via auth_user_id. The profile is taken from the path param :studioId when applicable.

Path parameters

studioIdstringrequired#
Studio identifier used for authorization and operation scope.

Query parameters

startDateKeystringrequired#
endDateKeystringrequired#
ianaTimeZonestring#
occurrenceKeysstring#
Comma-separated occurrence keys (max twelve per operation).

Responses

application/json
Agenda AI context.
dataobjectrequired#
Show child attributes
occurrencesobject[]required#
Show child attributes
idstringrequired#
sourcestringrequired#
Operational origin projected into Calendar. Dated Activities, recurring expenses, income, transfers, and Week plan items are included automatically; email flags do not control visibility.
sourceIdstringrequired#
assignedTostring[]#
titlestringrequired#
subtitlestring#
dateKeystringrequired#
hrefstringrequired#
editableInCalendarbooleanrequired#
emailEnabledbooleanrequired#
timestampMsinteger#
endTimestampMsinteger#
recurringPeriodKeystring#
dateinteger#
descriptionstring#
isRecurringboolean#
agendaTimestring#
agendaTimeZonestring#
emailSendTimestring#
localDateKeystring#
endLocalDateKeystring#
allDayboolean#
emailEachDayboolean#
eventStartDateKeystring#
eventEndDateKeystring#
notifyDayBeforeboolean#
notifyOnDayboolean#
overlapPairsobject[]required#
Show child attributes
idstringrequired#
leftOccurrenceKeystringrequired#
rightOccurrenceKeystringrequired#
overlapStartMsintegerrequired#
overlapEndMsintegerrequired#
skippedOccurrencesintegerrequired#

Range: >= 0

skippedPairsintegerrequired#

Range: >= 0

request_idstring#