Skip to content

AiExecution

Type: Object

Represents a single, live instance of an AI team working on a specific problem. When you ask an AI 'Team' to do something—like 'generate a quote for this customer's book order'—an 'Execution' is created. This resource is the master record for that entire process. It tracks the overall status (e.g., running, completed, failed), holds the initial inputs (the customer's requirements), and aggregates the final results. It serves as the container for all the individual 'Tasks' that the AI agents will perform, providing a complete audit trail and high-level view of the automated workflow from start to finish.

Fields

NameTypeArgsDescriptionDeprecated
completedAtDateTimeWhen the execution completed (successfully or with failure)
createdAtDateTime!When the execution was created
errorMessageStringError message if the execution failed
facts[AiFact!]!filter: AiFactFilterInput
limit: Int
offset: Int
sort: [AiFactSortInput]
idID!
metadataJsonStringAdditional metadata for the execution
paramsJsonString!Input parameters for this execution (variables for template interpolation)
resultsJsonStringResults from each task in the execution, keyed by task ID
startedAtDateTimeWhen the execution started
stateString!The current state of the execution: pending, running, completed, failed, or cancelled
tasks[AiTask!]!filter: AiTaskFilterInput
limit: Int
offset: Int
sort: [AiTaskSortInput]
teamAiTeam!
teamIdID!
updatedAtDateTime!When the execution was last updated

Relationships

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