Creates a new Task in the system with the specified parameters.
This method initiates a new task with a unique ID (either provided or auto-generated),
sets the initial task state to STATUS_CREATED, and establishes task ownership. The task
can be assigned to a specific agent through the Relations field.
Once created, a task enters the lifecycle workflow and can be tracked, updated, and managed
through other Tasks API endpoints.
Records who created this task. This field will not change after the task has been created.
Records who updated this task last.
Records the time of last update.
The status of this task.
If the task has been scheduled to execute, what time it should execute at.
Longer, free form human readable description of this task
If set, execution of this task is managed elsewhere, not by Task Manager.
In other words, task manager will not attempt to update the assigned agent with execution instructions.
Time of task creation.
If populated, designates this to be a replicated task.
The networked owner of this task. It is used to ensure that linear writes occur on the node responsible
for replication of task data to other nodes running Task Manager.
A Principal is an entity that has authority over this task.
Any relationships associated with this Task, such as a parent Task or an assignee
this Task is designated to for execution.
If set, then the service will not trigger execution of this task on an agent. Useful
for when ingesting tasks from an external system that is triggering execution of tasks
on agents.
Indicates an initial set of entities that can be used to execute an entity aware
task. For example, an entity Objective, an entity Keep In Zone, etc.
Bearer token using a JWT
Task creation was successful
Any related Tasks associated with this, typically includes an assignee for this task and/or a parent.
If populated, indicates an initial set of entities that can be used to execute an entity aware task
For example, an entity Objective, an entity Keep In Zone, etc.
These will not be updated during execution. If a taskable agent needs continuous updates on the entities from the
COP, can call entity-manager, or use an AlternateId escape hatch.
Human readable display name for this Task, should be short (<100 chars).