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 rows | People and programs, through the console, the CLI or the API | A sync from a tool source. Every other write is refused with record_type_synced. |
| Changing the fields | Only 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 parent | Fixed once created | May change |
| Search | No | Yes, 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 withrecord_type_key_reserved, because dotted keys name platform types.displayName(up to 150 characters) anddescription(up to 2,000). Agents that read the type see both, so say what the type holds.writeModel:AUTHOREDorSYNCED.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
| Kind | A value is |
|---|---|
TEXT | Free text, up to 10,000 characters |
YES_NO | true or false |
CHOICE | One of the field's options |
MULTI_CHOICE | A list of the field's options, none twice |
NUMBER | A finite number |
DATE | A calendar date, YYYY-MM-DD |
REFERENCE | The 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, forCHOICEandMULTI_CHOICEonly: 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, forREFERENCEonly.nullable: whether a record may leave the field empty. A field is required unlessnullableistrue.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
parentIdto 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.
| Setting | Default | Who it lets in |
|---|---|---|
readRole | VIEWER | Reads the type's records: get, list, count, sum, search, and its sync runs |
writeRole | EDITOR | Writes and deletes the records of an authored type |
sensitiveRole | ADMIN | Sees 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
sensitiveon 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. Anidthat names no record is404. - With
key(or the key field's value infields), 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.
| Guard | What it does |
|---|---|
expectedRevision: N | Writes only if the record is at revision N. Otherwise 409 with record_precondition_failed. |
expectedRevision: 0 | Create-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> --yesIn 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:
| Clause | Matches |
|---|---|
category=Herbs | Equal. On a MULTI_CHOICE field, the list holds the option. |
category!=Herbs | Not equal. An empty field passes too. |
price>20, price>=20, price<20, price<=20 | A range, on NUMBER and DATE fields |
notes:empty, notes:not_empty | Empty 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 withdeleted.
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:
| Field | Meaning |
|---|---|
assetId | The tool-source asset. Required. |
fieldMapping | Field 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. |
sourceKeyPath | The path to a source record's stable id. Defaults to the asset's document id path. |
versionPath | The 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. |
fullScanEveryHours | Hours between scheduled syncs, 1 to 168. 24 by default. |
deleteGuardShare | The share of live rows a sync may delete before it holds its deletions: above 0, at most 1. 0.2 by default. |
deleteGuardMinimum | The 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:
- 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
invalidand skipped, and its existing row is kept. The run shows the first few reasons, without the values. - Writes it, matched by its source key. A record whose version hasn't changed isn't written, so its
revisiondoesn'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:
stopReason | Meaning |
|---|---|
EXHAUSTED | The source said it had no more. The sync is complete. |
PAGE_CEILING | The source still had pages when the pager's limit was reached. What arrived was written. |
RECORD_CAP | The 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 productHeld deletions
A complete sync deletes nothing and holds its deletions when:
- the source returned no record the type could use (
holdReasonEMPTY_SCAN), or - it would delete more than
deleteGuardShareof the type's live rows and more thandeleteGuardMinimumrows (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.
| Action | What happens |
|---|---|
| Confirm | Deletes 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. |
| Dismiss | Deletes nothing. The rows stay live, and the next complete sync judges them again. Allowed while a sync runs. |
| A later complete sync | Replaces 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 productconfirm-deletes prints heldDeletableNow and asks before it deletes. In agent mode, pass --yes.
Search
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.
| Setting | Meaning |
|---|---|
embedTextTemplate | The 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. |
filterableFields | Up 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_assetssee 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>.
errorCode | Meaning |
|---|---|
record_index_asset_unavailable | The bound asset is gone, no longer the Application's tool source, or has no index. |
record_index_asset_shared | Another searchable type reads through the same asset. |
record_index_embedding_refused | The asset embeds on a Fruxon-hosted model the workspace can't spend on now. |
record_index_push_failed | The search service refused or failed the push. The previous snapshot is still served. |
record_index_too_large | The 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 onfilterableFieldsonly, such asin_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 5Let 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:
| Operation | Tool | What the agent can do |
|---|---|---|
GET | records_get | Read one record by its Record ID |
LIST | records_list | List records with filters and an order |
COUNT (Count and sum) | records_count | Count records, or add up a number field, optionally per value of a field |
SEARCH | records_search | Search 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:
| Code | Why |
|---|---|
record_binding_invalid | A binding with no type key or a bad one, no operation, a type bound twice, or more than 20 |
record_binding_type_not_found | No type of that key in the agent's Application |
record_binding_type_deleted | The type was deleted |
record_binding_type_in_other_application | The type belongs to another Application |
record_binding_type_not_searchable | SEARCH 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
| Tool | Parameters | Returns |
|---|---|---|
records_get | type, id | record |
records_list | type, where, order_by, parent_id, limit (1 to 50, 20 by default), cursor | records, returned, total_matched, has_more and next_cursor |
records_count | type, where, sum, group_by, parent_id | count, or sum and count, with groups and groups_truncated when grouped |
records_search | type, 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.
| Command | Does |
|---|---|
fruxon records types list / get | List an Application's types, or show one. get -o json is the definition in the server's shape. |
fruxon records types validate --file | Check a definition locally and list every problem, without a request |
fruxon records types create --file | Create a type from a JSON definition |
fruxon records types update <type> --file | Replace 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 / get | Read records. --where, --order-by, --parent, --id, --deleted, --held, -n or --all. |
fruxon records count / sum | Count, or add up a number field, with --where, --parent and --group-by |
fruxon records upsert / delete | Write and delete records of an authored type |
fruxon records search <type> --query | Search a searchable type |
fruxon records sync run / status / runs | Start a sync, see the latest and the open hold, list the runs |
fruxon records sync confirm-deletes / dismiss-deletes | Settle the open hold |
fruxon records index status / publish | See 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.
| Endpoint | Role |
|---|---|
GET recordTypes, GET recordTypes/{recordType} | Viewer |
POST recordTypes, PUT recordTypes/{recordType}, DELETE recordTypes/{recordType} | Editor |
POST recordTypes:infer | Editor |
GET …/{recordType}/records, GET …/records/{record} | The type's readRole |
POST …/records:count, POST …/records:sum, POST …/records:search | The type's readRole |
POST …/records:upsert, DELETE …/records/{record} | The type's writeRole |
POST …/{recordType}:sync | Editor |
GET …/syncRuns, GET …/syncRuns/{syncRun} | The type's readRole. ?hold=open returns the open hold, or nothing. |
POST …/syncRuns/{syncRun}:confirmDeletes, :dismissDeletes | Editor, with the type's readRole and writeRole |
GET …/{recordType}/index | The type's readRole |
POST …/{recordType}:publish | Editor |
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.
| Code | Status | Means |
|---|---|---|
record_type_key_reserved | 400 | The type key has a dot |
record_type_key_taken | 409 | Another live type in the Application has the key |
record_type_limit_reached | 409 | The Application already has 200 types |
record_type_authored_change_refused | 400 | The change would alter an authored type in a way its rows can't follow |
record_type_in_use | 409 | The type is another type's parent or reference target |
record_type_bound_by_agent | 409 | A published agent reads the type |
record_type_sensitive_loosening_refused | 403 | The 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_invalid | 400 | The source binding doesn't fit |
record_search_invalid, record_search_needs_source, record_search_asset_shared | 400 | The search settings don't fit |
record_role_too_low | 403 | Your Application role is below the one the type names for this |
record_type_synced | 409 | A write to a synced type |
record_value_invalid | 400 | A value doesn't fit its field, or a required field is missing |
record_reference_not_found | 400 | A reference or parent names no live record of the right type |
record_filter_invalid | 400 | A filter, sort or grouping the field doesn't support, or a sensitive field |
record_precondition_failed | 409 | expectedRevision or expect didn't hold |
record_key_taken, record_key_deleted | 409 | A create-only write named a key a live or a deleted record holds |
record_has_children | 409 | The record is the parent of live records |
record_cap_reached | 409 | The type is full |
record_sync_not_bound | 409 | A sync of an authored type, or of a synced type with no source yet |
record_sync_in_progress | 409 | A sync of the type already waits or runs |
record_sync_hold_not_open | 409 | The run's hold isn't the type's open hold |
record_search_not_enabled | 409 | The type has no search settings |
record_search_index_unavailable | 409 | The 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
- Knowledge Base & Assets: set up the tool source a synced type reads
- Applications: the Application a type belongs to
- Team & Roles: the roles a type names
- Studio: bind types to an agent
- CLI: install and sign in