Input Types
Input types for mutations and complex queries.
Types
| Type | Description |
|---|---|
EdgeAddition | |
EdgeFilter | GraphQL input type for filtering edges. |
EdgeLayersExpr | Restricts edge evaluation to one or more layers and applies a nested EdgeFilter. |
EdgeSortBy | |
EdgesViewCollection | |
EdgeTimeExpr | Restricts edge evaluation to a single time bound and applies a nested EdgeFilter. |
EdgeUnaryExpr | Applies a unary edge-view operation and then evaluates a nested EdgeFilter. |
EdgeViewCollection | |
EdgeWindowExpr | Restricts edge evaluation to a time window and applies a nested EdgeFilter. |
EmbeddingModel | |
GraphFilter | GraphQL input type for restricting a graph view. |
GraphLayersExpr | Graph view restriction by layer membership, optionally chaining another GraphFilter. |
GraphTimeExpr | Graph view restriction to a single time bound, optionally chaining another GraphFilter. |
GraphUnaryExpr | Graph view restriction that takes only a nested expression. |
GraphViewCollection | |
GraphWindowExpr | Graph view restriction to a time window, optionally chaining another GraphFilter. |
IndexSpecInput | |
InputEdge | |
NodeAddition | |
NodeFieldCondition | Boolean expression over a built-in node field (ID, name, or type). |
NodeFieldFilterNew | Filters a built-in node field (id, name, type) using a NodeFieldCondition. |
NodeFilter | GraphQL input type for filtering nodes. |
NodeLayersExpr | Restricts node evaluation to one or more layers and applies a nested NodeFilter. |
NodeSortBy | |
NodesViewCollection | |
NodeTimeExpr | Restricts node evaluation to a single time bound and applies a nested NodeFilter. |
NodeUnaryExpr | Applies a unary node-view operation and then evaluates a nested NodeFilter. |
NodeViewCollection | |
NodeWindowExpr | Restricts node evaluation to a time window and applies a nested NodeFilter. |
ObjectEntry | |
OpenAIConfig | |
PathFromNodeViewCollection | |
PropCondition | Boolean expression over a property value. |
PropertyFilterNew | Filters an entity property or metadata field by name and condition. |
PropertyInput | |
PropsInput | |
SomePropertySpec | SomePropertySpec object containing lists of metadata and property names. |
Template | |
TemporalPropertyInput | |
Value | |
VectorisedGraphWindow | |
Window | |
WindowDuration |
Type Details
EdgeAddition
Fields
| Field | Type | Description |
|---|---|---|
src | String! | Source node. |
dst | String! | Destination node. |
layer | String | Layer. |
metadata | [PropertyInput!] | Metadata. |
updates | [TemporalPropertyInput!] |
EdgeFilter
GraphQL input type for filtering edges.
EdgeFilter represents a composable boolean expression evaluated
against edges in a graph. Filters can target:
- edge endpoints (source / destination nodes),
- edge properties and metadata,
- temporal scope (windows, snapshots, latest),
- layer membership,
- and structural edge state (active, valid, deleted, self-loop).
Filters can be combined recursively using logical operators
(And, Or, Not).
Examples (GraphQL):
Fields
| Field | Type | Description |
|---|---|---|
src | NodeFilter | Applies a filter to the source node of the edge. |
The nested NodeFilter is evaluated against the source endpoint.
Example:
\{ Src: \{ Name: \{ contains: "alice" \} \} \} |
| dst | NodeFilter | Applies a filter to the destination node of the edge.
The nested NodeFilter is evaluated against the destination endpoint.
Example:
\{ Dst: \{ Id: \{ eq: 42 \} \} \} |
| property | PropertyFilterNew | Filters an edge property by name and value.
Applies to static or temporal properties depending on context.
Example:
\{ Property: \{ name: "weight", gt: 0.5 \} \} |
| metadata | PropertyFilterNew | Filters an edge metadata field.
Metadata is shared across all temporal versions of an edge.
Example:
\{ Metadata: \{ name: "source", eq: "imported" \} \} |
| temporalProperty | PropertyFilterNew | Filters a temporal edge property.
Used when the property value varies over time and must be evaluated within a temporal context.
Example:
\{ TemporalProperty: \{ name: "status", eq: "active" \} \} |
| and | [EdgeFilter!] | Logical AND over multiple edge filters.
All nested filters must evaluate to true.
Example:
\{ And: [ \{ IsActive: true \}, \{ IsValid: true \} ] \} |
| or | [EdgeFilter!] | Logical OR over multiple edge filters.
At least one nested filter must evaluate to true.
Example:
\{ Or: [ \{ IsDeleted: true \}, \{ IsSelfLoop: true \} ] \} |
| not | EdgeFilter | Logical NOT over a nested edge filter.
Negates the result of the wrapped filter.
Example:
\{ Not: \{ IsDeleted: true \} \} |
| window | EdgeWindowExpr | Restricts edge evaluation to a time window.
The window is inclusive of start and exclusive of end. |
| at | EdgeTimeExpr | Restricts edge evaluation to a single point in time. |
| before | EdgeTimeExpr | Restricts edge evaluation to times strictly before a given time. |
| after | EdgeTimeExpr | Restricts edge evaluation to times strictly after a given time. |
| latest | EdgeUnaryExpr | Evaluates edge predicates against the latest available state. |
| snapshotAt | EdgeTimeExpr | Evaluates edge predicates against a snapshot of the graph
at a specific time. |
| snapshotLatest | EdgeUnaryExpr | Evaluates edge predicates against the most recent snapshot
of the graph. |
| layers | EdgeLayersExpr | Restricts evaluation to edges belonging to one or more layers.
Example:
\{ Layers: \{ values: ["fire_nation", "air_nomads"] \} \} |
| isActive | Boolean | Matches edges that have at least one event in the current view/window.
When true, only active edges are matched. |
| isValid | Boolean | Matches edges that are structurally valid (i.e. not deleted)
in the current view/window. |
| isDeleted | Boolean | Matches edges that have been deleted in the current view/window. |
| isSelfLoop | Boolean | Matches edges that are self-loops
(source node == destination node). |
EdgeLayersExpr
Restricts edge evaluation to one or more layers and applies a nested EdgeFilter.
Used by GqlEdgeFilter::Layers.
Fields
| Field | Type | Description |
|---|---|---|
names | [String!]! | Layer names to include. |
expr | EdgeFilter! | Filter evaluated within the layer-restricted view. |
EdgeSortBy
Fields
| Field | Type | Description |
|---|---|---|
reverse | Boolean | Reverse order |
src | Boolean | Source node |
dst | Boolean | Destination |
time | SortByTime | Time |
property | String | Property |
EdgesViewCollection
Fields
| Field | Type | Description |
|---|---|---|
defaultLayer | Boolean | Contains only the default layer. |
latest | Boolean | Latest time. |
snapshotLatest | Boolean | Snapshot at latest time. |
snapshotAt | TimeInput | Snapshot at specified time. |
layers | [String!] | List of included layers. |
excludeLayers | [String!] | List of excluded layers. |
excludeLayer | String | Single excluded layer. |
window | Window | Window between a start and end time. |
at | TimeInput | View at a specified time. |
before | TimeInput | View before a specified time (end exclusive). |
after | TimeInput | View after a specified time (start exclusive). |
shrinkWindow | Window | Shrink a Window to a specified start and end time. |
shrinkStart | TimeInput | Set the window start to a specified time. |
shrinkEnd | TimeInput | Set the window end to a specified time. |
edgeFilter | EdgeFilter | Edge filter |
EdgeTimeExpr
Restricts edge evaluation to a single time bound and applies a nested EdgeFilter.
Used by At, Before, and After edge filters.
Fields
| Field | Type | Description |
|---|---|---|
time | TimeInput! | Reference time for the operation. |
expr | EdgeFilter! | Filter evaluated within the restricted time scope. |
EdgeUnaryExpr
Applies a unary edge-view operation and then evaluates a nested EdgeFilter.
Used by Latest and SnapshotLatest edge filters.
Fields
| Field | Type | Description |
|---|---|---|
expr | EdgeFilter! | Filter evaluated after applying the unary operation. |
EdgeViewCollection
Fields
| Field | Type | Description |
|---|---|---|
defaultLayer | Boolean | Contains only the default layer. |
latest | Boolean | Latest time. |
snapshotLatest | Boolean | Snapshot at latest time. |
snapshotAt | TimeInput | Snapshot at specified time. |
layers | [String!] | List of included layers. |
excludeLayers | [String!] | List of excluded layers. |
excludeLayer | String | Single excluded layer. |
window | Window | Window between a start and end time. |
at | TimeInput | View at a specified time. |
before | TimeInput | View before a specified time (end exclusive). |
after | TimeInput | View after a specified time (start exclusive). |
shrinkWindow | Window | Shrink a Window to a specified start and end time. |
shrinkStart | TimeInput | Set the window start to a specified time. |
shrinkEnd | TimeInput | Set the window end to a specified time. |
edgeFilter | EdgeFilter | Edge filter |
EdgeWindowExpr
Restricts edge evaluation to a time window and applies a nested EdgeFilter.
Used by GqlEdgeFilter::Window.
The window is inclusive of start and exclusive of end.
Fields
| Field | Type | Description |
|---|---|---|
start | TimeInput! | Window start time (inclusive). |
end | TimeInput! | Window end time (exclusive). |
expr | EdgeFilter! | Filter evaluated within the restricted window. |
EmbeddingModel
Fields
| Field | Type | Description |
|---|---|---|
openAI | OpenAIConfig | OpenAI embedding models or compatible providers |
GraphFilter
GraphQL input type for restricting a graph view.
GraphFilter controls the evaluation scope for subsequent node/edge filters:
- time windows (
Window) - time points (
At) - open-ended ranges (
Before,After) - latest evaluation (
Latest) - snapshots (
SnapshotAt,SnapshotLatest) - layer membership (
Layers)
These filters can be nested via the expr field on the corresponding
*Expr input objects to form pipelines.
Fields
| Field | Type | Description |
|---|---|---|
window | GraphWindowExpr | Restrict evaluation to a time window (inclusive start, exclusive end). |
at | GraphTimeExpr | Restrict evaluation to a single point in time. |
before | GraphTimeExpr | Restrict evaluation to times strictly before the given time. |
after | GraphTimeExpr | Restrict evaluation to times strictly after the given time. |
latest | GraphUnaryExpr | Evaluate against the latest available state. |
snapshotAt | GraphTimeExpr | Evaluate against a snapshot of the graph at a given time. |
snapshotLatest | GraphUnaryExpr | Evaluate against the most recent snapshot of the graph. |
layers | GraphLayersExpr | Restrict evaluation to one or more layers. |
GraphLayersExpr
Graph view restriction by layer membership, optionally chaining another GraphFilter.
Used by GqlGraphFilter::Layers.
Fields
| Field | Type | Description |
|---|---|---|
names | [String!]! | Layer names to include. |
expr | GraphFilter | Optional nested filter applied after the layer restriction. |
GraphTimeExpr
Graph view restriction to a single time bound, optionally chaining another GraphFilter.
Used by At, Before, and After graph filters.
Example:
\{ At: \{ time: 5, expr: \{ Layers: \{ names: ["L1"] \} \} \} \}
Fields
| Field | Type | Description |
|---|---|---|
time | TimeInput! | Reference time for the operation. |
expr | GraphFilter | Optional nested filter applied after the time restriction. |
GraphUnaryExpr
Graph view restriction that takes only a nested expression.
Used for unary view operations like Latest and SnapshotLatest.
Fields
| Field | Type | Description |
|---|---|---|
expr | GraphFilter | Optional nested filter applied after the unary operation. |
GraphViewCollection
Fields
| Field | Type | Description |
|---|---|---|
defaultLayer | Boolean | Contains only the default layer. |
layers | [String!] | List of included layers. |
excludeLayers | [String!] | List of excluded layers. |
excludeLayer | String | Single excluded layer. |
subgraph | [String!] | Subgraph nodes. |
subgraphNodeTypes | [String!] | Subgraph node types. |
excludeNodes | [String!] | List of excluded nodes. |
valid | Boolean | Valid state. |
window | Window | Window between a start and end time. |
at | TimeInput | View at a specified time. |
latest | Boolean | View at the latest time. |
snapshotAt | TimeInput | Snapshot at specified time. |
snapshotLatest | Boolean | Snapshot at latest time. |
before | TimeInput | View before a specified time (end exclusive). |
after | TimeInput | View after a specified time (start exclusive). |
shrinkWindow | Window | Shrink a Window to a specified start and end time. |
shrinkStart | TimeInput | Set the window start to a specified time. |
shrinkEnd | TimeInput | Set the window end to a specified time. |
nodeFilter | NodeFilter | Node filter. |
edgeFilter | EdgeFilter | Edge filter. |
GraphWindowExpr
Graph view restriction to a time window, optionally chaining another GraphFilter.
Used by GqlGraphFilter::Window.
startandenddefine the window (inclusive start, exclusive end).exproptionally nests another graph filter to apply within this window.
Example (GraphQL):
Fields
| Field | Type | Description |
|---|---|---|
start | TimeInput! | Window start time (inclusive). |
end | TimeInput! | Window end time (exclusive). |
expr | GraphFilter | Optional nested filter applied after the window restriction. |
IndexSpecInput
Fields
| Field | Type | Description |
|---|---|---|
nodeProps | PropsInput! | Node properties. |
edgeProps | PropsInput! | Edge properties. |
InputEdge
Fields
NodeAddition
Fields
| Field | Type | Description |
|---|---|---|
name | String! | Name. |
nodeType | String | Node type. |
metadata | [PropertyInput!] | Metadata. |
updates | [TemporalPropertyInput!] | Updates. |
NodeFieldCondition
Boolean expression over a built-in node field (ID, name, or type).
This is used by NodeFieldFilterNew.where_ when filtering a specific
NodeField.
Supports comparisons, string predicates, and set membership. (Presence checks and aggregations are handled via property filters instead.)
Fields
| Field | Type | Description |
|---|---|---|
eq | Value | Equality. |
ne | Value | Inequality. |
gt | Value | Greater-than. |
ge | Value | Greater-than-or-equal. |
lt | Value | Less-than. |
le | Value | Less-than-or-equal. |
startsWith | Value | String prefix match. |
endsWith | Value | String suffix match. |
contains | Value | Substring match. |
notContains | Value | Negated substring match. |
isIn | Value | Set membership. |
isNotIn | Value | Negated set membership. |
NodeFieldFilterNew
Filters a built-in node field (id, name, type) using a NodeFieldCondition.
Example (GraphQL):
Fields
| Field | Type | Description |
|---|---|---|
field | NodeField! | Which built-in field to filter. |
where | NodeFieldCondition! | Condition applied to the selected field. |
Exposed as where in GraphQL. |
NodeFilter
GraphQL input type for filtering nodes.
NodeFilter represents a composable boolean expression evaluated
against nodes in a graph. Filters can target:
- built-in node fields (
Node/NodeFieldFilterNew), - node properties and metadata,
- temporal properties,
- temporal scope (windows, snapshots, latest),
- and layer membership,
- plus node state predicates (e.g.
IsActive).
Filters can be combined recursively using logical operators
(And, Or, Not).
Fields
| Field | Type | Description |
|---|---|---|
node | NodeFieldFilterNew | Filters a built-in node field (ID, name, or type). |
property | PropertyFilterNew | Filters a node property by name and condition. |
metadata | PropertyFilterNew | Filters a node metadata field by name and condition. |
Metadata is shared across all temporal versions of a node. |
| temporalProperty | PropertyFilterNew | Filters a temporal node property by name and condition.
Used when the property value varies over time and must be evaluated
within a temporal context. |
| and | [NodeFilter!] | Logical AND over multiple node filters. |
| or | [NodeFilter!] | Logical OR over multiple node filters. |
| not | NodeFilter | Logical NOT over a nested node filter. |
| window | NodeWindowExpr | Restricts evaluation to a time window (inclusive start, exclusive end). |
| at | NodeTimeExpr | Restricts evaluation to a single point in time. |
| before | NodeTimeExpr | Restricts evaluation to times strictly before the given time. |
| after | NodeTimeExpr | Restricts evaluation to times strictly after the given time. |
| latest | NodeUnaryExpr | Evaluates predicates against the latest available node state. |
| snapshotAt | NodeTimeExpr | Evaluates predicates against a snapshot of the graph at a given time. |
| snapshotLatest | NodeUnaryExpr | Evaluates predicates against the most recent snapshot of the graph. |
| layers | NodeLayersExpr | Restricts evaluation to nodes belonging to one or more layers. |
| isActive | Boolean | Matches nodes that have at least one event in the current view/window.
When true, only active nodes are matched. |
NodeLayersExpr
Restricts node evaluation to one or more layers and applies a nested NodeFilter.
Used by GqlNodeFilter::Layers.
Fields
| Field | Type | Description |
|---|---|---|
names | [String!]! | Layer names to include. |
expr | NodeFilter! | Filter evaluated within the layer-restricted view. |
NodeSortBy
Fields
| Field | Type | Description |
|---|---|---|
reverse | Boolean | Reverse order |
id | Boolean | Unique Id |
time | SortByTime | Time |
property | String | Property |
NodesViewCollection
Fields
| Field | Type | Description |
|---|---|---|
defaultLayer | Boolean | Contains only the default layer. |
latest | Boolean | View at the latest time. |
snapshotLatest | Boolean | Snapshot at latest time. |
layers | [String!] | List of included layers. |
excludeLayers | [String!] | List of excluded layers. |
excludeLayer | String | Single excluded layer. |
window | Window | Window between a start and end time. |
at | TimeInput | View at a specified time. |
snapshotAt | TimeInput | Snapshot at specified time. |
before | TimeInput | View before a specified time (end exclusive). |
after | TimeInput | View after a specified time (start exclusive). |
shrinkWindow | Window | Shrink a Window to a specified start and end time. |
shrinkStart | TimeInput | Set the window start to a specified time. |
shrinkEnd | TimeInput | Set the window end to a specified time. |
nodeFilter | NodeFilter | Node filter. |
typeFilter | [String!] | List of types. |
NodeTimeExpr
Restricts node evaluation to a single time bound and applies a nested NodeFilter.
Used by At, Before, and After node filters.
Fields
| Field | Type | Description |
|---|---|---|
time | TimeInput! | Reference time for the operation. |
expr | NodeFilter! | Filter evaluated within the restricted time scope. |
NodeUnaryExpr
Applies a unary node-view operation and then evaluates a nested NodeFilter.
Used by Latest and SnapshotLatest node filters.
Fields
| Field | Type | Description |
|---|---|---|
expr | NodeFilter! | Filter evaluated after applying the unary operation. |
NodeViewCollection
Fields
| Field | Type | Description |
|---|---|---|
defaultLayer | Boolean | Contains only the default layer. |
latest | Boolean | View at the latest time. |
snapshotLatest | Boolean | Snapshot at latest time. |
snapshotAt | TimeInput | Snapshot at specified time. |
layers | [String!] | List of included layers. |
excludeLayers | [String!] | List of excluded layers. |
excludeLayer | String | Single excluded layer. |
window | Window | Window between a start and end time. |
at | TimeInput | View at a specified time. |
before | TimeInput | View before a specified time (end exclusive). |
after | TimeInput | View after a specified time (start exclusive). |
shrinkWindow | Window | Shrink a Window to a specified start and end time. |
shrinkStart | TimeInput | Set the window start to a specified time. |
shrinkEnd | TimeInput | Set the window end to a specified time. |
nodeFilter | NodeFilter | Node filter. |
NodeWindowExpr
Restricts node evaluation to a time window and applies a nested NodeFilter.
Used by GqlNodeFilter::Window.
The window is inclusive of start and exclusive of end.
Fields
| Field | Type | Description |
|---|---|---|
start | TimeInput! | Window start time (inclusive). |
end | TimeInput! | Window end time (exclusive). |
expr | NodeFilter! | Filter evaluated within the restricted window. |
ObjectEntry
Fields
OpenAIConfig
Fields
PathFromNodeViewCollection
Fields
| Field | Type | Description |
|---|---|---|
latest | Boolean | Latest time. |
snapshotLatest | Boolean | Latest snapshot. |
snapshotAt | TimeInput | Time. |
layers | [String!] | List of layers. |
excludeLayers | [String!] | List of excluded layers. |
excludeLayer | String | Single layer to exclude. |
window | Window | Window between a start and end time. |
at | TimeInput | View at a specified time. |
before | TimeInput | View before a specified time (end exclusive). |
after | TimeInput | View after a specified time (start exclusive). |
shrinkWindow | Window | Shrink a Window to a specified start and end time. |
shrinkStart | TimeInput | Set the window start to a specified time. |
shrinkEnd | TimeInput | Set the window end to a specified time. |
PropCondition
Boolean expression over a property value.
PropCondition is used inside PropertyFilterNew.where to describe
how a property’s value should be matched.
It supports:
- comparisons (
Eq,Gt,Le, …), - string predicates (
Contains,StartsWith, …), - set membership (
IsIn,IsNotIn), - presence checks (
IsSome,IsNone), - boolean composition (
And,Or,Not), - and list/aggregate qualifiers (
First,Sum,Len, …).
Notes:
Valueis interpreted according to the property’s type.- Aggregators/qualifiers like
SumandLenapply when the underlying property is list-like or aggregatable (depending on your engine rules).
Fields
| Field | Type | Description |
|---|---|---|
eq | Value | Equality: property value equals the given value. |
ne | Value | Inequality: property value does not equal the given value. |
gt | Value | Greater-than: property value is greater than the given value. |
ge | Value | Greater-than-or-equal: property value is >= the given value. |
lt | Value | Less-than: property value is less than the given value. |
le | Value | Less-than-or-equal: property value is <= the given value. |
startsWith | Value | String prefix match against the property's string representation. |
endsWith | Value | String suffix match against the property's string representation. |
contains | Value | Substring match against the property's string representation. |
notContains | Value | Negated substring match against the property's string representation. |
isIn | Value | Set membership: property value is contained in the given list of values. |
isNotIn | Value | Negated set membership: property value is not contained in the given list of values. |
isSome | Boolean | Presence check: property value is present (not null/missing). |
When set to true, requires the property to exist. |
| isNone | Boolean | Absence check: property value is missing / null.
When set to true, requires the property to be missing. |
| and | [PropCondition!] | Logical AND over nested conditions. |
| or | [PropCondition!] | Logical OR over nested conditions. |
| not | PropCondition | Logical NOT over a nested condition. |
| first | PropCondition | Applies the nested condition to the first element of a list-like property. |
| last | PropCondition | Applies the nested condition to the last element of a list-like property. |
| any | PropCondition | Requires that any element of a list-like property matches the nested condition. |
| all | PropCondition | Requires that all elements of a list-like property match the nested condition. |
| sum | PropCondition | Applies the nested condition to the sum of a numeric list-like property. |
| avg | PropCondition | Applies the nested condition to the average of a numeric list-like property. |
| min | PropCondition | Applies the nested condition to the minimum element of a list-like property. |
| max | PropCondition | Applies the nested condition to the maximum element of a list-like property. |
| len | PropCondition | Applies the nested condition to the length of a list-like property. |
PropertyFilterNew
Filters an entity property or metadata field by name and condition.
This input is used by both node and edge filters when targeting
a specific property key (or metadata key) and applying a PropCondition.
Fields:
name: The property key to query.where_: The condition to apply to that property’s value.
Example (GraphQL):
Fields
| Field | Type | Description |
|---|---|---|
name | String! | Property (or metadata) key. |
where | PropCondition! | Condition applied to the property value. |
Exposed as where in GraphQL. |
PropertyInput
Fields
PropsInput
Fields
| Field | Type | Description |
|---|---|---|
all | AllPropertySpec | All properties and metadata. |
some | SomePropertySpec | Some properties and metadata. |
SomePropertySpec
SomePropertySpec object containing lists of metadata and property names.
Fields
Template
Fields
TemporalPropertyInput
Fields
| Field | Type | Description |
|---|---|---|
time | Int! | Time. |
properties | [PropertyInput!] | Properties. |
Value
Fields
| Field | Type | Description |
|---|---|---|
u8 | Int | 8 bit unsigned integer. |
u16 | Int | 16 bit unsigned integer. |
u32 | Int | 32 bit unsigned integer. |
u64 | Int | 64 bit unsigned integer. |
i32 | Int | 32 bit signed integer. |
i64 | Int | 64 bit signed integer. |
f32 | Float | 32 bit float. |
f64 | Float | 64 bit float. |
str | String | String. |
bool | Boolean | Boolean. |
list | [Value!] | List. |
object | [ObjectEntry!] | Object. |
VectorisedGraphWindow
Fields
Window
Fields
WindowDuration
Fields
| Field | Type | Description |
|---|---|---|
duration | String | Duration of window period. |
Choose from: |
| epoch | Int | Time. |