json
batch_exists
Check existence for multiple JSON documents.
wire json_batch_exists
Checks several JSON documents and returns positional boolean status values. The response preserves the input order.
Itemwise batches return one positional item result per input item. The outer batch status summarizes whether all, some, or none of the items succeeded.
Parameters
| Name | Type | Required | Description |
|---|---|---|---|
| keys | array | yes | Document keys to check. |
| branch | string or null | no | Target branch. Defaults to the executor handle branch. |
| space | string or null | no | Target product space. Defaults to `"default"`. |
Returns
BatchResult<BatchExistsPresence>
- dataBatchResult6
- typestring
Errors
Recover by code. Retry policy and commit outcome come from the shipped error registry.
| Code | Retry | Commit outcome |
|---|---|---|
| failed_precondition.engine.runtime_closed | never | not_started |
| not_found.engine.branch | never | not_applicable |
| invalid_argument.engine.product_space | never | not_started |
| invalid_argument.engine.json_document_id | never | not_started |