Zum Hauptinhalt springen

task-add

Fügt eine Aufgabe hinzu, die etwas darstellt, das von jemandem oder etwas erledigt werden soll.

Request Body REQUIRED
type string REQUIRED
kind string

Possible values: [task, decision, goal, project]

Art des Arbeitselements (Aufgabe, Projekt, Ziel, Entscheidung)

domain string
data REQUIRED

Daten, die an die Aufgabe übergeben werden to the task, this is manly when the task is a tool call

priority integer

Possible values: value ≤ 4

Integer priority in [0…4]. Higher number = higher priority (ordered and scheduled before lower values). 0: normal · 1: medium · 2: high · 3: critical · 4: extreme.

maxRetries number
botId number
chunkId uuid

Possible values: Value must match regular expression ^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$

scheduledFor string

Datum und Uhrzeit in ISO8601 format when the task should be executed

subtaskOf

ID of the task this task is a subtask of

blocks uuid[]

Possible values: Value must match regular expression ^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$

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 ^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$

IDs of the tasks this task blocks, thus tasks that must be completed before this task can be started or continued

agentId uuid

Possible values: Value must match regular expression ^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$

ID of the agent to run the task

toolId string

ID of the tool to run the task

name string

Name of the task, mainly used in the UI

description string
repeat string

Legacy: Cron expression for task repetition

repetitionPattern object

German repetition pattern

type string REQUIRED

Possible values: [daily, weekly, monthly, weekdays]

interval number REQUIRED
time object
hour number REQUIRED
minute number REQUIRED
weekday
dayOfMonth number

Possible values: 1 ≤ value ≤ 31

repetitionText string

Original German repetition text

duration
deadline string

date and time in ISO8601 format when the task must be completed

repetitionTimeout
spaceId uuid

Possible values: Value must match regular expression ^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$

parentTaskId uuid

Possible values: Value must match regular expression ^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$

isPersonalAssistant

Flag, das anzeigt, task is for personal assistant (vs user)

repetitionOf uuid

Possible values: Value must match regular expression ^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$

facets object
silent boolean

Internal system task: no subscriptions, attention requests or user notifications

Responses
200

Successful response

Schema OPTIONAL
id uuid

Possible values: Value must match regular expression ^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$

shortId string
kind string

Possible values: [chat, task, project, goal, decision]

type string
status string

Possible values: [pending, running, completed, failed, cancelled, sleeping, waiting, blocked]

conversationStatus
conclusion
concludedMessageId
priority number
data
result OPTIONAL
error
progress OPTIONAL
progressMessage OPTIONAL
updatedAt string
createdAt string
startedAt
completedAt
scheduledFor
spaceId
creatorId
chunkId
retries number
maxRetries number
nextRetryAt
lockedBy
lockedAt
triggerId
state OPTIONAL
retainUntil
agentId
toolId
repeat
repetitionPattern
repetitionText
repetitionOf
repetitionTimeout OPTIONAL
name
description
minDuration
maxDuration
deadline
sourceUrl
sourceType
sourceId
400

Ungültige Eingabedaten

Schema OPTIONAL
message string

Fehlermeldung

code string

Fehlercode

issues object[] OPTIONAL

Liste der Ursachen, die zum Fehler geführt haben

message string
401

Autorisierung nicht angegeben

Schema OPTIONAL
message string

Fehlermeldung

code string

Fehlercode

issues object[] OPTIONAL

Liste der Ursachen, die zum Fehler geführt haben

message string
403

Unzureichende Berechtigung

Schema OPTIONAL
message string

Fehlermeldung

code string

Fehlercode

issues object[] OPTIONAL

Liste der Ursachen, die zum Fehler geführt haben

message string
500

Interner Serverfehler

Schema OPTIONAL
message string

Fehlermeldung

code string

Fehlercode

issues object[] OPTIONAL

Liste der Ursachen, die zum Fehler geführt haben

message string