Skip to main content
Alpha: Document API is currently alpha and subject to breaking changes.

Summary

Deterministic selector-based search with cardinality contracts for mutation targeting.
  • Operation ID: query.match
  • API member path: editor.doc.query.match(...)
  • Mutates document: no
  • Idempotency: idempotent
  • Supports tracked mode: no
  • Supports dry run: no
  • Deterministic target resolution: yes

Expected result

Returns a QueryMatchOutput with the resolved target address and cardinality metadata.

Input fields

Example request

Output fields

Example response

Pre-apply throws

  • MATCH_NOT_FOUND
  • AMBIGUOUS_MATCH
  • INVALID_INPUT
  • INTERNAL_ERROR

Non-applied failure codes

  • None

Raw schemas