diff --git a/openapi.yaml b/openapi.yaml
index ed33d2a..ac8b034 100644
--- a/openapi.yaml
+++ b/openapi.yaml
@@ -5362,7 +5362,7 @@ paths:
School, Gender or Date of birth. This is what a cell of the **Bio per Contact** and **Custom Table**
views saves in Edit mode, and it goes through the same save as the Contact's Edit Bio page.
- Each field is named by `field_class` and `field_id`:
+ Each field is named by `field_class` and `field_id`, as each custom field in GET /beneficiaries/{id} gives them:
- `CustomField`: a text, number, date, time or telephone field, by its id. `value` is a string.
Dates may be `YYYY-MM-DD` and times `HH:MM` (24-hour).
@@ -32134,6 +32134,16 @@ components:
id:
type: integer
example: 173
+ description: The field's place on one of the Contact's forms. To change the answer, use `field_class` and `field_id` instead.
+ field_class:
+ type: string
+ enum: [CustomField, RatioSet]
+ example: "CustomField"
+ description: With `field_id`, names the field itself, as PATCH /beneficiaries/{beneficiary_id}/bio_fields takes it. RatioSet is a Dropdown.
+ field_id:
+ type: integer
+ example: 412
+ description: The field's own id (a custom field or Dropdown id), to send to PATCH /beneficiaries/{beneficiary_id}/bio_fields.
name:
type: string
example: "Employment Status"
diff --git a/server.js b/server.js
index 3646d3c..12f65d0 100644
--- a/server.js
+++ b/server.js
@@ -1922,7 +1922,7 @@ function buildDocsPage() {
], [
{ code: "200", cls: "response-2xx", desc: "Full Contact profile with all custom fields, and weekly_availability" },
{ code: "404", cls: "response-4xx", desc: "Not found" }
- ], "Opening a Contact this way is recorded in its Access Log, the audit trail of who has viewed it, under your name and marked as via the API (or via MCP when the Makerble MCP server sends X-Makerble-Client: makerble-mcp). Views less than 30 minutes apart are counted together. Use GET /beneficiaries when you only need to find or scan Contacts. Fields hidden from you by Field Visibility come back with restricted: true and a null value (custom fields), or null and named in restricted_fields (dob, mobile, email, address). weekly_availability is the Contact's Weekly availability: the most recently saved answer to a Weekly availability field on their Contact Forms, as times ([{day, from, to}], in the organisation's timezone) with source_form_id, source_field_id and answered_at, or null. When Field Visibility hides that field from you, times is null and restricted is true.")}
+ ], "Opening a Contact this way is recorded in its Access Log, the audit trail of who has viewed it, under your name and marked as via the API (or via MCP when the Makerble MCP server sends X-Makerble-Client: makerble-mcp). Views less than 30 minutes apart are counted together. Use GET /beneficiaries when you only need to find or scan Contacts. Fields hidden from you by Field Visibility come back with restricted: true and a null value (custom fields), or null and named in restricted_fields (dob, mobile, email, address). weekly_availability is the Contact's Weekly availability: the most recently saved answer to a Weekly availability field on their Contact Forms, as times ([{day, from, to}], in the organisation's timezone) with source_form_id, source_field_id and answered_at, or null. When Field Visibility hides that field from you, times is null and restricted is true. Each custom field also has field_class and field_id, which name the field itself: send them to PATCH /beneficiaries/{beneficiary_id}/bio_fields to change its answer (id is the field's place on a form).")}
${endpointCard("POST", "/beneficiaries", "Create a Contact", true, [], [
{ code: "200", cls: "response-2xx", desc: "Contact created" },
{ code: "422", cls: "response-4xx", desc: "Validation failed (name and owner_id are required), a field hidden from you by Field Visibility was sent, or a Weekly availability answer can't be read" }
@@ -1935,7 +1935,7 @@ function buildDocsPage() {
{ code: "403", cls: "response-4xx", desc: "You can't edit the Contact, or Field Visibility hides a field from you" },
{ code: "404", cls: "response-4xx", desc: "The Contact or a field wasn't found" },
{ code: "422", cls: "response-4xx", desc: "A field isn't on the Contact's forms or can't be changed here, a mandatory field was left empty, or a Dropdown answer isn't one of its choices" }
- ], "Changes a Contact's answers to Bio fields, as a cell of Bio per Contact or a Custom Table does in Edit mode. field_class is CustomField (a text, number, date, time or telephone field, by id, with a string value), RatioSet (a Dropdown, by id, with an array of answer ids; [] clears it) or BeneficiaryColumn (date_of_birth or address). Dates may be YYYY-MM-DD and times HH:MM. A blank string clears an answer. Every field is checked before anything is saved, so one refused field leaves the Contact unchanged. File, signature, weekly availability and extended table fields are changed on the Contact's Edit Bio page.")}
+ ], "Changes a Contact's answers to Bio fields, as a cell of Bio per Contact or a Custom Table does in Edit mode. field_class is CustomField (a text, number, date, time or telephone field, by id, with a string value), RatioSet (a Dropdown, by id, with an array of answer ids; [] clears it) or BeneficiaryColumn (date_of_birth or address). Dates may be YYYY-MM-DD and times HH:MM. A blank string clears an answer. Take field_class and field_id from the Contact's custom_fields in GET /beneficiaries/{id}. Every field is checked before anything is saved, so one refused field leaves the Contact unchanged. File, signature, weekly availability and extended table fields are changed on the Contact's Edit Bio page.")}
${endpointCard("GET", "/beneficiaries/{beneficiary_id}/summary", "Get the AI summary of a Contact (SummaryMaker)", true, [
{ name: "beneficiary_id", in: "path", type: "integer", required: true, desc: "Contact ID" }
], [