The board's rollups over its deals: each {key, label?, source?, op?, stages?, groupBy?}. op is sum (default) | min | max | avg | median | count; source is a money, percent, number or (min/max) date field, or expectedRevenue, optional for count; stages narrows to some columns; groupBy: stage turns the number into one point per column.
Show child attributes
color
string
The board's hue, from the chip palette.
description
string
What the board is for: which relationships go on it. Sonar reads it to pick the board for a new deal.
Hold this write as a draft, even where the permissions would let it through: the agent's waits for a person to approve, a person's own waits for them to confirm it (owner: its author). The response is applied=false with the draft.
evidence
object[] | null
Show child attributes
fieldSchema
object[]
The board's card: an ordered list of {key, kind, entity?, set?, required?, label?, options?, unit?, section?, format?, description?, onCard?, deprecated?}. kind is text|number|money|percent|bool|date|enum|ref|stage; ref needs entity (contact|organization|document|engagement|task); enum needs options, each a string or {value, label?, color?, deprecated?}: value is what a card stores, label the words people read, which may be written in its place; unit is free text, required on money and optional on number; set:true makes the field hold several values; format (multiline|url|email) is a text rendering hint; section is the heading the field groups under. No card, no fields: a board with none carries its deals' columns alone.
With a personal API key only: ai records the write as the key owner's agent's (source ai, with the owner as its user), owing the rationale and evidence, and passing the permissions, of any agent write. Omit for a person's own write.
Available options:
ai
stages
object[]
The funnel in order.
Show child attributes
template
string
A template to start from, by its type in GET /pipeline-templates: its funnel, color, description, card, rollups and revenue are copied once, and each of those sent here replaces that part of the template. Omit to start with only what is sent.
Response
OK
applied
boolean
budgets
object[]
How full each budgeted text the write set is, in characters (a note in a list is its own entry, notes[2].text). Never enforced: a text over its budget was written as sent; tighten it when you next rewrite it.
Show child attributes
draft
object
Show child attributes
entityId
string<uuid>
Example:
"248df4b7-aa70-47b8-a036-33ac447e668d"
migrated
integer
mutation
object
Show child attributes
{"docsConfig":{"theme":"mint","$schema":"https://mintlify.com/docs.json","name":"Turtle Docs","colors":{"primary":"#15A323","light":"#06C94E","dark":"#14801F"},"logo":{"light":"https://mintcdn.com/turtle-26472809/bMpimTLGyxh-lYR-/logo/turtle-logo-black.png?fit=max\u0026auto=format\u0026n=bMpimTLGyxh-lYR-\u0026q=85\u0026s=06cd70af4dbb077cdb17646e2094ce20","dark":"https://mintcdn.com/turtle-26472809/bMpimTLGyxh-lYR-/logo/turtle-logo-white.png?fit=max\u0026auto=format\u0026n=bMpimTLGyxh-lYR-\u0026q=85\u0026s=452b45a90dcea6e38c401a3df3520169"},"favicon":"https://mintcdn.com/turtle-26472809/bMpimTLGyxh-lYR-/favicon.png?fit=max\u0026auto=format\u0026n=bMpimTLGyxh-lYR-\u0026q=85\u0026s=7fd23a9ada37b8c750e7feb63c787601","appearance":{"default":"light","strict":true},"navbar":{"links":[{"href":"https://discord.turtle.xyz/","label":"Support"}],"primary":{"type":"button","label":"Dashboard","href":"https://dashboard.turtle.xyz"}},"footer":{"socials":{"x":"https://x.com/turtledotxyz","github":"https://github.com/turtle-dao","discord":"https://discord.turtle.xyz/","linkedin":"https://linkedin.com/company/turtleclub"}},"styling":{"latex":false},"navigation":{"global":{"anchors":[{"anchor":"Community","icon":"discord","href":"https://discord.turtle.xyz"}]},"pages":[]}},"deployment":{"deploymentMetadataValue":{"subdomain":"turtle-26472809","hasAudioNarration":false,"actualSubdomain":"turtle-26472809","customDomains":["docs.turtle.xyz"],"gitSource":{"type":"github","owner":"turtle-dao","repo":"mintlify-docs","deployBranch":"main","contentDirectory":"","isPrivate":false,"mountPath":"","label":"","_id":"6b10b4879ffae5051c400237"},"feedback":{"thumbs":false},"entitlements":{"AI_CHAT":{"status":"DISABLED"}},"buildId":"6b13f4fb95d2bcec0228d73a","clientVersion":"0.0.4458","searchFilterCounts":[{"language":"default","tag":"Products","count":153},{"language":"default","tag":"Turtle API","count":140},{"language":"default","tag":"Sonar","count":105},{"language":"default","tag":"API reference","count":100},{"language":"default","tag":"Home","count":41},{"language":"default","tag":"Streams","count":20},{"language":"default","tag":"More","count":15},{"language":"default","tag":"Engagements (deals)","count":10},{"language":"default","tag":"Get Started","count":9},{"language":"default","tag":"Contacts","count":9}]},"assistantConfig":{},"basePath":"","hasChatPermissions":false,"hasWebMcpPermissions":false,"toggles":[{"name":"kill-isr","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-mintlify-slack","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-integrations-settings","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"rbac-expansion","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-pr-grouping","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"custom-prefix","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"analytics-v7","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"user-flows-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"no-publish-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving-live","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"stripTemperatureMiddleware","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"support-platform-pylon-zendesk","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"instant-rollback","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications-server","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-fable","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fixed-ai-action-pricing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automation-resolve-merge-conflict","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"scoped-publishing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"mintql","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"page-level-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-version-history-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"billing-page-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"full-page-search","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workspace-projects","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fork-pr-previews","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"revalidation-jwt","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"hobby-abuse-scan","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"dashboard-inbox","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"turbopuffer-dual-write","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"approve-review-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-metadata","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"turbopuffer-serve","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"live-agents","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"starter-pricing","enabled":true,"variant":{"name":"treatment","enabled":true,"payload":{"type":"string","value":"treatment"},"feature_enabled":true},"impressionData":false},{"name":"llms-txt-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"auth-vite-origin","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false}],"starterQuestions":[],"googleFontsInlined":false},"customCss":[{"filePath":"global.css","content":"#content-area .mdx-content{margin-top:1rem}#sidebar-content li[data-group-tag]>button:hover,#sidebar-content a:hover{color:#15A323!important}.dark #sidebar-content li[data-group-tag]>button:hover,.dark #sidebar-content a:hover{color:#06C94E!important}#sidebar-content li[data-group-tag]>ul{margin-left:0.5rem;padding-left:0.75rem;border-left:2px solid rgba(0, 0, 0, 0.08)}.dark #sidebar-content li[data-group-tag]>ul{border-left-color:rgba(255, 255, 255, 0.12)}#sidebar-content li[data-group-tag][data-active=\"true\"]>ul{border-left-color:rgba(21, 163, 35, 0.55)}"}]}
{"page":{"pagePath":"sdk/sonar/reference/pipelines-boards/declare-pipeline","slug":"/sdk/sonar/reference/pipelines-boards/declare-pipeline","pageMetadata":{"title":"Declare Pipeline","description":"Declares a board, from a template or from what is sent. Engagements only open on a declared board.","deprecated":null,"version":null,"openapi":"https://sonar.turtle.xyz/v1/openapi.json post /organization/{organizationId}/pipelines","href":"/sdk/sonar/reference/pipelines-boards/declare-pipeline","autogeneratedByOpenApi":true},"description":{"compiledSource":"\"use strict\";\nconst {jsx: _jsx} = arguments[0];\nconst {useMDXComponents: _provideComponents} = arguments[0];\nfunction _createMdxContent(props) {\n const _components = {\n p: \"p\",\n ..._provideComponents(),\n ...props.components\n };\n return _jsx(_components.p, {\n children: \"Declares a board, from a template or from what is sent. Engagements only open on a declared board.\"\n });\n}\nfunction MDXContent(props = {}) {\n const {wrapper: MDXLayout} = {\n ..._provideComponents(),\n ...props.components\n };\n return MDXLayout ? _jsx(MDXLayout, {\n ...props,\n children: _jsx(_createMdxContent, {\n ...props\n })\n }) : _createMdxContent(props);\n}\nreturn {\n default: MDXContent\n};\n","frontmatter":{},"scope":{}},"pageType":"default","mdx":{"mdxSource":{"compiledSource":"\"use strict\";const{Fragment:_Fragment,jsx:_jsx}=arguments[0];const{useMDXComponents:_provideComponents}=arguments[0];function _createMdxContent(props){return _jsx(_Fragment,{})}function MDXContent(props={}){const{wrapper:MDXLayout}={..._provideComponents(),...props.components};return MDXLayout?_jsx(MDXLayout,{...props,children:_jsx(_createMdxContent,{...props})}):_createMdxContent(props)}return{default:MDXContent}","frontmatter":{},"scope":{"config":{},"pageMetadata":{"title":"Declare Pipeline","description":"Declares a board, from a template or from what is sent. Engagements only open on a declared board.","deprecated":null,"version":null,"openapi":"https://sonar.turtle.xyz/v1/openapi.json post /organization/{organizationId}/pipelines","href":"/sdk/sonar/reference/pipelines-boards/declare-pipeline","autogeneratedByOpenApi":true}}},"mdxSourceWithNoJs":null},"mdxExtracts":{"tableOfContents":[],"codeExamples":{}},"jsLinks":[],"openApiReferenceData":{"operation":{"description":"Declares a board, from a template or from what is sent. Engagements only open on a declared board.","operationId":"sonarCreatePipeline","parameters":["586a5b4e-59be-4337-b002-eb1c8ecc08a7"],"requestBody":"fb6edbb2-8d8b-488b-9971-a297e14f5020","responses":{"200":"e9d59893-1219-493d-a27e-a518f55dc679","400":"dfd7f581-e85f-4114-a3d7-58250c91c3e7","500":"783ecbb3-a197-4f81-b8de-c1466c87aad4"},"summary":"Declare Pipeline","tags":["Pipelines (boards)"],"method":"post","type":"path","servers":["82fc25c9-ea64-40a2-bef6-8ac5cc4977c4"],"security":["556c0234-91a2-476a-bfc7-178e243d1e98","dc6f9618-5ac8-42c1-942f-741b5d0e9038"],"path":"/organization/{organizationId}/pipelines","baseUrlOptions":["https://sonar.turtle.xyz/v1"],"title":"Declare Pipeline","codeSamples":[],"requiredOnlyExamples":false,"requestExampleType":"generated","responseExampleType":"generated"},"dependencies":{"parameters":{"586a5b4e-59be-4337-b002-eb1c8ecc08a7":{"in":"path","name":"organizationId","required":true,"schema":{"examples":["248df4b7-aa70-47b8-a036-33ac447e668d"],"format":"uuid","type":"string","isRequired":true,"uniqueKey":"","typeLabel":"string\u003cuuid>"}}},"requestBody":{"content":{"application/json":{"schema":{"properties":{"type":{"maxLength":200,"pattern":"^(?:[^\u003c\\p{C}]||\u003c+(?:[^\u003cA-Za-z/!?\\p{C}]||$))*$","type":"string","description":"The board — the kind of relationship it tracks, e.g. liquidity_deal | distributor | partner | exchange | lp | internal.","minLength":1,"isRequired":true,"uniqueKey":"type","typeLabel":"string"},"aggregates":{"description":"The board's rollups over its deals: each {key, label?, source?, op?, stages?, groupBy?}. op is sum (default) | min | max | avg | median | count; source is a money, percent, number or (min/max) date field, or expectedRevenue, optional for count; stages narrows to some columns; groupBy: stage turns the number into one point per column.","items":{"additionalProperties":{"oneOf":[{}],"uniqueKey":"aggregates.items.[INDEX].additionalProperties","typeLabel":"any"},"type":"object","uniqueKey":"aggregates.items.[INDEX]","typeLabel":"object"},"type":"array","uniqueKey":"aggregates","typeLabel":"object[]"},"color":{"description":"The board's hue, from the chip palette.","type":"string","uniqueKey":"color","typeLabel":"string"},"description":{"maxLength":20000,"pattern":"^(?:[^\u003c\\p{C}]|[\\t\\n\\r]|\u003c+(?:[^\u003cA-Za-z/!?\\p{C}]|[\\t\\n\\r]|$))*$","type":"string","description":"What the board is for: which relationships go on it. Sonar reads it to pick the board for a new deal.","uniqueKey":"description","typeLabel":"string"},"draft":{"description":"Hold this write as a draft, even where the permissions would let it through: the agent's waits for a person to approve, a person's own waits for them to confirm it (owner: its author). The response is applied=false with the draft.","type":"boolean","uniqueKey":"draft","typeLabel":"boolean"},"evidence":{"oneOf":[{"items":{"properties":{"eventId":{"examples":["248df4b7-aa70-47b8-a036-33ac447e668d"],"format":"uuid","type":"string","description":"The event cited; or messageId, one of the two.","uniqueKey":"evidence.oneOf.0.items.[INDEX].eventId","typeLabel":"string\u003cuuid>"},"messageId":{"examples":["248df4b7-aa70-47b8-a036-33ac447e668d"],"format":"uuid","type":"string","description":"A teammate's message cited (a text or an answer they sent), instead of an event. Supports only.","uniqueKey":"evidence.oneOf.0.items.[INDEX].messageId","typeLabel":"string\u003cuuid>"},"quotes":{"description":"Verbatim excerpts of what is cited, showing what was read. An agent write needs at least one on a supporting event, or a message.","items":{"maxLength":20000,"pattern":"^(?:[^\u003c\\p{C}]|[\\t\\n\\r]|\u003c+(?:[^\u003cA-Za-z/!?\\p{C}]|[\\t\\n\\r]|$))*$","type":"string","uniqueKey":"evidence.oneOf.0.items.[INDEX].quotes.items.[INDEX]","typeLabel":"string"},"type":"array","uniqueKey":"evidence.oneOf.0.items.[INDEX].quotes","typeLabel":"string[]"},"stance":{"description":"supports (default) or retracts — a retraction takes back an event an earlier write cited, and needs no quote.","enum":["supports","retracts"],"type":"string","uniqueKey":"evidence.oneOf.0.items.[INDEX].stance","typeLabel":"enum\u003cstring>"}},"type":"object","uniqueKey":"evidence.oneOf.0.items.[INDEX]","typeLabel":"object"},"type":"array","uniqueKey":"evidence.oneOf.0","typeLabel":"object[]"},{"items":{"properties":{"eventId":{"examples":["248df4b7-aa70-47b8-a036-33ac447e668d"],"format":"uuid","type":"string","description":"The event cited; or messageId, one of the two."},"messageId":{"examples":["248df4b7-aa70-47b8-a036-33ac447e668d"],"format":"uuid","type":"string","description":"A teammate's message cited (a text or an answer they sent), instead of an event. Supports only."},"quotes":{"description":"Verbatim excerpts of what is cited, showing what was read. An agent write needs at least one on a supporting event, or a message.","items":{"maxLength":20000,"pattern":"^(?:[^\u003c\\p{C}]|[\\t\\n\\r]|\u003c+(?:[^\u003cA-Za-z/!?\\p{C}]|[\\t\\n\\r]|$))*$","type":"string"},"type":"array"},"stance":{"description":"supports (default) or retracts — a retraction takes back an event an earlier write cited, and needs no quote.","enum":["supports","retracts"],"type":"string"}},"type":"object"},"type":"null","uniqueKey":"evidence.oneOf.1","typeLabel":"null"}],"uniqueKey":"evidence","typeLabel":"object[] | null"},"fieldSchema":{"description":"The board's card: an ordered list of {key, kind, entity?, set?, required?, label?, options?, unit?, section?, format?, description?, onCard?, deprecated?}. kind is text|number|money|percent|bool|date|enum|ref|stage; ref needs entity (contact|organization|document|engagement|task); enum needs options, each a string or {value, label?, color?, deprecated?}: value is what a card stores, label the words people read, which may be written in its place; unit is free text, required on money and optional on number; set:true makes the field hold several values; format (multiline|url|email) is a text rendering hint; section is the heading the field groups under. No card, no fields: a board with none carries its deals' columns alone.","items":{"additionalProperties":{"oneOf":[{}],"uniqueKey":"fieldSchema.items.[INDEX].additionalProperties","typeLabel":"any"},"type":"object","uniqueKey":"fieldSchema.items.[INDEX]","typeLabel":"object"},"type":"array","uniqueKey":"fieldSchema","typeLabel":"object[]"},"rationale":{"maxLength":20000,"pattern":"^(?:[^\u003c\\p{C}]|[\\t\\n\\r]|\u003c+(?:[^\u003cA-Za-z/!?\\p{C}]|[\\t\\n\\r]|$))*$","type":"string","uniqueKey":"rationale","typeLabel":"string"},"revenueFormula":{"oneOf":[{"description":"Computes a deal's expectedRevenue from its card when nobody wrote one: card keys and numbers joined by + - * /, with parentheses and max(a, b).","type":"null","uniqueKey":"revenueFormula.oneOf.0","typeLabel":"null"},{"description":"Computes a deal's expectedRevenue from its card when nobody wrote one: card keys and numbers joined by + - * /, with parentheses and max(a, b).","type":"string","uniqueKey":"revenueFormula.oneOf.1","typeLabel":"string"}],"uniqueKey":"revenueFormula","typeLabel":"null | string"},"revenueUnit":{"maxLength":200,"pattern":"^(?:[^\u003c\\p{C}]||\u003c+(?:[^\u003cA-Za-z/!?\\p{C}]||$))*$","type":"string","description":"What every deal's expectedRevenue on this board is counted in, e.g. USD.","uniqueKey":"revenueUnit","typeLabel":"string"},"source":{"description":"With a personal API key only: ai records the write as the key owner's agent's (source ai, with the owner as its user), owing the rationale and evidence, and passing the permissions, of any agent write. Omit for a person's own write.","enum":["ai"],"type":"string","uniqueKey":"source","typeLabel":"enum\u003cstring>"},"stages":{"description":"The funnel in order.","items":{"properties":{"kind":{"description":"The phase: lead (where a relationship enters) | discovery | closing | launch (in flight) | closed (resolved well) | lost (resolved badly).","type":"string","isRequired":true,"uniqueKey":"stages.items.[INDEX].kind","typeLabel":"string"},"name":{"maxLength":200,"pattern":"^(?:[^\u003c\\p{C}]||\u003c+(?:[^\u003cA-Za-z/!?\\p{C}]||$))*$","type":"string","minLength":1,"isRequired":true,"uniqueKey":"stages.items.[INDEX].name","typeLabel":"string"},"aggregates":{"description":"This column's rollups over the deals on it: each {key, label?, source?, op?}. op is sum (default) | min | max | avg | median | count.","items":{"additionalProperties":{"oneOf":[{}],"uniqueKey":"stages.items.[INDEX].aggregates.items.[INDEX].additionalProperties","typeLabel":"any"},"type":"object","uniqueKey":"stages.items.[INDEX].aggregates.items.[INDEX]","typeLabel":"object"},"type":"array","uniqueKey":"stages.items.[INDEX].aggregates","typeLabel":"object[]"},"color":{"description":"Chip colour: a hue (grey | red | orange | yellow | lime | green | teal | cyan | blue | purple | pink | brown | ink), optionally toned 1-4 by how far it stands out (blue-2); a bare hue is its 4.","type":"string","uniqueKey":"stages.items.[INDEX].color","typeLabel":"string"},"deprecated":{"description":"Retires the stage: the deals on it stay, and none move onto it or open there.","type":"boolean","uniqueKey":"stages.items.[INDEX].deprecated","typeLabel":"boolean"},"id":{"maxLength":200,"pattern":"^(?:[^\u003c\\p{C}]||\u003c+(?:[^\u003cA-Za-z/!?\\p{C}]||$))*$","type":"string","description":"Stable handle, minted from the name on first declaration. Send it back when renaming; omit it for a new stage.","uniqueKey":"stages.items.[INDEX].id","typeLabel":"string"},"next":{"description":"Stages this one may lead to, by id or name. Omit to allow any move — most boards should. Final stages are reachable from anywhere regardless.","items":{"type":"string","uniqueKey":"stages.items.[INDEX].next.items.[INDEX]","typeLabel":"string"},"type":"array","uniqueKey":"stages.items.[INDEX].next","typeLabel":"string[]"}},"required":["name","kind"],"type":"object","uniqueKey":"stages.items.[INDEX]","typeLabel":"object"},"type":"array","uniqueKey":"stages","typeLabel":"object[]"},"template":{"description":"A template to start from, by its type in GET /pipeline-templates: its funnel, color, description, card, rollups and revenue are copied once, and each of those sent here replaces that part of the template. Omit to start with only what is sent.","type":"string","uniqueKey":"template","typeLabel":"string"}},"required":["type"],"type":"object","uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"type":"\u003cstring>","aggregates":[{}],"color":"\u003cstring>","description":"\u003cstring>","draft":true,"evidence":[{"eventId":"248df4b7-aa70-47b8-a036-33ac447e668d","messageId":"248df4b7-aa70-47b8-a036-33ac447e668d","quotes":["\u003cstring>"]}],"fieldSchema":[{}],"rationale":"\u003cstring>","revenueFormula":"\u003cstring>","revenueUnit":"\u003cstring>","source":"ai","stages":[{"kind":"\u003cstring>","name":"\u003cstring>","aggregates":[{}],"color":"\u003cstring>","deprecated":true,"id":"\u003cstring>","next":["\u003cstring>"]}],"template":"\u003cstring>"}}},"exampleType":"generated"}},"exampleType":"generated"},"responses":{"e9d59893-1219-493d-a27e-a518f55dc679":{"content":{"application/json":{"schema":{"properties":{"applied":{"type":"boolean","uniqueKey":"applied","typeLabel":"boolean"},"budgets":{"description":"How full each budgeted text the write set is, in characters (a note in a list is its own entry, notes[2].text). Never enforced: a text over its budget was written as sent; tighten it when you next rewrite it.","items":{"properties":{"budget":{"type":"integer","uniqueKey":"budgets.items.[INDEX].budget","typeLabel":"integer"},"chars":{"type":"integer","uniqueKey":"budgets.items.[INDEX].chars","typeLabel":"integer"},"field":{"type":"string","uniqueKey":"budgets.items.[INDEX].field","typeLabel":"string"}},"type":"object","uniqueKey":"budgets.items.[INDEX]","typeLabel":"object"},"type":"array","uniqueKey":"budgets","typeLabel":"object[]"},"draft":{"properties":{"allowance":{"type":"string","uniqueKey":"draft.allowance","typeLabel":"string"},"allowedBy":{"examples":["248df4b7-aa70-47b8-a036-33ac447e668d"],"format":"uuid","type":"string","uniqueKey":"draft.allowedBy","typeLabel":"string\u003cuuid>"},"allower":{"properties":{"name":{"type":"string","uniqueKey":"draft.allower.name","typeLabel":"string"}},"type":"object","uniqueKey":"draft.allower","typeLabel":"object"},"amended":{"items":{"type":"string","uniqueKey":"draft.amended.items.[INDEX]","typeLabel":"string"},"type":"array","uniqueKey":"draft.amended","typeLabel":"string[]"},"causedBy":{"examples":["248df4b7-aa70-47b8-a036-33ac447e668d"],"format":"uuid","type":"string","uniqueKey":"draft.causedBy","typeLabel":"string\u003cuuid>"},"changedAt":{"format":"date-time","type":"string","uniqueKey":"draft.changedAt","typeLabel":"string\u003cdate-time>"},"changes":{"additionalProperties":{"oneOf":[{}],"uniqueKey":"draft.changes.additionalProperties","typeLabel":"any"},"type":"object","uniqueKey":"draft.changes","typeLabel":"object"},"createdAt":{"format":"date-time","type":"string","uniqueKey":"draft.createdAt","typeLabel":"string\u003cdate-time>"},"decidedAt":{"oneOf":[{"format":"date-time","type":"null","uniqueKey":"draft.decidedAt.oneOf.0","typeLabel":"null"},{"format":"date-time","type":"string","uniqueKey":"draft.decidedAt.oneOf.1","typeLabel":"string\u003cdate-time>"}],"uniqueKey":"draft.decidedAt","typeLabel":"null | string\u003cdate-time>"},"decidedBy":{"examples":["248df4b7-aa70-47b8-a036-33ac447e668d"],"format":"uuid","type":"string","uniqueKey":"draft.decidedBy","typeLabel":"string\u003cuuid>"},"decider":{"properties":{"name":{"type":"string","uniqueKey":"draft.decider.name","typeLabel":"string"}},"type":"object","uniqueKey":"draft.decider","typeLabel":"object"},"entity":{"properties":{"name":{"type":"string","uniqueKey":"draft.entity.name","typeLabel":"string"}},"type":"object","uniqueKey":"draft.entity","typeLabel":"object"},"entityId":{"examples":["248df4b7-aa70-47b8-a036-33ac447e668d"],"format":"uuid","type":"string","uniqueKey":"draft.entityId","typeLabel":"string\u003cuuid>"},"entityType":{"type":"string","uniqueKey":"draft.entityType","typeLabel":"string"},"evidence":{"oneOf":[{"items":{"properties":{"eventId":{"examples":["248df4b7-aa70-47b8-a036-33ac447e668d"],"format":"uuid","type":"string","uniqueKey":"draft.evidence.oneOf.0.items.[INDEX].eventId","typeLabel":"string\u003cuuid>"},"messageId":{"examples":["248df4b7-aa70-47b8-a036-33ac447e668d"],"format":"uuid","type":"string","uniqueKey":"draft.evidence.oneOf.0.items.[INDEX].messageId","typeLabel":"string\u003cuuid>"},"quotes":{"items":{"type":"string","uniqueKey":"draft.evidence.oneOf.0.items.[INDEX].quotes.items.[INDEX]","typeLabel":"string"},"type":"array","uniqueKey":"draft.evidence.oneOf.0.items.[INDEX].quotes","typeLabel":"string[]"},"sealed":{"type":"string","uniqueKey":"draft.evidence.oneOf.0.items.[INDEX].sealed","typeLabel":"string"},"stance":{"type":"string","uniqueKey":"draft.evidence.oneOf.0.items.[INDEX].stance","typeLabel":"string"}},"type":"object","uniqueKey":"draft.evidence.oneOf.0.items.[INDEX]","typeLabel":"object"},"type":"array","uniqueKey":"draft.evidence.oneOf.0","typeLabel":"object[]"},{"items":{"properties":{"eventId":{"examples":["248df4b7-aa70-47b8-a036-33ac447e668d"],"format":"uuid","type":"string"},"messageId":{"examples":["248df4b7-aa70-47b8-a036-33ac447e668d"],"format":"uuid","type":"string"},"quotes":{"items":{"type":"string"},"type":"array"},"sealed":{"type":"string"},"stance":{"type":"string"}},"type":"object"},"type":"null","uniqueKey":"draft.evidence.oneOf.1","typeLabel":"null"}],"uniqueKey":"draft.evidence","typeLabel":"object[] | null"},"heldByAgent":{"type":"boolean","uniqueKey":"draft.heldByAgent","typeLabel":"boolean"},"id":{"examples":["248df4b7-aa70-47b8-a036-33ac447e668d"],"format":"uuid","type":"string","uniqueKey":"draft.id","typeLabel":"string\u003cuuid>"},"mine":{"oneOf":[{"description":"Derived, beside owner: the signed-in person's contact is the owner. Absent when there is no owner, or the reader has no contact in this silo.","type":"null","uniqueKey":"draft.mine.oneOf.0","typeLabel":"null"},{"description":"Derived, beside owner: the signed-in person's contact is the owner. Absent when there is no owner, or the reader has no contact in this silo.","type":"boolean","uniqueKey":"draft.mine.oneOf.1","typeLabel":"boolean"}],"uniqueKey":"draft.mine","typeLabel":"null | boolean"},"op":{"type":"string","uniqueKey":"draft.op","typeLabel":"string"},"owner":{"properties":{"id":{"examples":["248df4b7-aa70-47b8-a036-33ac447e668d"],"format":"uuid","type":"string","uniqueKey":"draft.owner.id","typeLabel":"string\u003cuuid>"},"name":{"type":"string","uniqueKey":"draft.owner.name","typeLabel":"string"}},"type":"object","description":"Derived, on GET /mutations/drafts: the one of ours this draft waits on, from the senders of the events it cites, else the member behind a message it cites, else the key member of the threads holding those events. A person's own draft (source human) waits on its author. For a person who is no member of the organization only that: they read none of what the rest is worked out from. Absent when none of these names one of ours. It routes, and limits nobody: anyone may decide the draft.","uniqueKey":"draft.owner","typeLabel":"object"},"proposal":{"additionalProperties":{"oneOf":[{}],"uniqueKey":"draft.proposal.additionalProperties","typeLabel":"any"},"type":"object","uniqueKey":"draft.proposal","typeLabel":"object"},"rationale":{"type":"string","uniqueKey":"draft.rationale","typeLabel":"string"},"reason":{"type":"string","uniqueKey":"draft.reason","typeLabel":"string"},"refs":{"additionalProperties":{"properties":{"kind":{"type":"string","uniqueKey":"draft.refs.additionalProperties.kind","typeLabel":"string"},"name":{"type":"string","uniqueKey":"draft.refs.additionalProperties.name","typeLabel":"string"}},"type":"object","uniqueKey":"draft.refs.additionalProperties","typeLabel":"object"},"type":"object","uniqueKey":"draft.refs","typeLabel":"object"},"related":{"properties":{"name":{"type":"string","uniqueKey":"draft.related.name","typeLabel":"string"}},"type":"object","uniqueKey":"draft.related","typeLabel":"object"},"relatedId":{"examples":["248df4b7-aa70-47b8-a036-33ac447e668d"],"format":"uuid","type":"string","uniqueKey":"draft.relatedId","typeLabel":"string\u003cuuid>"},"revertedBy":{"examples":["248df4b7-aa70-47b8-a036-33ac447e668d"],"format":"uuid","type":"string","uniqueKey":"draft.revertedBy","typeLabel":"string\u003cuuid>"},"reverts":{"examples":["248df4b7-aa70-47b8-a036-33ac447e668d"],"format":"uuid","type":"string","uniqueKey":"draft.reverts","typeLabel":"string\u003cuuid>"},"rule":{"properties":{"name":{"type":"string","uniqueKey":"draft.rule.name","typeLabel":"string"}},"type":"object","uniqueKey":"draft.rule","typeLabel":"object"},"ruleId":{"examples":["248df4b7-aa70-47b8-a036-33ac447e668d"],"format":"uuid","type":"string","uniqueKey":"draft.ruleId","typeLabel":"string\u003cuuid>"},"source":{"type":"string","uniqueKey":"draft.source","typeLabel":"string"},"status":{"type":"string","uniqueKey":"draft.status","typeLabel":"string"},"supersededBy":{"examples":["248df4b7-aa70-47b8-a036-33ac447e668d"],"format":"uuid","type":"string","uniqueKey":"draft.supersededBy","typeLabel":"string\u003cuuid>"},"user":{"properties":{"name":{"type":"string","uniqueKey":"draft.user.name","typeLabel":"string"}},"type":"object","uniqueKey":"draft.user","typeLabel":"object"},"userId":{"examples":["248df4b7-aa70-47b8-a036-33ac447e668d"],"format":"uuid","type":"string","uniqueKey":"draft.userId","typeLabel":"string\u003cuuid>"}},"type":"object","uniqueKey":"draft","typeLabel":"object"},"entityId":{"examples":["248df4b7-aa70-47b8-a036-33ac447e668d"],"format":"uuid","type":"string","uniqueKey":"entityId","typeLabel":"string\u003cuuid>"},"migrated":{"type":"integer","uniqueKey":"migrated","typeLabel":"integer"},"mutation":{"properties":{"allowance":{"type":"string","uniqueKey":"mutation.allowance","typeLabel":"string"},"allowedBy":{"examples":["248df4b7-aa70-47b8-a036-33ac447e668d"],"format":"uuid","type":"string","uniqueKey":"mutation.allowedBy","typeLabel":"string\u003cuuid>"},"allower":{"properties":{"name":{"type":"string","uniqueKey":"mutation.allower.name","typeLabel":"string"}},"type":"object","uniqueKey":"mutation.allower","typeLabel":"object"},"amended":{"items":{"type":"string","uniqueKey":"mutation.amended.items.[INDEX]","typeLabel":"string"},"type":"array","uniqueKey":"mutation.amended","typeLabel":"string[]"},"causedBy":{"examples":["248df4b7-aa70-47b8-a036-33ac447e668d"],"format":"uuid","type":"string","uniqueKey":"mutation.causedBy","typeLabel":"string\u003cuuid>"},"changedAt":{"format":"date-time","type":"string","uniqueKey":"mutation.changedAt","typeLabel":"string\u003cdate-time>"},"changes":{"additionalProperties":{"oneOf":[{}],"uniqueKey":"mutation.changes.additionalProperties","typeLabel":"any"},"type":"object","uniqueKey":"mutation.changes","typeLabel":"object"},"createdAt":{"format":"date-time","type":"string","uniqueKey":"mutation.createdAt","typeLabel":"string\u003cdate-time>"},"decidedAt":{"oneOf":[{"format":"date-time","type":"null","uniqueKey":"mutation.decidedAt.oneOf.0","typeLabel":"null"},{"format":"date-time","type":"string","uniqueKey":"mutation.decidedAt.oneOf.1","typeLabel":"string\u003cdate-time>"}],"uniqueKey":"mutation.decidedAt","typeLabel":"null | string\u003cdate-time>"},"decidedBy":{"examples":["248df4b7-aa70-47b8-a036-33ac447e668d"],"format":"uuid","type":"string","uniqueKey":"mutation.decidedBy","typeLabel":"string\u003cuuid>"},"decider":{"properties":{"name":{"type":"string","uniqueKey":"mutation.decider.name","typeLabel":"string"}},"type":"object","uniqueKey":"mutation.decider","typeLabel":"object"},"entity":{"properties":{"name":{"type":"string","uniqueKey":"mutation.entity.name","typeLabel":"string"}},"type":"object","uniqueKey":"mutation.entity","typeLabel":"object"},"entityId":{"examples":["248df4b7-aa70-47b8-a036-33ac447e668d"],"format":"uuid","type":"string","uniqueKey":"mutation.entityId","typeLabel":"string\u003cuuid>"},"entityType":{"type":"string","uniqueKey":"mutation.entityType","typeLabel":"string"},"evidence":{"oneOf":[{"items":{"properties":{"eventId":{"examples":["248df4b7-aa70-47b8-a036-33ac447e668d"],"format":"uuid","type":"string","uniqueKey":"mutation.evidence.oneOf.0.items.[INDEX].eventId","typeLabel":"string\u003cuuid>"},"messageId":{"examples":["248df4b7-aa70-47b8-a036-33ac447e668d"],"format":"uuid","type":"string","uniqueKey":"mutation.evidence.oneOf.0.items.[INDEX].messageId","typeLabel":"string\u003cuuid>"},"quotes":{"items":{"type":"string","uniqueKey":"mutation.evidence.oneOf.0.items.[INDEX].quotes.items.[INDEX]","typeLabel":"string"},"type":"array","uniqueKey":"mutation.evidence.oneOf.0.items.[INDEX].quotes","typeLabel":"string[]"},"sealed":{"type":"string","uniqueKey":"mutation.evidence.oneOf.0.items.[INDEX].sealed","typeLabel":"string"},"stance":{"type":"string","uniqueKey":"mutation.evidence.oneOf.0.items.[INDEX].stance","typeLabel":"string"}},"type":"object","uniqueKey":"mutation.evidence.oneOf.0.items.[INDEX]","typeLabel":"object"},"type":"array","uniqueKey":"mutation.evidence.oneOf.0","typeLabel":"object[]"},{"items":{"properties":{"eventId":{"examples":["248df4b7-aa70-47b8-a036-33ac447e668d"],"format":"uuid","type":"string"},"messageId":{"examples":["248df4b7-aa70-47b8-a036-33ac447e668d"],"format":"uuid","type":"string"},"quotes":{"items":{"type":"string"},"type":"array"},"sealed":{"type":"string"},"stance":{"type":"string"}},"type":"object"},"type":"null","uniqueKey":"mutation.evidence.oneOf.1","typeLabel":"null"}],"uniqueKey":"mutation.evidence","typeLabel":"object[] | null"},"heldByAgent":{"type":"boolean","uniqueKey":"mutation.heldByAgent","typeLabel":"boolean"},"id":{"examples":["248df4b7-aa70-47b8-a036-33ac447e668d"],"format":"uuid","type":"string","uniqueKey":"mutation.id","typeLabel":"string\u003cuuid>"},"mine":{"oneOf":[{"description":"Derived, beside owner: the signed-in person's contact is the owner. Absent when there is no owner, or the reader has no contact in this silo.","type":"null","uniqueKey":"mutation.mine.oneOf.0","typeLabel":"null"},{"description":"Derived, beside owner: the signed-in person's contact is the owner. Absent when there is no owner, or the reader has no contact in this silo.","type":"boolean","uniqueKey":"mutation.mine.oneOf.1","typeLabel":"boolean"}],"uniqueKey":"mutation.mine","typeLabel":"null | boolean"},"op":{"type":"string","uniqueKey":"mutation.op","typeLabel":"string"},"owner":{"properties":{"id":{"examples":["248df4b7-aa70-47b8-a036-33ac447e668d"],"format":"uuid","type":"string","uniqueKey":"mutation.owner.id","typeLabel":"string\u003cuuid>"},"name":{"type":"string","uniqueKey":"mutation.owner.name","typeLabel":"string"}},"type":"object","description":"Derived, on GET /mutations/drafts: the one of ours this draft waits on, from the senders of the events it cites, else the member behind a message it cites, else the key member of the threads holding those events. A person's own draft (source human) waits on its author. For a person who is no member of the organization only that: they read none of what the rest is worked out from. Absent when none of these names one of ours. It routes, and limits nobody: anyone may decide the draft.","uniqueKey":"mutation.owner","typeLabel":"object"},"proposal":{"additionalProperties":{"oneOf":[{}],"uniqueKey":"mutation.proposal.additionalProperties","typeLabel":"any"},"type":"object","uniqueKey":"mutation.proposal","typeLabel":"object"},"rationale":{"type":"string","uniqueKey":"mutation.rationale","typeLabel":"string"},"reason":{"type":"string","uniqueKey":"mutation.reason","typeLabel":"string"},"refs":{"additionalProperties":{"properties":{"kind":{"type":"string","uniqueKey":"mutation.refs.additionalProperties.kind","typeLabel":"string"},"name":{"type":"string","uniqueKey":"mutation.refs.additionalProperties.name","typeLabel":"string"}},"type":"object","uniqueKey":"mutation.refs.additionalProperties","typeLabel":"object"},"type":"object","uniqueKey":"mutation.refs","typeLabel":"object"},"related":{"properties":{"name":{"type":"string","uniqueKey":"mutation.related.name","typeLabel":"string"}},"type":"object","uniqueKey":"mutation.related","typeLabel":"object"},"relatedId":{"examples":["248df4b7-aa70-47b8-a036-33ac447e668d"],"format":"uuid","type":"string","uniqueKey":"mutation.relatedId","typeLabel":"string\u003cuuid>"},"revertedBy":{"examples":["248df4b7-aa70-47b8-a036-33ac447e668d"],"format":"uuid","type":"string","uniqueKey":"mutation.revertedBy","typeLabel":"string\u003cuuid>"},"reverts":{"examples":["248df4b7-aa70-47b8-a036-33ac447e668d"],"format":"uuid","type":"string","uniqueKey":"mutation.reverts","typeLabel":"string\u003cuuid>"},"rule":{"properties":{"name":{"type":"string","uniqueKey":"mutation.rule.name","typeLabel":"string"}},"type":"object","uniqueKey":"mutation.rule","typeLabel":"object"},"ruleId":{"examples":["248df4b7-aa70-47b8-a036-33ac447e668d"],"format":"uuid","type":"string","uniqueKey":"mutation.ruleId","typeLabel":"string\u003cuuid>"},"source":{"type":"string","uniqueKey":"mutation.source","typeLabel":"string"},"status":{"type":"string","uniqueKey":"mutation.status","typeLabel":"string"},"supersededBy":{"examples":["248df4b7-aa70-47b8-a036-33ac447e668d"],"format":"uuid","type":"string","uniqueKey":"mutation.supersededBy","typeLabel":"string\u003cuuid>"},"user":{"properties":{"name":{"type":"string","uniqueKey":"mutation.user.name","typeLabel":"string"}},"type":"object","uniqueKey":"mutation.user","typeLabel":"object"},"userId":{"examples":["248df4b7-aa70-47b8-a036-33ac447e668d"],"format":"uuid","type":"string","uniqueKey":"mutation.userId","typeLabel":"string\u003cuuid>"}},"type":"object","uniqueKey":"mutation","typeLabel":"object"}},"type":"object","uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"applied":true,"budgets":[{"budget":123,"chars":123,"field":"\u003cstring>"}],"draft":{"allowance":"\u003cstring>","allowedBy":"248df4b7-aa70-47b8-a036-33ac447e668d","allower":{"name":"\u003cstring>"},"amended":["\u003cstring>"],"causedBy":"248df4b7-aa70-47b8-a036-33ac447e668d","changedAt":"2023-11-07T05:31:56Z","changes":{},"createdAt":"2023-11-07T05:31:56Z","decidedAt":"2023-11-07T05:31:56Z","decidedBy":"248df4b7-aa70-47b8-a036-33ac447e668d","decider":{"name":"\u003cstring>"},"entity":{"name":"\u003cstring>"},"entityId":"248df4b7-aa70-47b8-a036-33ac447e668d","entityType":"\u003cstring>","evidence":[{"eventId":"248df4b7-aa70-47b8-a036-33ac447e668d","messageId":"248df4b7-aa70-47b8-a036-33ac447e668d","quotes":["\u003cstring>"],"sealed":"\u003cstring>","stance":"\u003cstring>"}],"heldByAgent":true,"id":"248df4b7-aa70-47b8-a036-33ac447e668d","mine":true,"op":"\u003cstring>","owner":{"id":"248df4b7-aa70-47b8-a036-33ac447e668d","name":"\u003cstring>"},"proposal":{},"rationale":"\u003cstring>","reason":"\u003cstring>","refs":{},"related":{"name":"\u003cstring>"},"relatedId":"248df4b7-aa70-47b8-a036-33ac447e668d","revertedBy":"248df4b7-aa70-47b8-a036-33ac447e668d","reverts":"248df4b7-aa70-47b8-a036-33ac447e668d","rule":{"name":"\u003cstring>"},"ruleId":"248df4b7-aa70-47b8-a036-33ac447e668d","source":"\u003cstring>","status":"\u003cstring>","supersededBy":"248df4b7-aa70-47b8-a036-33ac447e668d","user":{"name":"\u003cstring>"},"userId":"248df4b7-aa70-47b8-a036-33ac447e668d"},"entityId":"248df4b7-aa70-47b8-a036-33ac447e668d","migrated":123,"mutation":{"allowance":"\u003cstring>","allowedBy":"248df4b7-aa70-47b8-a036-33ac447e668d","allower":{"name":"\u003cstring>"},"amended":["\u003cstring>"],"causedBy":"248df4b7-aa70-47b8-a036-33ac447e668d","changedAt":"2023-11-07T05:31:56Z","changes":{},"createdAt":"2023-11-07T05:31:56Z","decidedAt":"2023-11-07T05:31:56Z","decidedBy":"248df4b7-aa70-47b8-a036-33ac447e668d","decider":{"name":"\u003cstring>"},"entity":{"name":"\u003cstring>"},"entityId":"248df4b7-aa70-47b8-a036-33ac447e668d","entityType":"\u003cstring>","evidence":[{"eventId":"248df4b7-aa70-47b8-a036-33ac447e668d","messageId":"248df4b7-aa70-47b8-a036-33ac447e668d","quotes":["\u003cstring>"],"sealed":"\u003cstring>","stance":"\u003cstring>"}],"heldByAgent":true,"id":"248df4b7-aa70-47b8-a036-33ac447e668d","mine":true,"op":"\u003cstring>","owner":{"id":"248df4b7-aa70-47b8-a036-33ac447e668d","name":"\u003cstring>"},"proposal":{},"rationale":"\u003cstring>","reason":"\u003cstring>","refs":{},"related":{"name":"\u003cstring>"},"relatedId":"248df4b7-aa70-47b8-a036-33ac447e668d","revertedBy":"248df4b7-aa70-47b8-a036-33ac447e668d","reverts":"248df4b7-aa70-47b8-a036-33ac447e668d","rule":{"name":"\u003cstring>"},"ruleId":"248df4b7-aa70-47b8-a036-33ac447e668d","source":"\u003cstring>","status":"\u003cstring>","supersededBy":"248df4b7-aa70-47b8-a036-33ac447e668d","user":{"name":"\u003cstring>"},"userId":"248df4b7-aa70-47b8-a036-33ac447e668d"}}}},"exampleType":"generated"}},"description":"OK","exampleType":"generated"},"dfd7f581-e85f-4114-a3d7-58250c91c3e7":{"content":{"application/json":{"schema":{"properties":{"code":{"description":"Application-specific error code.","type":"integer","uniqueKey":"code","typeLabel":"integer"},"context":{"additionalProperties":{"oneOf":[{}],"uniqueKey":"context.additionalProperties","typeLabel":"any"},"description":"Application context.","type":"object","uniqueKey":"context","typeLabel":"object"},"error":{"description":"Error message.","type":"string","uniqueKey":"error","typeLabel":"string"},"status":{"description":"Status text.","type":"string","uniqueKey":"status","typeLabel":"string"}},"type":"object","uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"code":123,"context":{},"error":"\u003cstring>","status":"\u003cstring>"}}},"exampleType":"generated"}},"description":"Bad Request","exampleType":"generated"},"783ecbb3-a197-4f81-b8de-c1466c87aad4":{"content":{"application/json":{"schema":{"properties":{"code":{"description":"Application-specific error code.","type":"integer","uniqueKey":"code","typeLabel":"integer"},"context":{"additionalProperties":{"oneOf":[{}],"uniqueKey":"context.additionalProperties","typeLabel":"any"},"description":"Application context.","type":"object","uniqueKey":"context","typeLabel":"object"},"error":{"description":"Error message.","type":"string","uniqueKey":"error","typeLabel":"string"},"status":{"description":"Status text.","type":"string","uniqueKey":"status","typeLabel":"string"}},"type":"object","uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"code":123,"context":{},"error":"\u003cstring>","status":"\u003cstring>"}}},"exampleType":"generated"}},"description":"Internal Server Error","exampleType":"generated"}},"security":{"556c0234-91a2-476a-bfc7-178e243d1e98":{"bearerAuth":{"description":"A Turtle API key (sk_...) as a bearer token.","scheme":"bearer","type":"http","scopes":[],"schemeName":"bearerAuth"}},"dc6f9618-5ac8-42c1-942f-741b5d0e9038":{"apiKeyAuth":{"description":"A Turtle API key (sk_...).","in":"header","name":"X-API-Key","type":"apiKey","scopes":[],"schemeName":"apiKeyAuth"}}},"servers":{"82fc25c9-ea64-40a2-bef6-8ac5cc4977c4":{"url":"https://sonar.turtle.xyz/v1"}},"processedSecurityOptions":[{"schemes":[{"scheme":{"description":"A Turtle API key (sk_...) as a bearer token.","scheme":"bearer","type":"http","scopes":[],"schemeName":"bearerAuth"},"schema":{"title":"Bearer Auth","type":"string","isRequired":true,"description":"A Turtle API key (sk_...) as a bearer token.","format":"bearer","typeLabel":"string\u003cbearer>","deprecated":false},"schemeName":"bearerAuth","name":"Authorization"}],"title":"bearerAuth"},{"schemes":[{"scheme":{"description":"A Turtle API key (sk_...).","in":"header","name":"X-API-Key","type":"apiKey","scopes":[],"schemeName":"apiKeyAuth"},"schema":{"title":"X-API-Key","type":"string","description":"A Turtle API key (sk_...).","isRequired":true,"typeLabel":"string","deprecated":false},"schemeName":"apiKeyAuth","name":"X-API-Key"}],"title":"apiKeyAuth"}]},"originalFileLocation":"https://sonar.turtle.xyz/v1/openapi.json"},"subdomain":"turtle-26472809","siteName":"Turtle Docs","title":"Declare Pipeline - Turtle Docs","contextualStarterQuestions":[],"navMaps":{"firstHrefInVersion":{},"firstHrefInLanguage":{}},"lastModified":"2026-12-05T11:26:56.284Z","originalFileLocation":"sdk/sonar/reference/pipelines-boards/declare-pipeline.mdx"},"headHtml":"\u003cscript data-mint-head>(function(){var d=document.documentElement,p=\"light\";if(!p){try{p=localStorage.getItem(\"isDarkMode\")}catch(e){}if(p==='true')p='dark';else if(p==='false')p='light';if(p!=='light'\u0026\u0026p!=='dark'\u0026\u0026p!=='system')p=\"light\"}var r=p==='system'?(matchMedia(\"(prefers-color-scheme: dark)\").matches?'dark':'light'):p;d.classList.remove(r==='dark'?'light':'dark');d.classList.add(r);d.setAttribute(\"data-theme-preference\",p)})();\u003c/script>\u003cmeta data-mint-head name=\"description\" content=\"Declares a board, from a template or from what is sent. Engagements only open on a declared board.\">\u003cmeta data-mint-head name=\"application-name\" content=\"Turtle Docs\">\u003cmeta data-mint-head name=\"generator\" content=\"Mintlify\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/turtle-26472809/hKCP8dbfYkV3MWf4/_generated/favicon/android-chrome-192x192.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"apple-touch-icon\" type=\"image/png\" sizes=\"180x180\" href=\"/mintlify-assets/_mintlify/favicons/turtle-26472809/hKCP8dbfYkV3MWf4/_generated/favicon/apple-touch-icon.png\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/turtle-26472809/hKCP8dbfYkV3MWf4/_generated/favicon/favicon-16x16.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/mintlify-assets/_mintlify/favicons/turtle-26472809/hKCP8dbfYkV3MWf4/_generated/favicon/favicon-32x32.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"/mintlify-assets/_mintlify/favicons/turtle-26472809/hKCP8dbfYkV3MWf4/_generated/favicon/favicon.ico\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/turtle-26472809/hKCP8dbfYkV3MWf4/_generated/favicon-dark/android-chrome-192x192.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/turtle-26472809/hKCP8dbfYkV3MWf4/_generated/favicon-dark/favicon-16x16.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/mintlify-assets/_mintlify/favicons/turtle-26472809/hKCP8dbfYkV3MWf4/_generated/favicon-dark/favicon-32x32.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"/mintlify-assets/_mintlify/favicons/turtle-26472809/hKCP8dbfYkV3MWf4/_generated/favicon-dark/favicon.ico\" media=\"(prefers-color-scheme: dark)\">\u003cmeta data-mint-head property=\"og:title\" content=\"Declare Pipeline - Turtle Docs\">\u003cmeta data-mint-head property=\"og:description\" content=\"Declares a board, from a template or from what is sent. Engagements only open on a declared board.\">\u003cmeta data-mint-head property=\"og:site_name\" content=\"Turtle Docs\">\u003cmeta data-mint-head property=\"og:url\" content=\"https://docs.turtle.xyz/sdk/sonar/reference/pipelines-boards/declare-pipeline\">\u003cmeta data-mint-head property=\"og:type\" content=\"website\">\u003cmeta data-mint-head property=\"og:image\" content=\"https://turtle-26472809.mintlify.site/_mintlify/api/og/v2?division=Pipelines+%28boards%29\u0026amp;title=Declare+Pipeline\u0026amp;description=Declares+a+board%2C+from+a+template+or+from+what+is+sent.+Engagements+only+open+on+a+declared+board.\u0026amp;theme=808b89e1d26b3429b62b0b80\u0026amp;signature=b7ff5440cf2c2e489fbe740bedbbbf200fdd08df4c18636e5e87a51d2b1edfbb\">\u003cmeta data-mint-head property=\"og:image:width\" content=\"1200\">\u003cmeta data-mint-head property=\"og:image:height\" content=\"630\">\u003cmeta data-mint-head name=\"twitter:card\" content=\"summary_large_image\">\u003cmeta data-mint-head name=\"twitter:title\" content=\"Declare Pipeline - Turtle Docs\">\u003cmeta data-mint-head name=\"twitter:description\" content=\"Declares a board, from a template or from what is sent. Engagements only open on a declared board.\">\u003cmeta data-mint-head name=\"twitter:image\" content=\"https://turtle-26472809.mintlify.site/_mintlify/api/og/v2?division=Pipelines+%28boards%29\u0026amp;title=Declare+Pipeline\u0026amp;description=Declares+a+board%2C+from+a+template+or+from+what+is+sent.+Engagements+only+open+on+a+declared+board.\u0026amp;theme=808b89e1d26b3429b62b0b80\u0026amp;signature=b7ff5440cf2c2e489fbe740bedbbbf200fdd08df4c18636e5e87a51d2b1edfbb\">\u003cmeta data-mint-head name=\"twitter:image:width\" content=\"1200\">\u003cmeta data-mint-head name=\"twitter:image:height\" content=\"630\">\u003cmeta data-mint-head name=\"msapplication-config\" content=\"/mintlify-assets/_mintlify/favicons/turtle-26472809/hKCP8dbfYkV3MWf4/_generated/favicon/browserconfig.xml\">\u003cmeta data-mint-head name=\"apple-mobile-web-app-title\" content=\"Turtle Docs\">\u003cmeta data-mint-head name=\"msapplication-TileColor\" content=\"#15A323\">\u003clink data-mint-head rel=\"canonical\" href=\"https://docs.turtle.xyz/sdk/sonar/reference/pipelines-boards/declare-pipeline\">\u003clink data-mint-head rel=\"alternate\" type=\"application/xml\" href=\"/sitemap.xml\">\u003clink data-mint-head rel=\"alternate\" type=\"text/markdown\" href=\"/sdk/sonar/reference/pipelines-boards/declare-pipeline.md\">\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@graph\":[{\"@type\":\"Organization\",\"@id\":\"https://docs.turtle.xyz/#organization\",\"name\":\"Turtle Docs\",\"url\":\"https://docs.turtle.xyz\",\"logo\":{\"@type\":\"ImageObject\",\"url\":\"https://mintcdn.com/turtle-26472809/bMpimTLGyxh-lYR-/logo/turtle-logo-black.png?fit=max\u0026auto=format\u0026n=bMpimTLGyxh-lYR-\u0026q=85\u0026s=06cd70af4dbb077cdb17646e2094ce20\"}},{\"@type\":\"WebSite\",\"@id\":\"https://docs.turtle.xyz#website\",\"name\":\"Turtle Docs\",\"url\":\"https://docs.turtle.xyz\",\"publisher\":{\"@id\":\"https://docs.turtle.xyz/#organization\"}},{\"@type\":\"WebPage\",\"@id\":\"https://docs.turtle.xyz/sdk/sonar/reference/pipelines-boards/declare-pipeline#webpage\",\"url\":\"https://docs.turtle.xyz/sdk/sonar/reference/pipelines-boards/declare-pipeline\",\"name\":\"Declare Pipeline\",\"description\":\"Declares a board, from a template or from what is sent. Engagements only open on a declared board.\",\"dateModified\":\"2026-12-05T11:26:56.284Z\",\"isPartOf\":{\"@id\":\"https://docs.turtle.xyz#website\"},\"breadcrumb\":{\"@id\":\"https://docs.turtle.xyz/sdk/sonar/reference/pipelines-boards/declare-pipeline#breadcrumb\"}},{\"@type\":\"BreadcrumbList\",\"@id\":\"https://docs.turtle.xyz/sdk/sonar/reference/pipelines-boards/declare-pipeline#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Products\",\"item\":\"https://docs.turtle.xyz/sdk/earn/quickstart\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Sonar\",\"item\":\"https://docs.turtle.xyz/sdk/sonar/overview\"},{\"@type\":\"ListItem\",\"position\":3,\"name\":\"API reference\",\"item\":\"https://docs.turtle.xyz/sdk/sonar/reference/organizations/list-organizations\"},{\"@type\":\"ListItem\",\"position\":4,\"name\":\"Pipelines (boards)\",\"item\":\"https://docs.turtle.xyz/sdk/sonar/reference/pipelines-boards/list-pipeline-templates\"},{\"@type\":\"ListItem\",\"position\":5,\"name\":\"Declare Pipeline\",\"item\":\"https://docs.turtle.xyz/sdk/sonar/reference/pipelines-boards/declare-pipeline\"}]},{\"@type\":[\"TechArticle\",\"APIReference\"],\"@id\":\"https://docs.turtle.xyz/sdk/sonar/reference/pipelines-boards/declare-pipeline#apireference\",\"headline\":\"Declare Pipeline\",\"name\":\"Declare Pipeline\",\"description\":\"Declares a board, from a template or from what is sent. Engagements only open on a declared board.\",\"url\":\"https://docs.turtle.xyz/sdk/sonar/reference/pipelines-boards/declare-pipeline\",\"mainEntityOfPage\":{\"@id\":\"https://docs.turtle.xyz/sdk/sonar/reference/pipelines-boards/declare-pipeline#webpage\"},\"dateModified\":\"2026-12-05T11:26:56.284Z\",\"publisher\":{\"@id\":\"https://docs.turtle.xyz/#organization\"},\"isPartOf\":{\"@id\":\"https://docs.turtle.xyz#website\"}}]}\u003c/script>\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@type\":\"WebSite\",\"name\":\"Turtle Docs\",\"publisher\":{\"@type\":\"Organization\",\"name\":\"Turtle Docs\"},\"provider\":{\"@type\":\"Organization\",\"name\":\"Mintlify\",\"url\":\"https://mintlify.com\"}}\u003c/script>","agentPointerHref":"/sdk/sonar/reference/pipelines-boards/declare-pipeline.md","siteName":"Turtle Docs","nav":{"global":{"anchors":[{"anchor":"Community","icon":"discord","href":"https://discord.turtle.xyz"}]},"tabs":[{"tab":"Home","pages":[{"title":"Home","href":"/get-started/what-is-turtle"}]},{"tab":"Turtle API","groups":[{"group":"Get Started","pages":[{"title":"Turtle API overview","sidebarTitle":"Overview","href":"/sdk/overview"},{"group":"Core Concepts","expanded":false,"pages":[{"title":"Distributor Model","href":"/sdk/concepts/distributor-model"},{"title":"Deposit Modes","href":"/sdk/concepts/deposit-modes"}]},{"group":"Authentication","expanded":false,"pages":[{"title":"API Keys","href":"/sdk/authentication/api-keys"},{"title":"Register Wallet","deprecated":true,"href":"/sdk/authentication/register-wallet"}]}]},{"group":"Products","pages":[{"group":"Turtle Earn","expanded":false,"pages":[{"title":"Earn API quickstart","sidebarTitle":"Quickstart","href":"/sdk/earn/quickstart"},{"title":"Opportunities","href":"/sdk/opportunities/get-opportunities"},{"title":"Deposit","href":"/sdk/earn/deposit"},{"title":"Async Deposits","href":"/sdk/earn/async-deposits"},{"title":"Withdraw","href":"/sdk/earn/withdraw"},{"title":"Verify Attribution","href":"/sdk/earn/verify-attribution"}]},{"group":"Streams","expanded":false,"pages":[{"title":"Overview","href":"/sdk/streams/overview"},{"title":"Create Point","href":"/sdk/streams/create-point"},{"title":"Get Points","href":"/sdk/streams/get-points"},{"title":"Get Tokens","href":"/sdk/streams/get-tokens"},{"title":"Create Stream","href":"/sdk/streams/create-stream"},{"title":"Get Streams","href":"/sdk/streams/get-streams"},{"title":"Get Streams (Bulk)","href":"/sdk/streams/post-streams-bulk"},{"title":"Get Streams for Wallet","href":"/sdk/streams/get-streams-for-wallet"},{"title":"Withdraw Funds","href":"/sdk/streams/withdraw-funds"},{"title":"Get Active Admin Operation","href":"/sdk/streams/get-active-admin-operation"},{"title":"Get Stream Wallets","href":"/sdk/streams/get-wallets"},{"title":"Get Wallet Data","href":"/sdk/streams/get-wallet"},{"title":"Get Merkle Proofs","href":"/sdk/streams/get-merkle-proofs"},{"title":"Claim Rewards","href":"/sdk/streams/claim-rewards"}]},{"group":"Sonar","expanded":false,"pages":[{"title":"Sonar API overview","sidebarTitle":"Overview","href":"/sdk/sonar/overview"},{"title":"Sonar API quickstart","sidebarTitle":"Quickstart","href":"/sdk/sonar/quickstart"},{"title":"Sonar authentication","sidebarTitle":"Authentication","href":"/sdk/sonar/authentication"},{"title":"Sonar API conventions","sidebarTitle":"Conventions","href":"/sdk/sonar/conventions"},{"title":"Inbound webhooks","sidebarTitle":"Webhooks","href":"/sdk/sonar/webhooks"},{"group":"API reference","expanded":false,"pages":[{"group":"Organizations","expanded":false,"pages":[{"title":"List Organizations","deprecated":null,"version":null,"openapi":"https://sonar.turtle.xyz/v1/openapi.json get /organization/{organizationId}/organizations","href":"/sdk/sonar/reference/organizations/list-organizations"},{"title":"Create Organization","deprecated":null,"version":null,"openapi":"https://sonar.turtle.xyz/v1/openapi.json post /organization/{organizationId}/organizations","href":"/sdk/sonar/reference/organizations/create-organization"},{"title":"Resolve Organizations","deprecated":null,"version":null,"openapi":"https://sonar.turtle.xyz/v1/openapi.json get /organization/{organizationId}/organizations/resolve","href":"/sdk/sonar/reference/organizations/resolve-organizations"},{"title":"Get Organization","deprecated":null,"version":null,"openapi":"https://sonar.turtle.xyz/v1/openapi.json get /organization/{organizationId}/organizations/{orgId}","href":"/sdk/sonar/reference/organizations/get-organization"},{"title":"Update Organization","deprecated":null,"version":null,"openapi":"https://sonar.turtle.xyz/v1/openapi.json put /organization/{organizationId}/organizations/{orgId}","href":"/sdk/sonar/reference/organizations/update-organization"},{"title":"Delete Organization","deprecated":null,"version":null,"openapi":"https://sonar.turtle.xyz/v1/openapi.json delete /organization/{organizationId}/organizations/{orgId}","href":"/sdk/sonar/reference/organizations/delete-organization"},{"title":"Merge Organizations","deprecated":null,"version":null,"openapi":"https://sonar.turtle.xyz/v1/openapi.json post /organization/{organizationId}/organizations/{orgId}/merge","href":"/sdk/sonar/reference/organizations/merge-organizations"}]},{"group":"Contacts","expanded":false,"pages":[{"title":"List Contacts","deprecated":null,"version":null,"openapi":"https://sonar.turtle.xyz/v1/openapi.json get /organization/{organizationId}/contacts","href":"/sdk/sonar/reference/contacts/list-contacts"},{"title":"Create Contact","deprecated":null,"version":null,"openapi":"https://sonar.turtle.xyz/v1/openapi.json post /organization/{organizationId}/contacts","href":"/sdk/sonar/reference/contacts/create-contact"},{"title":"Resolve Contacts","deprecated":null,"version":null,"openapi":"https://sonar.turtle.xyz/v1/openapi.json get /organization/{organizationId}/contacts/resolve","href":"/sdk/sonar/reference/contacts/resolve-contacts"},{"title":"Get Contact","deprecated":null,"version":null,"openapi":"https://sonar.turtle.xyz/v1/openapi.json get /organization/{organizationId}/contacts/{contactId}","href":"/sdk/sonar/reference/contacts/get-contact"},{"title":"Update Contact","deprecated":null,"version":null,"openapi":"https://sonar.turtle.xyz/v1/openapi.json put /organization/{organizationId}/contacts/{contactId}","href":"/sdk/sonar/reference/contacts/update-contact"},{"title":"Delete Contact","deprecated":null,"version":null,"openapi":"https://sonar.turtle.xyz/v1/openapi.json delete /organization/{organizationId}/contacts/{contactId}","href":"/sdk/sonar/reference/contacts/delete-contact"},{"title":"Merge Contacts","deprecated":null,"version":null,"openapi":"https://sonar.turtle.xyz/v1/openapi.json post /organization/{organizationId}/contacts/{contactId}/merge","href":"/sdk/sonar/reference/contacts/merge-contacts"},{"title":"Start a Contact's Role at an Organization","deprecated":null,"version":null,"openapi":"https://sonar.turtle.xyz/v1/openapi.json put /organization/{organizationId}/contacts/{contactId}/organizations/{orgId}","href":"/sdk/sonar/reference/contacts/start-a-contacts-role-at-an-organization"},{"title":"Finish a Contact's Role at an Organization","deprecated":null,"version":null,"openapi":"https://sonar.turtle.xyz/v1/openapi.json delete /organization/{organizationId}/contacts/{contactId}/organizations/{orgId}","href":"/sdk/sonar/reference/contacts/finish-a-contacts-role-at-an-organization"}]},{"group":"Contact roles","expanded":false,"pages":[{"title":"Correct a Contact's Role","deprecated":null,"version":null,"openapi":"https://sonar.turtle.xyz/v1/openapi.json put /organization/{organizationId}/stints/{stintId}","href":"/sdk/sonar/reference/contact-roles/correct-a-contacts-role"},{"title":"Delete a Contact's Role","deprecated":null,"version":null,"openapi":"https://sonar.turtle.xyz/v1/openapi.json delete /organization/{organizationId}/stints/{stintId}","href":"/sdk/sonar/reference/contact-roles/delete-a-contacts-role"}]},{"group":"Engagements (deals)","expanded":false,"pages":[{"title":"List Engagements","deprecated":null,"version":null,"openapi":"https://sonar.turtle.xyz/v1/openapi.json get /organization/{organizationId}/engagements","href":"/sdk/sonar/reference/engagements-deals/list-engagements"},{"title":"Create Engagement","deprecated":null,"version":null,"openapi":"https://sonar.turtle.xyz/v1/openapi.json post /organization/{organizationId}/engagements","href":"/sdk/sonar/reference/engagements-deals/create-engagement"},{"title":"Get Engagement","deprecated":null,"version":null,"openapi":"https://sonar.turtle.xyz/v1/openapi.json get /organization/{organizationId}/engagements/{engagementId}","href":"/sdk/sonar/reference/engagements-deals/get-engagement"},{"title":"Update Engagement","deprecated":null,"version":null,"openapi":"https://sonar.turtle.xyz/v1/openapi.json put /organization/{organizationId}/engagements/{engagementId}","href":"/sdk/sonar/reference/engagements-deals/update-engagement"},{"title":"Delete Engagement","deprecated":null,"version":null,"openapi":"https://sonar.turtle.xyz/v1/openapi.json delete /organization/{organizationId}/engagements/{engagementId}","href":"/sdk/sonar/reference/engagements-deals/delete-engagement"},{"title":"Merge Engagements","deprecated":null,"version":null,"openapi":"https://sonar.turtle.xyz/v1/openapi.json post /organization/{organizationId}/engagements/{engagementId}/merge","href":"/sdk/sonar/reference/engagements-deals/merge-engagements"},{"title":"Move Engagement","deprecated":null,"version":null,"openapi":"https://sonar.turtle.xyz/v1/openapi.json post /organization/{organizationId}/engagements/{engagementId}/move","href":"/sdk/sonar/reference/engagements-deals/move-engagement"},{"title":"Plan Engagement Move","deprecated":null,"version":null,"openapi":"https://sonar.turtle.xyz/v1/openapi.json post /organization/{organizationId}/engagements/{engagementId}/move-plan","href":"/sdk/sonar/reference/engagements-deals/plan-engagement-move"},{"title":"Add Engagement Subject","deprecated":null,"version":null,"openapi":"https://sonar.turtle.xyz/v1/openapi.json post /organization/{organizationId}/engagements/{engagementId}/subjects","href":"/sdk/sonar/reference/engagements-deals/add-engagement-subject"},{"title":"Remove Engagement Subject","deprecated":null,"version":null,"openapi":"https://sonar.turtle.xyz/v1/openapi.json delete /organization/{organizationId}/engagements/{engagementId}/subjects/{subjectId}","href":"/sdk/sonar/reference/engagements-deals/remove-engagement-subject"}]},{"group":"Threads (storylines)","expanded":false,"pages":[{"title":"List Threads","deprecated":null,"version":null,"openapi":"https://sonar.turtle.xyz/v1/openapi.json get /organization/{organizationId}/threads","href":"/sdk/sonar/reference/threads-storylines/list-threads"},{"title":"Create Thread","deprecated":null,"version":null,"openapi":"https://sonar.turtle.xyz/v1/openapi.json post /organization/{organizationId}/threads","href":"/sdk/sonar/reference/threads-storylines/create-thread"},{"title":"Get Thread","deprecated":null,"version":null,"openapi":"https://sonar.turtle.xyz/v1/openapi.json get /organization/{organizationId}/threads/{threadId}","href":"/sdk/sonar/reference/threads-storylines/get-thread"},{"title":"Update Thread","deprecated":null,"version":null,"openapi":"https://sonar.turtle.xyz/v1/openapi.json put /organization/{organizationId}/threads/{threadId}","href":"/sdk/sonar/reference/threads-storylines/update-thread"},{"title":"Delete Thread","deprecated":null,"version":null,"openapi":"https://sonar.turtle.xyz/v1/openapi.json delete /organization/{organizationId}/threads/{threadId}","href":"/sdk/sonar/reference/threads-storylines/delete-thread"},{"title":"Merge Threads","deprecated":null,"version":null,"openapi":"https://sonar.turtle.xyz/v1/openapi.json post /organization/{organizationId}/threads/{threadId}/merge","href":"/sdk/sonar/reference/threads-storylines/merge-threads"}]},{"group":"Tasks","expanded":false,"pages":[{"title":"List Tasks","deprecated":null,"version":null,"openapi":"https://sonar.turtle.xyz/v1/openapi.json get /organization/{organizationId}/tasks","href":"/sdk/sonar/reference/tasks/list-tasks"},{"title":"Create Task","deprecated":null,"version":null,"openapi":"https://sonar.turtle.xyz/v1/openapi.json post /organization/{organizationId}/tasks","href":"/sdk/sonar/reference/tasks/create-task"},{"title":"Get Task","deprecated":null,"version":null,"openapi":"https://sonar.turtle.xyz/v1/openapi.json get /organization/{organizationId}/tasks/{taskId}","href":"/sdk/sonar/reference/tasks/get-task"},{"title":"Update Task","deprecated":null,"version":null,"openapi":"https://sonar.turtle.xyz/v1/openapi.json put /organization/{organizationId}/tasks/{taskId}","href":"/sdk/sonar/reference/tasks/update-task"},{"title":"Delete Task","deprecated":null,"version":null,"openapi":"https://sonar.turtle.xyz/v1/openapi.json delete /organization/{organizationId}/tasks/{taskId}","href":"/sdk/sonar/reference/tasks/delete-task"}]},{"group":"Documents","expanded":false,"pages":[{"title":"List Documents","deprecated":null,"version":null,"openapi":"https://sonar.turtle.xyz/v1/openapi.json get /organization/{organizationId}/documents","href":"/sdk/sonar/reference/documents/list-documents"},{"title":"Create Document","deprecated":null,"version":null,"openapi":"https://sonar.turtle.xyz/v1/openapi.json post /organization/{organizationId}/documents","href":"/sdk/sonar/reference/documents/create-document"},{"title":"Get Document","deprecated":null,"version":null,"openapi":"https://sonar.turtle.xyz/v1/openapi.json get /organization/{organizationId}/documents/{documentId}","href":"/sdk/sonar/reference/documents/get-document"},{"title":"Update Document","deprecated":null,"version":null,"openapi":"https://sonar.turtle.xyz/v1/openapi.json put /organization/{organizationId}/documents/{documentId}","href":"/sdk/sonar/reference/documents/update-document"},{"title":"Delete Document","deprecated":null,"version":null,"openapi":"https://sonar.turtle.xyz/v1/openapi.json delete /organization/{organizationId}/documents/{documentId}","href":"/sdk/sonar/reference/documents/delete-document"}]},{"group":"Wallets","expanded":false,"pages":[{"title":"List Wallets","deprecated":null,"version":null,"openapi":"https://sonar.turtle.xyz/v1/openapi.json get /organization/{organizationId}/wallets","href":"/sdk/sonar/reference/wallets/list-wallets"},{"title":"Create Wallet","deprecated":null,"version":null,"openapi":"https://sonar.turtle.xyz/v1/openapi.json post /organization/{organizationId}/wallets","href":"/sdk/sonar/reference/wallets/create-wallet"},{"title":"Get Wallet","deprecated":null,"version":null,"openapi":"https://sonar.turtle.xyz/v1/openapi.json get /organization/{organizationId}/wallets/{walletId}","href":"/sdk/sonar/reference/wallets/get-wallet"},{"title":"Update Wallet","deprecated":null,"version":null,"openapi":"https://sonar.turtle.xyz/v1/openapi.json put /organization/{organizationId}/wallets/{walletId}","href":"/sdk/sonar/reference/wallets/update-wallet"},{"title":"Delete Wallet","deprecated":null,"version":null,"openapi":"https://sonar.turtle.xyz/v1/openapi.json delete /organization/{organizationId}/wallets/{walletId}","href":"/sdk/sonar/reference/wallets/delete-wallet"}]},{"group":"Reports","expanded":false,"pages":[{"title":"List Reports","deprecated":null,"version":null,"openapi":"https://sonar.turtle.xyz/v1/openapi.json get /organization/{organizationId}/reports","href":"/sdk/sonar/reference/reports/list-reports"},{"title":"Get Report","deprecated":null,"version":null,"openapi":"https://sonar.turtle.xyz/v1/openapi.json get /organization/{organizationId}/reports/{reportId}","href":"/sdk/sonar/reference/reports/get-report"},{"title":"Update Report","deprecated":null,"version":null,"openapi":"https://sonar.turtle.xyz/v1/openapi.json put /organization/{organizationId}/reports/{reportId}","href":"/sdk/sonar/reference/reports/update-report"},{"title":"Delete Report","deprecated":null,"version":null,"openapi":"https://sonar.turtle.xyz/v1/openapi.json delete /organization/{organizationId}/reports/{reportId}","href":"/sdk/sonar/reference/reports/delete-report"},{"title":"Process a Report","deprecated":null,"version":null,"openapi":"https://sonar.turtle.xyz/v1/openapi.json post /organization/{organizationId}/reports/{reportId}/decide","href":"/sdk/sonar/reference/reports/process-a-report"}]},{"group":"Events","expanded":false,"pages":[{"title":"List Events","deprecated":null,"version":null,"openapi":"https://sonar.turtle.xyz/v1/openapi.json get /organization/{organizationId}/events","href":"/sdk/sonar/reference/events/list-events"},{"title":"Get Event","deprecated":null,"version":null,"openapi":"https://sonar.turtle.xyz/v1/openapi.json get /organization/{organizationId}/events/{eventId}","href":"/sdk/sonar/reference/events/get-event"}]},{"group":"Meetings","expanded":false,"pages":[{"title":"List Meetings","deprecated":null,"version":null,"openapi":"https://sonar.turtle.xyz/v1/openapi.json get /organization/{organizationId}/meetings","href":"/sdk/sonar/reference/meetings/list-meetings"}]},{"group":"Messages","expanded":false,"pages":[{"title":"List Messages","deprecated":null,"version":null,"openapi":"https://sonar.turtle.xyz/v1/openapi.json get /organization/{organizationId}/messages","href":"/sdk/sonar/reference/messages/list-messages"},{"title":"Post a Message","deprecated":null,"version":null,"openapi":"https://sonar.turtle.xyz/v1/openapi.json post /organization/{organizationId}/messages","href":"/sdk/sonar/reference/messages/post-a-message"},{"title":"List Open Questions","deprecated":null,"version":null,"openapi":"https://sonar.turtle.xyz/v1/openapi.json get /organization/{organizationId}/messages/open","href":"/sdk/sonar/reference/messages/list-open-questions"},{"title":"Get Message","deprecated":null,"version":null,"openapi":"https://sonar.turtle.xyz/v1/openapi.json get /organization/{organizationId}/messages/{messageId}","href":"/sdk/sonar/reference/messages/get-message"}]},{"group":"Change log and drafts","expanded":false,"pages":[{"title":"List Mutations","deprecated":null,"version":null,"openapi":"https://sonar.turtle.xyz/v1/openapi.json get /organization/{organizationId}/mutations","href":"/sdk/sonar/reference/change-log-and-drafts/list-mutations"},{"title":"List Drafts","deprecated":null,"version":null,"openapi":"https://sonar.turtle.xyz/v1/openapi.json get /organization/{organizationId}/mutations/drafts","href":"/sdk/sonar/reference/change-log-and-drafts/list-drafts"},{"title":"Get Mutation","deprecated":null,"version":null,"openapi":"https://sonar.turtle.xyz/v1/openapi.json get /organization/{organizationId}/mutations/{mutationId}","href":"/sdk/sonar/reference/change-log-and-drafts/get-mutation"},{"title":"Approve a Draft Mutation","deprecated":null,"version":null,"openapi":"https://sonar.turtle.xyz/v1/openapi.json post /organization/{organizationId}/mutations/{mutationId}/approve","href":"/sdk/sonar/reference/change-log-and-drafts/approve-a-draft-mutation"},{"title":"Reject a Draft Mutation","deprecated":null,"version":null,"openapi":"https://sonar.turtle.xyz/v1/openapi.json post /organization/{organizationId}/mutations/{mutationId}/reject","href":"/sdk/sonar/reference/change-log-and-drafts/reject-a-draft-mutation"},{"title":"Plan Undoing a Mutation","deprecated":null,"version":null,"openapi":"https://sonar.turtle.xyz/v1/openapi.json get /organization/{organizationId}/mutations/{mutationId}/revert","href":"/sdk/sonar/reference/change-log-and-drafts/plan-undoing-a-mutation"},{"title":"Undo a Mutation","deprecated":null,"version":null,"openapi":"https://sonar.turtle.xyz/v1/openapi.json post /organization/{organizationId}/mutations/{mutationId}/revert","href":"/sdk/sonar/reference/change-log-and-drafts/undo-a-mutation"}]},{"group":"Pipelines (boards)","expanded":false,"pages":[{"title":"List Pipeline Templates","deprecated":null,"version":null,"openapi":"https://sonar.turtle.xyz/v1/openapi.json get /organization/{organizationId}/pipeline-templates","href":"/sdk/sonar/reference/pipelines-boards/list-pipeline-templates"},{"title":"List Pipelines","description":"The silo's boards (one per pipeline type), each with its funnel. The card and the rollups are on GET /pipelines/{id}.","deprecated":null,"version":null,"openapi":"https://sonar.turtle.xyz/v1/openapi.json get /organization/{organizationId}/pipelines","href":"/sdk/sonar/reference/pipelines-boards/list-pipelines"},{"title":"Declare Pipeline","deprecated":null,"version":null,"openapi":"https://sonar.turtle.xyz/v1/openapi.json post /organization/{organizationId}/pipelines","href":"/sdk/sonar/reference/pipelines-boards/declare-pipeline"},{"title":"Get Pipeline","description":"One board whole: its funnel, its card (fieldSchema, each field under its section heading), its aggregates and their values over the deals on it.","deprecated":null,"version":null,"openapi":"https://sonar.turtle.xyz/v1/openapi.json get /organization/{organizationId}/pipelines/{pipelineId}","href":"/sdk/sonar/reference/pipelines-boards/get-pipeline"},{"title":"Set Pipeline Stages","deprecated":null,"version":null,"openapi":"https://sonar.turtle.xyz/v1/openapi.json put /organization/{organizationId}/pipelines/{pipelineId}","href":"/sdk/sonar/reference/pipelines-boards/set-pipeline-stages"},{"title":"Delete Pipeline","deprecated":null,"version":null,"openapi":"https://sonar.turtle.xyz/v1/openapi.json delete /organization/{organizationId}/pipelines/{pipelineId}","href":"/sdk/sonar/reference/pipelines-boards/delete-pipeline"},{"title":"Plan Pipeline Change","deprecated":null,"version":null,"openapi":"https://sonar.turtle.xyz/v1/openapi.json post /organization/{organizationId}/pipelines/{pipelineId}/change-plan","href":"/sdk/sonar/reference/pipelines-boards/plan-pipeline-change"}]},{"group":"Entity cards","expanded":false,"pages":[{"title":"List Entity Card Templates","deprecated":null,"version":null,"openapi":"https://sonar.turtle.xyz/v1/openapi.json get /organization/{organizationId}/entity-card-templates","href":"/sdk/sonar/reference/entity-cards/list-entity-card-templates"},{"title":"List Entity Cards","deprecated":null,"version":null,"openapi":"https://sonar.turtle.xyz/v1/openapi.json get /organization/{organizationId}/entity-cards","href":"/sdk/sonar/reference/entity-cards/list-entity-cards"},{"title":"Declare Entity Card","deprecated":null,"version":null,"openapi":"https://sonar.turtle.xyz/v1/openapi.json post /organization/{organizationId}/entity-cards","href":"/sdk/sonar/reference/entity-cards/declare-entity-card"},{"title":"Update Entity Card","deprecated":null,"version":null,"openapi":"https://sonar.turtle.xyz/v1/openapi.json put /organization/{organizationId}/entity-cards/{cardId}","href":"/sdk/sonar/reference/entity-cards/update-entity-card"},{"title":"Delete Entity Card","deprecated":null,"version":null,"openapi":"https://sonar.turtle.xyz/v1/openapi.json delete /organization/{organizationId}/entity-cards/{cardId}","href":"/sdk/sonar/reference/entity-cards/delete-entity-card"},{"title":"Plan Entity Card Change","deprecated":null,"version":null,"openapi":"https://sonar.turtle.xyz/v1/openapi.json post /organization/{organizationId}/entity-cards/{cardId}/change-plan","href":"/sdk/sonar/reference/entity-cards/plan-entity-card-change"}]},{"group":"Rules","expanded":false,"pages":[{"title":"List Rules","deprecated":null,"version":null,"openapi":"https://sonar.turtle.xyz/v1/openapi.json get /organization/{organizationId}/rules","href":"/sdk/sonar/reference/rules/list-rules"},{"title":"Save Rule","deprecated":null,"version":null,"openapi":"https://sonar.turtle.xyz/v1/openapi.json put /organization/{organizationId}/rules/{ruleName}","href":"/sdk/sonar/reference/rules/save-rule"},{"title":"Delete Rule","deprecated":null,"version":null,"openapi":"https://sonar.turtle.xyz/v1/openapi.json delete /organization/{organizationId}/rules/{ruleName}","href":"/sdk/sonar/reference/rules/delete-rule"},{"title":"Arm or Disarm a Rule","deprecated":null,"version":null,"openapi":"https://sonar.turtle.xyz/v1/openapi.json put /organization/{organizationId}/rules/{ruleName}/active","href":"/sdk/sonar/reference/rules/arm-or-disarm-a-rule"}]},{"group":"Permissions","expanded":false,"pages":[{"title":"Permission Policies","deprecated":null,"version":null,"openapi":"https://sonar.turtle.xyz/v1/openapi.json get /organization/{organizationId}/permissions","href":"/sdk/sonar/reference/permissions/permission-policies"},{"title":"Set a Permission Policy","deprecated":null,"version":null,"openapi":"https://sonar.turtle.xyz/v1/openapi.json put /organization/{organizationId}/permissions","href":"/sdk/sonar/reference/permissions/set-a-permission-policy"}]},{"group":"Sensing scope","expanded":false,"pages":[{"title":"Get Integration Scope","deprecated":null,"version":null,"openapi":"https://sonar.turtle.xyz/v1/openapi.json get /organization/{organizationId}/integrations/{integrationId}/scope","href":"/sdk/sonar/reference/sensing-scope/get-integration-scope"},{"title":"Add or Move a Scope Item","deprecated":null,"version":null,"openapi":"https://sonar.turtle.xyz/v1/openapi.json put /organization/{organizationId}/integrations/{integrationId}/scope/items","href":"/sdk/sonar/reference/sensing-scope/add-or-move-a-scope-item"},{"title":"Set Sensing Mode","deprecated":null,"version":null,"openapi":"https://sonar.turtle.xyz/v1/openapi.json put /organization/{organizationId}/integrations/{integrationId}/scope/mode","href":"/sdk/sonar/reference/sensing-scope/set-sensing-mode"},{"title":"Remove a Scope Item","deprecated":null,"version":null,"openapi":"https://sonar.turtle.xyz/v1/openapi.json delete /organization/{organizationId}/integrations/{integrationId}/scope/items/{itemId}","href":"/sdk/sonar/reference/sensing-scope/remove-a-scope-item"}]},{"group":"Webhook deliveries","expanded":false,"pages":[{"title":"List Webhook Deliveries","deprecated":null,"version":null,"openapi":"https://sonar.turtle.xyz/v1/openapi.json get /organization/{organizationId}/webhooks/deliveries","href":"/sdk/sonar/reference/webhook-deliveries/list-webhook-deliveries"}]},{"group":"Data and retention","expanded":false,"pages":[{"title":"Data Summary","deprecated":null,"version":null,"openapi":"https://sonar.turtle.xyz/v1/openapi.json get /organization/{organizationId}/data","href":"/sdk/sonar/reference/data-and-retention/data-summary"},{"title":"Request Tenant Deletion","deprecated":null,"version":null,"openapi":"https://sonar.turtle.xyz/v1/openapi.json post /organization/{organizationId}/data/deletion","href":"/sdk/sonar/reference/data-and-retention/request-tenant-deletion"},{"title":"Cancel Tenant Deletion","deprecated":null,"version":null,"openapi":"https://sonar.turtle.xyz/v1/openapi.json delete /organization/{organizationId}/data/deletion","href":"/sdk/sonar/reference/data-and-retention/cancel-tenant-deletion"},{"title":"Forget Before a Moment","deprecated":null,"version":null,"openapi":"https://sonar.turtle.xyz/v1/openapi.json post /organization/{organizationId}/data/forget","href":"/sdk/sonar/reference/data-and-retention/forget-before-a-moment"},{"title":"Plan Forgetting","deprecated":null,"version":null,"openapi":"https://sonar.turtle.xyz/v1/openapi.json get /organization/{organizationId}/data/forget-plan","href":"/sdk/sonar/reference/data-and-retention/plan-forgetting"},{"title":"Set Event Retention","deprecated":null,"version":null,"openapi":"https://sonar.turtle.xyz/v1/openapi.json put /organization/{organizationId}/data/retention","href":"/sdk/sonar/reference/data-and-retention/set-event-retention"},{"title":"Forget a Sensor's Events","deprecated":null,"version":null,"openapi":"https://sonar.turtle.xyz/v1/openapi.json delete /organization/{organizationId}/data/sensors/{integrationId}/events","href":"/sdk/sonar/reference/data-and-retention/forget-a-sensors-events"},{"title":"Plan Forgetting a Sensor's Events","deprecated":null,"version":null,"openapi":"https://sonar.turtle.xyz/v1/openapi.json get /organization/{organizationId}/data/sensors/{integrationId}/forget-plan","href":"/sdk/sonar/reference/data-and-retention/plan-forgetting-a-sensors-events"}]}]}]},{"group":"Portfolio \u0026 Activity","expanded":false,"pages":[{"title":"Overview","href":"/sdk/portfolio/overview"},{"title":"User Positions","href":"/sdk/portfolio/positions"},{"title":"Wallet Activity","href":"/sdk/portfolio/activity"},{"title":"Distributor Activity","href":"/sdk/earn-api/deposits"}]},{"group":"Analytics","expanded":false,"pages":[{"title":"Distributor Metrics","href":"/sdk/analytics/distributor-metrics"},{"title":"Historical Data","href":"/sdk/opportunities/historical"}]}]},{"group":"Reference","pages":[{"title":"API Explorer","href":"/sdk/reference/api-explorer"},{"title":"OpenAPI Spec","href":"/sdk/reference/openapi-spec"},{"title":"Error Codes","href":"/sdk/reference/error-codes"},{"title":"Changelog","href":"/sdk/reference/changelog"}]}]}]},"basePath":"","title":"Declare Pipeline - Turtle Docs","deploymentId":"dpl_HZVV42MMRSo9WnNHfTGZvby5jph9","buildId":"dpl_HZVV42MMRSo9WnNHfTGZvby5jph9","dynamics":["c2aa737661","2b790eda92","b0f84f53ff","a9bb46feb3"],"chunks":["OpenApiReferenceProvider-BuieBNTB.js","snippetPresets-alIv9Yoc.js","utils-BS41p-Nj.js","style-to-object-BY3JEAdk.js","utils-D0Za9LU_.js","v4-DIgz8zy6.js","addTypeLabelsToSchema-Lx7TZ5XR.js","conditional-requirements-CFM0id0Q.js","cloneDeep-4e5CS5ZI.js","_Uint8Array-B2-W7EM3.js","isObject-FP1Yky1u.js","ApiExamples-sCe6z2hN.js","usePlaygroundInputsStore-cU_dFE5n.js","shallow-BwNCr__O.js","isEqual-Cnvzqd4L.js","CodeSnippets-CMIr49P8.js","CodeSnippet-BC-bKzyy.js","use-playground-group-access-c3bgmn-x.js","Page-Acw_JRP6.js","api-description-markdown-1o8U1kkQ.js","DynamicMarkdown-CvOkzads.js","SectionHeading-CJ97Kdt-.js","MethodPill-DynWltjQ.js","getPastedJson-CBCnXiWl.js","Check2Icon-CPHq_WNu.js","axios-CsQoIw0U.js","Markdown-4tjIF-hK.js","AssistantPageLink-BcChI7L3.js","dist-MIf_HGLZ.js","lib-DMeTj1gb.js","lib-B8HbPgcC.js","katex-Dbtb6Wk7.js","html-void-elements-mCSPHezU.js","marked.esm-CZWythHk.js"]}