The Children schema represents a state in the LLM (Language Learning Model) with various properties such as state_id, name, description, prompt, parameters, position, and tools.
One of the key features of the Children schema is the children property. This property allows a children to have nested childrens, creating a hierarchical structure. Each children can, in turn, have its own children, allowing for a recursive definition of states.
{ "state_id": "a4a4f3fd-cc53-421e-a794-cf6ec47e96b1", "name": "warm_intro", "description": "warm_intro description", "prompt": "## Background about Property...", "children": [ { "state_id": "abe03fd0-e093-4bd7-bda0-583c31eed973", "name": "callback", "description": "Transition to schedule a callback", "prompt": "## Background\nBusiness Hour:...", "children": [] }, { "state_id": "3d084435-e5b6-4691-b9ea-b773e2726ebe", "name": "schedule_tour", "description": "Transition to schedule an in person tour", "prompt": "## Background about Property...", "children": [] } ]}
{"docsConfig":{"$schema":"https://mintlify.com/docs.json","theme":"mint","name":"Puretalk AI®","colors":{"primary":"#6f55ff","light":"#6f55ff","dark":"#0D9373"},"favicon":"/favicon.png","logo":{"light":"https://mintcdn.com/puretalk-ruth/uh4u3QwwX9xW3Hkt/logo/logo.svg?fit=max\u0026auto=format\u0026n=uh4u3QwwX9xW3Hkt\u0026q=85\u0026s=2f337dc3923e8b28d13fb6528bbbe392","dark":"https://mintcdn.com/puretalk-ruth/uh4u3QwwX9xW3Hkt/logo/logo.svg?fit=max\u0026auto=format\u0026n=uh4u3QwwX9xW3Hkt\u0026q=85\u0026s=2f337dc3923e8b28d13fb6528bbbe392","href":"https://docs.puretalk.ai"},"navbar":{"primary":{"type":"button","label":"Dashboard","href":"https://app.puretalk.ai"}},"footer":{"socials":{"x":"https://x.com/PuretalkA","github":"https://github.com/meca-technologies","linkedin":"https://www.linkedin.com/company/puretalkai"}},"navigation":{"pages":[]}},"deployment":{"deploymentMetadataValue":{"subdomain":"puretalk-ruth","hasAudioNarration":false,"actualSubdomain":"puretalk-ruth","customDomains":["docs.puretalk.ai"],"gitSource":{"type":"github","owner":"meca-technologies","repo":"puretalk-documentation","deployBranch":"main","contentDirectory":"","isPrivate":false,"mountPath":"","label":""},"chroma":{"liveDeploymentHistoryId":"6a20c3d142124f81735bf595","collectionId":"3df8400d-14af-4b8b-a5dd-bc320849ed66","schemaVersion":"v2"},"feedback":{"thumbs":true},"entitlements":{"AI_CHAT":{"status":"DISABLED"}},"buildId":"6a20c3d142124f81735bf595:success","clientVersion":"0.0.3966","searchFilterCounts":[{"language":"default","tag":"API Reference","count":33},{"language":"default","tag":"Documentation","count":8},{"language":"default","tag":"AI Assistants","count":6},{"language":"default","tag":"Campaigns","count":6},{"language":"default","tag":"Phone Numbers","count":6},{"language":"default","tag":"General","count":5},{"language":"default","tag":"Calls","count":4},{"language":"default","tag":"Ruth Connect","count":4},{"language":"default","tag":"Get Started","count":3},{"language":"default","tag":"Multi-Task Assistants","count":2}]},"assistantConfig":{},"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":"editor-v7-file-tree","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":"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":"workos-onboarding","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"llms-txt-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"pause-universal-search-reconcile","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":"per-site-search-delta","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":"editor-private-page-search","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":"editor-nav-generations","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":"workspace-projects","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"assistant-v5","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"byok-sep-25","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":"vite-origin","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-agent-model-picker","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"billing-updated-9-15","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}],"isAtlas":false,"googleFontsInlined":false},"customCss":[],"page":{"pagePath":"api-reference/ai-assistants/add-or-update-task","slug":"/api-reference/ai-assistants/add-or-update-task","pageMetadata":{"title":"Add/Update Task","openapi":"openapi-ai-assistants POST /ai-assistants/llm-states/{assistant_id}","description":"Creates a new LLM state for the specified assistant, or update an existing one.","href":"/api-reference/ai-assistants/add-or-update-task"},"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: \"Creates a new LLM state for the specified assistant, or update an existing one.\"\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,jsxs:_jsxs}=arguments[0];const{useMDXComponents:_provideComponents}=arguments[0];function _createMdxContent(props){const _components={code:`code`,p:`p`,pre:`pre`,span:`span`,..._provideComponents(),...props.components},{CodeBlock,Heading}=_components;if(!CodeBlock)_missingMdxReference(`CodeBlock`,true);if(!Heading)_missingMdxReference(`Heading`,true);return _jsxs(_Fragment,{children:[_jsx(Heading,{level:`3`,id:`children-schema`,children:`Children Schema`}),`\n`,_jsxs(_components.p,{children:[`The `,_jsx(_components.code,{children:`Children`}),` schema represents a state in the LLM (Language Learning Model) with various properties such as `,_jsx(_components.code,{children:`state_id`}),`, `,_jsx(_components.code,{children:`name`}),`, `,_jsx(_components.code,{children:`description`}),`, `,_jsx(_components.code,{children:`prompt`}),`, `,_jsx(_components.code,{children:`parameters`}),`, `,_jsx(_components.code,{children:`position`}),`, and `,_jsx(_components.code,{children:`tools`}),`.`]}),`\n`,_jsx(Heading,{level:`4`,id:`recursive-children-property`,children:`Recursive Children Property`}),`\n`,_jsxs(_components.p,{children:[`One of the key features of the `,_jsx(_components.code,{children:`Children`}),` schema is the `,_jsx(_components.code,{children:`children`}),` property. This property allows a children to have nested childrens, creating a hierarchical structure. Each children can, in turn, have its own children, allowing for a recursive definition of states.`]}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`22`,language:`json`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`json`,children:_jsxs(_components.code,{language:`json`,numberOfLines:`22`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`{`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"state_id\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"a4a4f3fd-cc53-421e-a794-cf6ec47e96b1\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"name\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"warm_intro\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"description\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"warm_intro description\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"prompt\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"## Background about Property...\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"children\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: [`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` {`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"state_id\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"abe03fd0-e093-4bd7-bda0-583c31eed973\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"name\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"callback\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"description\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"Transition to schedule a callback\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"prompt\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"## Background`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D7BA7D`},children:`\\\\n`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`Business Hour:...\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"children\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: []`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` },`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` {`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"state_id\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"3d084435-e5b6-4691-b9ea-b773e2726ebe\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"name\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"schedule_tour\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"description\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"Transition to schedule an in person tour\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"prompt\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"## Background about Property...\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"children\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: []`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` }`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` ]`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`}`})}),`\n`]})})})]})}function MDXContent(props={}){const{wrapper:MDXLayout}={..._provideComponents(),...props.components};return MDXLayout?_jsx(MDXLayout,{...props,children:_jsx(_createMdxContent,{...props})}):_createMdxContent(props)}return{default:MDXContent};function _missingMdxReference(id,component){throw new Error(`Expected `+(component?`component`:`object`)+\" `\"+id+\"` to be defined: you likely forgot to import, pass, or provide it.\")}","frontmatter":{},"scope":{"config":{},"pageMetadata":{"title":"Add/Update Task","openapi":"openapi-ai-assistants POST /ai-assistants/llm-states/{assistant_id}","description":"Creates a new LLM state for the specified assistant, or update an existing one.","href":"/api-reference/ai-assistants/add-or-update-task"}}},"mdxSourceWithNoJs":null},"mdxExtracts":{"tableOfContents":[{"title":"Children Schema","slug":"children-schema","depth":3,"children":[]},{"title":"Recursive Children Property","slug":"recursive-children-property","depth":4,"children":[]}],"codeExamples":{}},"jsLinks":[],"openApiReferenceData":{"operation":{"summary":"Create or update LLM state","description":"Creates a new LLM state for the specified assistant, or update an existing one.","parameters":["a5d37ffb-bb2a-4369-baad-a3012e7361a2"],"requestBody":"03864f28-bd9b-468d-a10e-f263144028ba","responses":{"200":"81db11f8-9dd6-42d1-bdde-aa8cc016e951","404":"2d15ce30-b9cf-46d4-bfee-1748980662de"},"method":"post","type":"path","servers":["2f382df0-5759-437c-8a6e-b453677a436e"],"security":["26f514d5-7bfd-48c1-a9f8-61302ef2cb93"],"path":"/ai-assistants/llm-states/{assistant_id}","baseUrlOptions":["https://api.puretalk.ai/api"],"title":"Create or update LLM state","codeSamples":[],"requiredOnlyExamples":false,"requestExampleType":"generated","responseExampleType":"generated"},"dependencies":{"parameters":{"a5d37ffb-bb2a-4369-baad-a3012e7361a2":{"name":"assistant_id","in":"path","required":true,"schema":{"type":"string","isRequired":true,"description":"The ID of the assistant","uniqueKey":"","typeLabel":"string"},"description":"The ID of the assistant"}},"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"llm_states":{"type":"array","items":{"type":"object","properties":{"state_id":{"type":"string","format":"uuid","description":"The state id of the node","uniqueKey":"llm_states.items.[INDEX].state_id","typeLabel":"string\u003cuuid>"},"name":{"type":"string","description":"The name of the node","uniqueKey":"llm_states.items.[INDEX].name","typeLabel":"string"},"description":{"type":"string","description":"The description of the node","uniqueKey":"llm_states.items.[INDEX].description","typeLabel":"string"},"prompt":{"type":"string","description":"The prompt of the node","uniqueKey":"llm_states.items.[INDEX].prompt","typeLabel":"string"},"children":{"type":"array","items":{"$circularRef":"d52dae97-ef68-42e8-8b42-08121596b412"},"uniqueKey":"llm_states.items.[INDEX].children","typeLabel":"array"},"parameters":{"oneOf":[{"type":"object","description":"The parameters of the node","uniqueKey":"llm_states.items.[INDEX].parameters.oneOf.0","typeLabel":"object"},{"type":"null","description":"The parameters of the node","uniqueKey":"llm_states.items.[INDEX].parameters.oneOf.1","typeLabel":"null"}],"uniqueKey":"llm_states.items.[INDEX].parameters","typeLabel":"object | null"},"position":{"type":"object","properties":{"x":{"type":"number","description":"The x position of the node","uniqueKey":"llm_states.items.[INDEX].position.x","typeLabel":"number"},"y":{"type":"number","description":"The y position of the node","uniqueKey":"llm_states.items.[INDEX].position.y","typeLabel":"number"}},"uniqueKey":"llm_states.items.[INDEX].position","typeLabel":"object"},"tools":{"oneOf":[{"type":"array","items":{"type":"object","properties":{"type":{"type":"string","description":"The type of the tool","uniqueKey":"llm_states.items.[INDEX].tools.oneOf.0.items.[INDEX].type","typeLabel":"string"},"functionId":{"type":"string","description":"The function id of the tool","uniqueKey":"llm_states.items.[INDEX].tools.oneOf.0.items.[INDEX].functionId","typeLabel":"string"},"function":{"type":"object","properties":{"name":{"type":"string","description":"The name of the tool","uniqueKey":"llm_states.items.[INDEX].tools.oneOf.0.items.[INDEX].function.name","typeLabel":"string"},"description":{"type":"string","description":"The description of the tool","uniqueKey":"llm_states.items.[INDEX].tools.oneOf.0.items.[INDEX].function.description","typeLabel":"string"},"parameters":{"oneOf":[{"type":"object","required":["start_time","end_time"],"properties":{"start_time":{"type":"string","description":"Availability check start date in YYYY-MM-DD format, e.g. 2024-06-18","isRequired":true,"uniqueKey":"llm_states.items.[INDEX].tools.oneOf.0.items.[INDEX].function.parameters.oneOf.0.start_time","typeLabel":"string"},"end_time":{"type":"string","description":"Availability check end date in YYYY-MM-DD format, e.g. 2024-06-23","isRequired":true,"uniqueKey":"llm_states.items.[INDEX].tools.oneOf.0.items.[INDEX].function.parameters.oneOf.0.end_time","typeLabel":"string"}},"uniqueKey":"llm_states.items.[INDEX].tools.oneOf.0.items.[INDEX].function.parameters.oneOf.0","typeLabel":"object"},{"type":"object","required":["calendar_event_name","duration","start_date_time","end_date_time"],"properties":{"calendar_event_name":{"type":"string","description":"Name of the calendar event, e.g. \"Meeting with John\"","isRequired":true,"uniqueKey":"llm_states.items.[INDEX].tools.oneOf.0.items.[INDEX].function.parameters.oneOf.1.calendar_event_name","typeLabel":"string"},"duration":{"type":"number","description":"Duration of the calendar event in minutes, e.g. 60","isRequired":true,"uniqueKey":"llm_states.items.[INDEX].tools.oneOf.0.items.[INDEX].function.parameters.oneOf.1.duration","typeLabel":"number"},"start_date_time":{"type":"string","description":"Start date and time of the calendar event in YYYY-MM-DDTHH:MM format, e.g. 2024-06-18T14:00","isRequired":true,"uniqueKey":"llm_states.items.[INDEX].tools.oneOf.0.items.[INDEX].function.parameters.oneOf.1.start_date_time","typeLabel":"string"},"end_date_time":{"type":"string","description":"End date and time of the calendar event in YYYY-MM-DDTHH:MM format, e.g. 2024-06-18T15:00","isRequired":true,"uniqueKey":"llm_states.items.[INDEX].tools.oneOf.0.items.[INDEX].function.parameters.oneOf.1.end_date_time","typeLabel":"string"}},"uniqueKey":"llm_states.items.[INDEX].tools.oneOf.0.items.[INDEX].function.parameters.oneOf.1","typeLabel":"object"}],"uniqueKey":"llm_states.items.[INDEX].tools.oneOf.0.items.[INDEX].function.parameters","typeLabel":"object"}},"uniqueKey":"llm_states.items.[INDEX].tools.oneOf.0.items.[INDEX].function","typeLabel":"object"}},"uniqueKey":"llm_states.items.[INDEX].tools.oneOf.0.items.[INDEX]","typeLabel":"object"},"uniqueKey":"llm_states.items.[INDEX].tools.oneOf.0","typeLabel":"object[]"},{"type":"null","items":{"type":"object","properties":{"type":{"type":"string","description":"The type of the tool"},"functionId":{"type":"string","description":"The function id of the tool"},"function":{"type":"object","properties":{"name":{"type":"string","description":"The name of the tool"},"description":{"type":"string","description":"The description of the tool"},"parameters":{"oneOf":[{"type":"object","required":["start_time","end_time"],"properties":{"start_time":{"type":"string","description":"Availability check start date in YYYY-MM-DD format, e.g. 2024-06-18"},"end_time":{"type":"string","description":"Availability check end date in YYYY-MM-DD format, e.g. 2024-06-23"}}},{"type":"object","required":["calendar_event_name","duration","start_date_time","end_date_time"],"properties":{"calendar_event_name":{"type":"string","description":"Name of the calendar event, e.g. \"Meeting with John\""},"duration":{"type":"number","description":"Duration of the calendar event in minutes, e.g. 60"},"start_date_time":{"type":"string","description":"Start date and time of the calendar event in YYYY-MM-DDTHH:MM format, e.g. 2024-06-18T14:00"},"end_date_time":{"type":"string","description":"End date and time of the calendar event in YYYY-MM-DDTHH:MM format, e.g. 2024-06-18T15:00"}}}]}}}}},"uniqueKey":"llm_states.items.[INDEX].tools.oneOf.1","typeLabel":"null"}],"uniqueKey":"llm_states.items.[INDEX].tools","typeLabel":"object[] | null"}},"uniqueKey":"llm_states.items.[INDEX]","typeLabel":"object"},"uniqueKey":"llm_states","typeLabel":"object[]"}},"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"llm_states":[{"state_id":"3c90c3cc-0d44-4b50-8888-8dd25736052a","name":"\u003cstring>","description":"\u003cstring>","prompt":"\u003cstring>","children":"\u003carray>","parameters":{},"position":{"x":123,"y":123},"tools":[{"type":"\u003cstring>","functionId":"\u003cstring>","function":{"name":"\u003cstring>","description":"\u003cstring>","parameters":{"start_time":"\u003cstring>","end_time":"\u003cstring>"}}}]}]}}},"exampleType":"generated"}},"exampleType":"generated"},"responses":{"81db11f8-9dd6-42d1-bdde-aa8cc016e951":{"description":"LLM states response","content":{"application/json":{"schema":{"type":"object","properties":{"err":{"type":"boolean","uniqueKey":"err","typeLabel":"boolean"},"msg":{"type":"string","uniqueKey":"msg","typeLabel":"string"}},"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"err":true,"msg":"\u003cstring>"}}},"exampleType":"generated"}},"exampleType":"generated"},"2d15ce30-b9cf-46d4-bfee-1748980662de":{"description":"Not Found","content":{"application/json":{"schema":{"type":"object","properties":{"err":{"type":"boolean","uniqueKey":"err","typeLabel":"boolean"},"msg":{"type":"string","uniqueKey":"msg","typeLabel":"string"}},"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"err":true,"msg":"\u003cstring>"}}},"exampleType":"generated"}},"exampleType":"generated"}},"security":{"26f514d5-7bfd-48c1-a9f8-61302ef2cb93":{"ApiKeyAuth":{"type":"apiKey","in":"header","name":"X-API-KEY","description":"Authorization header containing API key. You can find your API key in the dashboard under 'API Keys'.","scopes":[]}}},"servers":{"2f382df0-5759-437c-8a6e-b453677a436e":{"url":"https://api.puretalk.ai/api"}},"schemas":{"d52dae97-ef68-42e8-8b42-08121596b412":{"type":"object","properties":{"state_id":{"type":"string","format":"uuid","description":"The state id of the node"},"name":{"type":"string","description":"The name of the node"},"description":{"type":"string","description":"The description of the node"},"prompt":{"type":"string","description":"The prompt of the node"},"children":{"type":"array","items":{"$circularRef":"d52dae97-ef68-42e8-8b42-08121596b412"}},"parameters":{"oneOf":[{"type":"object","description":"The parameters of the node"},{"type":"null","description":"The parameters of the node"}]},"position":{"type":"object","properties":{"x":{"type":"number","description":"The x position of the node"},"y":{"type":"number","description":"The y position of the node"}}},"tools":{"oneOf":[{"type":"array","items":{"type":"object","properties":{"type":{"type":"string","description":"The type of the tool"},"functionId":{"type":"string","description":"The function id of the tool"},"function":{"type":"object","properties":{"name":{"type":"string","description":"The name of the tool"},"description":{"type":"string","description":"The description of the tool"},"parameters":{"oneOf":[{"type":"object","required":["start_time","end_time"],"properties":{"start_time":{"type":"string","description":"Availability check start date in YYYY-MM-DD format, e.g. 2024-06-18","isRequired":true},"end_time":{"type":"string","description":"Availability check end date in YYYY-MM-DD format, e.g. 2024-06-23","isRequired":true}}},{"type":"object","required":["calendar_event_name","duration","start_date_time","end_date_time"],"properties":{"calendar_event_name":{"type":"string","description":"Name of the calendar event, e.g. \"Meeting with John\"","isRequired":true},"duration":{"type":"number","description":"Duration of the calendar event in minutes, e.g. 60","isRequired":true},"start_date_time":{"type":"string","description":"Start date and time of the calendar event in YYYY-MM-DDTHH:MM format, e.g. 2024-06-18T14:00","isRequired":true},"end_date_time":{"type":"string","description":"End date and time of the calendar event in YYYY-MM-DDTHH:MM format, e.g. 2024-06-18T15:00","isRequired":true}}}]}}}}}},{"type":"null"}]}}}},"processedSecurityOptions":[{"schemes":[{"scheme":{"type":"apiKey","in":"header","name":"X-API-KEY","description":"Authorization header containing API key. You can find your API key in the dashboard under 'API Keys'.","scopes":[]},"schema":{"title":"X-API-KEY","type":"string","description":"Authorization header containing API key. You can find your API key in the dashboard under 'API Keys'.","isRequired":true,"typeLabel":"string","deprecated":false},"schemeName":"ApiKeyAuth","name":"X-API-KEY"}],"title":"ApiKeyAuth"}]},"originalFileLocation":"api-reference/openapi-specs/openapi-ai-assistants.json"},"subdomain":"puretalk-ruth","siteName":"Puretalk AI®","title":"Add/Update Task - Puretalk AI®","navMaps":{"firstHrefInVersion":{},"firstHrefInLanguage":{}},"lastModified":"2026-01-06T23:45:55.795Z","originalFileLocation":"api-reference/ai-assistants/add-or-update-task.mdx"},"headHtml":"\u003cscript data-mint-head>(function(){var d=document.documentElement,p=null;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=\"system\"}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=\"Creates a new LLM state for the specified assistant, or update an existing one.\">\u003cmeta data-mint-head name=\"application-name\" content=\"Puretalk AI®\">\u003cmeta data-mint-head name=\"generator\" content=\"Mintlify\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/puretalk-ruth/uNskuw1-xLMR3bsH/_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/puretalk-ruth/uNskuw1-xLMR3bsH/_generated/favicon/apple-touch-icon.png\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/puretalk-ruth/uNskuw1-xLMR3bsH/_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/puretalk-ruth/uNskuw1-xLMR3bsH/_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/puretalk-ruth/uNskuw1-xLMR3bsH/_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/puretalk-ruth/uNskuw1-xLMR3bsH/_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/puretalk-ruth/uNskuw1-xLMR3bsH/_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/puretalk-ruth/uNskuw1-xLMR3bsH/_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/puretalk-ruth/uNskuw1-xLMR3bsH/_generated/favicon-dark/favicon.ico\" media=\"(prefers-color-scheme: dark)\">\u003cmeta data-mint-head property=\"og:title\" content=\"Add/Update Task - Puretalk AI®\">\u003cmeta data-mint-head property=\"og:description\" content=\"Creates a new LLM state for the specified assistant, or update an existing one.\">\u003cmeta data-mint-head property=\"og:site_name\" content=\"Puretalk AI®\">\u003cmeta data-mint-head property=\"og:url\" content=\"https://docs.puretalk.ai/api-reference/ai-assistants/add-or-update-task\">\u003cmeta data-mint-head property=\"og:type\" content=\"website\">\u003cmeta data-mint-head property=\"og:image\" content=\"https://puretalk-ruth.mintlify.app/_mintlify/api/og/v2?division=Multi-Task+Assistants\u0026amp;title=Add%2FUpdate+Task\u0026amp;description=Creates+a+new+LLM+state+for+the+specified+assistant%2C+or+update+an+existing+one.\u0026amp;theme=ab69b91378fc3a7280546426\u0026amp;signature=9a74d826d60e636e8eee138eac3ea30afbde86562309ba2f0213980720003dae\">\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=\"Add/Update Task - Puretalk AI®\">\u003cmeta data-mint-head name=\"twitter:description\" content=\"Creates a new LLM state for the specified assistant, or update an existing one.\">\u003cmeta data-mint-head name=\"twitter:image\" content=\"https://puretalk-ruth.mintlify.app/_mintlify/api/og/v2?division=Multi-Task+Assistants\u0026amp;title=Add%2FUpdate+Task\u0026amp;description=Creates+a+new+LLM+state+for+the+specified+assistant%2C+or+update+an+existing+one.\u0026amp;theme=ab69b91378fc3a7280546426\u0026amp;signature=9a74d826d60e636e8eee138eac3ea30afbde86562309ba2f0213980720003dae\">\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/puretalk-ruth/uNskuw1-xLMR3bsH/_generated/favicon/browserconfig.xml\">\u003cmeta data-mint-head name=\"apple-mobile-web-app-title\" content=\"Puretalk AI®\">\u003cmeta data-mint-head name=\"msapplication-TileColor\" content=\"#6f55ff\">\u003clink data-mint-head rel=\"canonical\" href=\"https://docs.puretalk.ai/api-reference/ai-assistants/add-or-update-task\">\u003clink data-mint-head rel=\"alternate\" type=\"application/xml\" href=\"/sitemap.xml\">\u003clink data-mint-head rel=\"alternate\" type=\"text/markdown\" href=\"/api-reference/ai-assistants/add-or-update-task.md\">\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@graph\":[{\"@type\":\"Organization\",\"@id\":\"https://docs.puretalk.ai/#organization\",\"name\":\"Puretalk AI®\",\"url\":\"https://docs.puretalk.ai\",\"logo\":{\"@type\":\"ImageObject\",\"url\":\"https://mintcdn.com/puretalk-ruth/uh4u3QwwX9xW3Hkt/logo/logo.svg?fit=max\u0026auto=format\u0026n=uh4u3QwwX9xW3Hkt\u0026q=85\u0026s=2f337dc3923e8b28d13fb6528bbbe392\"}},{\"@type\":\"WebSite\",\"@id\":\"https://docs.puretalk.ai#website\",\"name\":\"Puretalk AI®\",\"url\":\"https://docs.puretalk.ai\",\"publisher\":{\"@id\":\"https://docs.puretalk.ai/#organization\"}},{\"@type\":\"WebPage\",\"@id\":\"https://docs.puretalk.ai/api-reference/ai-assistants/add-or-update-task#webpage\",\"url\":\"https://docs.puretalk.ai/api-reference/ai-assistants/add-or-update-task\",\"name\":\"Add/Update Task\",\"description\":\"Creates a new LLM state for the specified assistant, or update an existing one.\",\"dateModified\":\"2026-01-06T23:45:55.795Z\",\"isPartOf\":{\"@id\":\"https://docs.puretalk.ai#website\"},\"breadcrumb\":{\"@id\":\"https://docs.puretalk.ai/api-reference/ai-assistants/add-or-update-task#breadcrumb\"}},{\"@type\":\"BreadcrumbList\",\"@id\":\"https://docs.puretalk.ai/api-reference/ai-assistants/add-or-update-task#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Puretalk AI®\",\"item\":\"https://docs.puretalk.ai\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Add/Update Task\",\"item\":\"https://docs.puretalk.ai/api-reference/ai-assistants/add-or-update-task\"}]},{\"@type\":[\"TechArticle\",\"APIReference\"],\"@id\":\"https://docs.puretalk.ai/api-reference/ai-assistants/add-or-update-task#apireference\",\"headline\":\"Add/Update Task\",\"name\":\"Add/Update Task\",\"description\":\"Creates a new LLM state for the specified assistant, or update an existing one.\",\"url\":\"https://docs.puretalk.ai/api-reference/ai-assistants/add-or-update-task\",\"mainEntityOfPage\":{\"@id\":\"https://docs.puretalk.ai/api-reference/ai-assistants/add-or-update-task#webpage\"},\"dateModified\":\"2026-01-06T23:45:55.795Z\",\"publisher\":{\"@id\":\"https://docs.puretalk.ai/#organization\"},\"isPartOf\":{\"@id\":\"https://docs.puretalk.ai#website\"}}]}\u003c/script>\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@type\":\"WebSite\",\"name\":\"Puretalk AI®\",\"creator\":{\"@type\":\"Organization\",\"name\":\"Mintlify\",\"url\":\"https://mintlify.com\"}}\u003c/script>","siteName":"Puretalk AI®","nav":{"global":null,"tabs":[{"tab":"Documentation","pages":[{"title":"Documentation","href":"/general/introduction"}]},{"tab":"API Reference","groups":[{"group":"Voices","pages":[{"title":"Get Voices","openapi":"openapi-voices GET /voices","href":"/api-reference/voices/get-voices"},{"title":"Get Voice","openapi":"openapi-voices GET /voices/{id}","href":"/api-reference/voices/get-voice"}]},{"group":"AI Assistants","pages":[{"title":"Create Assistants","openapi":"openapi-ai-assistants POST /ai-assistants","href":"/api-reference/ai-assistants/create-assistants"},{"title":"Assistants List","openapi":"openapi-ai-assistants GET /ai-assistants","href":"/api-reference/ai-assistants/assistants-list"},{"title":"Get Assistant","openapi":"openapi-ai-assistants GET /ai-assistants/{assistant_id}","href":"/api-reference/ai-assistants/get-assistant"},{"title":"Update Assistant","openapi":"openapi-ai-assistants PATCH /ai-assistants/{assistant_id}","href":"/api-reference/ai-assistants/update-assistant"},{"title":"Delete Assistant","openapi":"openapi-ai-assistants DELETE /ai-assistants/{assistant_id}","href":"/api-reference/ai-assistants/delete-assistant"},{"title":"Get Chatbot Config","openapi":"openapi-ai-assistants GET /public/ai-assistants/chatbot-config/{assistant_id}","description":"Returns the chatbot config for the AI Assistant based on the ID supplied","href":"/api-reference/ai-assistants/get-chatbot-config"}]},{"group":"Multi-Task Assistants","pages":[{"title":"Add/Update Task","openapi":"openapi-ai-assistants POST /ai-assistants/llm-states/{assistant_id}","href":"/api-reference/ai-assistants/add-or-update-task"},{"title":"Delete Task","openapi":"openapi-ai-assistants DELETE /ai-assistants/delete-llm-states","description":"Deletes the specified LLM states.","href":"/api-reference/ai-assistants/delete-task"}]},{"group":"Phone Numbers","pages":[{"title":"Available Phone Numbers","openapi":"openapi-phone-numbers GET /phone-numbers/available-phone-numbers","href":"/api-reference/phone-numbers/available-phone-numbers"},{"title":"Buy Phone Number","openapi":"openapi-phone-numbers POST /phone-numbers/buy-phone-number","href":"/api-reference/phone-numbers/buy-phone-number"},{"title":"Get Phone Numbers","openapi":"openapi-phone-numbers GET /phone-numbers","href":"/api-reference/phone-numbers/get-phone-numbers"},{"title":"Get Phone Number","openapi":"openapi-phone-numbers GET /phone-numbers/{phone_number_id}","href":"/api-reference/phone-numbers/get-phone-number"},{"title":"Connect Phone Number","openapi":"openapi-phone-numbers PATCH /phone-numbers/{phone_number_id}","href":"/api-reference/phone-numbers/connect-phone-number"},{"title":"Delete Phone Number","openapi":"openapi-phone-numbers DELETE /phone-numbers/{phone_number_id}","href":"/api-reference/phone-numbers/delete-phone-number"}]},{"group":"Calls","pages":[{"title":"Register Web Call","openapi":"openapi-calls POST /calls/web/register","href":"/api-reference/calls/register-web-call"},{"title":"Register Phone Call","openapi":"openapi-calls POST /calls/make-outbound","href":"/api-reference/calls/register-phone-call"},{"title":"Get Call List","openapi":"openapi-calls GET /calls","href":"/api-reference/calls/call-list"},{"title":"Get Call","openapi":"openapi-calls GET /calls/{call_id}","href":"/api-reference/calls/get-call"}]},{"group":"Ruth Connect","pages":[{"title":"Get Integrations","openapi":"openapi-ruth-connect GET /ruth-connect/integrations","href":"/api-reference/ruth-connect/get-integrations"},{"title":"Get Integration","openapi":"openapi-ruth-connect GET /ruth-connect/integrations/{integration_id}","href":"/api-reference/ruth-connect/get-integration"},{"title":"Update Integration","openapi":"openapi-ruth-connect PATCH /ruth-connect/integrations/{integration_id}","href":"/api-reference/ruth-connect/update-integration"},{"title":"Delete Integration","openapi":"openapi-ruth-connect DELETE /ruth-connect/integrations/{integration_id}","href":"/api-reference/ruth-connect/delete-integration"}]},{"group":"Campaigns","pages":[{"title":"Create Campaign","openapi":"openapi-campaigns POST /campaigns","href":"/api-reference/campaigns/create-campaign"},{"title":"Get Campaigns","openapi":"openapi-campaigns GET /campaigns","href":"/api-reference/campaigns/get-campaigns"},{"title":"Get Campaign","openapi":"openapi-campaigns GET /campaigns/{campaign_id}","href":"/api-reference/campaigns/get-campaign"},{"title":"Update Campaign","openapi":"openapi-campaigns PATCH /campaigns/{campaign_id}","href":"/api-reference/campaigns/update-campaign"},{"title":"Get Campaign Leads","openapi":"openapi-campaigns GET /campaigns/{campaign_id}/leads","href":"/api-reference/campaigns/get-campaign-tasks"},{"title":"Delete Campaign Leads","openapi":"openapi-campaigns DELETE /campaigns/{campaign_id}/leads/{to_number}","href":"/api-reference/campaigns/delete-campaign-task"}]},{"group":"Account","pages":[{"title":"Get Concurrency","openapi":"openapi-account GET /users/concurrency-usage","href":"/api-reference/account/get-concurrency"}]},{"group":"TTS","pages":[{"title":"Text to Speech","openapi":"openapi-tts POST /v1/tts","href":"/api-reference/tts/text-to-speech"},{"title":"Clone Voice","openapi":"openapi-tts POST /v1/tts/clone-voice","href":"/api-reference/tts/clone-voice"}]}]},{"tab":"Blog","pages":[{"title":"Blog","href":"/blog/understanding-ai-from-basics-to-breakthroughs-b9696250"}]}]},"title":"Add/Update Task - Puretalk AI®","buildId":"dpl_cadrRc5H9XQiJQbDFN5mcYRs2PAj","deploymentId":"dpl_cadrRc5H9XQiJQbDFN5mcYRs2PAj","dynamics":["c2aa737661","2b790eda92","b0f84f53ff","a9bb46feb3"],"chunks":["OpenApiReferenceProvider-DKJwRUt2.js","utils-CWD_VS3u.js","cloneDeep-izs3Hzxb.js","_Uint8Array-BVIqJ90l.js","isObjectLike-C8vmzPEN.js","isArray-Dcu1dQ5t.js","utils-oFjciODD.js","toString-BX-iyh8G.js","isSymbol-CSH9U2Gm.js","addUniqueKeysToSchema-C76WsxC3.js","snippetPresets-DvPMxpX_.js","style-to-object-BY3JEAdk.js","v4-DIgz8zy6.js","ApiExamples-CuNQfndH.js","isEqual-BfaiBbcl.js","usePlaygroundInputsStore-BVFpVUoF.js","shallow-t59Jg5Kr.js","getApiPlaygroundDisplay-C_JZ4amX.js","CodeSnippet-CLRDnx_h.js","CodeSnippets-C2myU4kc.js","Page-7TwLLapg.js","getPastedJson-B-JaVXw7.js","icon-BA-iDhH3.js","MethodPill-D4qZABFp.js","DuplicateIcon-THIDKO1O.js","createIcon-CYYJwgFd.js","DynamicMarkdown-UGQuxDKp.js","SectionHeading-jYELb23h.js","axios-vUo_bRtp.js","Markdown-DKsLa3wy.js","clsx-CefdjKz2.js","lib--scc4DXi.js","lib-B8HbPgcC.js","html-void-elements-mCSPHezU.js","dist-BaREnp3o.js","katex-YMM-FMeD.js","marked.esm-CZWythHk.js","AssistantPageLink-sgx_0XzF.js"]}