Query Parameters: Allowed filter combinations
All matching events will be considered for correction
- Sync mode: Maximum of first 30 events matching the filters with the default sort order being EVENT_SOURCE_TIME DESC, EVENT_ID ASC can be corrected in a single request.
- Async mode: When query parameter async = true is given, events matching the filters will be considered for correction and takes place in background.
Status of background job can be obtained using List Jobs API
Query Parameters
Query Parameters
Unique identifier of the account corresponding to the event
Unique identifier of an event generated by Togai for reference
Identifier of an event provided by the user
Timestamp of an event provided by the user
Timestamp corresponding to the event ingestion time in Togai
Determines the mode of the correction. Defaults to false
Allowed Combinations
Allowed Combinations
account_id
account_id
, id
account_id
, event_id
account_id
, event_source_time
account_id
, event_id
, created_at
account_id
, event_id
, event_source_time
Authorizations
Bearer authentication header of the form Bearer <token>
, where <token>
is your auth token.
Query Parameters
Action to perform in event correction
Available options:
UNDO
, REDO
, REDO_EVENT
Example:
"UNDO"
Specifies whether to start a migration only after a confirmation
Example:
false
Body
application/json
Event Correction Payload for event correction
Contents of the event
Response
Success response
Events Correction response
Required array length:
1 - 50
elements