Skip to main content

Undo audit log priority findings

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

Responses

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

Range: >= 0

skippedCountintegerrequired#

Range: >= 0

removedFindingIdsstring[]required#
request_idstring#