Encrypt data key version

documentation lists key_version as an argument. where should it appear in the context of a batch_input? in the batch_input itself, or above?


{"batch_input": [{"key_version":1,"plaintext": "dGhlIHF1aWNrIGJyb3duIGZveA=="}]}

or case2:

{"key_version":1,"batch_input": [{"plaintext": "dGhlIHF1aWNrIGJyb3duIGZveA=="}]}

case1 fails with failed to parse batch input: 1 error(s) decoding:\n\n* '[0].key_version' expected type 'int', got unconvertible type 'json.Number'\n\n"

and case2 ignores key_version

thanks for the clarification.
see also https://github.com/hashicorp/vault/issues/10232