Package ai.vectros.resources.records
Class AsyncRawRecordsClient
java.lang.Object
ai.vectros.resources.records.AsyncRawRecordsClient
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionReserved endpoint for fetching multiple records by ID in one call.batchGetRecords(RequestOptions requestOptions) Reserved endpoint for fetching multiple records by ID in one call.batchGetRecords(BatchGetRequest request) Reserved endpoint for fetching multiple records by ID in one call.batchGetRecords(BatchGetRequest request, RequestOptions requestOptions) Reserved endpoint for fetching multiple records by ID in one call.Reserved endpoint for batch lookup and reference resolution.batchLookupRecords(RequestOptions requestOptions) Reserved endpoint for batch lookup and reference resolution.batchLookupRecords(BatchLookupRequest request) Reserved endpoint for batch lookup and reference resolution.batchLookupRecords(BatchLookupRequest request, RequestOptions requestOptions) Reserved endpoint for batch lookup and reference resolution.Reserved endpoint for bulk record writes.batchWriteRecords(RequestOptions requestOptions) Reserved endpoint for bulk record writes.batchWriteRecords(BatchWriteRequest request) Reserved endpoint for bulk record writes.batchWriteRecords(BatchWriteRequest request, RequestOptions requestOptions) Reserved endpoint for bulk record writes.createRecord(CreateRecordRequest request) Creates a new record of a given type.createRecord(CreateRecordRequest request, RequestOptions requestOptions) Creates a new record of a given type.createRecord(RecordRequest body) Creates a new record of a given type.createRecord(RecordRequest body, RequestOptions requestOptions) Creates a new record of a given type.deleteRecord(String id) Permanently deletes a record.deleteRecord(String id, RequestOptions requestOptions) Permanently deletes a record.deleteRecord(String id, DeleteRecordRequest request) Permanently deletes a record.deleteRecord(String id, DeleteRecordRequest request, RequestOptions requestOptions) Permanently deletes a record.Retrieves a single record by its Vectros-assigned ID, including its full payload (payloads that were externalized to object storage are rehydrated for this response).getRecord(String id, RequestOptions requestOptions) Retrieves a single record by its Vectros-assigned ID, including its full payload (payloads that were externalized to object storage are rehydrated for this response).getRecord(String id, GetRecordRequest request) Retrieves a single record by its Vectros-assigned ID, including its full payload (payloads that were externalized to object storage are rehydrated for this response).getRecord(String id, GetRecordRequest request, RequestOptions requestOptions) Retrieves a single record by its Vectros-assigned ID, including its full payload (payloads that were externalized to object storage are rehydrated for this response).Returns the tombstone left behind when a record was hard-deleted, confirming the deletion and recording when it happened.getRecordTombstone(String id, RequestOptions requestOptions) Returns the tombstone left behind when a record was hard-deleted, confirming the deletion and recording when it happened.getRecordTombstone(String id, GetRecordTombstoneRequest request) Returns the tombstone left behind when a record was hard-deleted, confirming the deletion and recording when it happened.getRecordTombstone(String id, GetRecordTombstoneRequest request, RequestOptions requestOptions) Returns the tombstone left behind when a record was hard-deleted, confirming the deletion and recording when it happened.Returns the audit trail of past versions for a record, as a paginated{data, nextCursor}page.getRecordVersions(String id, RequestOptions requestOptions) Returns the audit trail of past versions for a record, as a paginated{data, nextCursor}page.getRecordVersions(String id, GetRecordVersionsRequest request) Returns the audit trail of past versions for a record, as a paginated{data, nextCursor}page.getRecordVersions(String id, GetRecordVersionsRequest request, RequestOptions requestOptions) Returns the audit trail of past versions for a record, as a paginated{data, nextCursor}page.Returns a paginated list of records in your account as a{data, nextCursor}page.listRecords(RequestOptions requestOptions) Returns a paginated list of records in your account as a{data, nextCursor}page.listRecords(ListRecordsRequest request) Returns a paginated list of records in your account as a{data, nextCursor}page.listRecords(ListRecordsRequest request, RequestOptions requestOptions) Returns a paginated list of records in your account as a{data, nextCursor}page.lookupRecords(LookupRecordsRequest request) Finds records by the value of a lookup field declared on the type's schema.lookupRecords(LookupRecordsRequest request, RequestOptions requestOptions) Finds records by the value of a lookup field declared on the type's schema.lookupRecordsByBody(RecordLookupRequest request) Body-based equivalent ofGET /v1/records/lookup.lookupRecordsByBody(RecordLookupRequest request, RequestOptions requestOptions) Body-based equivalent ofGET /v1/records/lookup.patchRecord(String id, PatchRecordRequest request) Partially updates a record using an RFC 7386 JSON Merge Patch.patchRecord(String id, PatchRecordRequest request, RequestOptions requestOptions) Partially updates a record using an RFC 7386 JSON Merge Patch.updateRecord(String id, UpdateRecordRequest request) Replaces a record's payload and mutable fields.updateRecord(String id, UpdateRecordRequest request, RequestOptions requestOptions) Replaces a record's payload and mutable fields.
-
Field Details
-
clientOptions
-
-
Constructor Details
-
AsyncRawRecordsClient
-
-
Method Details
-
batchGetRecords
Reserved endpoint for fetching multiple records by ID in one call. When available, the response will contain only the records you can see; any IDs that do not exist or are outside your scope are silently omitted (there is no per-ID existence signal), matching the not-found behavior of the single-record GET. It currently returns 501 (not implemented). The documented 200 response schema is the stable shape this endpoint will use once available. Requires therecords:rscope. -
batchGetRecords
public CompletableFuture<VectrosApiHttpResponse<BatchGetResponse>> batchGetRecords(RequestOptions requestOptions) Reserved endpoint for fetching multiple records by ID in one call. When available, the response will contain only the records you can see; any IDs that do not exist or are outside your scope are silently omitted (there is no per-ID existence signal), matching the not-found behavior of the single-record GET. It currently returns 501 (not implemented). The documented 200 response schema is the stable shape this endpoint will use once available. Requires therecords:rscope. -
batchGetRecords
public CompletableFuture<VectrosApiHttpResponse<BatchGetResponse>> batchGetRecords(BatchGetRequest request) Reserved endpoint for fetching multiple records by ID in one call. When available, the response will contain only the records you can see; any IDs that do not exist or are outside your scope are silently omitted (there is no per-ID existence signal), matching the not-found behavior of the single-record GET. It currently returns 501 (not implemented). The documented 200 response schema is the stable shape this endpoint will use once available. Requires therecords:rscope. -
batchGetRecords
public CompletableFuture<VectrosApiHttpResponse<BatchGetResponse>> batchGetRecords(BatchGetRequest request, RequestOptions requestOptions) Reserved endpoint for fetching multiple records by ID in one call. When available, the response will contain only the records you can see; any IDs that do not exist or are outside your scope are silently omitted (there is no per-ID existence signal), matching the not-found behavior of the single-record GET. It currently returns 501 (not implemented). The documented 200 response schema is the stable shape this endpoint will use once available. Requires therecords:rscope. -
batchLookupRecords
Reserved endpoint for batch lookup and reference resolution. The published response shape correlates results to each input and carries a per-item status envelope. It currently returns 501 (not implemented). The documented 200 response schema is the stable shape this endpoint will use once available. Requires therecords:rscope. -
batchLookupRecords
public CompletableFuture<VectrosApiHttpResponse<BatchLookupResponse>> batchLookupRecords(RequestOptions requestOptions) Reserved endpoint for batch lookup and reference resolution. The published response shape correlates results to each input and carries a per-item status envelope. It currently returns 501 (not implemented). The documented 200 response schema is the stable shape this endpoint will use once available. Requires therecords:rscope. -
batchLookupRecords
public CompletableFuture<VectrosApiHttpResponse<BatchLookupResponse>> batchLookupRecords(BatchLookupRequest request) Reserved endpoint for batch lookup and reference resolution. The published response shape correlates results to each input and carries a per-item status envelope. It currently returns 501 (not implemented). The documented 200 response schema is the stable shape this endpoint will use once available. Requires therecords:rscope. -
batchLookupRecords
public CompletableFuture<VectrosApiHttpResponse<BatchLookupResponse>> batchLookupRecords(BatchLookupRequest request, RequestOptions requestOptions) Reserved endpoint for batch lookup and reference resolution. The published response shape correlates results to each input and carries a per-item status envelope. It currently returns 501 (not implemented). The documented 200 response schema is the stable shape this endpoint will use once available. Requires therecords:rscope. -
batchWriteRecords
Reserved endpoint for bulk record writes. The published response shape includes a per-item partial-failure envelope and an atomicity flag. It currently returns 501 (not implemented). The documented 200 response schema is the stable shape this endpoint will use once available, published now so SDK integrations against it will not break when it ships. Requires therecords:cscope. -
batchWriteRecords
public CompletableFuture<VectrosApiHttpResponse<BatchWriteResponse>> batchWriteRecords(RequestOptions requestOptions) Reserved endpoint for bulk record writes. The published response shape includes a per-item partial-failure envelope and an atomicity flag. It currently returns 501 (not implemented). The documented 200 response schema is the stable shape this endpoint will use once available, published now so SDK integrations against it will not break when it ships. Requires therecords:cscope. -
batchWriteRecords
public CompletableFuture<VectrosApiHttpResponse<BatchWriteResponse>> batchWriteRecords(BatchWriteRequest request) Reserved endpoint for bulk record writes. The published response shape includes a per-item partial-failure envelope and an atomicity flag. It currently returns 501 (not implemented). The documented 200 response schema is the stable shape this endpoint will use once available, published now so SDK integrations against it will not break when it ships. Requires therecords:cscope. -
batchWriteRecords
public CompletableFuture<VectrosApiHttpResponse<BatchWriteResponse>> batchWriteRecords(BatchWriteRequest request, RequestOptions requestOptions) Reserved endpoint for bulk record writes. The published response shape includes a per-item partial-failure envelope and an atomicity flag. It currently returns 501 (not implemented). The documented 200 response schema is the stable shape this endpoint will use once available, published now so SDK integrations against it will not break when it ships. Requires therecords:cscope. -
listRecords
Returns a paginated list of records in your account as a{data, nextCursor}page. Supply exactly one oftype,folderId, orrecent=trueto choose the mode:typelists all records of a single type;folderIdlists all records in a folder (any type); andrecent=truereturns the account-wide recently-updated feed across all types, newest first. You may combinetypewithfolderIdto list a single type within a folder. The owner filters (userId,orgId,clientId) further narrow the type and folder modes; therecentfeed is standalone and ignores all filters. Each token only sees the record types it is scoped to read. Requires therecords:rscope. By default the response returns the indexed projection of each record; setincludePayload=trueto include full payloads. -
listRecords
public CompletableFuture<VectrosApiHttpResponse<RecordPage>> listRecords(RequestOptions requestOptions) Returns a paginated list of records in your account as a{data, nextCursor}page. Supply exactly one oftype,folderId, orrecent=trueto choose the mode:typelists all records of a single type;folderIdlists all records in a folder (any type); andrecent=truereturns the account-wide recently-updated feed across all types, newest first. You may combinetypewithfolderIdto list a single type within a folder. The owner filters (userId,orgId,clientId) further narrow the type and folder modes; therecentfeed is standalone and ignores all filters. Each token only sees the record types it is scoped to read. Requires therecords:rscope. By default the response returns the indexed projection of each record; setincludePayload=trueto include full payloads. -
listRecords
public CompletableFuture<VectrosApiHttpResponse<RecordPage>> listRecords(ListRecordsRequest request) Returns a paginated list of records in your account as a{data, nextCursor}page. Supply exactly one oftype,folderId, orrecent=trueto choose the mode:typelists all records of a single type;folderIdlists all records in a folder (any type); andrecent=truereturns the account-wide recently-updated feed across all types, newest first. You may combinetypewithfolderIdto list a single type within a folder. The owner filters (userId,orgId,clientId) further narrow the type and folder modes; therecentfeed is standalone and ignores all filters. Each token only sees the record types it is scoped to read. Requires therecords:rscope. By default the response returns the indexed projection of each record; setincludePayload=trueto include full payloads. -
listRecords
public CompletableFuture<VectrosApiHttpResponse<RecordPage>> listRecords(ListRecordsRequest request, RequestOptions requestOptions) Returns a paginated list of records in your account as a{data, nextCursor}page. Supply exactly one oftype,folderId, orrecent=trueto choose the mode:typelists all records of a single type;folderIdlists all records in a folder (any type); andrecent=truereturns the account-wide recently-updated feed across all types, newest first. You may combinetypewithfolderIdto list a single type within a folder. The owner filters (userId,orgId,clientId) further narrow the type and folder modes; therecentfeed is standalone and ignores all filters. Each token only sees the record types it is scoped to read. Requires therecords:rscope. By default the response returns the indexed projection of each record; setincludePayload=trueto include full payloads. -
createRecord
Creates a new record of a given type. Thepayloadis validated against that type's schema before the record is stored. Identify the type by sendingtypeName,schemaId, or both (they must agree); if you send onlyschemaId, the type is taken from that schema. Optionally supply anexternalIdto make the create idempotent — if a record with the sameexternalIdalready exists in your context, that existing record is returned unchanged instead of a duplicate being created. The response'screatedfield (and the HTTP status — 201 when created, 200 when an existing record was returned) tells the two apart. To overwrite an existing record's content instead of returning it unchanged, set?upsert=true(this also requires therecords:u:<type>scope). Requires therecords:c:<type>scope. -
createRecord
public CompletableFuture<VectrosApiHttpResponse<RecordResponse>> createRecord(RecordRequest body, RequestOptions requestOptions) Creates a new record of a given type. Thepayloadis validated against that type's schema before the record is stored. Identify the type by sendingtypeName,schemaId, or both (they must agree); if you send onlyschemaId, the type is taken from that schema. Optionally supply anexternalIdto make the create idempotent — if a record with the sameexternalIdalready exists in your context, that existing record is returned unchanged instead of a duplicate being created. The response'screatedfield (and the HTTP status — 201 when created, 200 when an existing record was returned) tells the two apart. To overwrite an existing record's content instead of returning it unchanged, set?upsert=true(this also requires therecords:u:<type>scope). Requires therecords:c:<type>scope. -
createRecord
public CompletableFuture<VectrosApiHttpResponse<RecordResponse>> createRecord(CreateRecordRequest request) Creates a new record of a given type. Thepayloadis validated against that type's schema before the record is stored. Identify the type by sendingtypeName,schemaId, or both (they must agree); if you send onlyschemaId, the type is taken from that schema. Optionally supply anexternalIdto make the create idempotent — if a record with the sameexternalIdalready exists in your context, that existing record is returned unchanged instead of a duplicate being created. The response'screatedfield (and the HTTP status — 201 when created, 200 when an existing record was returned) tells the two apart. To overwrite an existing record's content instead of returning it unchanged, set?upsert=true(this also requires therecords:u:<type>scope). Requires therecords:c:<type>scope. -
createRecord
public CompletableFuture<VectrosApiHttpResponse<RecordResponse>> createRecord(CreateRecordRequest request, RequestOptions requestOptions) Creates a new record of a given type. Thepayloadis validated against that type's schema before the record is stored. Identify the type by sendingtypeName,schemaId, or both (they must agree); if you send onlyschemaId, the type is taken from that schema. Optionally supply anexternalIdto make the create idempotent — if a record with the sameexternalIdalready exists in your context, that existing record is returned unchanged instead of a duplicate being created. The response'screatedfield (and the HTTP status — 201 when created, 200 when an existing record was returned) tells the two apart. To overwrite an existing record's content instead of returning it unchanged, set?upsert=true(this also requires therecords:u:<type>scope). Requires therecords:c:<type>scope. -
getRecord
Retrieves a single record by its Vectros-assigned ID, including its full payload (payloads that were externalized to object storage are rehydrated for this response). Sensitive fields are masked according to the record's schema. Requires therecords:r:<type>scope. A record outside your account or scope returns 404 (not found) rather than revealing its existence. -
getRecord
public CompletableFuture<VectrosApiHttpResponse<RecordResponse>> getRecord(String id, RequestOptions requestOptions) Retrieves a single record by its Vectros-assigned ID, including its full payload (payloads that were externalized to object storage are rehydrated for this response). Sensitive fields are masked according to the record's schema. Requires therecords:r:<type>scope. A record outside your account or scope returns 404 (not found) rather than revealing its existence. -
getRecord
public CompletableFuture<VectrosApiHttpResponse<RecordResponse>> getRecord(String id, GetRecordRequest request) Retrieves a single record by its Vectros-assigned ID, including its full payload (payloads that were externalized to object storage are rehydrated for this response). Sensitive fields are masked according to the record's schema. Requires therecords:r:<type>scope. A record outside your account or scope returns 404 (not found) rather than revealing its existence. -
getRecord
public CompletableFuture<VectrosApiHttpResponse<RecordResponse>> getRecord(String id, GetRecordRequest request, RequestOptions requestOptions) Retrieves a single record by its Vectros-assigned ID, including its full payload (payloads that were externalized to object storage are rehydrated for this response). Sensitive fields are masked according to the record's schema. Requires therecords:r:<type>scope. A record outside your account or scope returns 404 (not found) rather than revealing its existence. -
updateRecord
public CompletableFuture<VectrosApiHttpResponse<RecordResponse>> updateRecord(String id, UpdateRecordRequest request) Replaces a record's payload and mutable fields. This is a full replacement: thepayloadyou send overwrites the existing payload entirely, so include every field you want to keep (use the PATCH endpoint to change only specific fields).typeNameandschemaIdare immutable and cannot be changed. The new payload is validated against the record's schema. PassexpectedVersionto make the update conditional on the record not having changed since you last read it (optimistic concurrency). Requires therecords:u:<type>scope. -
updateRecord
public CompletableFuture<VectrosApiHttpResponse<RecordResponse>> updateRecord(String id, UpdateRecordRequest request, RequestOptions requestOptions) Replaces a record's payload and mutable fields. This is a full replacement: thepayloadyou send overwrites the existing payload entirely, so include every field you want to keep (use the PATCH endpoint to change only specific fields).typeNameandschemaIdare immutable and cannot be changed. The new payload is validated against the record's schema. PassexpectedVersionto make the update conditional on the record not having changed since you last read it (optimistic concurrency). Requires therecords:u:<type>scope. -
deleteRecord
Permanently deletes a record. This is a hard delete: the record is removed and a tombstone plus an audit-trail entry are recorded (you can later retrieve the tombstone viaGET /v1/records/{id}/tombstone). Requires therecords:d:<type>scope. -
deleteRecord
public CompletableFuture<VectrosApiHttpResponse<Void>> deleteRecord(String id, RequestOptions requestOptions) Permanently deletes a record. This is a hard delete: the record is removed and a tombstone plus an audit-trail entry are recorded (you can later retrieve the tombstone viaGET /v1/records/{id}/tombstone). Requires therecords:d:<type>scope. -
deleteRecord
public CompletableFuture<VectrosApiHttpResponse<Void>> deleteRecord(String id, DeleteRecordRequest request) Permanently deletes a record. This is a hard delete: the record is removed and a tombstone plus an audit-trail entry are recorded (you can later retrieve the tombstone viaGET /v1/records/{id}/tombstone). Requires therecords:d:<type>scope. -
deleteRecord
public CompletableFuture<VectrosApiHttpResponse<Void>> deleteRecord(String id, DeleteRecordRequest request, RequestOptions requestOptions) Permanently deletes a record. This is a hard delete: the record is removed and a tombstone plus an audit-trail entry are recorded (you can later retrieve the tombstone viaGET /v1/records/{id}/tombstone). Requires therecords:d:<type>scope. -
patchRecord
public CompletableFuture<VectrosApiHttpResponse<RecordResponse>> patchRecord(String id, PatchRecordRequest request) Partially updates a record using an RFC 7386 JSON Merge Patch. Thepayloadobject is deep-merged into the existing payload: keys you send overwrite (recursing into nested objects), a key set to null is deleted, and keys you omit are left unchanged — so you can change a single field without re-sending the rest (unlike the full-replacement PUT). Top-level fields (status,folderId,userId,orgId,clientId) are set when present and left unchanged when omitted; sending a top-level field as null is rejected (clearing a top-level field is not supported in this release — omit it instead).typeName,schemaId,externalId, andindexModeare immutable and rejected if present. The merged result is validated against the schema. PassexpectedVersionto make the patch conditional (optimistic concurrency, 409 on conflict). Requires therecords:u:<type>scope. -
patchRecord
public CompletableFuture<VectrosApiHttpResponse<RecordResponse>> patchRecord(String id, PatchRecordRequest request, RequestOptions requestOptions) Partially updates a record using an RFC 7386 JSON Merge Patch. Thepayloadobject is deep-merged into the existing payload: keys you send overwrite (recursing into nested objects), a key set to null is deleted, and keys you omit are left unchanged — so you can change a single field without re-sending the rest (unlike the full-replacement PUT). Top-level fields (status,folderId,userId,orgId,clientId) are set when present and left unchanged when omitted; sending a top-level field as null is rejected (clearing a top-level field is not supported in this release — omit it instead).typeName,schemaId,externalId, andindexModeare immutable and rejected if present. The merged result is validated against the schema. PassexpectedVersionto make the patch conditional (optimistic concurrency, 409 on conflict). Requires therecords:u:<type>scope. -
lookupRecords
public CompletableFuture<VectrosApiHttpResponse<RecordLookupResponse>> lookupRecords(LookupRecordsRequest request) Finds records by the value of a lookup field declared on the type's schema. Provide exactly one lookup mode:value(exact match),from+to(inclusive range, ascending by value), orprefix(string fields only, ascending). Range and prefix lookups are not supported on a sensitive field, because its value is stored as a blind index and has no sortable order. An exact-valuelookup on a sensitive field is also rejected on this GET endpoint — the value must not appear in the URL — so use thePOST /v1/records/lookupbody variant for sensitive fields. Results are paginated: setlimitfor the page size and pass the returnednextCursorback asstartFromfor the next page. Requires therecords:r:<type>scope. -
lookupRecords
public CompletableFuture<VectrosApiHttpResponse<RecordLookupResponse>> lookupRecords(LookupRecordsRequest request, RequestOptions requestOptions) Finds records by the value of a lookup field declared on the type's schema. Provide exactly one lookup mode:value(exact match),from+to(inclusive range, ascending by value), orprefix(string fields only, ascending). Range and prefix lookups are not supported on a sensitive field, because its value is stored as a blind index and has no sortable order. An exact-valuelookup on a sensitive field is also rejected on this GET endpoint — the value must not appear in the URL — so use thePOST /v1/records/lookupbody variant for sensitive fields. Results are paginated: setlimitfor the page size and pass the returnednextCursorback asstartFromfor the next page. Requires therecords:r:<type>scope. -
lookupRecordsByBody
public CompletableFuture<VectrosApiHttpResponse<RecordLookupResponse>> lookupRecordsByBody(RecordLookupRequest request) Body-based equivalent ofGET /v1/records/lookup. Use this when looking up by a sensitive field: the value travels in the request body (and is blind-indexed server-side) instead of in the URL query string, so it never lands in access, CDN, or proxy logs. The GET variant rejects an exact-value lookup on a sensitive field and directs you here. Non-sensitive exact-value, range (from+to), and prefix lookups also work here. Returns the same{data, nextCursor}envelope and uses the same pagination as the GET variant. Requires therecords:r:<type>scope. -
lookupRecordsByBody
public CompletableFuture<VectrosApiHttpResponse<RecordLookupResponse>> lookupRecordsByBody(RecordLookupRequest request, RequestOptions requestOptions) Body-based equivalent ofGET /v1/records/lookup. Use this when looking up by a sensitive field: the value travels in the request body (and is blind-indexed server-side) instead of in the URL query string, so it never lands in access, CDN, or proxy logs. The GET variant rejects an exact-value lookup on a sensitive field and directs you here. Non-sensitive exact-value, range (from+to), and prefix lookups also work here. Returns the same{data, nextCursor}envelope and uses the same pagination as the GET variant. Requires therecords:r:<type>scope. -
getRecordTombstone
Returns the tombstone left behind when a record was hard-deleted, confirming the deletion and recording when it happened. Look it up using the deleted record's original ID. Requires therecords:r:<type>scope. -
getRecordTombstone
public CompletableFuture<VectrosApiHttpResponse<RecordResponse>> getRecordTombstone(String id, RequestOptions requestOptions) Returns the tombstone left behind when a record was hard-deleted, confirming the deletion and recording when it happened. Look it up using the deleted record's original ID. Requires therecords:r:<type>scope. -
getRecordTombstone
public CompletableFuture<VectrosApiHttpResponse<RecordResponse>> getRecordTombstone(String id, GetRecordTombstoneRequest request) Returns the tombstone left behind when a record was hard-deleted, confirming the deletion and recording when it happened. Look it up using the deleted record's original ID. Requires therecords:r:<type>scope. -
getRecordTombstone
public CompletableFuture<VectrosApiHttpResponse<RecordResponse>> getRecordTombstone(String id, GetRecordTombstoneRequest request, RequestOptions requestOptions) Returns the tombstone left behind when a record was hard-deleted, confirming the deletion and recording when it happened. Look it up using the deleted record's original ID. Requires therecords:r:<type>scope. -
getRecordVersions
Returns the audit trail of past versions for a record, as a paginated{data, nextCursor}page. This is available only when the record type's schema has audit history enabled (the default); if it is disabled, the endpoint returns 409. Requires therecords:r:<type>scope. -
getRecordVersions
public CompletableFuture<VectrosApiHttpResponse<ModelDataVersionPage>> getRecordVersions(String id, RequestOptions requestOptions) Returns the audit trail of past versions for a record, as a paginated{data, nextCursor}page. This is available only when the record type's schema has audit history enabled (the default); if it is disabled, the endpoint returns 409. Requires therecords:r:<type>scope. -
getRecordVersions
public CompletableFuture<VectrosApiHttpResponse<ModelDataVersionPage>> getRecordVersions(String id, GetRecordVersionsRequest request) Returns the audit trail of past versions for a record, as a paginated{data, nextCursor}page. This is available only when the record type's schema has audit history enabled (the default); if it is disabled, the endpoint returns 409. Requires therecords:r:<type>scope. -
getRecordVersions
public CompletableFuture<VectrosApiHttpResponse<ModelDataVersionPage>> getRecordVersions(String id, GetRecordVersionsRequest request, RequestOptions requestOptions) Returns the audit trail of past versions for a record, as a paginated{data, nextCursor}page. This is available only when the record type's schema has audit history enabled (the default); if it is disabled, the endpoint returns 409. Requires therecords:r:<type>scope.
-