task-add
Add a tasks, that represents something to do by someone or something
| Request Body — REQUIRED | ||||||||||
|---|---|---|---|---|---|---|---|---|---|---|
type string — REQUIREDPossible values: [ | ||||||||||
kind stringPossible values: [ Kind of item. Default: "task". Also: "chat", "project", "goal", "decision". | ||||||||||
domain string | ||||||||||
data — REQUIREDData to be passed to the task, this is manly when the task is a tool call | ||||||||||
priority integerPossible values: value ≤ 4 Integer priority in [0…4]. 0: low · 1: medium · 2: high · 3: critical · 4: extreme. Higher = more important. Agent tools should use the label enum instead. | ||||||||||
maxRetries number | ||||||||||
botId number | ||||||||||
chunkId uuidPossible values: Value must match regular expression | ||||||||||
scheduledFor stringDate and time in ISO8601 format when the task should be executed | ||||||||||
subtaskOfID of the task this task is a subtask of | ||||||||||
blocks uuid[]Possible values: Value must match regular expression IDs of the tasks this task blocks, thus tasks that can only be done if this task is complete | ||||||||||
blockedBy uuid[]Possible values: Value must match regular expression IDs of the tasks this task blocks, thus tasks that must be completed before this task can be started or continued | ||||||||||
agentIdID of the agent to run the task; omit to inherit from subtaskOf parents (last wins). Pass null for unassigned. Assigning a bot agent starts background execution. | ||||||||||
toolId stringID of the tool to run the task | ||||||||||
name stringName of the task, mainly used in the UI | ||||||||||
description string | ||||||||||
repeat stringLegacy: Cron expression for task repetition | ||||||||||
repetitionPattern objectGerman repetition pattern
| ||||||||||
repetitionText stringOriginal German repetition text | ||||||||||
duration | ||||||||||
deadline stringdate and time in ISO8601 format when the task must be completed | ||||||||||
repetitionTimeout | ||||||||||
spaceId uuidPossible values: Value must match regular expression Owner space. Omit to inherit from subtaskOf parents (last wins), else the actor space. | ||||||||||
parentTaskId uuidPossible values: Value must match regular expression | ||||||||||
isPersonalAssistantFlag to indicate task is for personal assistant (vs user) | ||||||||||
repetitionOf uuidPossible values: Value must match regular expression | ||||||||||
facets object | ||||||||||
silent booleanInternal system task: no subscriptions, attention requests or user notifications | ||||||||||
subscribers uuid[]Possible values: Value must match regular expression Spaces or user IDs to subscribe at create time (same as Abonnieren). User IDs are resolved to their personal space. They receive a creation notification and later comment/status notifications. | ||||||||||
subscriberSpaceIds uuid[]Possible values: Value must match regular expression | ||||||||||
sourceUrl | ||||||||||
sourceType | ||||||||||
sourceId |
| Responses | ||||||||||||||||||||||||||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
200Successful response
| ||||||||||||||||||||||||||||||||||||||||||||||
400Invalid input data
| ||||||||||||||||||||||||||||||||||||||||||||||
401Authorization not provided
| ||||||||||||||||||||||||||||||||||||||||||||||
403Insufficient access
| ||||||||||||||||||||||||||||||||||||||||||||||
500Internal server error
|