Skip to main content

Undo AI task effects

Reverts only still-current project, priority, or tag-link effects
recorded for the operation. Later manual changes are skipped.

1 min read
post/tasks/profiles/{studioId}/{taskId}/ai-effects/{operationId}/undo
Request example
Response
post/tasks/profiles/{studioId}/{taskId}/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#
Studio identifier used for authorization and operation scope.
taskIdstringrequired#
operationIdstringrequired#
Client-generated idempotency identifier for the AI operation.

Responses

application/json
Undo result, including reverted and skipped effect counts.
dataobjectrequired#
Show child attributes
statusenum<string>required#
Options:undonepartialstaleunavailable
taskobject#
Show child attributes
idstringrequired#
projectIdstringrequired#
prioritystringrequired#
updatedAtstringrequired#
undoneCountintegerrequired#

Range: >= 0

skippedCountintegerrequired#

Range: >= 0

affectedChildCountintegerrequired#

Range: >= 0

removedTagIdsstring[]#
request_idstring#