findOneRecord
Retrieve the first record matching search conditions, resolving a named entity to its ID for relationship filters.
Instructions
Return the first record matching the query — useful for entity resolution probes. Call with where: { : { $contains: "..." } } and a small limit to resolve a named entity to its ID before using it in a relationship filter. Prefer this over findRecords when you need exactly one representative match rather than a full list.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| where | No | Search conditions for finding the record | |
| labels | No | Filter by record labels |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| record | Yes |