Skip to main content

Undo an activity AI operation

1 min read
post/activities/profiles/{studioId}/ai/{operationId}/undo
Request example
Response
post/activities/profiles/{studioId}/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#

Query parameters

capabilitystringrequired#

Responses

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

Range: >= 0

skippedCountintegerrequired#

Range: >= 0

request_idstring#