Skip to main content

Undo AI goal link suggestions

1 min read
post/goals/profiles/{studioId}/{goalId}/ai-effects/{operationId}/undo
Request example
Response
post/goals/profiles/{studioId}/{goalId}/ai-effects/{operationId}/undo

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#
operationIdstringrequired#
Client-generated idempotency identifier for the AI operation.

Responses

application/json
Undo result.
dataobjectrequired#
Show child attributes
undoneCountintegerrequired#

Range: >= 0

skippedCountintegerrequired#

Range: >= 0

request_idstring#