{"__v":0,"_id":"5845a4aa9f6fbb1b00430833","category":{"version":"5845a4a89f6fbb1b004307b7","project":"54d3007669578e0d002730c9","_id":"5845a4a89f6fbb1b004307be","__v":0,"sync":{"url":"","isSync":false},"reference":false,"createdAt":"2015-07-30T07:08:52.789Z","from_sync":false,"order":6,"slug":"domains","title":"Domains"},"parentDoc":null,"project":"54d3007669578e0d002730c9","user":"55bf6cdcad601c2b00762d13","version":{"__v":1,"_id":"5845a4a89f6fbb1b004307b7","project":"54d3007669578e0d002730c9","createdAt":"2016-12-05T17:32:24.708Z","releaseDate":"2016-12-05T17:32:24.708Z","categories":["5845a4a89f6fbb1b004307b8","5845a4a89f6fbb1b004307b9","5845a4a89f6fbb1b004307ba","5845a4a89f6fbb1b004307bb","5845a4a89f6fbb1b004307bc","5845a4a89f6fbb1b004307bd","5845a4a89f6fbb1b004307be","5845a4a89f6fbb1b004307bf","5845a4a89f6fbb1b004307c0"],"is_deprecated":false,"is_hidden":false,"is_beta":false,"is_stable":true,"codename":"","version_clean":"25.0.0","version":"25"},"updates":[],"next":{"pages":[],"description":""},"createdAt":"2015-08-09T02:41:19.607Z","link_external":false,"link_url":"","githubsync":"","sync_unique":"","hidden":false,"api":{"results":{"codes":[]},"settings":"","auth":"required","params":[],"url":""},"isReference":false,"order":25,"body":"[block:callout]\n{\n  \"type\": \"warning\",\n  \"title\": \"Domains are being deprecated\",\n  \"body\": \"Domains are being deprecated. If you're currently using domains, please consider using our new [Prebuilt Agents](https://docs.api.ai/docs/prebuilt-agents).\"\n}\n[/block]\n\n[block:callout]\n{\n  \"type\": \"info\",\n  \"body\": \"This domain is supported in the following languages:\\n* English\"\n}\n[/block]\n* [Tasks: Save](#tasks-save)\n* [Tasks: Save: Flow](#tasks-save-flow)\n* [Tasks: Get](#tasks-get)\n* [Tasks: Remove](#tasks-remove)\n* [Tasks: Service](#tasks-service)\n[block:api-header]\n{\n  \"type\": \"basic\",\n  \"title\": \"Tasks: Save\"\n}\n[/block]\n## Action\n\nName| Description  \n---|---  \ntasks.save| Requests to save tasks  \n  \n## Data\n\nName| Data type| Required / Optional| Description| Request examples  \n---|---|---|---|---  \ntext| string| optional| Defines the text.| Save a task call brother (text=call brother)  \n[block:api-header]\n{\n  \"type\": \"basic\",\n  \"title\": \"Tasks: Save: Flow\"\n}\n[/block]\n## Action\n\nName| Description  \n---|---  \ntasks.save_flow| Requests to save tasks in a flow  \n[block:api-header]\n{\n  \"type\": \"basic\",\n  \"title\": \"Tasks: Get\"\n}\n[/block]\n## Action\n\nName| Description  \n---|---  \ntasks.get| Requests to get tasks  \n  \n## Data\n\nName| Parent| Data type| Required / Optional| Description| Request examples  \n---|---|---|---|---|---  \ntext| _data_| string| optional| Defines the keyword.| Get task call brother. (text=call brother)  \nnumber| _data_| integer| optional| Defines the number of the task.| Get task number 3. (number=3)  \nall| _data_| string| optional| Specifies that all tasks is requested. Available values: _true_| Show all my tasks. (all=true)  \nlast| _data_| string| optional| Specifies that the last task is requested. Available values: _true_| Get the last task. (last=true) \n[block:api-header]\n{\n  \"type\": \"basic\",\n  \"title\": \"Tasks: Remove\"\n}\n[/block]\n## Action\n\nName| Description  \n---|---  \ntasks.remove| Requests to remove tasks  \n  \n## Data\n\nName| Parent| Data type| Required / Optional| Description| Request examples  \n---|---|---|---|---|---  \ntext| _data_| string| optional| Defines the keyword.| Remove task call brother. (text=call brother)  \nnumber| _data_| integer| optional| Defines the number of the task.| Remove the first task. (number=1)  \nall| _data_| string| optional| Specifies that all tasks is requested. Available values: _true_| Remove all my tasks. (all=true)  \nlast| _data_| string| optional| Specifies that the last task is requested. Available values: _true_| Remove the last task. (last=true) \n[block:api-header]\n{\n  \"type\": \"basic\",\n  \"title\": \"Tasks: Service\"\n}\n[/block]\n## Action\n\nName| Description  \n---|---  \ntasks.service| Requests to changed default tasks service  \n  \n## Data\n\nName| Parent| Data type| Required / Optional| Description| Request examples  \n---|---|---|---|---|---  \nservice_name| _data_| string| optional| Defines the service to be used by default. _See the list of predefined values:_ [Service List](#section-task-service-list) | Use your memory for tasks. (service_name=internal)  \nuse| _data_| string| optional| Defines the intent to use or not to use the service. Can be_ true_ or _false._  If not set, user did not specify what service to use.| Use any.do (use=true) \n[block:api-header]\n{\n  \"type\": \"basic\",\n  \"title\": \"Reference\"\n}\n[/block]\n## Task Service List\n\nAny.do  \nInternal","excerpt":"","slug":"tasks","type":"basic","title":"Tasks"}
[block:callout] { "type": "warning", "title": "Domains are being deprecated", "body": "Domains are being deprecated. If you're currently using domains, please consider using our new [Prebuilt Agents](https://docs.api.ai/docs/prebuilt-agents)." } [/block] [block:callout] { "type": "info", "body": "This domain is supported in the following languages:\n* English" } [/block] * [Tasks: Save](#tasks-save) * [Tasks: Save: Flow](#tasks-save-flow) * [Tasks: Get](#tasks-get) * [Tasks: Remove](#tasks-remove) * [Tasks: Service](#tasks-service) [block:api-header] { "type": "basic", "title": "Tasks: Save" } [/block] ## Action Name| Description ---|--- tasks.save| Requests to save tasks ## Data Name| Data type| Required / Optional| Description| Request examples ---|---|---|---|--- text| string| optional| Defines the text.| Save a task call brother (text=call brother) [block:api-header] { "type": "basic", "title": "Tasks: Save: Flow" } [/block] ## Action Name| Description ---|--- tasks.save_flow| Requests to save tasks in a flow [block:api-header] { "type": "basic", "title": "Tasks: Get" } [/block] ## Action Name| Description ---|--- tasks.get| Requests to get tasks ## Data Name| Parent| Data type| Required / Optional| Description| Request examples ---|---|---|---|---|--- text| _data_| string| optional| Defines the keyword.| Get task call brother. (text=call brother) number| _data_| integer| optional| Defines the number of the task.| Get task number 3. (number=3) all| _data_| string| optional| Specifies that all tasks is requested. Available values: _true_| Show all my tasks. (all=true) last| _data_| string| optional| Specifies that the last task is requested. Available values: _true_| Get the last task. (last=true) [block:api-header] { "type": "basic", "title": "Tasks: Remove" } [/block] ## Action Name| Description ---|--- tasks.remove| Requests to remove tasks ## Data Name| Parent| Data type| Required / Optional| Description| Request examples ---|---|---|---|---|--- text| _data_| string| optional| Defines the keyword.| Remove task call brother. (text=call brother) number| _data_| integer| optional| Defines the number of the task.| Remove the first task. (number=1) all| _data_| string| optional| Specifies that all tasks is requested. Available values: _true_| Remove all my tasks. (all=true) last| _data_| string| optional| Specifies that the last task is requested. Available values: _true_| Remove the last task. (last=true) [block:api-header] { "type": "basic", "title": "Tasks: Service" } [/block] ## Action Name| Description ---|--- tasks.service| Requests to changed default tasks service ## Data Name| Parent| Data type| Required / Optional| Description| Request examples ---|---|---|---|---|--- service_name| _data_| string| optional| Defines the service to be used by default. _See the list of predefined values:_ [Service List](#section-task-service-list) | Use your memory for tasks. (service_name=internal) use| _data_| string| optional| Defines the intent to use or not to use the service. Can be_ true_ or _false._  If not set, user did not specify what service to use.| Use any.do (use=true) [block:api-header] { "type": "basic", "title": "Reference" } [/block] ## Task Service List Any.do Internal