Kenso MCP tools

Workflow Builder workflow_builder

Workflow builder: build writes a draft from a plain-words goal (start here to build a workflow), compile-condition turns one plain-words condition into a formula, and test runs the draft on one record with simulated actions. Nothing here goes live: after a passing test, call workflows(operation="publish"). Save to field targets (list and add custom fields) are here too. An AI step's with.knowledgePromptId links its text to a Knowledge prompt; it passes through untouched and the step runs its own text.

Call it from an MCP client connected to https://mcp.ken.so/mcp: reads go through workflow_builder_read and changes through workflow_builder_write. Each takes operation plus that operation's parameters, and your workspace role decides which operations you see.

Each operation with a route calls the Kenso API at https://api.ken.so with Authorization: Bearer <Kenso API key>, Ken-Version: 1.1 and X-Ken-Workspace-Id: <workspace id>. You can call that route directly with the same headers.

Operations: build, compile, compile-condition, workflow-fields-create, workflow-fields-delete, describe, apollo-lists-list, workflow-fields-list, workflow-slack-channels-list, linkedin-accounts-list-company-posts, linkedin-accounts-list-posts, test, test-records, workflow-fields-update

build

Write. Early access: needs workflows on for the workspace. POST https://api.ken.so/v1/workflows/build

Body (json): baseVersion integer, campaignId integer, fileIds array, focus array, goal string, kind string, note string, save boolean, source object, workflowId integer

Have Ken write a workflow draft from a plain-words goal. Never publishes. Returns the draft with the issues still to fix and notes for the user.

POST /api/v1/workflows/build. Staff. Sends Ken-Version 1.1. Requires
workflows edit. The builder writes a kenWorkflow definition from goal (10
to 4000 characters) with the workspace's step types, checks it and repairs
it up to 3 times within 50 seconds, then saves it as a draft.

Without workflow_id it creates a workflow (201): kind general (default) or
campaign, which needs campaign_id (a campaign in the workspace). With
workflow_id it edits that workflow (200): the builder reads its draft (else
its published version), changes what goal asks, keeps the rest and its
step ids, and saves the draft. goal says only the change; never paste the
definition into it. base_version is then required, the draftVersion you
last read (0 when there is no draft); a stale one answers 409
version_conflict.

source pins where the workflow's records come from: {"type": "signal" |
"bulk_import", "trigger": "trigger.csv", "with": {...}, "schedule":
{"every": "once" | "hour" | "day" | "week"}}. type sets the definition's
root type; trigger (optional, a key of that type from the Data sources
list) is kept whatever the model writes, with the with settings on it;
schedule only on bulk_import, and a CSV runs once. A source the builder
cannot honor (a type other than those two, an unknown or system trigger,
a trigger of the other type, with without trigger, a schedule on a signal,
a cadence the trigger does not read on, or a source or trigger whose
feature is off in the workspace: feature_disabled) answers 400
invalid_source with one detail naming the field. file_ids (at most 10) are build file ids from the build-sessions
files upload, as strings: Ken reads the start of each parsed file (8,000
characters each, 24,000 in all) as context; a file still parsing counts
by name only. An id that is not a build file in the workspace answers 404
not_found with a fileIds[i] detail per bad id.

save=false (with workflow_id only; without it 400 workflow_required on
save) previews the change and writes nothing: no draft, no version, the
draftVersion unchanged (0 when there is no draft), the same base_version
check and quota. The answer is the draft as it would be saved, with its
plain words refreshed: steps whose engine steps changed get new words, new
engine steps get new plain steps, plain steps whose engine steps are all
gone are removed, the rest keep their words. To apply it, save that
definition with workflows(operation="update") against the same
base_version. focus (with workflow_id, at most 50) names the steps the
person selected, each a plain step id (p2, when) or an engine id (trigger,
an additionalTriggers id or a step id): Ken changes only those unless the
goal needs more; an id that is neither answers 400 not_found on focus[i].

Each build is a Kenso-paid model call and takes one unit of the workspace's
aiWorkflowBuild quota (10 a minute, 200 a day): past it, 429
quota_exceeded with Retry-After. The unit is taken before the workflow is
read, so a stale base_version (409) or an unknown focus id (400) still
uses one: read the workflow again before retrying.

Returns {data: {workflow, attempts, issues, notes, timedOut, readings,
estimate, described, saved}}. workflow is as workflows get. issues are
validator issues ({path, code, message, fix, severity}); fix every error
with workflows update before testing. readings and estimate are as
workflow_builder(operation="compile") returns them. described lists the
plain ids a preview wrote words for (empty on a save); saved is false on a
preview. notes
say what the user must do, such as connect an app. timedOut: the builder
ran out of time and saved its best draft so far; hint says what to do
next. A goal the builder cannot turn into a workflow, or a build out of
time before any answer parsed, answers 400 with error.details[0].code
build_failed on goal. When the builder kept writing another trigger than
source.trigger after its repair turn, error.details[1] is
{field: "source.trigger", code: "source_mismatch"}.

Next step: workflow_builder(operation="test"), then
workflows(operation="publish").

Example: goal="When a new account is added, score its fit for B2B SaaS and
post the ones scoring 70 or more to Slack."

compile

Write. Early access: needs workflows, workflows_plain on for the workspace. POST https://api.ken.so/v1/workflows/compile

Body (json): baseVersion integer, campaignId integer, changed array, fresh array, kind string, name string, note string, save boolean, steps array, when object, workflowId integer

Have Ken compile a workflow's plain steps into engine steps. Kenso-paid model call; to compile with your own model use `workflows brief` instead.

POST /api/v1/workflows/compile. Staff. Sends Ken-Version 1.1. Requires
workflows edit and the workflows_plain flag.

steps: every plain step of the workflow in display order (at most 30),
each {"id": "p1", "text": "...", "mode": "compiled" | "judgment"}; mode is
optional (omitted, Ken picks or keeps the stored one), and so is fromHash,
the step's fromHash from a describe with save=false: Ken keeps it only
when it is the step's hash now. when: the When line,
{"text": "Every weekday at 9am"}. A stored step you leave out is removed
with its engine steps. changed: the ids whose words changed; omitted, every
step whose text differs from the stored one. Ken compiles only those, the
steps it never read and the steps whose forced mode differs; every other
step's engine config stays byte-identical, and a pinned step (written by
hand) is never compiled. changed=[] with every step read makes no model
call: the readings refresh for free. fresh: the ids whose words you
rewrote to match their engine steps as they are now (after changing a
value with workflows(operation="update")); each one this call does not
compile is marked as written for its engine steps now, so it does not
read stale. An id also in changed is compiled as usual.

Without workflow_id it creates a workflow (201): kind general (default) or
campaign with campaign_id. With workflow_id, base_version is the
draftVersion you last read (0 when there is no draft; required to save); a
stale one answers 409 version_conflict. save=false answers the result and
writes nothing.

A step the engine cannot do comes back with state unclear and a note
saying what would work instead. A call that needs the model takes one unit
of the workspace's aiWorkflowCompile quota (60 a minute, 2000 a day): past
it, 429 quota_exceeded with Retry-After. Steps Ken could not compile at all
answer 400 compile_failed.

Returns {data: {workflow, readings, issues, estimate, compiled, described,
attempts, timedOut, created, saved, notes}}. Each reading is {id, state
(ready | needs_input | unclear | error), summary, mode, pinned,
engineSteps, needs, creditsPerRecord, note, rule, stale}. stale: the
engine steps changed since Ken last wrote or read these words (an edit in
Advanced), so the words may no longer match; describe rewords them. needs are what a person
fills, each with a JSON pointer path into the definition; write the value
there with workflows(operation="update"). issues are publish-mode validator
issues. estimate is {creditsPerRun, creditsPerMonth}.

Example: steps=[{"id": "p1", "text": "Find Series A SaaS founders in the
US"}, {"id": "p2", "text": "Keep fits scoring 70 or more"}],
when={"text": "Every day at 9am"}.

compile-condition

Read. Early access: needs workflows on for the workspace. POST https://api.ken.so/v1/workflows/compile-condition

Body (json): definition object, text string, workflowId integer

Turn a plain-words condition into a formula for a step's when. Saves nothing. Use the formula only when no issue is an error.

POST /api/v1/workflows/compile-condition. Staff. Sends Ken-Version 1.1.
Requires workflows view, and workflows edit when it sends definition. text:
3 to 500 characters, for example "scores at least 70 and the account is in
fintech". Each call takes one unit of the workspace's
aiWorkflowCompileCondition quota (20 a minute, 500 a day): past it, 429
quota_exceeded with Retry-After.

Send at most one of workflow_id (checks references against its draft, else
published version) and definition (a kenWorkflow object). With either, a
reference to a step that does not exist comes back as an unknown_reference
issue with the closest step id in fix.

Returns {data: {formula, references, issues}}, for example formula
"{{qualify.score}} >= 70 and {{account.industry}} == 'fintech'" and
references ["qualify.score", "account.industry"]. formula is empty when
the compiler could not write one (issue code build_failed). Put the
formula in the step's when with workflows update.

workflow-fields-create

Write. Early access: needs workflows on for the workspace. POST https://api.ken.so/v1/workflow-fields

Body (json): key string, label string, object string, type string

Add a custom Save to field target to this workspace. The returned target goes in a step's save block. Adding the same field twice is safe.

POST /api/v1/workflow-fields. Staff. Sends Ken-Version 1.1. Requires
workflows edit. Returns 404 not_found unless the workspace has the
workflows feature on.

object: account, person or lead. key: snake_case, ^[a-z][a-z0-9_]{0,63}$,
for example icp_tier, and not a standard key of that object (account.name is
standard, so key "name" on account is 400 already_standard, and so is the
snake_case spelling of a standard key: "fit_score" names account.fitScore,
use that target instead; on lead, the
built-in contact names email, first_name, last_name, company and title are
400 reserved, because a template token with that name reads the contact's
own value). type: text,
number, boolean, date or json. label: optional, 1 to 80 characters; by
default the key with underscores as spaces, "Icp tier" for icp_tier. Each
problem is one entry in error.details ({field, code, message}).

Returns {data: {target, object, key, kind: "custom", type, label,
createdAt}}: 201 when the field is new, 200 with the existing field when
the same object, key and type already exist (so a retry is safe). The same
key with another type is 409 invalid_state, "account.custom.score already
exists as number": use the existing type, or pick another key.
workflow_builder(operation="workflow-fields-update") changes the label, and
workflow-fields-delete removes a field no workflow uses, which frees its key.

The target is <object>.custom.<key>: object account, key icp_tier gives
account.custom.icp_tier. Use it as the "to" of a step's save entry, for
example "save": [{"from": "tier", "to": "account.custom.icp_tier"}].

workflow-fields-delete

Write. Early access: needs workflows on for the workspace. DELETE https://api.ken.so/v1/workflow-fields/{fieldTarget}

Path: fieldTarget

Delete a custom Save to field target that no published workflow uses. Empty success means it was removed and its key is free again.

DELETE /api/v1/workflow-fields/{target}. Staff. Sends Ken-Version 1.1.
Requires workflows edit. Returns 404 not_found unless the workspace has the
workflows feature on.

target: the custom field's target as workflow-fields-list returns it, for
example account.custom.icp_tier. The backend returns 204 and the key is
free again at once, so workflow-fields-create can add it back with any
type. Values already saved on accounts, people and leads are kept.

409 invalid_state while a workflow uses the field, naming each one:
'account.custom.icp_tier is used by published workflow "Score accounts"
(12)' (up to 5 named, then "and N more"). A workflow uses it when its
published version (live or off), or a version a run still in progress is
on, saves to it or reads {{account.custom.icp_tier}} in a step input or a
condition. Drafts do not count. Take the field out of those workflows and
publish them, then delete again. Runs keep the version they started on, so
when only open runs block it the message says 'open runs of workflow
"Score accounts" (12) on version 3' (", deleted" for a deleted workflow):
republishing does not clear that, so let those runs end or cancel them.
A standard target such as account.fitScore is 409 invalid_state. A field
the workspace does not have, or one already deleted, is 404 not_found.

describe

Write. Early access: needs workflows, workflows_plain on for the workspace. POST https://api.ken.so/v1/workflows/describe

Body (json): baseVersion integer, engineIds array, note string, save boolean, workflowId integer

Have Ken write plain steps for a workflow's engine config. Never changes the config. Kenso-paid model call (cheap tier); to describe with your own model use `workflows brief` instead.

POST /api/v1/workflows/describe. Staff. Sends Ken-Version 1.1. Requires
workflows edit and the workflows_plain flag.

Ken rewords the plain steps that own engine_ids (trigger, an
additionalTriggers id or step ids, at most 200) and writes new plain
steps, in engine order, for every trigger and step no plain step covers.
On a workflow with no plain steps it describes the whole workflow, the
When line included. A new step that holds a code.run@1 step is pinned; one
that is a single ai.agent@1 step runs with judgment. Nothing to word makes
no model call.

base_version is the draftVersion you last read (0 when there is no draft;
required to save); a stale one answers 409 version_conflict. save=false
answers the result and writes nothing. A call that needs the model takes
one unit of the workspace's aiWorkflowDescribe quota (30 a minute, 500 a
day): past it, 429 quota_exceeded with Retry-After.

Returns the same shape as workflow_builder(operation="compile"), with
described listing the plain ids Ken wrote words for.

Example: workflow_id=12, base_version=3, engine_ids=["qualify"].

apollo-lists-list

Read. GET https://api.ken.so/v1/integrations/apollo/lists

List the workspace's Apollo contacts lists, for an Apollo list workflow source. Read on the workspace's own Apollo key. Not for the Client role.

GET /api/v1/integrations/apollo/lists. Internal. Sends Ken-Version 1.1.
Items: id, name, count (Apollo's cached count of the list's contacts, absent when
Apollo has none), sorted by name; accounts and sequence lists are left out. One page
holds every list. Pass an item's id as the listId of a trigger.apollo@1 source. Costs no Kenso credits and no Apollo credits.
conflict apollo_not_connected until the workspace saves a usable Apollo API key in
Settings > Integrations (none saved, or Apollo refused the saved one on any call);
conflict apollo_key_rejected when Apollo refuses the key. Use a master key: the same
key runs Kenso's Apollo email finder (people/match), so a key limited to the list
endpoints stops working for both;
apollo_unavailable (503) when Apollo does not answer or rate-limits the key. not_found
while the workflow_sources or accounts feature is off for the workspace.

workflow-fields-list

Read. Early access: needs workflows on for the workspace. GET https://api.ken.so/v1/workflow-fields

Query: object string

List the Save to field targets a workflow step's save block accepts, including this workspace's custom fields. Each item's target is the string a step's save block takes.

GET /api/v1/workflow-fields. Staff. Sends Ken-Version 1.1. Requires
workflows view. Returns 404 not_found unless the workspace has the
workflows feature on.

object (account, person or lead) narrows the list; omit it for every
target. Anything else is 400 validation_failed. lead has no standard fields,
only custom ones.

Returns {data: [{target, object, key, kind, type, label, createdAt}],
pagination: {hasMore: false}}: the standard targets first (13 on account, 7
on person), then the workspace's custom fields, each group by object
(account, person, lead) and key. kind is "standard" or "custom". type is
text, number or id for a standard field (the value a save must carry) and
text, number, boolean, date or json for a custom one. createdAt is only on a
custom field. target looks like account.fitScore (standard) or
account.custom.icp_tier (custom): put exactly that string in a step's
save block.

A target you need that is missing: add it with
workflow_builder(operation="workflow-fields-create").

workflow-slack-channels-list

Read. GET https://api.ken.so/v1/workflow-slack-connection/channels

Query: cursor string, limit integer

List the Slack channels a workflow's slack.message step can post to. Read with the workspace's Slack connection, so it works before the caller connects Slack. Needs workflows edit.

GET /api/v1/workflow-slack-connection/channels. Internal. Sends Ken-Version 1.1.
Items: id, name, isPrivate, teamId. Read with the bot slack.message posts as (the
workspace's one Slack install), so a member who never connected Slack gets the
list. Public channels: every one in the Slack team, archived ones left out (only
the ones Kenso is in when the install cannot post to any public channel). Private
channels: only the ones the caller is in and Kenso is in too, read as the caller's
own Slack user from their own Slack connection; a caller who never connected Slack,
or an API key with no user, sees none. Private ones come first. Pass an item's id,
or #name, as the step's channel. limit 1 to 200 (default 50). Slack can return
fewer items than limit with more to come: pass pagination.nextCursor back
unchanged. conflict slack_not_connected until someone connects Slack in this
workspace in the Kenso app (Settings > Notifications), slack_several_workspaces when
more than one Slack workspace is connected (a Slack step cannot pick one),
slack_not_configured until Kenso's Slack app is set up; not_found while the
workflows feature is off. Needs workflows edit (Admin, Editor).

linkedin-accounts-list-company-posts

Read. GET https://api.ken.so/v1/linkedin-accounts/{linkedinAccountId}/company-posts

Path: linkedinAccountId

Query: company string (required), cursor string, limit integer

List a LinkedIn company page's recent posts, newest first, read through a LinkedIn account. Reads LinkedIn live and spends the seat's daily post reads (DEV-10762).

GET /api/v1/linkedin-accounts/{linkedinAccountId}/company-posts. Internal.
Sends Ken-Version 1.1. Requires Workflows edit; a Client seat is refused.
company is the page's slug, as in linkedin.com/company/ken-so, or its
numeric LinkedIn id. Same page as linkedin-accounts-list-posts: each post has
linkedinPostId, url (omitted when LinkedIn gave none), text, postedAt,
reactionCount and commentCount. Reposts are left out. limit is 1 to 200 (50
by default; LinkedIn returns at most 100 a page); page on with
pagination.nextCursor. Each call spends one of the seat's daily post reads,
two the first time a slug is looked up (the lookup is one more read; the
page id is then cached for 30 days).
Errors: 400 validation_failed when company is missing; not_found for a
missing or cross-workspace seat, or a company slug or id with no page;
409 invalid_state when the seat is not connected; 429 rate_limited with
Retry-After when LinkedIn holds the seat back or today's post reads are
spent (they reset at midnight UTC); 503 when LinkedIn did not answer.

linkedin-accounts-list-posts

Read. GET https://api.ken.so/v1/linkedin-accounts/{linkedinAccountId}/posts

Path: linkedinAccountId

Query: cursor string, limit integer

List the recent LinkedIn posts a LinkedIn account wrote, newest first. Reads LinkedIn live and spends one of the seat's daily post reads (DEV-8886).

GET /api/v1/linkedin-accounts/{linkedinAccountId}/posts. Internal. Sends
Ken-Version 1.1. Requires Workflows edit; a Client seat is refused.
Each post has linkedinPostId (LinkedIn's id), url (its public link, omitted
when LinkedIn gave none), text, postedAt, reactionCount and commentCount.
Reposts are left out. limit is 1 to 200 (50 by default; LinkedIn returns
at most 100 a page); page on with pagination.nextCursor.
Put a post's url in postUrls of a trigger.linkedin_post_engagement@2
workflow source to watch who engages with it. Each call spends one of the
seat's daily post reads, the budget the engagement sweep also uses.
Errors: not_found for a missing or cross-workspace seat; 409 invalid_state
when the seat is not connected; 429 rate_limited with Retry-After when
LinkedIn holds the seat back or today's post reads are spent (they reset at
midnight UTC); 503 when LinkedIn did not answer.

test

Write. Early access: needs workflows on for the workspace. POST https://api.ken.so/v1/workflows/{workflowId}/test

Path: workflowId

Body (json): liveSteps array, pinnedOutputs object, record object, runId integer, waitSeconds integer

Test the workflow's draft on one record through the real engine and wait for the result. A pass is recorded on this exact draft; publish requires it.

POST /api/v1/workflows/{workflowId}/test. Staff. Sends Ken-Version 1.1.
Requires workflows edit. Runs the draft (else the published version) as a
test run in the fast lane.

Simulated steps (sends, CRM writes, Slack posts and other actions) return
their type's static example output and cost nothing: the same values on
every test, not values from the record (send.email@1's touchId 48213,
campaign.promote@1's accountId 1042). To check what such a step would have
done, read its rendered input in the run's steps. Live steps (lookups,
enrichment, AI) run for real and are charged like any run, so a test run needs the
workspace's workflows_runtime flag. While it is off the call answers 404
"Workflow runs are not enabled for this workspace (workflows_runtime is
off)." and starts nothing: stop and tell the user.

record_type and record_id: the record to test on (both together): a positive
id for an account, person or lead, the place's plc_ id (plc_7, from
search(operation="search-places")) for a place. Omit both
to use the newest record of the trigger's type in the workspace; for a
campaign workflow on leads, the newest live lead of its campaign (400
record_required naming the campaign when it has none). A workflow whose
trigger takes any record type needs one. pinned_outputs: step id to
the output to use instead of running that step, for example
{"qualify": {"score": 85, "reasoning": "fits"}}; an unknown step id is 400.
Pins are at most 256 KB in all and 200 items per list (400 too_large).
Pinned steps count as untested: when pins stand in for every action step
that ran, the run can succeed but no pass is recorded.
A test run never waits: logic.wait@1 goes on at once and
logic.wait_for_event@1 goes on as if the event arrived (timedOut false),
with no event payload. Pin {"timedOut": true} on a wait for event to test
its timeout path, or {"timedOut": false, "event": {...}} when a later step
reads the event.
live_steps: step ids to run for real instead of simulating, for a user who
wants to see their webhook or HTTP call actually land before publishing.
Only http.request, webhook.send, slack.message and the campaign placement-test step
qualify; a send step is 400 not_allowed and stays simulated. The step is
charged like any live step.
wait_seconds: 0 to 50 (default 50), counted from the request: the call
answers within a minute whatever the run does.

The trigger output ({{trigger.*}}) comes from the record under test: a lead
gives leadId, campaignId, campaignSegmentId and createdAt, an account
accountId and stage, a person personId and its first account link
(accountId, stakeholderId, role), each only when the trigger declares it.
A field the record cannot supply (a signal's signal, signalId, source,
payload and occurredAt) keeps the trigger type's example value, and
exampleFields lists those names.

Returns {data: {run, testPassed, timedOut, hint, definitionHash,
versionStatus, publishPassRecorded, publishPassReason, exampleFields, liveSteps}}. run is the run with
its steps and attempts, as workflow_runs operation="get" returns it.
testPassed: the run succeeded. publishPassRecorded: the pass is recorded on
this draft, so publish accepts it until the draft changes. When it is
false, publishPassReason says why:
  not_passed         the run did not succeed, or is still going.
  draft_changed      the draft was saved during or after the run, so the
                     run tested another definition: test the current draft.
                     A test run whose draft is saved while it runs fails
                     (the run.completed reason starts with draft_changed).
  all_steps_pinned   pinned outputs stood in for every action step that ran
                     (branches, filters, formulas, waits, wait for event,
                     for-each and subworkflow do not count): test again with
                     fewer pins, so at least one action step runs.
  published_version  the run tested the published version; nothing to record.
timedOut: the wait ended before the run finished, and hint names the next
calls: poll it with workflow_runs(operation="get", run_id=...) until it
ends, then call this again with run_id to record the pass without starting
another run. A run that stops in needs_attention comes back with timedOut
false and testPassed false: read its steps.

test-records

Read. Early access: needs workflows on for the workspace. GET https://api.ken.so/v1/workflows/{workflowId}/test-records

Path: workflowId

Query: limit integer

List records to test the workflow on: the ones it ran on recently, then the newest of its record type. Pass an item's type and id to workflow_builder operation test as record_type and record_id.

GET /api/v1/workflows/{workflowId}/test-records. Staff. Sends Ken-Version
1.1. Requires workflows view. Reads only: no run starts, nothing is charged.

First the records this workflow's runs were about (newest run first, each
once), then the newest records of the trigger's record type (a campaign
workflow's leads of its campaign). Only live records of a type the trigger
accepts. A trigger with no record (a schedule) lists none. limit: 1 to 50
(default 25), one page.

Returns {data: [{type, id, label, sublabel}]}. type is account, person,
lead or place; id is a string (plc_ id for a place). label is the name,
sublabel one line of context (domain, title, city), absent when none. Then
call workflow_builder(operation="test", workflow_id=..., record_type=<type>,
record_id=<id>). Another workspace's workflow is 404 not_found.

workflow-fields-update

Write. Early access: needs workflows on for the workspace. PATCH https://api.ken.so/v1/workflow-fields/{fieldTarget}

Path: fieldTarget

Body (json): label string

Rename a custom Save to field target: change its label only. The target, key and type never change.

PATCH /api/v1/workflow-fields/{target}. Staff. Sends Ken-Version 1.1.
Requires workflows edit. Returns 404 not_found unless the workspace has the
workflows feature on.

target: the custom field's target as workflow-fields-list returns it, for
example account.custom.icp_tier. label: required, 1 to 80 characters; a
blank or longer label is 400 validation_failed with detail label.

Returns {data: {target, object, key, kind: "custom", type, label,
createdAt}} with the new label. The same label again is 200 and changes
nothing. A standard target such as account.fitScore is 409 invalid_state
("account.fitScore is a standard field and cannot be renamed or deleted").
A field the workspace does not have, or one already deleted, is 404
not_found. A wrong key or type cannot be fixed here: delete the field with
workflow-fields-delete and add it again with workflow-fields-create.