Viewing docs for Files.com v0.1.1
published on Thursday, Aug 20, 2026 by jschady
published on Thursday, Aug 20, 2026 by jschady
Viewing docs for Files.com v0.1.1
published on Thursday, Aug 20, 2026 by jschady
published on Thursday, Aug 20, 2026 by jschady
An AI Task defines a Files.com AI prompt that can run on a schedule or in response to file actions.
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as filescom from "pulumi-filescom";
const exampleAiTask = filescom.getAiTask({
id: 1,
});
import pulumi
import pulumi_filescom as filescom
example_ai_task = filescom.get_ai_task(id=1)
package main
import (
"github.com/jschady/pulumi-filescom/sdk/go/filescom"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := filescom.GetAiTask(ctx, &filescom.LookupAiTaskArgs{
Id: 1,
}, nil)
if err != nil {
return err
}
return nil
})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Filescom = Jschady.Filescom;
return await Deployment.RunAsync(() =>
{
var exampleAiTask = Filescom.GetAiTask.Invoke(new()
{
Id = 1,
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.filescom.FilescomFunctions;
import com.pulumi.filescom.inputs.GetAiTaskArgs;
import java.util.ArrayList;
import java.util.Arrays;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;
public class App {
public static void main(String[] args) {
Pulumi.run(App::stack);
}
public static void stack(Context ctx) {
final var exampleAiTask = FilescomFunctions.getAiTask(GetAiTaskArgs.builder()
.id(1)
.build());
}
}
variables:
exampleAiTask:
fn::invoke:
function: filescom:getAiTask
arguments:
id: 1
pulumi {
required_providers {
filescom = {
source = "pulumi/filescom"
}
}
}
data "filescom_getaitask" "exampleAiTask" {
id = 1
}
Using getAiTask
Two invocation forms are available. The direct form accepts plain arguments and either blocks until the result value is available, or returns a Promise-wrapped result. The output form accepts Input-wrapped arguments and returns an Output-wrapped result.
function getAiTask(args: GetAiTaskArgs, opts?: InvokeOptions): Promise<GetAiTaskResult>
function getAiTaskOutput(args: GetAiTaskOutputArgs, opts?: InvokeOutputOptions): Output<GetAiTaskResult>def get_ai_task(id: Optional[int] = None,
opts: Optional[InvokeOptions] = None) -> GetAiTaskResult
def get_ai_task_output(id: pulumi.Input[Optional[int]] = None,
opts: Optional[InvokeOutputOptions] = None) -> Output[GetAiTaskResult]func LookupAiTask(ctx *Context, args *LookupAiTaskArgs, opts ...InvokeOption) (*LookupAiTaskResult, error)
func LookupAiTaskOutput(ctx *Context, args *LookupAiTaskOutputArgs, opts ...InvokeOption) LookupAiTaskResultOutput> Note: This function is named LookupAiTask in the Go SDK.
public static class GetAiTask
{
public static Task<GetAiTaskResult> InvokeAsync(GetAiTaskArgs args, InvokeOptions? opts = null)
public static Output<GetAiTaskResult> Invoke(GetAiTaskInvokeArgs args, InvokeOptions? opts = null)
public static Output<GetAiTaskResult> Invoke(GetAiTaskInvokeArgs args, InvokeOutputOptions opts)
}public static CompletableFuture<GetAiTaskResult> getAiTask(GetAiTaskArgs args, InvokeOptions options)
public static Output<GetAiTaskResult> getAiTask(GetAiTaskArgs args, InvokeOptions options)
public static Output<GetAiTaskResult> getAiTask(GetAiTaskArgs args, InvokeOutputOptions options)
fn::invoke:
function: filescom:index/getAiTask:getAiTask
arguments:
# arguments dictionarydata "filescom_get_ai_task" "name" {
# arguments
}The following arguments are supported:
- Id int
- AI Task ID.
- Id int
- AI Task ID.
- id number
- AI Task ID.
- id Integer
- AI Task ID.
- id number
- AI Task ID.
- id int
- AI Task ID.
- id Number
- AI Task ID.
getAiTask Result
The following output properties are available:
- Created
At string - Creation time.
- Description string
- AI Task description.
- Disabled bool
- If true, this AI Task will not run.
- Holiday
Region string - Optional holiday region used by the AI Task schedule.
- Human
Readable stringSchedule - Human-readable schedule description.
- Id int
- AI Task ID.
- Interval string
- If trigger is
daily, this specifies how often to run the AI Task. - Last
Run stringAt - Most recent successful invocation time.
- Master
Admin intUser Id - Master User ID used for AI Task invocations.
- Name string
- AI Task name.
- Path string
- Path scope used for action-triggered AI Tasks. This must be slash-delimited, but it must neither start nor end with a slash. Maximum of 5000 characters.
- Permission
Set string - Permissions used by the internal API key for this AI Task. Valid values are
fullandfilesOnly. - Prompt string
- Prompt sent when this AI Task is invoked.
- Recurring
Day int - If trigger is
daily, this selects the day number inside the chosen interval. - Recurring
Days List<int> - If trigger is
daily, this selects one or more day numbers inside aweek,month,quarter, oryearinterval. - Schedule
Days List<int>Of Weeks - If trigger is
customSchedule, the 0-based weekdays used by the schedule. - Schedule
Id int - If trigger is
customSchedule, the reusable Schedule used instead of the AI Task's schedule fields. - Schedule
Time stringZone - Time zone used by the AI Task schedule.
- Schedule
Times List<string>Of Days - Times of day in HH:MM format for the AI Task schedule.
- Source string
- Source glob used with
pathfor action-triggered AI Tasks. - Trigger string
- How this AI Task is triggered.
- Trigger
Actions List<string> - If trigger is
action, the file action types that invoke this AI Task. Valid actions are create, copy, move, archived_delete, update, read, destroy. - Updated
At string - Last update time.
- Workspace
Id int - Workspace ID.
0means the default workspace.
- Created
At string - Creation time.
- Description string
- AI Task description.
- Disabled bool
- If true, this AI Task will not run.
- Holiday
Region string - Optional holiday region used by the AI Task schedule.
- Human
Readable stringSchedule - Human-readable schedule description.
- Id int
- AI Task ID.
- Interval string
- If trigger is
daily, this specifies how often to run the AI Task. - Last
Run stringAt - Most recent successful invocation time.
- Master
Admin intUser Id - Master User ID used for AI Task invocations.
- Name string
- AI Task name.
- Path string
- Path scope used for action-triggered AI Tasks. This must be slash-delimited, but it must neither start nor end with a slash. Maximum of 5000 characters.
- Permission
Set string - Permissions used by the internal API key for this AI Task. Valid values are
fullandfilesOnly. - Prompt string
- Prompt sent when this AI Task is invoked.
- Recurring
Day int - If trigger is
daily, this selects the day number inside the chosen interval. - Recurring
Days []int - If trigger is
daily, this selects one or more day numbers inside aweek,month,quarter, oryearinterval. - Schedule
Days []intOf Weeks - If trigger is
customSchedule, the 0-based weekdays used by the schedule. - Schedule
Id int - If trigger is
customSchedule, the reusable Schedule used instead of the AI Task's schedule fields. - Schedule
Time stringZone - Time zone used by the AI Task schedule.
- Schedule
Times []stringOf Days - Times of day in HH:MM format for the AI Task schedule.
- Source string
- Source glob used with
pathfor action-triggered AI Tasks. - Trigger string
- How this AI Task is triggered.
- Trigger
Actions []string - If trigger is
action, the file action types that invoke this AI Task. Valid actions are create, copy, move, archived_delete, update, read, destroy. - Updated
At string - Last update time.
- Workspace
Id int - Workspace ID.
0means the default workspace.
- created_
at string - Creation time.
- description string
- AI Task description.
- disabled bool
- If true, this AI Task will not run.
- holiday_
region string - Optional holiday region used by the AI Task schedule.
- human_
readable_ stringschedule - Human-readable schedule description.
- id number
- AI Task ID.
- interval string
- If trigger is
daily, this specifies how often to run the AI Task. - last_
run_ stringat - Most recent successful invocation time.
- master_
admin_ numberuser_ id - Master User ID used for AI Task invocations.
- name string
- AI Task name.
- path string
- Path scope used for action-triggered AI Tasks. This must be slash-delimited, but it must neither start nor end with a slash. Maximum of 5000 characters.
- permission_
set string - Permissions used by the internal API key for this AI Task. Valid values are
fullandfilesOnly. - prompt string
- Prompt sent when this AI Task is invoked.
- recurring_
day number - If trigger is
daily, this selects the day number inside the chosen interval. - recurring_
days list(number) - If trigger is
daily, this selects one or more day numbers inside aweek,month,quarter, oryearinterval. - schedule_
days_ list(number)of_ weeks - If trigger is
customSchedule, the 0-based weekdays used by the schedule. - schedule_
id number - If trigger is
customSchedule, the reusable Schedule used instead of the AI Task's schedule fields. - schedule_
time_ stringzone - Time zone used by the AI Task schedule.
- schedule_
times_ list(string)of_ days - Times of day in HH:MM format for the AI Task schedule.
- source string
- Source glob used with
pathfor action-triggered AI Tasks. - trigger string
- How this AI Task is triggered.
- trigger_
actions list(string) - If trigger is
action, the file action types that invoke this AI Task. Valid actions are create, copy, move, archived_delete, update, read, destroy. - updated_
at string - Last update time.
- workspace_
id number - Workspace ID.
0means the default workspace.
- created
At String - Creation time.
- description String
- AI Task description.
- disabled Boolean
- If true, this AI Task will not run.
- holiday
Region String - Optional holiday region used by the AI Task schedule.
- human
Readable StringSchedule - Human-readable schedule description.
- id Integer
- AI Task ID.
- interval String
- If trigger is
daily, this specifies how often to run the AI Task. - last
Run StringAt - Most recent successful invocation time.
- master
Admin IntegerUser Id - Master User ID used for AI Task invocations.
- name String
- AI Task name.
- path String
- Path scope used for action-triggered AI Tasks. This must be slash-delimited, but it must neither start nor end with a slash. Maximum of 5000 characters.
- permission
Set String - Permissions used by the internal API key for this AI Task. Valid values are
fullandfilesOnly. - prompt String
- Prompt sent when this AI Task is invoked.
- recurring
Day Integer - If trigger is
daily, this selects the day number inside the chosen interval. - recurring
Days List<Integer> - If trigger is
daily, this selects one or more day numbers inside aweek,month,quarter, oryearinterval. - schedule
Days List<Integer>Of Weeks - If trigger is
customSchedule, the 0-based weekdays used by the schedule. - schedule
Id Integer - If trigger is
customSchedule, the reusable Schedule used instead of the AI Task's schedule fields. - schedule
Time StringZone - Time zone used by the AI Task schedule.
- schedule
Times List<String>Of Days - Times of day in HH:MM format for the AI Task schedule.
- source String
- Source glob used with
pathfor action-triggered AI Tasks. - trigger String
- How this AI Task is triggered.
- trigger
Actions List<String> - If trigger is
action, the file action types that invoke this AI Task. Valid actions are create, copy, move, archived_delete, update, read, destroy. - updated
At String - Last update time.
- workspace
Id Integer - Workspace ID.
0means the default workspace.
- created
At string - Creation time.
- description string
- AI Task description.
- disabled boolean
- If true, this AI Task will not run.
- holiday
Region string - Optional holiday region used by the AI Task schedule.
- human
Readable stringSchedule - Human-readable schedule description.
- id number
- AI Task ID.
- interval string
- If trigger is
daily, this specifies how often to run the AI Task. - last
Run stringAt - Most recent successful invocation time.
- master
Admin numberUser Id - Master User ID used for AI Task invocations.
- name string
- AI Task name.
- path string
- Path scope used for action-triggered AI Tasks. This must be slash-delimited, but it must neither start nor end with a slash. Maximum of 5000 characters.
- permission
Set string - Permissions used by the internal API key for this AI Task. Valid values are
fullandfilesOnly. - prompt string
- Prompt sent when this AI Task is invoked.
- recurring
Day number - If trigger is
daily, this selects the day number inside the chosen interval. - recurring
Days number[] - If trigger is
daily, this selects one or more day numbers inside aweek,month,quarter, oryearinterval. - schedule
Days number[]Of Weeks - If trigger is
customSchedule, the 0-based weekdays used by the schedule. - schedule
Id number - If trigger is
customSchedule, the reusable Schedule used instead of the AI Task's schedule fields. - schedule
Time stringZone - Time zone used by the AI Task schedule.
- schedule
Times string[]Of Days - Times of day in HH:MM format for the AI Task schedule.
- source string
- Source glob used with
pathfor action-triggered AI Tasks. - trigger string
- How this AI Task is triggered.
- trigger
Actions string[] - If trigger is
action, the file action types that invoke this AI Task. Valid actions are create, copy, move, archived_delete, update, read, destroy. - updated
At string - Last update time.
- workspace
Id number - Workspace ID.
0means the default workspace.
- created_
at str - Creation time.
- description str
- AI Task description.
- disabled bool
- If true, this AI Task will not run.
- holiday_
region str - Optional holiday region used by the AI Task schedule.
- human_
readable_ strschedule - Human-readable schedule description.
- id int
- AI Task ID.
- interval str
- If trigger is
daily, this specifies how often to run the AI Task. - last_
run_ strat - Most recent successful invocation time.
- master_
admin_ intuser_ id - Master User ID used for AI Task invocations.
- name str
- AI Task name.
- path str
- Path scope used for action-triggered AI Tasks. This must be slash-delimited, but it must neither start nor end with a slash. Maximum of 5000 characters.
- permission_
set str - Permissions used by the internal API key for this AI Task. Valid values are
fullandfilesOnly. - prompt str
- Prompt sent when this AI Task is invoked.
- recurring_
day int - If trigger is
daily, this selects the day number inside the chosen interval. - recurring_
days Sequence[int] - If trigger is
daily, this selects one or more day numbers inside aweek,month,quarter, oryearinterval. - schedule_
days_ Sequence[int]of_ weeks - If trigger is
customSchedule, the 0-based weekdays used by the schedule. - schedule_
id int - If trigger is
customSchedule, the reusable Schedule used instead of the AI Task's schedule fields. - schedule_
time_ strzone - Time zone used by the AI Task schedule.
- schedule_
times_ Sequence[str]of_ days - Times of day in HH:MM format for the AI Task schedule.
- source str
- Source glob used with
pathfor action-triggered AI Tasks. - trigger str
- How this AI Task is triggered.
- trigger_
actions Sequence[str] - If trigger is
action, the file action types that invoke this AI Task. Valid actions are create, copy, move, archived_delete, update, read, destroy. - updated_
at str - Last update time.
- workspace_
id int - Workspace ID.
0means the default workspace.
- created
At String - Creation time.
- description String
- AI Task description.
- disabled Boolean
- If true, this AI Task will not run.
- holiday
Region String - Optional holiday region used by the AI Task schedule.
- human
Readable StringSchedule - Human-readable schedule description.
- id Number
- AI Task ID.
- interval String
- If trigger is
daily, this specifies how often to run the AI Task. - last
Run StringAt - Most recent successful invocation time.
- master
Admin NumberUser Id - Master User ID used for AI Task invocations.
- name String
- AI Task name.
- path String
- Path scope used for action-triggered AI Tasks. This must be slash-delimited, but it must neither start nor end with a slash. Maximum of 5000 characters.
- permission
Set String - Permissions used by the internal API key for this AI Task. Valid values are
fullandfilesOnly. - prompt String
- Prompt sent when this AI Task is invoked.
- recurring
Day Number - If trigger is
daily, this selects the day number inside the chosen interval. - recurring
Days List<Number> - If trigger is
daily, this selects one or more day numbers inside aweek,month,quarter, oryearinterval. - schedule
Days List<Number>Of Weeks - If trigger is
customSchedule, the 0-based weekdays used by the schedule. - schedule
Id Number - If trigger is
customSchedule, the reusable Schedule used instead of the AI Task's schedule fields. - schedule
Time StringZone - Time zone used by the AI Task schedule.
- schedule
Times List<String>Of Days - Times of day in HH:MM format for the AI Task schedule.
- source String
- Source glob used with
pathfor action-triggered AI Tasks. - trigger String
- How this AI Task is triggered.
- trigger
Actions List<String> - If trigger is
action, the file action types that invoke this AI Task. Valid actions are create, copy, move, archived_delete, update, read, destroy. - updated
At String - Last update time.
- workspace
Id Number - Workspace ID.
0means the default workspace.
Package Details
- Repository
- filescom jschady/pulumi-filescom
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
filescomTerraform Provider.
Viewing docs for Files.com v0.1.1
published on Thursday, Aug 20, 2026 by jschady
published on Thursday, Aug 20, 2026 by jschady