Skip to content

Task

Source code in docs_src/capo_devops_agent/types/task.py
class Task(TypedDict, closed=True):
    agent_space_id: "str"
    """<p>The unique identifier for the agent space containing this task</p>"""
    task_id: "str"
    """<p>The unique identifier for this task</p>"""
    execution_id: NotRequired["str"]
    """<p>The execution ID associated with this task, if any</p>"""
    title: "str"
    """<p>The title of the task</p>"""
    description: NotRequired["str"]
    """<p>Optional detailed description of the task</p>"""
    reference: NotRequired["capo_devops_agent.types.reference_output.ReferenceOutput"]
    """<p>Optional reference information linking this task to external systems</p>"""
    task_type: "capo_devops_agent.types.task_type.TaskType"
    """<p>The type of this task</p>"""
    priority: "capo_devops_agent.types.priority.Priority"
    """<p>The priority level of this task</p>"""
    status: "capo_devops_agent.types.task_status.TaskStatus"
    """<p>The current status of this task</p>"""
    created_at: "capo_devops_agent.types.back_log_timestamp.BackLogTimestamp"
    """<p>Timestamp when this task was created</p>"""
    updated_at: "capo_devops_agent.types.back_log_timestamp.BackLogTimestamp"
    """<p>Timestamp when this task was last updated</p>"""
    version: "int"
    """<p>Version number for optimistic locking</p>"""
    support_metadata: NotRequired["object"]
    """<p>Optional support metadata for the task</p>"""
    metadata: NotRequired["object"]
    """<p>Optional metadata for the task</p>"""
    primary_task_id: NotRequired["str"]
    """<p>The task ID of the primary investigation this task is linked to</p>"""
    status_reason: NotRequired["str"]
    """<p>Explanation for why the task status was changed (e.g., linked reason)</p>"""
    has_linked_tasks: "bool"
    """<p>Indicates if this task has other tasks linked to it</p>"""

agent_space_id instance-attribute

agent_space_id: str

The unique identifier for the agent space containing this task

created_at instance-attribute

created_at: BackLogTimestamp

Timestamp when this task was created

description instance-attribute

description: NotRequired[str]

Optional detailed description of the task

execution_id instance-attribute

execution_id: NotRequired[str]

The execution ID associated with this task, if any

has_linked_tasks instance-attribute

has_linked_tasks: bool

Indicates if this task has other tasks linked to it

metadata instance-attribute

metadata: NotRequired[object]

Optional metadata for the task

primary_task_id instance-attribute

primary_task_id: NotRequired[str]

The task ID of the primary investigation this task is linked to

priority instance-attribute

priority: Priority

The priority level of this task

reference instance-attribute

reference: NotRequired[ReferenceOutput]

Optional reference information linking this task to external systems

status instance-attribute

status: TaskStatus

The current status of this task

status_reason instance-attribute

status_reason: NotRequired[str]

Explanation for why the task status was changed (e.g., linked reason)

support_metadata instance-attribute

support_metadata: NotRequired[object]

Optional support metadata for the task

task_id instance-attribute

task_id: str

The unique identifier for this task

task_type instance-attribute

task_type: TaskType

The type of this task

title instance-attribute

title: str

The title of the task

updated_at instance-attribute

updated_at: BackLogTimestamp

Timestamp when this task was last updated

version instance-attribute

version: int

Version number for optimistic locking