Skip to content

AiTaskTemplate

Type: Object

A reusable blueprint for a single, well-defined piece of work that an AI agent can perform. In the context of a print factory, complex processes are broken down into smaller, repeatable steps. This resource defines what one of those steps looks like. For example, a 'Preflight Artwork' task template would define the instructions, expected inputs (like a PDF file), and expected outputs (like a list of errors or an 'approved' status) for that specific job. These templates are the building blocks of an AI 'Team's' workflow, allowing you to construct complex, automated processes from a library of standardized, reusable components.

Fields

NameTypeArgsDescriptionDeprecated
agentAiAgent!The agent assigned to this task template
agentIdID!
contextTemplateStringTemplate for additional context to provide to the agent, supports placeholders
createdAtDateTime!When the task template was created
dependsOn[AiTaskTemplate!]!filter: AiTaskTemplateFilterInput
limit: Int
offset: Int
sort: [AiTaskTemplateSortInput]
descriptionString!Template description with placeholders like that will be interpolated at execution time
expectedOutputStringDescription of expected output format for this task
idID!
metadataJsonStringAdditional metadata for the task template
nameString!The name of the task template
outputJsonSchemaJsonStringJSON Schema for structured output. When provided, the task will use JSON mode with this schema to ensure the agent returns valid JSON matching the schema
positionIntOrder within the team workflow (lower numbers execute first in sequential mode)
priorityIntTask priority (higher numbers = higher priority)
teamAiTeam!
teamIdID!
updatedAtDateTime!When the task template was last updated

Relationships

Connect. Combine. Collaborate.
The pioneering open integration platform, dedicated to transforming connectivity in the printing industry.