The snapshot API carries two casings, and acceptance is the lenient half
Envelope keys are snake_case and the snapshot document inside them is camelCase, so execution_id and executionId are published by the same read one nesting level apart. Consumers read both, and neither spelling is normalised toward the other.
The rule
- The snapshot API's envelope-level keys MUST be snake_case.
- The save acknowledgement MUST carry
entity_idandexecution_id. - The delete acknowledgement MUST carry
messageandexecution_id. - The list row MUST carry
entity_id,execution_id,workflow_id,status,thread_id,created,changedandnode_count. - The snapshot document published under
data.snapshotMUST be the snapshot's own camelCase shape, and MUST carryworkflowId,executionId,nodeStates,initialInput,iterationCount,threadId,createdAtandupdatedAt. - The save endpoint MUST accept either spelling in its body.
- The save endpoint MUST normalise what it accepts to the camelCase shape.
- A read MUST always publish the snapshot document in camelCase.
node_countMUST be the number of node states in the snapshot, not a count taken from the raw stored payload.
What it means
The same execution id is spelled two ways one nesting level apart, and neither spelling is the "wrong" one to normalise away. At the envelope level — an acknowledgement, a list row — the key is snake_case. Inside the published snapshot document itself, the same value sits under the camelCase spelling. A consumer that reads one and assumes the other is just a stylistic inconsistency will read the wrong key at the wrong level.
The save endpoint is the one asymmetry worth naming directly: it accepts a body in either spelling, but what it hands back — like every read — is always camelCase. Leniency runs one way only.
Example
"exec_saved""exec_get"DELETE /api/flowdrop-runtime/snapshot/{execution_id}
{"success": true, "data": {"message": "Snapshot deleted", "execution_id": "exec_delete_me"}}The path is an example of the route API-9 names snapshot_delete.