Records

A scalar record is one object: a person, company, address, or another class from the ontology. Direct writes land as sent. They do not run the matcher. Use graph propose when you want matching and deduplication. Field-by-field parameters are in the API reference.

Object ids are 26-character ULIDs. The server mints object_id on create. You do not send name_norm or the phonetic key; those are derived from name.

List and fetch

GET /v1/objects returns an ObjectList: items (each an ObjectSummary), limit, offset, and next_cursor. Query parameters:

  • tenant_id — required, 1–26 characters, must match the credential
  • class_code — optional class filter
  • search — optional, 1–500 characters
  • status — optional
  • limit — 1–1000, default 50
  • offset — default 0; ignored when after is set
  • after — keyset cursor; pass the previous next_cursor

An ObjectSummary has object_id, class_code, name, status (active, inactive, or merged), needs_review, created_at, updated_at, and optional origin_source_id.

GET /v1/objects/{object_id} returns that summary plus properties and relationships (both directions). A cross-tenant id is a 404, the same as an unknown id.

Create, update, delete

POST /v1/objects creates one object and responds 201. Required body fields are tenant_id, class_code, and name. Optional fields include status (default active), origin_source_id, name_format (first_last or last_first, for a person), and allow_duplicate_address. An unknown class_code is HTTP 400. The hint points at GET /v1/ontology/classes.

POST /v1/objects/batch creates many. PATCH /v1/objects/{object_id} changes name and status; tenant_id is required. class_code does not change. DELETE /v1/objects/{object_id} hard-deletes the row. Setting status to inactive is the soft delete: the row stays, and matching skips it.

Search, properties, merge

POST /v1/objects/search is a name search, phonetic and fuzzy. Required fields are tenant_id and name. Optional: class_code, include_properties (default false), and limit (1–1000, default 50). The response is { "items" }.

POST /v1/objects/{object_id}/properties attaches a property. POST /v1/objects/{survivor_id}/merge merges another object into the survivor. Property and relationship rows also have their own routes (/v1/properties/{property_id}, /v1/relationships). Those are still scalar writes, not a product API.