Skip to main content
A record is one item in a collection: one customer, one booking, one task.

Record shape

In API responses, a record is a flat JSON object: system fields plus one key per field.

Operations

See the API reference for request details.

Create

  • Keys must match field names. Unknown keys are ignored.
  • You can also send the system fields slug and published_at.
  • The response is 201 Created with { "data": { ... } }.
  • When a signed-in end user creates a record, they become its owner. Row policies of type owner use this.

Update

Updates are partial:

Prevent lost updates

Each record has a version that increases on every change. Send the version you loaded, in the body or in an If-Match header. If someone else changed the record in the meantime, Bludia returns 409 Conflict and saves nothing.

Delete, trash, and restore

DELETE moves a record to the trash (soft delete). It disappears from lists and lookups but can be restored from the dashboard. List responses report the trash size in meta.trashed. From the trash you can restore records or delete them permanently.
Permanent deletion can’t be undone.

History

Every change to a record is recorded. Open a record in the dashboard and select History to see what changed, when, and by whom.

Hooks and records

Writes trigger hooks: beforeInsert/afterInsert on create, beforeUpdate/afterUpdate on update, and beforeDelete/afterDelete on delete. A before hook can change the record or reject the write.