FruxonDocs

Records

Typed rows in an Application, written by hand or synced from a tool source, that people can browse and search and agents can read

A record type is a named set of typed fields in one Application, such as product with a name, a price and an in-stock flag. Its rows are records. Each record has a Record ID that never changes.

An asset gives an agent passages of text to search. Records give it rows with typed values. An agent can read one product by its ID, list the products under 20 that are in stock, count orders per status, add up an invoice's lines, or search products by meaning. People browse and filter the same rows on the Application's Data page, from the CLI, or over the API.

Records are switched on data region by data region. Where they are off, every records route answers 404, the Data page says records aren't available, and agents are offered no records tools.

Record types

A type is either authored or synced. You choose when you create it, and it can't change afterwards.

Authored (AUTHORED)Synced (SYNCED)
Who writes the rowsPeople and programs, through the console, the CLI or the APIA sync from a tool source. Every other write is refused with record_type_synced.
Changing the fieldsOnly adding a field that may be empty. Labels, descriptions and the order of the fields may change.Fields may be added, renamed, retyped or removed. The next sync rewrites every row from the source and keeps each Record ID.
Key field and parentFixed once createdMay change
SearchNoYes, with search settings

An authored type is fixed because nothing can rebuild its rows. A refused change answers record_type_authored_change_refused. To fix a typo in a field key, delete the type and create it again.

A type has:

  • key: lower case letters, digits and underscores, starting with a letter, at most 64 characters. It names the type in routes, agent tools and references. It must be unique among the Application's live types, and it can't change. A key with a dot is refused with record_type_key_reserved, because dotted keys name platform types.
  • displayName (up to 150 characters) and description (up to 2,000). Agents that read the type see both, so say what the type holds.
  • writeModel: AUTHORED or SYNCED.
  • fields: up to 100. See Fields.
  • keyField, parentTypeKey: optional. See Key field and Parents and references.
  • readRole, writeRole, sensitiveRole: see Roles and sensitive fields.
  • retentionDays: optional. See Retention and the record cap.

An Application holds at most 200 record types (record_type_limit_reached). Creating, changing and deleting a type needs the Editor role in the Application.

Fields

KindA value is
TEXTFree text, up to 10,000 characters
YES_NOtrue or false
CHOICEOne of the field's options
MULTI_CHOICEA list of the field's options, none twice
NUMBERA finite number
DATEA calendar date, YYYY-MM-DD
REFERENCEThe Record ID of a live record of the field's targetTypeKey, in the same Application

Each field has a key (the same grammar as a type key) and a kind, and may have:

  • label, up to 200 characters. The key is used when it's left out.
  • options, for CHOICE and MULTI_CHOICE only: up to 200, each up to 120 characters. On a synced type the list may be empty, and then any value up to 120 characters is accepted, as the source sends it.
  • targetTypeKey, for REFERENCE only.
  • nullable: whether a record may leave the field empty. A field is required unless nullable is true.
  • sensitive: see Roles and sensitive fields.
  • description, up to 500 characters. Agents read it too.
{
  "key": "product",
  "displayName": "Product",
  "description": "Every product we sell, with its price and whether it is in stock.",
  "writeModel": "AUTHORED",
  "keyField": "sku",
  "fields": [
    { "key": "sku", "label": "SKU", "kind": "TEXT" },
    { "key": "name", "label": "Name", "kind": "TEXT" },
    {
      "key": "category",
      "label": "Category",
      "kind": "CHOICE",
      "options": ["Herbs", "Teas", "Spices"]
    },
    { "key": "price", "label": "Price", "kind": "NUMBER" },
    { "key": "in_stock", "label": "In stock", "kind": "YES_NO" },
    {
      "key": "released",
      "label": "Released",
      "kind": "DATE",
      "nullable": true
    },
    {
      "key": "supplier_cost",
      "label": "Supplier cost",
      "kind": "NUMBER",
      "nullable": true,
      "sensitive": true
    }
  ]
}

Key field

keyField names the field that identifies a record, such as a SKU. It must be a TEXT or NUMBER field that is neither nullable nor sensitive. A key is at most 512 characters.

With a key field, a write finds the record by its key and creates it when no record has that key. Two records of a type can't share a key. Without a key field, every write that names no Record ID creates a new record.

Parents and references

A parent owns records of another type, such as an invoice and its lines. Set parentTypeKey on the child type, and parentId on each child record. Types nest one level only: a parent type has no parent of its own, and a type that is a parent can't take one.

  • A record that live records name as their parent can't be deleted (record_has_children). Delete or move the children first. Nothing is deleted with it.
  • To take a record's parent away, write it with clearParent: true.
  • List, count and sum take parentId to read one record's children: the lines of one invoice.

A reference field holds the Record ID of a record of its targetTypeKey. A write that names a record that isn't a live record of that type is refused with record_reference_not_found.

A type can't be deleted while another live type has it as its parent or points a reference field at it (record_type_in_use).

Roles and sensitive fields

A type names three Application collaborator roles: VIEWER, EDITOR or ADMIN.

SettingDefaultWho it lets in
readRoleVIEWERReads the type's records: get, list, count, sum, search, and its sync runs
writeRoleEDITORWrites and deletes the records of an authored type
sensitiveRoleADMINSees the values of sensitive fields

Below the role a call needs, it's refused with 403 and record_role_too_low. Organization Admins and Owners have Admin in every Application.

Sensitive fields. Mark a field sensitive when only some people may see it, such as a cost price or an ID number. For anyone below sensitiveRole, a sensitive field's value is null and its key is listed in masked, so an empty field and a hidden one never look alike. A sensitive field:

  • can't be filtered, sorted, grouped or summed on, by anyone (record_filter_invalid);
  • can't be the key field;
  • can't be in a type's search template or search filters;
  • is never shown to an agent, whatever the role of the person who built it.

expect on a sensitive field, from someone below sensitiveRole, is refused with 403.

Loosening the protection needs the sensitive role. These changes need the type's current sensitiveRole:

  • lowering sensitiveRole;
  • clearing sensitive on a field, or replacing a sensitive field with an ordinary one of the same key;
  • removing a sensitive field, since the rows keep its values and a later field of that key would show them;
  • on a synced type that has a sensitive field, binding a source, changing its asset, key path or version path, or mapping an ordinary field to a new source path.

Anyone else is refused with 403 and record_type_sensitive_loosening_refused. Tightening, such as raising sensitiveRole or marking a field sensitive, needs only Editor.

The sensitive role protects values once they are records. Someone who can read the tool source asset itself, for example by fetching a sample record from it, sees the source's raw data.

Retention and the record cap

retentionDays removes records for good after 1 to 3,650 days. Leave it out to keep records until someone deletes them.

  • On an authored type, the days count from a record's last change. Deleting a record counts as a change, so a deleted record is kept the full period after its deletion.
  • On a synced type, the days count from a record's deletion. Live records are kept.
  • A record that live records name as their parent is kept until they go.

Removal runs every 6 hours.

Deleting a type is soft. Its key is free for a new type at once, and its records stop being readable. They are removed for good 30 days later, and then the type.

The record cap. A type holds at most 100,000 live records (recordCap). A write that would pass it is refused with record_cap_reached. A sync that reaches it stops, keeps what it wrote, and deletes nothing.

Write records

Only an authored type takes writes. records:upsert creates a record or changes one:

  • With id, it changes that record. An id that names no record is 404.
  • With key (or the key field's value in fields), it changes the record that has the key, or creates one.
  • With neither, it creates a record.

Fields left out keep their values, so a change sends only what changes. null empties a nullable field. Creating a record needs every field that may not be empty. A refused value is 400 with record_value_invalid, and the error's field names the field.

Every change raises the record's revision by one. A write that changes nothing keeps it.

GuardWhat it does
expectedRevision: NWrites only if the record is at revision N. Otherwise 409 with record_precondition_failed.
expectedRevision: 0Create-only. A key a live record holds is refused with record_key_taken, and a key only a deleted record holds with record_key_deleted.
expect: {field: value}Writes only if the record holds those values. Otherwise record_precondition_failed.

Deleting is soft. A deleted record stops being listed at once, and deleted=true lists it. Writing its key again restores it with the same Record ID: its old values come back, with the fields you sent merged in.

fruxon records upsert product --create-only --set sku=SKU-1 --set name=Oregano --set price:=12.5 --set in_stock:=true
fruxon records upsert product --key SKU-1 --set price:=11 --expected-revision 1
fruxon records upsert invoice_line --set amount:=40 --parent <invoice-record-id>
fruxon records delete product <record-id> --yes

In the console, open the type's records and use Add record, or a row's Edit and Delete.

Read records

A record as the API returns it:

{
  "id": "5d0c3e9a-1b2f-4c55-9d1e-6f0a2b7c8d90",
  "type": "product",
  "key": "SKU-1",
  "revision": 3,
  "parentId": null,
  "fields": {
    "sku": "SKU-1",
    "name": "Oregano",
    "category": "Herbs",
    "price": 11,
    "in_stock": true,
    "released": "2026-01-05",
    "supplier_cost": null
  },
  "masked": ["supplier_cost"],
  "createdAt": 1763460000000,
  "modifiedAt": 1763463600000
}

A synced record also has source, with the binding that wrote it (bindingId) and the source's version.

Filter and sort

The list, count and sum take filters as where clauses, at most 10, all of which a record must pass:

ClauseMatches
category=HerbsEqual. On a MULTI_CHOICE field, the list holds the option.
category!=HerbsNot equal. An empty field passes too.
price>20, price>=20, price<20, price<=20A range, on NUMBER and DATE fields
notes:empty, notes:not_emptyEmpty means absent, null, "" or [].

Write the operator with no spaces around it. Values are compared exactly and are case-sensitive: a yes/no field takes true or false, a date YYYY-MM-DD, a reference a Record ID.

orderBy is a field key or createdAt, then asc or desc, such as price asc. The default is newest first. Empty values sort last, and a MULTI_CHOICE field can't be sorted on.

The list also takes:

  • parentId: only the children of one record;
  • ids: up to 100 Record IDs, read in one request;
  • deleted=true: deleted records instead of live ones;
  • held=true: the rows a synced type's open hold holds. Not with deleted.
fruxon records list product --where in_stock=true --where 'price<20' --order-by 'price asc'
fruxon records list invoice_line --parent <invoice-record-id>
fruxon records get product <record-id>

Count and sum

records:count counts the records that pass the filters. records:sum adds up one NUMBER field over them, and also returns count; a record whose number is empty adds nothing. Neither counts deleted records.

groupBy gives the answer per value of a CHOICE, YES_NO or TEXT field. Records whose field is empty form one group, with the value null. A TEXT grouping returns the 100 largest groups, and groupsTruncated says when there were more.

fruxon records count product --group-by category
fruxon records sum product price --where in_stock=true
fruxon records sum invoice_line amount --parent <invoice-record-id>

Sync a type from a tool source

A synced type gets its rows from a tool source: an asset that reads records through a list tool of a connected integration, such as rows of a Google Sheet or contacts in a CRM.

The tool source must belong to the type's Application. Create it on that Application's Assets page. A workspace-level asset, or one of another Application, is refused with record_source_asset_not_in_application.

Bind the source

The binding is the type's source:

FieldMeaning
assetIdThe tool-source asset. Required.
fieldMappingField key → the dotted path in the source record, such as name or fields.summary, or a {{template}}. Every field that may not be empty needs one. A reference field can't have one.
sourceKeyPathThe path to a source record's stable id. Defaults to the asset's document id path.
versionPathThe path to its version or last-modified time. Defaults to the asset's last-updated path. With neither, a record is compared by its mapped values.
fullScanEveryHoursHours between scheduled syncs, 1 to 168. 24 by default.
deleteGuardShareThe share of live rows a sync may delete before it holds its deletions: above 0, at most 1. 0.2 by default.
deleteGuardMinimumThe fewest deletions that can trip the guard. 50 by default.
{
  "source": {
    "assetId": "a41f7c2e-0b9d-4e61-8f3a-2c5d7e9b1a04",
    "sourceKeyPath": "sku",
    "fieldMapping": {
      "sku": "sku",
      "name": "name",
      "category": "category",
      "price": "price",
      "in_stock": "in_stock"
    }
  }
}

A binding can be changed, but not removed. A refused binding answers record_source_asset_not_found, record_source_asset_not_tool_source, record_source_asset_not_in_application, or record_source_invalid for a mapping that doesn't fit the type.

In the console, open the type's Source and sync page, pick the Tool source, and click Propose fields. Fruxon reads one sample record and proposes a field and a mapping for each value: text, or a date when it reads as YYYY-MM-DD; a number; a yes/no; a multi-choice for a list of strings. Objects are skipped. Check the proposal before you save it. Over the API, POST …/recordTypes:infer takes the sample and returns the same proposal without saving anything.

Once a type is bound, its sync is the only thing that reads the asset. The asset's own one-time indexing skips it.

How a sync runs

A sync starts on the schedule, or when you click Sync now or run fruxon records sync run <type>. It is queued, and starts within about a minute. A type runs one sync at a time; asking for a second is refused with record_sync_in_progress.

A sync reads the source page by page and, for each record:

  1. Maps it to the type's fields. Text from a spreadsheet is converted to the field's kind: numbers, yes/no spellings, dates, comma-separated lists. A record that doesn't fit is counted as invalid and skipped, and its existing row is kept. The run shows the first few reasons, without the values.
  2. Writes it, matched by its source key. A record whose version hasn't changed isn't written, so its revision doesn't move. A deleted row that the source returns again is restored with its Record ID.

When the sync has read the whole source, it deletes the rows the source no longer returned, unless the delete guard holds them. A sync that stopped early deletes nothing:

stopReasonMeaning
EXHAUSTEDThe source said it had no more. The sync is complete.
PAGE_CEILINGThe source still had pages when the pager's limit was reached. What arrived was written.
RECORD_CAPThe next new row would have passed the record cap.

A run is QUEUED, RUNNING, COMPLETED or FAILED. It counts the records it fetched, created, changed, left unchanged, restored, found invalid, deleted and held. A failed run deleted nothing and keeps the rows it wrote. A run that makes no progress for 15 minutes is closed as failed, and a type whose sync failed is tried again within an hour.

Changing a synced type's fields (apart from a label or description), or the binding's asset, paths or mapping, marks the type for a full re-sync (resyncPending). The next sync rewrites every row from the source and keeps each Record ID. A change to the schedule or the delete guard doesn't.

fruxon records sync run product
fruxon records sync status product
fruxon records sync runs product

Held deletions

A complete sync deletes nothing and holds its deletions when:

  • the source returned no record the type could use (holdReason EMPTY_SCAN), or
  • it would delete more than deleteGuardShare of the type's live rows and more than deleteGuardMinimum rows (OVER_GUARD).

The held rows stay live and searchable. The sync's other changes still apply. Only the deletions wait for an Editor to confirm or dismiss them.

A type has at most one open hold: its latest complete sync's. On the run, heldNow is how many rows it holds now, and heldDeletableNow how many a confirm would delete now. See the rows with fruxon records list <type> --held. In the console, a banner on the type's records and Source and sync pages shows the hold, with Show the held records, Review and delete… to confirm, and Dismiss.

ActionWhat happens
ConfirmDeletes the rows still held, except those that live records name as their parent. It never deletes a row a sync returned since. Refused while a sync waits or runs.
DismissDeletes nothing. The rows stay live, and the next complete sync judges them again. Allowed while a sync runs.
A later complete syncReplaces the hold with its own result, if nobody acted first.

Both actions need the Editor role and the type's readRole and writeRole. A hold that is no longer open is refused with record_sync_hold_not_open. The run's holdStatus says how the hold ended (OPEN, CONFIRMED, DISMISSED or SUPERSEDED), and holdResolvedByName who confirmed or dismissed it.

fruxon records list product --held
fruxon records sync confirm-deletes product
fruxon records sync dismiss-deletes product

confirm-deletes prints heldDeletableNow and asks before it deletes. In agent mode, pass --yes.

A synced type with search settings can be searched by meaning: "something for a sore throat" finds the teas whose description fits, even when no field holds those words.

SettingMeaning
embedTextTemplateThe text each record is searched by, with {{field_key}} placeholders, such as {{name}}: {{description}} (category {{category}}). It names at least one field and is at most 4,000 characters. A yes/no reads yes or no, a multi-choice its options joined by commas, and an empty value nothing.
filterableFieldsUp to 20 TEXT, CHOICE or YES_NO fields that a search can filter on by exact match

Neither may name a sensitive field, because the search index holds these values unmasked. A refused setting answers record_search_invalid. Only a synced type with a source can be searchable (record_search_needs_source).

In the console, click Make searchable on the type's Source and sync page. Over the API or the CLI, send search with the type. "clearSearch": true removes the settings and takes the records out of the index.

Publishing

A searchable type's index is its tool source's index. Publishing replaces everything that index held with the type's records, one document per record. So:

  • Agents that search the asset directly with search_assets see the records from then on.
  • An asset can serve one searchable type. A second is refused with record_search_asset_shared.

The index publishes by itself after a sync that created, changed, restored or deleted rows, after a confirm that deleted rows, and after the search settings change. A publish reads every live record, and a record whose text hasn't changed costs no embedding. A type over 100,000 live records isn't published (record_index_too_large), and its index keeps its last snapshot.

fruxon records index status <type> says where the index stands: NOT_PUBLISHED, PENDING (a change waits for the worker, about a minute), PUBLISHING, PUBLISHED, or FAILED with an errorCode and retryAt. A failed publish is tried again by itself. To rebuild an index, use Publish now or fruxon records index publish <type>.

errorCodeMeaning
record_index_asset_unavailableThe bound asset is gone, no longer the Application's tool source, or has no index.
record_index_asset_sharedAnother searchable type reads through the same asset.
record_index_embedding_refusedThe asset embeds on a Fruxon-hosted model the workspace can't spend on now.
record_index_push_failedThe search service refused or failed the push. The previous snapshot is still served.
record_index_too_largeThe type has more live records than a searchable type may publish.

Search records

records:search takes:

  • query: what to look for, in plain words, up to 8,000 characters;
  • where: equals clauses on filterableFields only, such as in_stock=true;
  • topK: how many records to return, 1 to 30. 10 by default.

It returns results, each a score (higher is better) and the record, best first. Each record comes once, read from the records as they are now and masked as the list masks them. A record deleted since the last publish isn't returned, and neither is any matched text.

A type without search settings answers 409 with record_search_not_enabled.

fruxon records search product --query "something for a sore throat"
fruxon records search product -q "mild and sweet" --where category=Herbs --top-k 5

Let an agent read records

Bind record types to an agent, and it gets the tools to read them. Agents read records; they can't write them.

In Agent Studio, open the agent's Model & capabilities group and find Records, below Knowledge. Add each type the agent may read, and tick the operations it may use:

OperationToolWhat the agent can do
GETrecords_getRead one record by its Record ID
LISTrecords_listList records with filters and an order
COUNT (Count and sum)records_countCount records, or add up a number field, optionally per value of a field
SEARCHrecords_searchSearch by meaning. Offered only for a type with search settings.

A step binds at most 20 types. The tools are added by the binding; you don't add them under Tools. In the agent's draft JSON, the binding is the agent's records list:

{
  "records": [
    { "typeKey": "product", "operations": ["GET", "LIST", "COUNT", "SEARCH"] },
    { "typeKey": "order", "operations": ["COUNT"] }
  ]
}

Operations are upper case. Each tool's description tells the agent which types it may use, their description, and each field with its kind, its options, its description and what the tool can do with it (filter, range, sort, group or sum). Good type and field descriptions are how the agent knows what to ask for.

Who may bind a type

The person who makes an agent read a type must hold an Application role at or above the type's readRole. Otherwise the agent could show them records they may not read. This is checked:

  • when the agent is published or deployed, sub-agents included;
  • when a draft runs: a test run in the Lab, a sandbox turn, a draft evaluation.

A refusal answers 400 with record_binding_role_too_low. A caller with no role in the Application is refused too. Published runs aren't checked again, and raising a type's readRole after publishing leaves existing bindings in place.

Publishing also refuses:

CodeWhy
record_binding_invalidA binding with no type key or a bad one, no operation, a type bound twice, or more than 20
record_binding_type_not_foundNo type of that key in the agent's Application
record_binding_type_deletedThe type was deleted
record_binding_type_in_other_applicationThe type belongs to another Application
record_binding_type_not_searchableSEARCH on a type with no search settings

A type that a published agent's live revision binds can't be deleted (record_type_bound_by_agent). The error names the agents. Remove the type from them and publish first. Drafts and older revisions don't block a delete.

The agent tools

ToolParametersReturns
records_gettype, idrecord
records_listtype, where, order_by, parent_id, limit (1 to 50, 20 by default), cursorrecords, returned, total_matched, has_more and next_cursor
records_counttype, where, sum, group_by, parent_idcount, or sum and count, with groups and groups_truncated when grouped
records_searchtype, query, where (equals only), top_k (1 to 30, 10 by default)results, each a score and a record

The agent reads a record as its id, key, fields, parent_id, created_at and modified_at. A sensitive field is left out of fields and named in hidden_fields, and the agent is told it can't see it.

A call outside the binding fails the tool call with a reason the agent reads: record_binding_type_not_bound, record_binding_operation_not_bound, record_binding_type_deleted, record_binding_type_not_found, record_binding_type_not_searchable, or record_binding_index_not_published for a search before the index was first published. Where records are off, a call fails with records_unavailable.

records_search costs what search_assets costs. The other three cost one tool call each. Each call and the records it returned show in the run's trace.

From the CLI

The commands below need CLI 2.3.13 or later. Commands that call the server take --application; without it, the workspace's default Application is used.

CommandDoes
fruxon records types list / getList an Application's types, or show one. get -o json is the definition in the server's shape.
fruxon records types validate --fileCheck a definition locally and list every problem, without a request
fruxon records types create --fileCreate a type from a JSON definition
fruxon records types update <type> --fileReplace a type's settings. --merge changes only what the file names. source and search are kept when left out.
fruxon records types delete <type>Delete a type. Needs --yes in agent mode.
fruxon records list / getRead records. --where, --order-by, --parent, --id, --deleted, --held, -n or --all.
fruxon records count / sumCount, or add up a number field, with --where, --parent and --group-by
fruxon records upsert / deleteWrite and delete records of an authored type
fruxon records search <type> --querySearch a searchable type
fruxon records sync run / status / runsStart a sync, see the latest and the open hold, list the runs
fruxon records sync confirm-deletes / dismiss-deletesSettle the open hold
fruxon records index status / publishSee where the search index stands, or publish it again
fruxon records types get product -o json > product.json
# edit product.json, then:
fruxon records types update product --file product.json
echo '{"retentionDays": 365}' | fruxon records types update product --merge --file -

In agent mode, a refusal's error envelope carries the server's code as server_code, and the refused field as field.

API

All routes are under /v1/tenants/{tenant}/networks/{network}/recordTypes, where {network} is the Application's ID and {recordType} is the type's key. Reading needs the records:read scope, and every change needs records:write.

EndpointRole
GET recordTypes, GET recordTypes/{recordType}Viewer
POST recordTypes, PUT recordTypes/{recordType}, DELETE recordTypes/{recordType}Editor
POST recordTypes:inferEditor
GET …/{recordType}/records, GET …/records/{record}The type's readRole
POST …/records:count, POST …/records:sum, POST …/records:searchThe type's readRole
POST …/records:upsert, DELETE …/records/{record}The type's writeRole
POST …/{recordType}:syncEditor
GET …/syncRuns, GET …/syncRuns/{syncRun}The type's readRole. ?hold=open returns the open hold, or nothing.
POST …/syncRuns/{syncRun}:confirmDeletes, :dismissDeletesEditor, with the type's readRole and writeRole
GET …/{recordType}/indexThe type's readRole
POST …/{recordType}:publishEditor

PUT replaces the whole type: a property left out is cleared, except a role, which keeps its value, and source and search, which are kept.

Error codes

A refusal carries a code where a client needs to tell it apart. A refusal of one value also carries field. A missing type or record, and a data region where records are off, answer 404 with no code. No message quotes a value a record holds.

CodeStatusMeans
record_type_key_reserved400The type key has a dot
record_type_key_taken409Another live type in the Application has the key
record_type_limit_reached409The Application already has 200 types
record_type_authored_change_refused400The change would alter an authored type in a way its rows can't follow
record_type_in_use409The type is another type's parent or reference target
record_type_bound_by_agent409A published agent reads the type
record_type_sensitive_loosening_refused403The change loosens a sensitive field's protection, and you don't hold sensitiveRole
record_source_asset_not_found, record_source_asset_not_tool_source, record_source_asset_not_in_application, record_source_invalid400The source binding doesn't fit
record_search_invalid, record_search_needs_source, record_search_asset_shared400The search settings don't fit
record_role_too_low403Your Application role is below the one the type names for this
record_type_synced409A write to a synced type
record_value_invalid400A value doesn't fit its field, or a required field is missing
record_reference_not_found400A reference or parent names no live record of the right type
record_filter_invalid400A filter, sort or grouping the field doesn't support, or a sensitive field
record_precondition_failed409expectedRevision or expect didn't hold
record_key_taken, record_key_deleted409A create-only write named a key a live or a deleted record holds
record_has_children409The record is the parent of live records
record_cap_reached409The type is full
record_sync_not_bound409A sync of an authored type, or of a synced type with no source yet
record_sync_in_progress409A sync of the type already waits or runs
record_sync_hold_not_open409The run's hold isn't the type's open hold
record_search_not_enabled409The type has no search settings
record_search_index_unavailable409The search service has no index for the type's asset

A sync run that fails gives its own errorCode: record_sync_source_failed (the list tool refused or errored, or its connection is gone), record_sync_failed (writing rows failed), record_sync_interrupted, record_sync_not_bound, or one of the record_source_asset_* codes.

Next steps

On this page