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

Summary

Search the document for nodes matching type, text, or attribute criteria.
  • Operation ID: find
  • API member path: editor.doc.find(...)
  • Mutates document: no
  • Idempotency: idempotent
  • Supports tracked mode: no
  • Supports dry run: no
  • Deterministic target resolution: no

Expected result

Returns a FindOutput with matched items array and total count, or an empty items array if no nodes match.

Input fields

Example request

Output fields

Example response

Pre-apply throws

  • CAPABILITY_UNAVAILABLE
  • INVALID_INPUT

Non-applied failure codes

  • None

Raw schemas