Instance Records

Batch Update Records

Update records asynchronously. Requires instance or space write access.

patch/instances/{instance_id}/modules/{module_name}/{model_name}/batch-update

Request

  • Base URL: https://lamin.ai/api
  • URL: https://lamin.ai/api/instances/{instance_id}/modules/{module_name}/{model_name}/batch-update
  • Auth: HTTP bearer

Path parameters

module_namestring required

Schema module name.

model_namestring required

Model name within the schema module.

instance_idstring uuid required

Instance UUID.

Query parameters

space_idstring uuid nullable

Space UUID for space-scoped access checks.

Request body

recordsobject[] required

Records to update. Each record must contain the key(s) in index_columns plus at least one mutable field.

index_columnsstring[] required

Fields used to identify each existing record to update, such as ['uid'] or ['id']. Must match a database-declared primary or supported unique key; values merely being unique is not sufficient. Each record must include these fields, which are not updated.

Response

Successful Response

object[] required

Changes

No recorded changes to this operation across all 1 revision of this API.