Skip to main content

Apply AI calendar agenda annotations

1 min read
post/calendar/profiles/{studioId}/agenda/ai-classify
Request example
Response
post/calendar/profiles/{studioId}/agenda/ai-classify

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.

Body

application/json
operationIdstringrequired#
leaseOwnerstringrequired#
fencingTokenintegerrequired#
annotationsobject[]required#
Show child attributes
sourceTypestringrequired#
sourceIdstringrequired#
occurrenceKeystringrequired#
sourceFingerprintstringrequired#
annotationTypeenum<string>required#
Options:categoryconflict
resultCodestringrequired#
relatedOccurrenceKeystring#
evidenceIdsstring[]#

Responses

application/json
Applied annotations.
dataobjectrequired#
Show child attributes
statusstringrequired#
annotationsobject[]required#
Show child attributes
idstringrequired#
occurrenceKeystringrequired#
typeenum<string>required#
Options:categoryconflict
resultCodestringrequired#
relatedOccurrenceKeystring#
changedCountintegerrequired#

Range: >= 0

skippedCountintegerrequired#

Range: >= 0

request_idstring#