Skip to main content

Get bounded week-plan task candidates for AI

1 min read
get/week-plan/profiles/{studioId}/ai-context
Request example
Response
get/week-plan/profiles/{studioId}/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#

Query parameters

weekStartDateKeystringrequired#

Pattern: ^\d{4}-\d{2}-\d{2}$

Responses

application/json
Week plan AI context.
dataobjectrequired#
Show child attributes
weekStartDateKeystringrequired#
intentstring#
existingTaskIdsstring[]required#
candidatesobject[]required#

Items: max 50

Show child attributes
idstringrequired#
titlestringrequired#
prioritystringrequired#
dueDateKeystring#
projectNamestring#
updatedAtstringrequired#
request_idstring#