This changelog tracks notable backwards-compatible and breaking changes to Manifestly API v2.
deprecated: true in the OpenAPI schema.GET /workflows/{id}?features[]=logic gives every step in steps, and every step in a section’s substeps, a conditionals array and a conditional_operator (and or or, how those rules combine). Each rule names what it reads — source_type is step (the completion of satisfier_id), step_field (the answer that step collects in step_data_setting_id), workflow_field (the run-level field workflow_field_id) or run_start (run_start_attribute) — together with the operator and the satisfying_value. Until now the only way to read conditionals back was the template export, which is the whole workflow: 78,703 characters for a 71-step one. A client that imports conditional logic can now confirm it landed.satisfier_title, step_data_setting_label and workflow_field_label are carried beside the ids, because steps is paginated and a rule’s satisfier is often on another page. workflow_field_id resolves to an entry of the response’s own fields; workflow_field_label is null when the caller may not read that field, which is the same visibility gate that decides fields, so a null label beside a non-null id is withheld rather than missing.features[] the response is unchanged, and an unrecognised feature name is refused with 422 ({"error": "Invalid parameter", "message": "features must be one of: logic"}) rather than ignored. features[] is named after the workflow editor’s modes; logic is the only one it accepts today.GET /departments?search= counts the departments it returns (bug fix). meta.total_count counted every department the token can read while the rows were the ones matching search, so a search returning one department reported the account’s whole count — six, in the case that found this — and meta.total_pages, meta.has_next_page and the _links pagination hrefs were all built from that number, so following next walked pages of a list that had already ended. Count, rows and links now come from one scope. A client paginating a search gets fewer pages than before, and they are the pages that exist.outcome is now present on every run step (GET /runs/{id}, GET /runs/{run_id}/run_steps, GET /runs/{run_id}/run_steps/{id}, GET /runs/{run_id}/steps/{step_id}, including substeps, and in every write response that returns a run step) and on every entry of GET /assignments. It is completed, skipped, or not_completed while the step is still outstanding. Skipping a step stamps completed_at exactly as completing it does, and skipped was the only thing separating the two, so until now v2 reported a skipped step as finished work: an agent summarising a run read deliberately skipped tasks as shipped. v1 has always carried the same distinction as the boolean skipped; a v1 client migrating to v2 reads outcome instead.completed_at is unchanged and still means “resolved at”, for a skip as well as a completion. Nothing about it moved, so no existing client breaks; read outcome to tell which happened.progress.completed_steps counts skipped steps, and progress.skipped_steps now says how many (additive). completed_steps has always counted every resolved step, skips included — that is unchanged, because changing it would move a number every existing client reads. skipped_steps is a subset of it, never additional to it, so steps actually done is completed_steps - skipped_steps. percentage is computed from completed_steps, so skipping advances it.notes, can_edit_notes and notes_blocked_reason are now present on every run step, in the same shape as can_assign / assign_blocked_reason. run_steps.notes exists on every step, but only a Task carries one — the web offers the editor on Task Lists and customized runs alone — so a template run step renders notes: null with can_edit_notes: false and notes_blocked_reason: "not_a_task" rather than an empty field you can never write. PUT /runs/{run_id}/run_steps/{id} now accepts notes, refusing with 422 exactly what can_edit_notes advertised as blocked. Until now v2 could neither read nor write them, and notes are the only linkified surface on a Task.status on GET /runs is refused instead of answering no runs. It previously returned 200 with an empty list, so a typo, a wrong vocabulary and a correct filter over an account with no matching runs were indistinguishable; it now answers 422 Invalid parameter and names the values it accepts. Two consequences for existing clients: a request sending an unsupported value starts failing visibly rather than silently, and status=scheduled, status=blocked, status=preparing, status=archived and status=not-closed now return the runs they name instead of nothing. in_progress and not_closed are accepted as aliases of in-progress and not-closed, because that is the spelling the web’s own links use. in-progress remains started plus blocked, and started remains started alone — they are not aliases of each other.triggers is now present on every run step (GET /runs/{id}, GET /runs/{run_id}/run_steps, GET /runs/{run_id}/run_steps/{id}, including substeps, and in every write response that returns a run step). It holds one {"event": "email"} or {"event": "sms"} per trigger configured on the step, so a step with an email and a text trigger carries both, and [] means completing it sends nothing. Each entry emails or texts its recipient, who may be outside the account, every time the step is completed, including a re-completion after an uncomplete; skipping sends nothing. Entries are in no particular order. Until now the web showed this and v2 did not, so a client completing a step had no way to know it was sending a message on your behalf.triggers as well as the substep’s.An entry means a send is attempted, not that it was delivered. It can still be refused, because the account is not eligible for trigger email or SMS or the recipient resolves to no valid address, and the refusal is recorded in the run’s activity. An ephemeral run that does not enable triggers sends nothing on completion and reports [].
PATCH (documentation change; no endpoint changed). Both verbs have always been routed to the same action on every v2 resource, because Rails generates both, and the document published PATCH for thirteen of them and PUT for these two with no rule behind the difference. Every v2 update applies the keys you send and leaves the rest alone, which is PATCH, so PATCH is what the document now publishes everywhere. PUT keeps working on both paths and is not deprecated; a generated client that was built against PUT /runs/{id} or PUT /runs/{run_id}/run_steps/{run_step_id}/fields/{id} needs no change. Regenerate if you want the method named for what it does. The one remaining PUT in the document, PUT /runs/{run_id}/run_steps/{run_step_id}/fields/{id}/upload, is routed as PUT alone and is unchanged.GET /runs/{id}, GET /runs/{run_id}/run_steps, PUT /runs/{id} and the rest answered 200 on a list the web has never shown that caller: AdHocRun#can_view? has refused it since private lists shipped, and the Task Lists tab lists only your own. Every v2 operation that turns a run id into a run now resolves through the same rule, so somebody else’s private Task List answers 404 rather than 200 — and 404 rather than 403, since naming it in a refusal would disclose that it exists. A public Task List is unaffected, as is every workflow-backed run. If you were relying on reading a colleague’s private list, ask them to make it public.A run you cannot see answers 404, whatever state it is in (bug fix). The filter that checks a run is active ran ahead of any visibility or tenancy check and looked the run up unscoped, so a closed or completed run answered 422 Run closed or Run completed for any caller holding a token - including one in another account entirely. That made run ids enumerable: the four distinct refusals told you whether a given id existed and what state it was in, for runs you have never been able to read. All three lookups in that filter now resolve through the same rule the rest of v2 uses, so a run outside your account, or somebody else’s private Task List, answers 404 whether it is active, closed, completed or deleted. Nothing changes for a run you can see: closed and completed still answer 422 with the same messages.
GET /runs lists one kind of run per request and defaults to workflow runs (behavior change; response shape unchanged). The endpoint has always returned Task Lists (kind: "ad_hoc") and ephemeral runs mixed in with workflow runs, with no way to ask for either, because they share a table. It now takes kind, whose value is one of the three the kind field in the payload already reports — workflow, ad_hoc, ephemeral — and lists that population alone. Omitting it, or sending it empty, lists workflow, so a caller that was filtering the page client-side on kind can delete that code; a caller that wants Task Lists sends kind=ad_hoc. meta.total_count and the _links pagination hrefs describe the kind you asked for, so a page is now pageable to the end of one population. There is no value meaning “both”: two populations means two requests.kind is refused with 422 naming the three it accepts ({"error": "Invalid parameter", "message": "kind must be one of: workflow, ad_hoc, ephemeral"}), rather than being ignored or silently matching nothing. Note that the accepted vocabulary is kind’s, not the internal record type: kind=AdHocRun is refused.GET /runs/{id}, PATCH /runs/{id}, GET /runs/{id}/summary, the run steps, comments and field-value endpoints each resolve one run by id and still reach a run of any kind.substeps on a header step used to be [] on every read that did not pass page, which is every default read: GET /workflows/{id}, GET /workflows/{workflow_id}/steps, GET /runs/{id} and GET /runs/{run_id}/run_steps all returned sections as empty headings, and nothing in the payload said anything had been withheld. They now carry up to 50 of the section’s steps in position order.substep_count (additive): the number of steps it holds, present on every header step on every one of those surfaces. substeps.length equals it only when the whole section came back, so an empty substeps is now distinguishable from a section that genuinely holds nothing.substeps_page and substeps_per_page replace page/per_page for paging within a section (breaking change for a caller that passed page to load substeps). One request used to page two collections with one pair of keys: GET /workflows/{id}/steps?page=1&per_page=2 returned 2 of 7 sections and truncated every one of those sections to 2 steps, while meta described only the outer list. page/per_page now page the step list alone; substeps_page/substeps_per_page (default 50, max 50) page within each section, and the _links on a section carry substeps_page. A caller that was passing page solely to load substeps can drop it — substeps come back by default.mode=hierarchy and mode=flat no longer serialize a section’s steps twice (behavior change). Both modes list every step as its own top-level entry, and a section also nested those same steps inside itself, so GET /workflows/{id}/steps?mode=hierarchy returned 41 step objects in a response whose meta.total_count was 24. In both modes a section’s substeps is now [] and its substep_count reports the size; the steps themselves are the top-level entries they always were. Neither mode’s top-level ordering changed.step_meta on GET /workflows/{id} counts the steps it returns (bug fix). It counted every step in the workflow while steps rendered only the main ones, so a 24-step workflow with 7 sections answered step_meta: {total_count: 24, total_pages: 1, has_next_page: false} alongside 7 steps. It now counts main steps, matching GET /runs/{id}.GET /workflows/{workflow_id}/steps/{id} pages the section it returns (behavior change). It previously returned every step the section held and ignored the page/per_page it documented, which meant the next link a section advertises in a listing resolved to the whole section instead of the next page — a client following those links received the first page’s steps again. It now takes substeps_page and substeps_per_page like GET /runs/{run_id}/run_steps/{id}, and expand_substeps=true returns the whole section in one response. A caller that relied on this endpoint returning everything should send expand_substeps=true.GET /runs/{id}/summary reports the run’s kind (additive): workflow, ad_hoc or ephemeral, the same value GET /runs/{id} has always carried, now returned beside sections and progress. A client reporting progress back to somebody had to choose between labelling every run neutrally (“N of M steps completed”) and spending a second request on GET /runs/{id} to find out whether it was looking at a workflow run or a Task List. Nothing was removed and no existing key changed.POST /runs/{run_id}/run_steps/bulk_import adds a task per title and answers 201 with the run_steps it created, in the order they were sent. titles is either an array of strings or one string carrying a title per line — the same text the Task Lists tab’s Import Tasks box accepts, parsed by the same code, so blank lines and surrounding whitespace are dropped. parent_run_step_id adds them under a section of the run, which reopens that section if it was complete; omitting it adds them at the top level, after whatever is already there. A run that has not started is started, as it is when a person pastes into the tab. This replaces a loop over POST /runs/{run_id}/run_steps; that endpoint is unchanged and still the way to set a due date, an assignee or a position on one task.titles that names no task after blank lines are dropped is refused with 400 rather than answered 201 with an empty list, and a parent_run_step_id that is not a section of this run is refused with 404 rather than quietly adding the tasks at the top level, which is what the web’s own form does when the id names a task rather than a section.Run must be ad hoc to add steps). An account not licensed for Task Lists gets 403.can_assign and assign_blocked_reason are now present on every run step (GET /runs/{id}, GET /runs/{run_id}/run_steps, GET /runs/{run_id}/run_steps/{id}, including substeps, and in the body POST .../assign returns) and on every entry of GET /assignments. can_assign is true when POST /runs/{run_id}/run_steps/{id}/assign naming a membership of the run’s department would succeed right now; when it is false, assign_blocked_reason says why: private_list (403), or run_closed, run_completed and step_not_actionable (422). Both read the same rule the write enforces, so a client can stop discovering these refusals by making them.can_assign: false with assign_blocked_reason: "private_list". That list’s tasks are its creator’s own — the assign endpoint accepts only the creator’s membership and refuses every other one with 403, which is what the web does by offering no assign control there at all. Re-assigning such a task to its creator is still accepted; nothing about the endpoint changed in this release.can_assign answers for a call that names a membership; sending an empty body to unassign is refused only by the run-state and applicability gates, never by the private-list rule.PUT /runs/{id} accepts sharing_status (public or private) and department_id, the two things the Task Lists tab could change and v2 could not. A list created through POST /ad_hoc_runs is private, so until now the only way to share one, or to move one that was filed in the wrong department, was to open the web app. department_id re-files the list under the target department’s Ad Hoc Tasks workflow as well as moving it, which is what makes it appear on that department’s tab.Run must be ad hoc to change sharing_status) and nothing else in the request is applied, including a title sent alongside.Sharing status cannot change to private while list has other participants in it), the same refusal the model has always made; the tab disables the control instead of offering it. Remove the other participants first, with participants on this endpoint. They can go in the same request: the participant list is applied before the sharing change, so the refusal is judged against the set the request leaves behind. A request that goes private while dropping the others succeeds; one that goes private while adding somebody is refused and neither change lands.department_id names a department you are internal to, meaning admin or user of it — the same tier POST /ad_hoc_runs requires, not the wider set you can read. A department you can only read, one outside your account, and a blank or null value are each refused with 404 and the list stays where it was. account_id is still refused as an unpermitted parameter, as are master_account_id, created_by_id and type.assignment is now present on every workflow step (GET /workflows/{workflow_id}/steps, GET /workflows/{workflow_id}/steps/{id}, the steps of GET /workflows/{id}) and on every run step (GET /runs/{id}, GET /runs/{run_id}/run_steps, GET /runs/{run_id}/run_steps/{id}), including substeps. It is null when the step has no assignment and otherwise an object naming the assignee: assignee_type (Membership or Role), assignee_id, user_id, name, type, email, plus the assignment’s own id and assigned_at. Branch on assignee_type — a role names a set of people, so it reports user_id: null. Until now a client could read a run step’s content, its due date and its complete link while having no way to say whose step it was.role_assignment (additive): the role the underlying workflow step names, in the same object shape, or null when it names none. It is independent of assignment, which carries whoever holds the step now. A workflow step assigned to a role that a run has not mapped onto anybody has assignment: null and the role here, which is what the run page shows on that row.assignees on GET /assignments carries the same keys (additive): assignee_type, assignee_id and name are new on a user assignee, and user_id, type and email are now rendered as explicit null on a role assignee instead of being absent. role_id and the existing values are unchanged.POST /runs/{run_id}/run_steps/{id}/assign assigns a run step, and a workflow step’s assignment is set in the editor or carried by the import document. No step-write endpoint accepts assignment.visibility gains a third value and now controls who reads (behavior change; response shape unchanged). visibility on a workflow field and on a run’s field values is one of admin, user or limited: admin fields are readable by department admins, user fields by admins and users, and limited fields by anyone with access to the department. Until now every field was admin and user was reserved, so a non-admin token always received an empty fields array from GET /workflows/{id}/fields, GET /workflows/{id} and GET /runs/{id}; it now receives the fields its tier admits. Writing a value through PATCH /runs/{id}/field_values requires the user to be an admin or user of the run’s department as well as within the field’s visibility; members and limited users read but never write. Existing fields keep admin, so nothing changes for any account until an admin moves a field.review_decisions (additive): who approved, rejected or retracted a review, the decision, and the comment they gave, newest first. It is present on approval steps and reviewed steps, on GET /runs/{id} and GET /runs/{run_id}/run_steps/{id} and their substeps, as an empty array until a decision is made; other steps omit it. A reviewed step lists its own outcomes; an approval step lists the decision events it received in the same element shape, with id null. A decision is withheld from a caller who cannot see every step its approval covers.null (behavior change; response shape unchanged). Every v2 surface that renders a user used to render the synthetic address we generate for a principal with no inbox — an AI agent, an API key, a guest, a purged account — so "email": "invalid:ai_agent:c82a51a4…@manifest.ly" reached clients as if it were a way to reach somebody. It is now null in participants and assignees, in GET /users and GET /users/{id}, in the members of GET /roles and GET /departments/{id}, and in the members of each entry of roles in GET /workflows/{id}. No field was removed and no key changed name. The value is null only for addresses that were already undeliverable, so nothing that worked stops working; code that pattern-matched the invalid: prefix to recognise a machine should read type instead. The same addresses stop being rendered in the v1 roles[].members[] of GET /checklists/{id}.type (additive): User for a person, AiAgent for a machine member, with ApiKey and GuestUser for the other non-human principals. This is the field GET /users, the members of GET /roles and the members of GET /departments/{id} have carried since 2026-09-24, now present wherever v2 names a user. A role assignee carries role_id and name and no type, as before.roles_to_users on POST /runs still accepts an agent’s synthetic email if a caller has one stored, but GET /roles no longer reports it, so name an agent with user_id (the id the role’s members report) or membership_id — which is what that operation’s own email description already told you to do.simple_display_name is deliberately unchanged. It is a label rather than an address, it is declared non-null, and every machine user is created with a name, so it does not fall back to the synthetic string.roles_to_users on POST /runs now accepts user_id and membership_id (additive). An item names the role with role_id and the principal with membership_id, user_id or email; when more than one is sent, that is the order of precedence. membership_id is the identifier POST /runs/{run_id}/run_steps/{id}/assign already takes, and user_id is the id the members of GET /roles report. Either one that does not resolve to a member of the run’s department is refused with 404, where an unmatched email still invites a limited member.GET /roles as a member of the very role being mapped — was never found, and the request fell through to inviting the agent’s address, which 404’d because that address is synthetic. Agents now resolve by user_id, by membership_id, and by the synthetic email GET /roles reports. A workflow whose steps are role-assigned to an agent can be started through the API, which is what makes it reachable from a scheduled run or any API-driven trigger. API keys are still refused: a role cannot be mapped onto one.email beginning invalid: that matches no member of the run’s department is refused with 404 instead of being handed to user creation.roles_to_users in run payloads is documented as the object it has always been (documentation fix, no behavior change). The schema declared an array of {role_id, email}; the field is rendered as an object keyed by the index of the assignment, whose values are {role_id, user_id} with both ids as strings. Anything generated from the old declaration never matched a real response.POST /runs documents its 404 (documentation fix, no behavior change). A roles_to_users or participants entry naming somebody the request cannot resolve has always answered {"error": "Participant not found", "message": ...}; the operation declared no 404 at all.PATCH /workflows/{id} now accepts title and description (additive). The endpoint previously accepted business_calendar_id and business_day_rule alone, so a client could rewrite every step of a workflow and could not change its name: title was refused as an unpermitted parameter, which is what the published 422 example for this operation showed. Both are plain attributes with no feature gate, so neither adds a 403. A blank, whitespace-only or over-255-character title is refused with 422 and the stored title is unchanged; description accepts null to clear it, and is rendered through the same sanitizer as the workflow editor (URLs become links, HTML other than b, i and u is stripped). A locked shared copy still refuses every key with 422, as it did before. Every other key is still refused as an unpermitted parameter.POST/PATCH on steps, content objects and step data settings answer 409 for a workflow that has versions; this endpoint does not, and did not for the calendar keys either. One consequence is worth knowing: promoting a draft rewrites the live workflow’s description from the draft’s snapshot, so a description set here on a version-controlled workflow is replaced at the next promote. title is not — promotion deliberately leaves it alone.GET /users now lists AI agents alongside people (behavior change; response shape unchanged). The listing previously returned people only, so an AI agent’s membership id, which POST /runs/{run_id}/run_steps/{id}/assign already accepts, could not be discovered. GET /users/{id} now resolves an agent’s id instead of answering 404. API keys are still never listed.GET /users accepts population (additive): all (the default) returns people and AI agents, people returns people only (what the listing returned before this change), ai_agents returns AI agents only. Any other value is refused with 400 rather than ignored.type (additive): User for a person, AiAgent for an AI agent. It appears in GET /users, GET /users/{id}, the members of GET /roles and the members of GET /departments/{id}. An agent’s email is synthetic and cannot receive mail, so check type before treating email as a way to reach a member.message and errors render full_messages, so a message written as a fragment appended to a humanized attribute name restated the attribute and never said what the rule was. Two strings change:
A section cannot be nested inside another section — was Parent step cannot have a parent, returned by POST/PATCH on run steps and workflow steps when a section is given a parent.A step cannot be nested inside itself — was Parent run step cannot parent self (run steps) and Parent step cannot parent self (workflow steps).Anything string-matching the previous text needs updating; the status code, the error label and every other field are unchanged.
kind, the due date and subtasks are now writable (additive). POST /workflows/{workflow_id}/steps and PATCH /workflows/{workflow_id}/steps/{id} accept kind (standard or stop_task), late_at_basis, late_at_offset, late_at_offset_units, late_at_offset_units_mode, subtasks (an array of up to 100 titles that replaces the step’s subtasks, matching an unchanged title to the subtask that already carries it so a run in progress keeps that subtask’s completion, and renaming the rest in order; null or [] removes them) and subtasks_required. These are the step attributes the workflow import already accepts, mapped the same way. late_at_basis: null clears the due date. kind: approval is refused with 422, because approval steps need reviewed steps that are chosen in the workflow editor, and so is a step whose approval is already configured; an unknown kind is refused with 422 as well, and so is a section (header_step: true) carrying due-date or subtask keys; a section may still be a stop_task. late_at_basis: date_data_setting is refused with 422: the data setting a due date keys off is chosen in the workflow editor. Every one of these keys was previously refused as an unpermitted parameter.subtasks_required (additive) in every step payload, in the steps endpoints and in the steps embedded in GET /workflows/{id}, so the flag can be read back once set.Idempotency-Key is now honored on PUT and DELETE (additive). Only POST and PATCH acted on the header, though the guarantee is installed on every v2 write. A PUT or DELETE carrying a key now replays the original 2xx — including a 204 — so a retry that lost its response can tell “I already succeeded” from “this never existed” rather than reading the 404 a destroyed record answers. Requests that send no key are unaffected.Idempotency-Key (documentation fix, no behavior change). Ten operations declared it; the rest honored it silently. All 47 POST/PATCH/PUT/DELETE operations now declare the same optional header, so retry-safety reads as the platform guarantee it is instead of a property of a handful of endpoints.required (additive). required has always been writable on POST/PATCH /workflows/{workflow_id}/steps/{step_id}/data_settings and was never returned, so a client could set it and had no way to read it back. It is now part of every data setting payload — the data_settings endpoints, and the step_data_setting embedded in GET /workflows/{id}, GET /workflows/{id}/steps and GET /workflows/{id}/steps/{id}.StepDataSetting component and now references it, so the two can no longer drift. The copy documented eleven formats; value_format now documents datetime and choose_from_data_table as well. The copy also marked value_format_config required, which the component does not.step_data_setting is documented as always present (documentation fix, no behavior change). The previous description said a step carrying more than one field returns step_data_settings instead. It returns both: step_data_setting always carries the first setting, and step_data_settings is added only when the step carries more than one.data_collection documents the two formats it was missing (documentation fix, no behavior change). datetime joins the DataCollectionOther format list, and choose_from_data_table gets its own variant carrying data_table_id and display_column_id. A run step collecting either previously matched no documented variant.{"error": "<category>", "message": "<detail>"}; a model validation failure answers {"errors": ["<message>", ...]}, a flat array. Both were already the majority shape; these endpoints were the exceptions:
POST /runs on a validation failure returned errors keyed by field ({"errors": {"checklist": ["must exist"]}}) and, when the run could not be built at all, a bare string. It now returns the flat array every other endpoint returns.checklist_id on run create returned {"errors": ["Checklist not found"]}. It now returns {"error": "Resource not found"}, byte-identical to a missing id, so the two cases can no longer be told apart.POST/PATCH /workflows/{workflow_id}/steps, POST/PATCH /workflows/{workflow_id}/steps/{step_id}/content_objects, PATCH /workflows/{id} and PATCH /runs/{id} returned message alone. They now also carry error: "Unpermitted parameters", matching every other unpermitted-parameter response. A malformed wrapper ({"step": "not an object"}) answers error: "Invalid parameter" rather than claiming an unpermitted key.Error is the refusal envelope, ValidationErrors is the validation envelope. Error now requires error, carries message, and no longer declares errors; the field-keyed form it described is emitted nowhere. Endpoints that answer with the flat array document ValidationErrors, and a status that can answer either documents both. Every documented 4xx/5xx now references one of the two (or an extension of Error, as the approval-decision blockers body does) rather than re-typing the shape: two 422s that declared an equivalent object inline now reference ValidationErrors, and five error responses that declared no body at all (GET /assignments 400, GET /workflows/{workflow_id}/fields/{id} 404, POST /workflows/{id}/export_csv 404, GET /workflows/{id}/export_status 404, POST /workflows/import/validate 422) now declare the body they were already returning. Generated clients get a resolvable failure type on all of them.Error body.POST /runs/{run_id}/run_steps/{run_step_id}/comments described a body the endpoint has never returned. It now shows the real one./workflows/{workflow_id}/steps/{step_id}/data_settings now behaves like the two sibling authoring endpoints (/steps and /steps/{step_id}/content_objects), and like /runs/{run_id}/run_steps/{run_step_id}/fields on the run side:
GET on the collection now lists. It returns {"data_settings": [...]} in position order, and an empty array for a step carrying none. It previously returned {"data_setting": {...}} for the lowest-position field, and 404 when the step had none.PATCH and DELETE on the collection path are gone. Address the field directly: GET, PATCH and DELETE /workflows/{workflow_id}/steps/{step_id}/data_settings/{id}. These were already routed but undocumented; they are now the only way to read, change or delete one field. Ids come from the collection listing or from GET /workflows/{workflow_id}/steps/{step_id}. This removes a silent guess: on a step with several fields, the id-less forms acted on the lowest-position one and answered 200 either way.POST is unchanged, on the same collection path, since it names no existing field.POST, PATCH and DELETE now refuse a workflow the authoring API does not expose: 404 for an inactive, archived or non-recurring workflow (single-run containers and step libraries, which GET /workflows/{id} already answers 404 for), 403 for a locked shared copy, and 409 for a workflow under version control. Previously any of these could be edited through this endpoint alone._links.self on a data setting now points at /data_settings/{id} rather than the collection path, so following it resolves one field. This link is also embedded in step payloads, so it changes in GET /workflows/{id}, GET /workflows/{id}/steps and GET /workflows/{id}/steps/{id} as well.data_tables feature gate applies to PATCH, not just POST. An account without the feature can no longer reach value_format: choose_from_data_table by creating a text field and then converting it.mode query parameter was documented backwards (documentation fix, no behavior change). Omitting mode returns top-level steps only; flat is what returns every step. The schema previously described flat as the default.schema_version bumped to 5). Two orthogonal business-day controls extend beyond recurrence to step due dates and reminders:
business_day_rule (none / next_business_day / previous_business_day, or null): when a computed run/step due date or reminder lands on a non-business day, it moves to the next/previous business day. Writable via PATCH /workflows/{id} (requires the business_day_snap feature — a loud 403 without it; unknown values 422). Applies to runs started or synced after the rule is set; in-flight runs keep their mirrored rule.expected_duration_units_mode / open_duration_units_mode, and workflow step objects gain the due-date offset fields late_at_basis, late_at_offset, late_at_offset_units plus late_at_offset_units_mode (all read-only in v2 responses). A mode of business skips non-business days while counting a days offset; regular is plain calendar arithmetic. Absent an explicit mode, it derives from the units (days implies business) — the historical behavior, unchanged.GET /api/v2/schemas/checklist.json): optional checklist.business_day_rule, checklist.expected_duration_units_mode, per-step late_at_offset_units_mode, and per-reminder reminder_at_offset_units_mode. The auto-close settings also join the contract: checklist.open_duration, open_duration_units, and open_duration_units_mode (previously column-only; an absent key leaves an existing workflow’s auto-close unchanged when syncing, an explicit null duration disables it). The schema is now schema_version 5 — emit 5. In a v5 document an omitted mode means “author omitted an optional field”: newly imported records derive it from the units (days implies business), synced records keep their stored mode. Documents at schema_version <= 4 (stored workflow versions, old exports) are upgraded on import: the derived mode is stamped next to every offset-units key they carry, since days units always meant business counting before these fields existed — so restoring a pre-mode snapshot restores business counting even where a step has since been set to explicit regular. On import/sync the mode and rule keys are dropped when the business_day_snap feature is not active, so such documents import exactly as before the fields existed. On version rollback an absent business_day_rule leaves the current rule unchanged while an explicit null clears it.schema_version stays 4). The checklist JSON contract (GET /api/v2/schemas/checklist.json) gains optional checklist.business_calendar_id (integer or null): the account holiday calendar attached to the workflow. On import the id is resolved within the importing master account (requires the business_calendars feature); an id that does not resolve there — a document exported from another account, or a since-deleted calendar — is skipped and the import proceeds, so calendar attachments do not transfer across accounts. On version rollback an absent key (documents predating the field) leaves a workflow’s live attachment untouched, while an explicit null detaches. Backwards-compatible, so no schema version bump. Calendars themselves are managed via the new /business_calendars endpoints.Data settings — primary fully retired: workflow (step) responses and the checklist JSON schema (breaking). Following the run-step removal below, the primary boolean is gone from the remaining surfaces: v1 workflow/step responses (step_data_settings[] entries and the step data-setting endpoints) and the public checklist JSON contract. GET /api/v2/schemas/checklist.json is now schema_version 4, which no longer defines the attribute; documents at schema_version <= 3 (stored workflow versions, old exports) are upgraded on import — any primary keys they carry are stripped. Emit 4 and omit primary when generating documents; position is the ordering contract.
Data settings — primary removed from run step responses (breaking). The primary boolean no longer appears in data_collection.data_settings[] entries on run step responses (GET /runs/{id}, GET /runs/{run_id}/run_steps, GET /runs/{run_id}/run_steps/{id}, and assignment run steps). The flag marked which setting backed the legacy single-value surfaces; that concept is retired — a step’s data settings are an ordered collection, and position is the ordering contract. The data_collection top-level required/value_format/config continue to describe the step’s first setting by position (previously the primary-flagged one — the same setting in practice). Multi-setting steps are unaffected where it matters: fields are addressed stably by field_id via the fields endpoints, which never exposed primary.
GET /runs/{id}/summary now includes visible-locked steps (behavior change). The summary endpoint previously filtered on .applicable and silently dropped every step behind a stop_task or approval gate — a section made up of only a locked approval, for example, disappeared from the summary entirely. The endpoint now matches the web run UI and includes those steps (they render locked in the UI, and continue to reject complete/skip until the gate resolves), keeping the v2 read-surface contract that summary reflects what the user sees. Progress percentages and the summary’s per-section counts now include locked steps in the denominator, so the reported completion percent matches the on-screen bar. No response-shape changes.can_approve / approve_blocked_reason (additive; new fields + new 422 reasons). Approval run step and assignment responses now include can_approve (boolean) and approve_blocked_reason alongside the decide and retract pairs. Approving completes the step, so an approved decision has preconditions beyond decidability: required data filled, required subtasks complete, stored number values within their constraints. can_decide continues to describe an approve-or-reject call and can be true while can_approve is false — rejection stays available with those preconditions unmet. Backed by RunStep#approve_blockers, the same code path Reviews::Decide enforces, so the advertised signal matches the server’s answer. Present only on kind: approval steps for accounts with the approvals feature flag.
decision: "approved" (same error + blockers shape as other decision blockers): required_data_missing, required_subtasks_incomplete, number_constraint_violated. Previously these cases wrote a Review, rolled it back, and returned generic prose (Failed to record decision); they are now refused up front with the named reason and no Review write.stale review is recorded and the step reopens, the same cascade as when reviewed work changes. Previously the approval silently remained in effect over blank required data.Runs — manual complete / reopen via state (additive; new accepted parameter + link changes). PATCH /runs/{id} now accepts run.state: "completed" manually completes a started run (requires every applicable step to be complete, else 422 — same bookkeeping as auto-completion), and "started" reopens a completed or closed run (matching the web uncomplete/reopen actions). Accepted values match serializer output, so a response’s state can be echoed back verbatim; "active" is rejected. _links changes: complete now appears only while the run is started (it previously also appeared on completed runs), and a reopen link (body {"state": "started"}) appears on completed and closed runs.
Approvals — can_retract / retract_blocked_reason and retract link (additive; new fields + link). Approval run step and assignment responses now include can_retract (boolean) and retract_blocked_reason ("not_approved_yet", "not_eligible_to_retract", or null) alongside can_decide / decision_blocked_reason, and _links carries a retract entry when the STATE allows retraction (the latest review is currently approved). Both are backed by RunStep#retract_blockers — the same code path Reviews::Decide enforces on decision: "retracted" — so the advertised signal is guaranteed to match the server’s answer. Present only on kind: approval steps for accounts with the approvals feature flag. Mirrors the decide-link convention: the link is state-scoped (documents that retraction is possible here), can_retract is actor-scoped (predicts success for the authenticated user), and the 422 explains refusals in the same vocabulary.
decision value). POST /runs/{run_id}/run_steps/{id}/decision now accepts decision: "retracted" alongside approved/rejected. Retracting withdraws an approval that is currently in effect — the step’s latest review is approved — and returns the approval to undecided (its step reopens) so it can be decided afresh. A required comment still applies. The withdrawn approval and the retraction are both preserved in the append-only review history.
can_decide / decision_blocked_reason continue to describe an approved/rejected call only — retract availability is advertised through can_retract / retract_blocked_reason and the retract link.error + blockers shape as other decision blockers): not_approved_yet (the step is not currently approved — never approved, or already rejected, stale, or retracted) and not_eligible_to_retract (caller is neither the original approver nor an admin on an unassigned approval).400 Invalid decision message now reads Decision must be one of approved, rejected, retracted. stale remains system-generated (written when reviewed work changes after approval) and is still rejected on this endpoint.POST /runs/{run_id}/run_steps/{id} with action: "skip") now always returns 422 with approval run steps cannot be skipped directly. To reopen an approved approval, change the reviewed work (stale cascade) or record a new decision (retraction). Previously a pending approval’s refusal carried a malformed message (" cannot be skip"), and skipping an already-decided approval returned 200 “skipped successfully” without changing anything — a no-op reported as success.gates_downstream holds every step after it, exactly as a stop task does: those steps report blocked_kind: "approval" with blocking_run_step_id pointing at the approval, render as locked, and reject complete/skip with 422 until the approval is approved. A rejected or still-undecided approval keeps holding them — completion only happens on approval.
POST /runs/{run_id}/run_steps/{id}/decide), not completing a stop task. Agents that fetch blocking_run_step_id should branch on the blocker’s kind.blocked_kind: null.review_configuration.gates_downstream (boolean) in the checklist JSON contract (/api/v2/schemas/checklist.json, now schema_version 3). Omitting it in a v3 document means true; documents at schema_version 2 or lower are upgraded on import with gates_downstream: false, preserving their original behavior.GET /roles endpoint: lists roles in active departments the token’s user administers, one entry per department; tokens without admin access receive a 200 with an empty list (not 403), so an empty result can mean either no roles or no admin visibility. Response includes id, name, initiator (true for the reserved Initiator sentinel), department_id, department_name, and members (id/email/name for users attached via roles_memberships). Role names are unique per department only — duplicate names across departments are legal — so callers should key on id and disambiguate via department_id/department_name. Supports page, per_page, search (case-insensitive on name), and department_id query params. Role IDs are valid assignee_id values when assignee_type: "Role" (workflow import) and in roles_to_users on run creation. Follow-up: the Manifestly MCP server will proxy this as a list_roles tool.blocked_kind replaces blocked_by_stop_task (breaking; three days after the boolean shipped). Run-step and assignment responses (GET /runs/{id}, GET /runs/{run_id}/run_steps, GET /runs/{run_id}/run_steps/{id}, GET /assignments) now surface a blocked_kind string ("stop_task", "approval", or null) instead of the blocked_by_stop_task boolean, naming the kind of step that holds this one; blocking_run_step_id names the step itself.
blocked_kind is non-null exactly when another run step holds this step, and blocking_run_step_id is populated exactly then — no nil-pointer case. "stop_task": an upstream stop task is still incomplete. "approval": the lock chain terminates at an approval whose reviewed work is pending (e.g. substeps under an approval header) — fetch the blocker to see its can_decide / decision_blocked_reason. Under the old boolean these approval-lock cases reported true with a nil pointer.blocked_kind: null — it is not held by another step, and describes its readiness via can_decide: false / decision_blocked_reason: "reviewed_steps_incomplete".blocked_by_stop_task (RunStepApiSerializer) is untouched.GET /runs/{id}, GET /runs/{run_id}/run_steps, and GET /runs/{run_id}/run_steps/{id} now include steps locked by a stop task or by approval readiness (matching what the web UI renders with a lock). Previously main steps were limited to strictly-actionable ones, so e.g. a pending approval gate was invisible — and undecidable-by-discovery — until it unlocked. Locked steps self-describe via blocked_by_stop_task / blocking_run_step_id (and, on approvals, can_decide / decision_blocked_reason); write actions on locked steps still return 422. Hidden (not-applicable) steps remain excluded from lists and still 422 on fetch.include_locked: new query parameter on GET /assignments (default false). The default contract is unchanged — every listed assignment is actionable now. include_locked=true also lists visible-locked assignments (e.g. approvals awaiting reviewed work, composable with kind=approval); assignment objects now include blocked_by_stop_task and blocking_run_step_id so locked entries are self-describing.can_decide now means “a decision call by the authenticated user will succeed right now”: it reflects readiness (reviewed steps complete), whether the approval is already decided, user eligibility, and the four-eyes rule. Previously it reflected eligibility only, so can_decide: true could still yield a 422.decision_blocked_reason on approval steps: why can_decide is false — reviewed_steps_incomplete, already_decided, not_eligible, four_eyes_completer, or step_not_actionable — or null when decidable.POST /runs/{run_id}/run_steps/{id}/decision 422 responses now return a machine-readable reason in error (same vocabulary as decision_blocked_reason) plus a blockers array listing every applicable reason. Previously error was prose (e.g. "Not an approval step").422 already_decided (previously an additional decision was recorded). An approved approval reopens automatically when any reviewed step changes.422 with error: "not_eligible" instead of 403.kind (masked to "standard" without the approvals flag) and, on approval steps, approval_status, reviewed_run_step_ids, can_decide, and decision_blocked_reason. Approval assignments carry a decide action link instead of complete/skip (which are rejected on approval steps while undecided). New kind query parameter on GET /assignments — kind=approval lists approvals awaiting the user’s decision; assignments only include actionable steps, so a listed approval is decidable now._links on an undecided approval step now carry decide (pointing at the decision endpoint) instead of complete/skip, which would 422 there; uncomplete/reset are no longer advertised on decided approvals (reopening happens automatically when reviewed work changes). If an approved approval is reopened without being invalidated (its latest review is still approved), it completes like a plain step and complete/skip are offered again.PATCH /runs/{id} now accepts due_at (preferred) and late_at (deprecated alias) to update the due date on an existing run. Previously only title and participants could be updated via v2; changing a run’s due date required falling back to v1.approvals account flag).
kind — now also "approval". An approval run step gates one or more reviewed steps; it is decided (approved/rejected), not completed.approval_status — "pending", "approved", "rejected", or "stale" (present on approval steps).reviewed_run_step_ids — the run steps this approval gates.under_review / reviewing_run_step_id — on reviewed steps, whether an approval gates them and which one.can_decide — whether the authenticated user may decide this approval.POST /runs/{run_id}/run_steps/{id}/decision with decision (approved/rejected), a required comment, and rejected_run_step_ids (steps to reopen on rejection). The person deciding cannot be a completer of any reviewed step (four-eyes, enforced server-side). Accounts without the approvals flag never see kind: "approval".field_values submitted to POST /runs are now validated against each field’s format (number constraints, list/data-table membership, and other format rules) at create time. A value that fails validation now returns 422 and no run is created. Previously the run was created and the invalid value was silently dropped. Valid values are also now applied to the run’s fields immediately on start rather than shortly after via a background job. Token values ({{...}}) are still resolved at run time and are not validated at create. (The same stricter behavior applies to the v1 API and the web new-run form.)POST/PATCH /workflows/{workflow_id}/steps/{step_id}/data_settings now accept four optional constraint keys in value_format_config when value_format is "number": min, max, max_decimal_places, and allow_negative. Previously these keys were silently dropped.422 with a descriptive error when the value is out of range.step and run_step hookables:
step_started — fires when a step transitions to in-progress.step_assigned — fires when a step gains a new user, role, or external assignee.step_tagged — fires when a run step’s tag list changes; takes a tag_list filter (same shape as tag_changed) so only changes touching one of the listed tags trigger the webhook.POST /webhooks now accepts tag_list when event is step_tagged (in addition to tag_changed). Webhook responses include tag_list for both tag-filtered events.kind — "standard" or "stop_task". A stop_task run step blocks subsequent siblings in the same section until it is completed.blocked_by_stop_task — boolean. true when an upstream stop task in the same section has not yet been completed.blocking_run_step_id — id of the run step currently blocking this one, or null if not blocked.stop_tasks account flag. Accounts without the flag will only ever see kind: "standard" and blocked_by_stop_task: false in responses, since stop tasks cannot be authored without the flag.run.title field in assignment responses now returns the run’s own title (nullable) instead of the combined detailed title. A new run.workflow_title field returns the workflow title separately.title is now documented as nullable, matching actual behavior (runs may have no custom title).GET /runs/{run_id}/run_steps/{run_step_id}/fields/{id} — read a single field.PUT /runs/{run_id}/run_steps/{run_step_id}/fields/{id} — update a single field by field_id.data action on PATCH /runs/{run_id}/run_steps/{id} now returns a 422 for steps with multiple data fields, directing consumers to the per-field endpoint instead.POST /runs/{run_id}/run_steps/{run_step_id}/fields now rejects blank values with an error instead of implicitly uncompleting the step. Use the explicit uncomplete endpoint with clear_data to clear field values.expand_substeps query parameter on GET /runs/{run_id}/run_steps/{id} now works correctly. Previously it was not reaching the serializer, causing paginated (empty) results instead of inline substeps.GET /runs/{run_id}/run_steps/{run_step_id}/fields — returns field-addressed data collection definitions and current values. Each field is keyed by field_id.POST /runs/{run_id}/run_steps/{run_step_id}/fields — batch-set data by field_id (auto-completes on save, uncompletes on clear).late_at is deprecated in favor of due_at across all endpoints. late_at continues to work but new integrations should use due_at.POST /runs and PATCH /runs/{run_id}/run_steps/{id} now accept due_at as the preferred parameter for due dates. When both due_at and late_at are provided, late_at takes precedence for backwards compatibility.POST /runs/{run_id}/run_steps now accepts due_at as an alias for late_at.due_at and late_at fields (identical values).GET /runs now supports due_at_asc and due_at_desc sort options (aliases for late_at_asc/late_at_desc).GET /runs/{id}/run_steps endpoint for listing run steps with filtering (type, status, parent_run_step_id, step_id) and hierarchical mode support.GET /runs/{id}/summary endpoint returning section-level completion stats and overall progress percentage.GET /workflows/{id}/steps endpoint for listing workflow step definitions with filtering and hierarchy support.POST /runs now accepts workflow_id as the preferred parameter for specifying the workflow. checklist_id continues to work but is deprecated.content array to run step and workflow step responses. Each entry includes a type (text, image, file, or video) and the corresponding value or URL. Text content on run steps is returned with dynamic values (e.g. {{run.title}}) resolved.GET /users and GET /users/{id} endpoints for listing and retrieving users (admin-only, supports search, department filtering, and pagination).late_at field on Run responses and fixed its format to ISO 8601 (matches due_at).clear_data option to run step uncomplete action.