Class RecordResponse.Builder
- Enclosing class:
RecordResponse
-
Method Summary
Modifier and TypeMethodDescriptionadditionalProperties(Map<String, Object> additionalProperties) additionalProperty(String key, Object value) build()Identifier of the associated client (a Vectros-assigned UUID).When the record was created, as an ISO-8601 UTC timestamp.Identifier of the API key or scoped token that created this record (for example,key_abc123for an API key).externalId(String externalId) externalId(Optional<String> externalId) Your own stable identifier for this record.Identifier of the folder grouping this record.from(RecordResponse other) Unique identifier for this record (UUID), assigned by Vectros at creation.indexMode(RecordResponseIndexMode indexMode) indexMode(Optional<RecordResponseIndexMode> indexMode) The record's resolved search-index mode: the per-record override if set, otherwise the schema's type-level default, otherwise NONE.indexStatus(RecordResponseIndexStatus indexStatus) indexStatus(Optional<RecordResponseIndexStatus> indexStatus) Search-index status.Identifier of the owning organization (a Vectros-assigned UUID).The record's data payload.payloadBytes(Long payloadBytes) payloadBytes(Optional<Long> payloadBytes) Size in bytes of the full externalized payload.payloadExternalized(Boolean payloadExternalized) payloadExternalized(Optional<Boolean> payloadExternalized) True when this record's full payload is stored externally rather than inline.Identifier of the schema this record was validated against.schemaVersion(Integer schemaVersion) schemaVersion(Optional<Integer> schemaVersion) The version of the governing schema at the moment this record was written.Record lifecycle status.The record's type, matching thetypeNamedeclared on the schema this record was created against.When the record was last updated, as an ISO-8601 UTC timestamp.Identifier of the owning user (a Vectros-assigned UUID).Optimistic-concurrency version.
-
Method Details
-
from
-
id
Unique identifier for this record (UUID), assigned by Vectros at creation.
-
id
-
typeName
The record's type, matching the
typeNamedeclared on the schema this record was created against. -
typeName
-
schemaId
Identifier of the schema this record was validated against.
-
schemaId
-
schemaVersion
The version of the governing schema at the moment this record was written. The schema version increments on every schema edit, but a record keeps the version it was stamped with at write time even after the schema evolves — so you always know which schema shape the payload conforms to. Null for a record created without a schema.
-
schemaVersion
-
externalId
Your own stable identifier for this record. Immutable, and unique within your account, context, and record type. Null if the record was created without one.
-
externalId
-
payload
The record's data payload. Its structure is defined by the referenced schema. Fields the schema marks as searchable are indexed for full-text and semantic search. When a record's payload is stored externally (because it is large), list and lookup responses return only the indexed/metadata projection here and set
payloadExternalizedto true; to retrieve the full payload, fetch the record by id (GET /v1/records/{id}) or passincludePayload=trueon the list or lookup call. -
payload
-
payloadExternalized
True when this record's full payload is stored externally rather than inline. In that case list and lookup responses return only the indexed projection in
payloadunlessincludePayload=truewas passed; fetching the record by id always returns the full payload. Null (omitted) for inline records. -
payloadExternalized
-
payloadBytes
Size in bytes of the full externalized payload. Present only when
payloadExternalizedis true. -
payloadBytes
-
status
Record lifecycle status. ACTIVE records are live. Use this field to model soft-delete or workflow states without physically deleting records.
-
status
-
folderId
Identifier of the folder grouping this record. A folder can group both records and documents together.
-
folderId
-
userId
Identifier of the owning user (a Vectros-assigned UUID). Set automatically from the calling token's identity when the token carries a user identity.
-
userId
-
orgId
Identifier of the owning organization (a Vectros-assigned UUID). Set automatically from the calling token's identity when the token carries an organization identity.
-
orgId
-
clientId
Identifier of the associated client (a Vectros-assigned UUID). Set automatically from the calling token's identity when the token carries a client identity.
-
clientId
-
indexStatus
Search-index status. PENDING_INDEX means the record is queued for indexing. INDEXED means it is searchable via
POST /v1/search. SKIPPED means the record had no indexable text (e.g. only non-searchable fields populated) so there was nothing to index — it is stored and retrievable, just not full-text/semantic searchable until a searchable field is filled in; not an error. FAILED means indexing hit an error — the record is still readable but not searchable. Null for a store-only record (indexModeNONE), which has no indexing to track. -
indexStatus
-
indexMode
The record's resolved search-index mode: the per-record override if set, otherwise the schema's type-level default, otherwise NONE. HYBRID, SEMANTIC, and TEXT make the record searchable; NONE is store-only.
-
indexMode
-
createdBy
Identifier of the API key or scoped token that created this record (for example,
key_abc123for an API key). -
createdBy
-
createdAt
When the record was created, as an ISO-8601 UTC timestamp.
-
createdAt
-
updatedAt
When the record was last updated, as an ISO-8601 UTC timestamp.
-
updatedAt
-
version
Optimistic-concurrency version. Pass this value back as
expectedVersionon a later update to avoid silently overwriting a concurrent change — the update is rejected with 409 VERSION_CONFLICT if the record changed in the meantime. Incremented on every successful write. -
version
-
build
-
additionalProperty
-
additionalProperties
-