v4
latestSwagger 2.02026-08-0343714211.7 MBList Ai Tasks
List Ai Tasks
Query parameters
Used for pagination. When a list request has more records available, cursors are provided in the response headers X-Files-Cursor-Next and X-Files-Cursor-Prev. Send one of those cursor value here to resume an existing list from the next available record. Note: many of our SDKs have iterator methods that will automatically handle cursor-based pagination.
Number of records to show per page. (Max: 10000, 1,000 or less is recommended).
If set, sort records by the specified field in either asc or desc direction. Valid fields are workspace_id, id, disabled or updated_at.
If set, return records where the specified field is equal to the supplied value. Valid fields are disabled, trigger or workspace_id. Valid field combinations are [ workspace_id, disabled ].
Response
A list of AiTasks objects.
Example response
[
{
"id": 1,
"name": "Summarize daily reports",
"description": "Summarizes files uploaded by the accounting team.",
"prompt": "Summarize the uploaded file and identify follow-up actions.",
"permission_set": "files_only",
"path": "incoming/reports",
"source": "*.pdf",
"disabled": true,
"trigger": "daily",
"trigger_actions": [
"create"
],
"interval": "day",
"recurring_day": 1,
"schedule_days_of_week": [
1,
3,
5
],
"schedule_times_of_day": [
"06:30"
],
"schedule_time_zone": "Eastern Time (US & Canada)",
"holiday_region": "us",
"human_readable_schedule": "Runs every day at 06:30 AM UTC TZ.",
"last_run_at": "2000-01-01T01:00:00Z",
"master_admin_user_id": 1,
"created_at": "2000-01-01T01:00:00Z",
"updated_at": "2000-01-01T01:00:00Z"
}
]