HTPP equivalent to NAMESPACE.getWithMetadata(key)

Is there an option for

GET accounts/:account_identifier/storage/kv/namespaces/:namespace_identifier/values/:key_name

that returns the metadata with the value?

If so, I can’t find it in the documentation.

Currently, we have to use a hack that does a key scan since the keys endpoint returns metadata.

As of the initial rollout, the answer was no. You can make two calls in parallel (Get and List with prefix + limit), but that’s obviously not ideal. Hopefully they address this.

Yeah, that is what we are doing in our hack. Unfortunate extra overhead.