On this page

Metadata appears in several places inside a record. The paths below are relative to the record object, not to an API response wrapper such as record or result. Business fields remain alongside these members.

Top-level members

PathTypeMeaning
_idstringRecord identifier
_sourcearray of objectsRecorded provenance; each entry has _src and optionally _src_id
_metadataobjectStored processing and record-state information listed below
_searchobjectEvidence attached to a search result
qualityStatestringDerived measurement state: CURRENT, STALE, or UNCALCULATED

_source[]._src is the source name; _source[]._src_id is its optional record reference. In Aurelia, the CRM load records sample-source-crm and CRM-0001 for Ana. The source and reference are strings. The dataset can constrain their vocabulary and validation through its provenance definition. Golden uses the reserved source _golden for records created in Golden.

_audit is not part of an ordinary record response, including an expanded response. Read events through the dedicated record audit endpoint.

Members inside _metadata

Each key in this table is nested: for example, the quality score is _metadata._quality, not a top-level _quality field. Members can be absent according to configuration, processing history, and measurement state.

KeyTypeMeaning
_errorsarrayLegacy processing errors; omitted from responses with current quality measurements
_mergedarray of stringsIdentifiers of records contributing to a mastered record
_unrelatedarray of stringsIdentifiers recorded as unrelated or disconnected
_updatedstringISO 8601 time of the last recorded update
_historybooleanWhether the row represents retained history
_operationstringRecord operation: insert, update, remove, or none
_operation_bucketstringCandidate-group operation: merge, remove, split, disconnect, or unmerge (a record restored by undoing a merge)
_qualityintegerRecord-quality score from 0 to 100, when measurable
_quality_factsarray of objectsFindings for a current measurement
_quality_error_countintegerFindings of severity ERROR for a current measurement
_quality_warning_countintegerFindings of severity WARNING for a current measurement
_quality_available_pointsintegerWeighted total against which the score was calculated
_quality_definitionstringDefinition against which quality was measured
_quality_calculated_atstringISO 8601 time of the measurement

Quality metadata

_quality is 0 to 100, not 0.0 to 1.0. A record scoring 78 reports 78.

Read the score with the top-level qualityState:

StateMeaning
CURRENTThe stored definition matches the table’s current quality definition
STALEA measurement remains but its definition differs from the current one or is missing
UNCALCULATEDNeither a quality definition nor a measurement has been recorded

This state is derived when reading the record. A comparison between _quality_calculated_at and _updated does not determine it. A dataset change can make a stored measurement stale without changing the business values.

When the state is not CURRENT, the response omits _quality_facts, _quality_error_count, and _quality_warning_count. It can retain the score and its available points alongside the state. Missing findings are not a successful validation, and an absent score is not zero. CURRENT alone does not guarantee a numeric score: a record with no measurable values can have a current measurement without one.

Each entry in _quality_facts carries:

FieldMeaning
severityERROR or WARNING
messageKeyStable identifier of the finding, for example quality.validation.email.invalid
messageArgsValues interpolated into the localized message
schemaPathThe dataset column the finding is about
recordPathWhere in this record it occurred, which differs from schemaPath inside nested or repeated structures

Key on messageKey, never on rendered message text. The text is localized and can change between releases; the key is the machine-readable contract.

Search metadata

_search can contain index, match, type, rank, exact, origin, and sourceId. The type identifies the match kind: ID, EXACT, PREFIX, SUFFIX, INFIX, FUZZY, FUZZY_LSH, GEOGRAPHIC, or NONE.

match is the normalized value Golden indexed, not the term submitted. Treat rank as an ordering signal rather than reproducing Golden’s ranking behavior, and read origin before claiming a record matched a value — see Search records through the API.

Input and optional fields

Do not write processing results as business data. qualityState, _metadata, and _search are not client-maintained business fields. _id and _source have their own input rules: use the contract of the write operation rather than copying a complete read response into a write request. Clients should tolerate additional metadata properties so compatible releases can add customer-visible context.

Golden 3.0.0 · Published 2026-10-04