Update Event Block
Apply a status transition (captured → classified | committed | voided) and/or field corrections (description, effective_at, metadata_patch) to an existing event block. Only supplied fields are updated. captured → classified records an account choice without posting — for a bank-feed line, patch metadata.classified_element_id (or accept_suggestion: true) in the same call. When the transition is captured/classified → committed, the registered Python handler fires against the captured metadata to produce the GL rows, unless it already wrote them when the event was created; a bank-feed line with no account chosen and no matching rule is refused. Errors from the handler (validation, element resolution, closed period, unbalanced lines) surface as 422 here so the inbox UI can display the failure reason without retry. A bank line's flow is a second classification beside its account, overriding the account's default flow on the cash flow and equity statements: patch classified_flow_qname (or flow_qname on each classified_allocations part) with an rs-gaap flow concept such as rs-gaap:ProceedsFromIssuanceOfLongTermDebt. On a line that has already posted, this re-tags its lines in place, in a closed month too, since no balance moves; an empty string clears it.
Idempotency: supply an Idempotency-Key header to make safe retries; replays within 24 hours return the same envelope. Reusing the key with a different body returns HTTP 409 Conflict.
Request
- Base URL: https://api.robosystems.ai (the document declares no server; this is the origin it was published from)
- URL: https://api.robosystems.ai/extensions/roboledger/{graph_id}/operations/update-event-block
- Auth: one of:
- API key in header X-API-Key
- HTTP bearer
Path parameters
Headers
Request body
Example request
{
"event_id": "evt_abc123",
"transition_to": "committed"
}Response
Successful Response
Changes
No recorded changes to this operation across all 1 revision of this API.