Skip to main content

Apply AI-selected task link on a timer

1 min read
post/pomodoro/profiles/{studioId}/timers/ai/select-task
Request example
Response
post/pomodoro/profiles/{studioId}/timers/ai/select-task

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#

Body

application/json
operationIdstringrequired#
leaseOwnerstringrequired#
fencingTokenintegerrequired#
timerIdstringrequired#
selectedTaskIdstringrequired#
selectedProjectIdstring#
expectedRevisionintegerrequired#
sourceFingerprintstringrequired#

Responses

application/json
Applied task link.
dataobjectrequired#
Show child attributes
statusstringrequired#
revisioninteger#
linkedTaskIdstring#
linkedProjectIdstring#
request_idstring#