Skip to main content

Apply AI goal link suggestions

Creates up to five additive goal links and optional milestone
associations while the claimed operation lease is valid. Skips
duplicates, invalid entities, and stale goal revisions.

1 min read
post/goals/profiles/{studioId}/{goalId}/ai-link-related-work
Request example
Response
post/goals/profiles/{studioId}/{goalId}/ai-link-related-work

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#
goalIdstringrequired#

Body

application/json
operationIdstringrequired#
leaseOwnerstringrequired#
fencingTokenintegerrequired#
expectedUpdatedAtstringrequired#
sourceFingerprintstringrequired#

Responses

application/json
Applied goal links.
dataobjectrequired#
Show child attributes
statusstringrequired#
changedCountintegerrequired#

Range: >= 0

skippedCountintegerrequired#

Range: >= 0

request_idstring#