Code0 LogoCodeZero

Flow

Represents a flow

Fields without arguments

NameTypeDescription
createdAtTime!Time when this Flow was created
disabledReasonFlowDisabledReasonThe reason why the flow is disabled, if it is disabled
executionResultsExecutionResultConnection!Execution results of the flow
idFlowID!Global ID of this Flow
linkedDataTypesDataTypeConnection!The data types that are referenced in this flow
nameString!Name of the flow
nodesNodeFunctionConnection!Nodes of the flow
projectNamespaceProject!The project the flow belongs to
settingsFlowSettingConnection!The settings of the flow
signatureString!The signature of the flow
startingNodeIdNodeFunctionIDThe ID of the starting node of the flow
typeFlowType!The flow type of the flow
updatedAtTime!Time when this Flow was last updated
userAbilitiesFlowUserAbilities!Abilities for the current user on this Flow
validationDiagnostics[FlowValidationDiagnostic!]!The latest validation diagnostics of the flow
validationStatusFlowValidationStatus!The validation status of the flow

Fields with arguments

aiUsage

AI generation usage of this flow, bucketed by day, week or month

Returns [UsageBucket!]!.

NameTypeDescription
afterDateISO8601Date!Start of the usage range (inclusive)
aggregationUsageAggregationGranularity to bucket usage into
beforeDateISO8601Date!End of the usage range (inclusive)

executionResult

Find an execution result by runtime identifier

Returns ExecutionResult.

NameTypeDescription
executionIdentifierString!Runtime identifier of the execution result

runtimeUsage

Execution usage of this flow, bucketed by day, week or month

Returns [UsageBucket!]!.

NameTypeDescription
afterDateISO8601Date!Start of the usage range (inclusive)
aggregationUsageAggregationGranularity to bucket usage into
beforeDateISO8601Date!End of the usage range (inclusive)

On this page