Skip to main content

Undo AI transaction categories

Reverts only still-current transaction tag effects recorded for this
categorization operation. Effects superseded by later edits are skipped.

1 min read
post/finance/profiles/{studioId}/transactions/ai/{operationId}/undo
Request example
Response
post/finance/profiles/{studioId}/transactions/ai/{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.
operationIdstringrequired#
Client-generated idempotency identifier for the AI operation.

Responses

application/json
Undo result.
dataobjectrequired#
Show child attributes
transactionsobject[]required#
Show child attributes
idstringrequired#
studioIdstringrequired#
typeenum<string>required#
Options:incomeexpensetransfer
amountCentsintegerrequired#
occurredAtstringrequired#
fromAccountIdstring#
toAccountIdstring#
namestring#
notestring#
tagIdstring#
debtIdstring#
savingsGoalIdstring#
recurringRuleIdstring#
recurringPeriodKeystring#
recurringManualOverrideboolean#
isPaidboolean#
revisionintegerrequired#

Range: >= 1

createdBystringrequired#
createdAtstringrequired#
updatedAtstringrequired#
undoneCountintegerrequired#

Range: >= 0

skippedCountintegerrequired#

Range: >= 0

request_idstring#