1. Packages
  2. Packages
  3. Pulumi Cloud (Pulumi Service provider)
  4. API Docs
  5. api
  6. api/agents
  7. Task

This provider is currently in preview.

Viewing docs for Pulumi Cloud v1.1.0
published on Thursday, May 21, 2026 by Pulumi
pulumiservice logo

This provider is currently in preview.

Viewing docs for Pulumi Cloud v1.1.0
published on Thursday, May 21, 2026 by Pulumi

    Creates a new agent task for the specified organization. The request must include a prompt (the user event message) that initiates the task. Set the ‘permissionMode’ field in the request body to restrict the agent to read-only operations. Returns the created task details including task ID, name, status, and timestamp.

    Create Task Resource

    Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.

    Constructor syntax

    new Task(name: string, args: TaskArgs, opts?: CustomResourceOptions);
    @overload
    def Task(resource_name: str,
             args: TaskArgs,
             opts: Optional[ResourceOptions] = None)
    
    @overload
    def Task(resource_name: str,
             opts: Optional[ResourceOptions] = None,
             org_name: Optional[str] = None,
             approval_mode: Optional[str] = None,
             cli_integrations: Optional[Sequence[Any]] = None,
             enabled_integrations: Optional[Sequence[Any]] = None,
             message: Optional[Any] = None,
             permission_mode: Optional[str] = None,
             plan_mode: Optional[bool] = None,
             source: Optional[str] = None,
             task_id: Optional[str] = None,
             tool_execution_mode: Optional[str] = None)
    func NewTask(ctx *Context, name string, args TaskArgs, opts ...ResourceOption) (*Task, error)
    public Task(string name, TaskArgs args, CustomResourceOptions? opts = null)
    public Task(String name, TaskArgs args)
    public Task(String name, TaskArgs args, CustomResourceOptions options)
    
    type: pulumiservice:api/agents:Task
    properties: # The arguments to resource properties.
    options: # Bag of options to control resource's behavior.
    
    
    resource "pulumiservice_api_agents_task" "name" {
        # resource properties
    }

    Parameters

    name string
    The unique name of the resource.
    args TaskArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    resource_name str
    The unique name of the resource.
    args TaskArgs
    The arguments to resource properties.
    opts ResourceOptions
    Bag of options to control resource's behavior.
    ctx Context
    Context object for the current deployment.
    name string
    The unique name of the resource.
    args TaskArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args TaskArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args TaskArgs
    The arguments to resource properties.
    options CustomResourceOptions
    Bag of options to control resource's behavior.

    Constructor example

    The following reference example uses placeholder values for all input properties.

    var taskResource = new PulumiService.Api.Agents.Task("taskResource", new()
    {
        OrgName = "string",
        ApprovalMode = "string",
        CliIntegrations = new[]
        {
            "any",
        },
        EnabledIntegrations = new[]
        {
            "any",
        },
        Message = "any",
        PermissionMode = "string",
        PlanMode = false,
        Source = "string",
        TaskID = "string",
        ToolExecutionMode = "string",
    });
    
    example, err := agents.NewTask(ctx, "taskResource", &agents.TaskArgs{
    	OrgName:      pulumi.String("string"),
    	ApprovalMode: pulumi.String("string"),
    	CliIntegrations: pulumi.Array{
    		pulumi.Any("any"),
    	},
    	EnabledIntegrations: pulumi.Array{
    		pulumi.Any("any"),
    	},
    	Message:           pulumi.Any("any"),
    	PermissionMode:    pulumi.String("string"),
    	PlanMode:          pulumi.Bool(false),
    	Source:            pulumi.String("string"),
    	TaskID:            pulumi.String("string"),
    	ToolExecutionMode: pulumi.String("string"),
    })
    
    resource "pulumiservice_api_agents_task" "taskResource" {
      org_name             = "string"
      approval_mode        = "string"
      cli_integrations     = ["any"]
      enabled_integrations = ["any"]
      message              = "any"
      permission_mode      = "string"
      plan_mode            = false
      source               = "string"
      task_id              = "string"
      tool_execution_mode  = "string"
    }
    
    var taskResource = new Task("taskResource", TaskArgs.builder()
        .orgName("string")
        .approvalMode("string")
        .cliIntegrations("any")
        .enabledIntegrations("any")
        .message("any")
        .permissionMode("string")
        .planMode(false)
        .source("string")
        .taskID("string")
        .toolExecutionMode("string")
        .build());
    
    task_resource = pulumiservice.api.agents.Task("taskResource",
        org_name="string",
        approval_mode="string",
        cli_integrations=["any"],
        enabled_integrations=["any"],
        message="any",
        permission_mode="string",
        plan_mode=False,
        source="string",
        task_id="string",
        tool_execution_mode="string")
    
    const taskResource = new pulumiservice.api.agents.Task("taskResource", {
        orgName: "string",
        approvalMode: "string",
        cliIntegrations: ["any"],
        enabledIntegrations: ["any"],
        message: "any",
        permissionMode: "string",
        planMode: false,
        source: "string",
        taskID: "string",
        toolExecutionMode: "string",
    });
    
    type: pulumiservice:api/agents:Task
    properties:
        approvalMode: string
        cliIntegrations:
            - any
        enabledIntegrations:
            - any
        message: any
        orgName: string
        permissionMode: string
        planMode: false
        source: string
        taskID: string
        toolExecutionMode: string
    

    Task Resource Properties

    To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.

    Inputs

    In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.

    The Task resource accepts the following input properties:

    OrgName string
    The organization name
    ApprovalMode string
    Optional approval mode override for this task. If omitted, org default is used.
    CliIntegrations List<object>
    Optional filter for CLI integrations to enable for this task. Semantics: omitted/null → enable all CLI integrations connected for the org; empty list → explicit opt-out (no CLI integrations for this task); populated list → whitelist by (catalogId, name) of the configured instances to enable. Entries with missing or unknown catalogId, missing name, or referencing a (catalogId, name) pair that is not connected for the organization are rejected with a 400 response. catalogId matching is case-insensitive.
    EnabledIntegrations List<object>
    Optional list of integrations to enable for this task. Semantics: omitted/null → inherit all org-enabled integrations; empty list → explicit opt-out (no integration credentials for this task); populated list → whitelist of specific integrations by ID. Modeled as an object array rather than a bare string array so multi-instance support (instance_name, scope, etc.) can be added later without a wire break.
    Message object
    The message content
    PermissionMode string
    Controls the permission scope for the task. When omitted, defaults to 'default' (the agent uses the creating user's full permissions).
    PlanMode bool
    Whether to enable plan mode for this task.
    Source string
    The origin that triggered this task. Defaults to 'api' if omitted.
    TaskID string
    The agent task identifier
    ToolExecutionMode string
    Where tools should be executed. Defaults to 'cloud' if omitted.
    OrgName string
    The organization name
    ApprovalMode string
    Optional approval mode override for this task. If omitted, org default is used.
    CliIntegrations []interface{}
    Optional filter for CLI integrations to enable for this task. Semantics: omitted/null → enable all CLI integrations connected for the org; empty list → explicit opt-out (no CLI integrations for this task); populated list → whitelist by (catalogId, name) of the configured instances to enable. Entries with missing or unknown catalogId, missing name, or referencing a (catalogId, name) pair that is not connected for the organization are rejected with a 400 response. catalogId matching is case-insensitive.
    EnabledIntegrations []interface{}
    Optional list of integrations to enable for this task. Semantics: omitted/null → inherit all org-enabled integrations; empty list → explicit opt-out (no integration credentials for this task); populated list → whitelist of specific integrations by ID. Modeled as an object array rather than a bare string array so multi-instance support (instance_name, scope, etc.) can be added later without a wire break.
    Message interface{}
    The message content
    PermissionMode string
    Controls the permission scope for the task. When omitted, defaults to 'default' (the agent uses the creating user's full permissions).
    PlanMode bool
    Whether to enable plan mode for this task.
    Source string
    The origin that triggered this task. Defaults to 'api' if omitted.
    TaskID string
    The agent task identifier
    ToolExecutionMode string
    Where tools should be executed. Defaults to 'cloud' if omitted.
    org_name string
    The organization name
    approval_mode string
    Optional approval mode override for this task. If omitted, org default is used.
    cli_integrations list(any)
    Optional filter for CLI integrations to enable for this task. Semantics: omitted/null → enable all CLI integrations connected for the org; empty list → explicit opt-out (no CLI integrations for this task); populated list → whitelist by (catalogId, name) of the configured instances to enable. Entries with missing or unknown catalogId, missing name, or referencing a (catalogId, name) pair that is not connected for the organization are rejected with a 400 response. catalogId matching is case-insensitive.
    enabled_integrations list(any)
    Optional list of integrations to enable for this task. Semantics: omitted/null → inherit all org-enabled integrations; empty list → explicit opt-out (no integration credentials for this task); populated list → whitelist of specific integrations by ID. Modeled as an object array rather than a bare string array so multi-instance support (instance_name, scope, etc.) can be added later without a wire break.
    message any
    The message content
    permission_mode string
    Controls the permission scope for the task. When omitted, defaults to 'default' (the agent uses the creating user's full permissions).
    plan_mode bool
    Whether to enable plan mode for this task.
    source string
    The origin that triggered this task. Defaults to 'api' if omitted.
    task_id string
    The agent task identifier
    tool_execution_mode string
    Where tools should be executed. Defaults to 'cloud' if omitted.
    orgName String
    The organization name
    approvalMode String
    Optional approval mode override for this task. If omitted, org default is used.
    cliIntegrations List<Object>
    Optional filter for CLI integrations to enable for this task. Semantics: omitted/null → enable all CLI integrations connected for the org; empty list → explicit opt-out (no CLI integrations for this task); populated list → whitelist by (catalogId, name) of the configured instances to enable. Entries with missing or unknown catalogId, missing name, or referencing a (catalogId, name) pair that is not connected for the organization are rejected with a 400 response. catalogId matching is case-insensitive.
    enabledIntegrations List<Object>
    Optional list of integrations to enable for this task. Semantics: omitted/null → inherit all org-enabled integrations; empty list → explicit opt-out (no integration credentials for this task); populated list → whitelist of specific integrations by ID. Modeled as an object array rather than a bare string array so multi-instance support (instance_name, scope, etc.) can be added later without a wire break.
    message Object
    The message content
    permissionMode String
    Controls the permission scope for the task. When omitted, defaults to 'default' (the agent uses the creating user's full permissions).
    planMode Boolean
    Whether to enable plan mode for this task.
    source String
    The origin that triggered this task. Defaults to 'api' if omitted.
    taskID String
    The agent task identifier
    toolExecutionMode String
    Where tools should be executed. Defaults to 'cloud' if omitted.
    orgName string
    The organization name
    approvalMode string
    Optional approval mode override for this task. If omitted, org default is used.
    cliIntegrations any[]
    Optional filter for CLI integrations to enable for this task. Semantics: omitted/null → enable all CLI integrations connected for the org; empty list → explicit opt-out (no CLI integrations for this task); populated list → whitelist by (catalogId, name) of the configured instances to enable. Entries with missing or unknown catalogId, missing name, or referencing a (catalogId, name) pair that is not connected for the organization are rejected with a 400 response. catalogId matching is case-insensitive.
    enabledIntegrations any[]
    Optional list of integrations to enable for this task. Semantics: omitted/null → inherit all org-enabled integrations; empty list → explicit opt-out (no integration credentials for this task); populated list → whitelist of specific integrations by ID. Modeled as an object array rather than a bare string array so multi-instance support (instance_name, scope, etc.) can be added later without a wire break.
    message any
    The message content
    permissionMode string
    Controls the permission scope for the task. When omitted, defaults to 'default' (the agent uses the creating user's full permissions).
    planMode boolean
    Whether to enable plan mode for this task.
    source string
    The origin that triggered this task. Defaults to 'api' if omitted.
    taskID string
    The agent task identifier
    toolExecutionMode string
    Where tools should be executed. Defaults to 'cloud' if omitted.
    org_name str
    The organization name
    approval_mode str
    Optional approval mode override for this task. If omitted, org default is used.
    cli_integrations Sequence[Any]
    Optional filter for CLI integrations to enable for this task. Semantics: omitted/null → enable all CLI integrations connected for the org; empty list → explicit opt-out (no CLI integrations for this task); populated list → whitelist by (catalogId, name) of the configured instances to enable. Entries with missing or unknown catalogId, missing name, or referencing a (catalogId, name) pair that is not connected for the organization are rejected with a 400 response. catalogId matching is case-insensitive.
    enabled_integrations Sequence[Any]
    Optional list of integrations to enable for this task. Semantics: omitted/null → inherit all org-enabled integrations; empty list → explicit opt-out (no integration credentials for this task); populated list → whitelist of specific integrations by ID. Modeled as an object array rather than a bare string array so multi-instance support (instance_name, scope, etc.) can be added later without a wire break.
    message Any
    The message content
    permission_mode str
    Controls the permission scope for the task. When omitted, defaults to 'default' (the agent uses the creating user's full permissions).
    plan_mode bool
    Whether to enable plan mode for this task.
    source str
    The origin that triggered this task. Defaults to 'api' if omitted.
    task_id str
    The agent task identifier
    tool_execution_mode str
    Where tools should be executed. Defaults to 'cloud' if omitted.
    orgName String
    The organization name
    approvalMode String
    Optional approval mode override for this task. If omitted, org default is used.
    cliIntegrations List<Any>
    Optional filter for CLI integrations to enable for this task. Semantics: omitted/null → enable all CLI integrations connected for the org; empty list → explicit opt-out (no CLI integrations for this task); populated list → whitelist by (catalogId, name) of the configured instances to enable. Entries with missing or unknown catalogId, missing name, or referencing a (catalogId, name) pair that is not connected for the organization are rejected with a 400 response. catalogId matching is case-insensitive.
    enabledIntegrations List<Any>
    Optional list of integrations to enable for this task. Semantics: omitted/null → inherit all org-enabled integrations; empty list → explicit opt-out (no integration credentials for this task); populated list → whitelist of specific integrations by ID. Modeled as an object array rather than a bare string array so multi-instance support (instance_name, scope, etc.) can be added later without a wire break.
    message Any
    The message content
    permissionMode String
    Controls the permission scope for the task. When omitted, defaults to 'default' (the agent uses the creating user's full permissions).
    planMode Boolean
    Whether to enable plan mode for this task.
    source String
    The origin that triggered this task. Defaults to 'api' if omitted.
    taskID String
    The agent task identifier
    toolExecutionMode String
    Where tools should be executed. Defaults to 'cloud' if omitted.

    Outputs

    All input properties are implicitly available as output properties. Additionally, the Task resource produces the following output properties:

    CreatedAt string
    When the task was created, in ISO 8601 format.
    CreatedBy object
    Information about the user who created this task.
    Entities List<object>
    Pulumi entities (stacks, projects, etc.) that provide context for the agent.
    Id string
    The provider-assigned unique ID for this managed resource.
    IsShared bool
    Whether this task is shared with other org members.
    Name string
    Display name for the task, typically auto-generated from the initial user message.
    Status string
    Current execution status of the task.
    TaskType string
    Whether the task was started synchronously by a user or asynchronously by background automation.
    TokensUsed int
    Total Neo tokens consumed across all model invocations for this task. Neo tokens are the priced unit used for billing — distinct from the raw model input tokens surfaced in contextUsedTokens / contextWindowTokens.
    AsyncTriggerType string
    The async trigger source for this task. Null for sync tasks.
    ContextCompactionThresholdPercent int
    Percentage of the context window (1-100) at which the agent triggers conversation compaction. Populated alongside contextWindowTokens when token usage data is available; omitted otherwise.
    ContextUsedTokens int
    Total input tokens consumed across all model invocations for this task. Approximate context window usage.
    ContextWindowTokens int
    Maximum context window size in tokens for the primary model used by this task.
    LastHeartbeat string
    When the task runtime last reported a heartbeat. Null if the runtime has never checked in.
    RuntimePhase string
    The current runtime phase for this task. Null until the runtime checks in.
    SharedAt string
    When the task was first shared. Null if never shared.
    SourceAutomationID string
    The automation that spawned this task, if the task was created by an automation run.
    CreatedAt string
    When the task was created, in ISO 8601 format.
    CreatedBy interface{}
    Information about the user who created this task.
    Entities []interface{}
    Pulumi entities (stacks, projects, etc.) that provide context for the agent.
    Id string
    The provider-assigned unique ID for this managed resource.
    IsShared bool
    Whether this task is shared with other org members.
    Name string
    Display name for the task, typically auto-generated from the initial user message.
    Status string
    Current execution status of the task.
    TaskType string
    Whether the task was started synchronously by a user or asynchronously by background automation.
    TokensUsed int
    Total Neo tokens consumed across all model invocations for this task. Neo tokens are the priced unit used for billing — distinct from the raw model input tokens surfaced in contextUsedTokens / contextWindowTokens.
    AsyncTriggerType string
    The async trigger source for this task. Null for sync tasks.
    ContextCompactionThresholdPercent int
    Percentage of the context window (1-100) at which the agent triggers conversation compaction. Populated alongside contextWindowTokens when token usage data is available; omitted otherwise.
    ContextUsedTokens int
    Total input tokens consumed across all model invocations for this task. Approximate context window usage.
    ContextWindowTokens int
    Maximum context window size in tokens for the primary model used by this task.
    LastHeartbeat string
    When the task runtime last reported a heartbeat. Null if the runtime has never checked in.
    RuntimePhase string
    The current runtime phase for this task. Null until the runtime checks in.
    SharedAt string
    When the task was first shared. Null if never shared.
    SourceAutomationID string
    The automation that spawned this task, if the task was created by an automation run.
    created_at string
    When the task was created, in ISO 8601 format.
    created_by any
    Information about the user who created this task.
    entities list(any)
    Pulumi entities (stacks, projects, etc.) that provide context for the agent.
    id string
    The provider-assigned unique ID for this managed resource.
    is_shared bool
    Whether this task is shared with other org members.
    name string
    Display name for the task, typically auto-generated from the initial user message.
    status string
    Current execution status of the task.
    task_type string
    Whether the task was started synchronously by a user or asynchronously by background automation.
    tokens_used number
    Total Neo tokens consumed across all model invocations for this task. Neo tokens are the priced unit used for billing — distinct from the raw model input tokens surfaced in contextUsedTokens / contextWindowTokens.
    async_trigger_type string
    The async trigger source for this task. Null for sync tasks.
    context_compaction_threshold_percent number
    Percentage of the context window (1-100) at which the agent triggers conversation compaction. Populated alongside contextWindowTokens when token usage data is available; omitted otherwise.
    context_used_tokens number
    Total input tokens consumed across all model invocations for this task. Approximate context window usage.
    context_window_tokens number
    Maximum context window size in tokens for the primary model used by this task.
    last_heartbeat string
    When the task runtime last reported a heartbeat. Null if the runtime has never checked in.
    runtime_phase string
    The current runtime phase for this task. Null until the runtime checks in.
    shared_at string
    When the task was first shared. Null if never shared.
    source_automation_id string
    The automation that spawned this task, if the task was created by an automation run.
    createdAt String
    When the task was created, in ISO 8601 format.
    createdBy Object
    Information about the user who created this task.
    entities List<Object>
    Pulumi entities (stacks, projects, etc.) that provide context for the agent.
    id String
    The provider-assigned unique ID for this managed resource.
    isShared Boolean
    Whether this task is shared with other org members.
    name String
    Display name for the task, typically auto-generated from the initial user message.
    status String
    Current execution status of the task.
    taskType String
    Whether the task was started synchronously by a user or asynchronously by background automation.
    tokensUsed Integer
    Total Neo tokens consumed across all model invocations for this task. Neo tokens are the priced unit used for billing — distinct from the raw model input tokens surfaced in contextUsedTokens / contextWindowTokens.
    asyncTriggerType String
    The async trigger source for this task. Null for sync tasks.
    contextCompactionThresholdPercent Integer
    Percentage of the context window (1-100) at which the agent triggers conversation compaction. Populated alongside contextWindowTokens when token usage data is available; omitted otherwise.
    contextUsedTokens Integer
    Total input tokens consumed across all model invocations for this task. Approximate context window usage.
    contextWindowTokens Integer
    Maximum context window size in tokens for the primary model used by this task.
    lastHeartbeat String
    When the task runtime last reported a heartbeat. Null if the runtime has never checked in.
    runtimePhase String
    The current runtime phase for this task. Null until the runtime checks in.
    sharedAt String
    When the task was first shared. Null if never shared.
    sourceAutomationID String
    The automation that spawned this task, if the task was created by an automation run.
    createdAt string
    When the task was created, in ISO 8601 format.
    createdBy any
    Information about the user who created this task.
    entities any[]
    Pulumi entities (stacks, projects, etc.) that provide context for the agent.
    id string
    The provider-assigned unique ID for this managed resource.
    isShared boolean
    Whether this task is shared with other org members.
    name string
    Display name for the task, typically auto-generated from the initial user message.
    status string
    Current execution status of the task.
    taskType string
    Whether the task was started synchronously by a user or asynchronously by background automation.
    tokensUsed number
    Total Neo tokens consumed across all model invocations for this task. Neo tokens are the priced unit used for billing — distinct from the raw model input tokens surfaced in contextUsedTokens / contextWindowTokens.
    asyncTriggerType string
    The async trigger source for this task. Null for sync tasks.
    contextCompactionThresholdPercent number
    Percentage of the context window (1-100) at which the agent triggers conversation compaction. Populated alongside contextWindowTokens when token usage data is available; omitted otherwise.
    contextUsedTokens number
    Total input tokens consumed across all model invocations for this task. Approximate context window usage.
    contextWindowTokens number
    Maximum context window size in tokens for the primary model used by this task.
    lastHeartbeat string
    When the task runtime last reported a heartbeat. Null if the runtime has never checked in.
    runtimePhase string
    The current runtime phase for this task. Null until the runtime checks in.
    sharedAt string
    When the task was first shared. Null if never shared.
    sourceAutomationID string
    The automation that spawned this task, if the task was created by an automation run.
    created_at str
    When the task was created, in ISO 8601 format.
    created_by Any
    Information about the user who created this task.
    entities Sequence[Any]
    Pulumi entities (stacks, projects, etc.) that provide context for the agent.
    id str
    The provider-assigned unique ID for this managed resource.
    is_shared bool
    Whether this task is shared with other org members.
    name str
    Display name for the task, typically auto-generated from the initial user message.
    status str
    Current execution status of the task.
    task_type str
    Whether the task was started synchronously by a user or asynchronously by background automation.
    tokens_used int
    Total Neo tokens consumed across all model invocations for this task. Neo tokens are the priced unit used for billing — distinct from the raw model input tokens surfaced in contextUsedTokens / contextWindowTokens.
    async_trigger_type str
    The async trigger source for this task. Null for sync tasks.
    context_compaction_threshold_percent int
    Percentage of the context window (1-100) at which the agent triggers conversation compaction. Populated alongside contextWindowTokens when token usage data is available; omitted otherwise.
    context_used_tokens int
    Total input tokens consumed across all model invocations for this task. Approximate context window usage.
    context_window_tokens int
    Maximum context window size in tokens for the primary model used by this task.
    last_heartbeat str
    When the task runtime last reported a heartbeat. Null if the runtime has never checked in.
    runtime_phase str
    The current runtime phase for this task. Null until the runtime checks in.
    shared_at str
    When the task was first shared. Null if never shared.
    source_automation_id str
    The automation that spawned this task, if the task was created by an automation run.
    createdAt String
    When the task was created, in ISO 8601 format.
    createdBy Any
    Information about the user who created this task.
    entities List<Any>
    Pulumi entities (stacks, projects, etc.) that provide context for the agent.
    id String
    The provider-assigned unique ID for this managed resource.
    isShared Boolean
    Whether this task is shared with other org members.
    name String
    Display name for the task, typically auto-generated from the initial user message.
    status String
    Current execution status of the task.
    taskType String
    Whether the task was started synchronously by a user or asynchronously by background automation.
    tokensUsed Number
    Total Neo tokens consumed across all model invocations for this task. Neo tokens are the priced unit used for billing — distinct from the raw model input tokens surfaced in contextUsedTokens / contextWindowTokens.
    asyncTriggerType String
    The async trigger source for this task. Null for sync tasks.
    contextCompactionThresholdPercent Number
    Percentage of the context window (1-100) at which the agent triggers conversation compaction. Populated alongside contextWindowTokens when token usage data is available; omitted otherwise.
    contextUsedTokens Number
    Total input tokens consumed across all model invocations for this task. Approximate context window usage.
    contextWindowTokens Number
    Maximum context window size in tokens for the primary model used by this task.
    lastHeartbeat String
    When the task runtime last reported a heartbeat. Null if the runtime has never checked in.
    runtimePhase String
    The current runtime phase for this task. Null until the runtime checks in.
    sharedAt String
    When the task was first shared. Null if never shared.
    sourceAutomationID String
    The automation that spawned this task, if the task was created by an automation run.

    Package Details

    Repository
    pulumiservice pulumi/pulumi-pulumiservice
    License
    Apache-2.0
    pulumiservice logo

    This provider is currently in preview.

    Viewing docs for Pulumi Cloud v1.1.0
    published on Thursday, May 21, 2026 by Pulumi

      Try Pulumi Cloud free.
      Your team will thank you.

      Start free trial