🤖 New in SPACE GASS 14.51 — the MCP server lets your AI agent build, analyse and design your models. Get started →
SpaceGass API
SPACE GASS API

Structural nodes


Get List

GET
/api/v1
/job/structure/nodes

Returns all items with optional filtering, pagination and sub-resource expansion. Results are always sorted by Id ascending. Pagination metadata is returned in response headers (Total-Count, Offset, Limit). Expand defaults to none on list endpoints so payloads stay lean; pass Expand=all to hydrate sub-resources. Sub-resource expansion is opt-in per resource type — resources that don't define sub-resources ignore the parameter.

Get List › query Parameters

nodes
​string

Node Ids to filter by, in SG list format (e.g. "1,5-10,15"). Omit to return all nodes.

Example: 1,5-10,15
nodeType
​NodeTypeFilter · enum

Filter by node type (e.g., Restrained). Default is All.

Filters nodes by type (e.g., restrained only).

Enum values:
All
Restrained
offset
​integer · int32 · min: 0 · max: 2147483647

Number of items to skip from the start of the result set. Default is 0.

limit
​integer · int32 · min: 1 · max: 2147483647

Maximum number of items to return. Default is null (return all).

expand
​ExpandOption · enum

Sub-resource expansion. Defaults to none; pass all to hydrate sub-resources.

Controls sub-resource hydration on entity GET endpoints. Shared across every resource that supports expansion — a given resource's metadata (expandable) lists which sub-resources All hydrates.

Enum values:
None
All

Get List › Responses

OK

​Node[]
DTO for a single node in the structure Only includes non-hidden fields from the SPACEGASS node definition
id
​integer · int32 · min: 1 · max: 2147483647 · required

Primary identifier - must be unique, no duplicates allowed. Range: 1 to int.MaxValue

Example: 1
x
​number · double · required

X coordinate. Unit: Length (see GET /job/units).

y
​number · double · required

Y coordinate. Unit: Length (see GET /job/units).

z
​number · double · required

Z coordinate. Unit: Length (see GET /job/units).

hasConstraint
​boolean

True when this node is the slave side of a master-slave constraint. A node can be the slave of at most one constraint. Use ?expand=all to include the full constraint object.

hasRestraint
​boolean

True when this node has an explicit restraint row defined. False means the node uses default restraints (all DOFs free, no spring stiffness).

​NodeConstraint

DTO for reading a node constraint (master-slave constraint). Defines a kinematic relationship between a slave node and a master node. The slave node's degrees of freedom are tied to the master node according to the constraint code. Top-level entity attribute keyed on the slave node — each node can be a slave in at most one constraint.

​NodeRestraint

DTO for reading a node restraint. Restraints define boundary conditions at nodes (fixed, released, spring, etc.) using a 6-character restraint code (FRSVPN). Top-level entity attribute keyed on the parent node.


Create

POST
/api/v1
/job/structure/nodes

Creates a new item. If a validator is registered, the item is validated before creation. The response is fully hydrated — indicators, sub-resources and computed fields are populated the same way as a single-item GET with its default expand=all.

Create › Request Body

DTO for creating a new node Node number may be auto-assigned if not provided
id
​integer | null · int32 · min: 1 · max: 2147483647

Primary identifier - must be unique, no duplicates allowed. Optional - will be auto-assigned to next available number if not provided. If provided, must not already exist in the model.

Example: 1
x
​number · double

X coordinate. Unit: Length (see GET /job/units).

y
​number · double

Y coordinate. Unit: Length (see GET /job/units).

z
​number · double

Z coordinate. Unit: Length (see GET /job/units).

Create › Responses

Created

DTO for a single node in the structure Only includes non-hidden fields from the SPACEGASS node definition
id
​integer · int32 · min: 1 · max: 2147483647 · required

Primary identifier - must be unique, no duplicates allowed. Range: 1 to int.MaxValue

Example: 1
x
​number · double · required

X coordinate. Unit: Length (see GET /job/units).

y
​number · double · required

Y coordinate. Unit: Length (see GET /job/units).

z
​number · double · required

Z coordinate. Unit: Length (see GET /job/units).

hasConstraint
​boolean

True when this node is the slave side of a master-slave constraint. A node can be the slave of at most one constraint. Use ?expand=all to include the full constraint object.

hasRestraint
​boolean

True when this node has an explicit restraint row defined. False means the node uses default restraints (all DOFs free, no spring stiffness).

​NodeConstraint

DTO for reading a node constraint (master-slave constraint). Defines a kinematic relationship between a slave node and a master node. The slave node's degrees of freedom are tied to the master node according to the constraint code. Top-level entity attribute keyed on the slave node — each node can be a slave in at most one constraint.

​NodeRestraint

DTO for reading a node restraint. Restraints define boundary conditions at nodes (fixed, released, spring, etc.) using a 6-character restraint code (FRSVPN). Top-level entity attribute keyed on the parent node.


Get by Id

GET
/api/v1
/job/structure/nodes/{id}

Expand defaults to all on the single-item endpoint; pass Expand=none to suppress sub-resource hydration. Sub-resource expansion is opt-in per resource type — resources that don't define sub-resources ignore the parameter.

Get by Id › path Parameters

id
​integer · int32 · required

The entity Id

Get by Id › query Parameters

expand
​ExpandOption · enum

Sub-resource expansion. Defaults to all; pass none to suppress sub-resource hydration.

Controls sub-resource hydration on entity GET endpoints. Shared across every resource that supports expansion — a given resource's metadata (expandable) lists which sub-resources All hydrates.

Enum values:
None
All

Get by Id › Responses

OK

DTO for a single node in the structure Only includes non-hidden fields from the SPACEGASS node definition
id
​integer · int32 · min: 1 · max: 2147483647 · required

Primary identifier - must be unique, no duplicates allowed. Range: 1 to int.MaxValue

Example: 1
x
​number · double · required

X coordinate. Unit: Length (see GET /job/units).

y
​number · double · required

Y coordinate. Unit: Length (see GET /job/units).

z
​number · double · required

Z coordinate. Unit: Length (see GET /job/units).

hasConstraint
​boolean

True when this node is the slave side of a master-slave constraint. A node can be the slave of at most one constraint. Use ?expand=all to include the full constraint object.

hasRestraint
​boolean

True when this node has an explicit restraint row defined. False means the node uses default restraints (all DOFs free, no spring stiffness).

​NodeConstraint

DTO for reading a node constraint (master-slave constraint). Defines a kinematic relationship between a slave node and a master node. The slave node's degrees of freedom are tied to the master node according to the constraint code. Top-level entity attribute keyed on the slave node — each node can be a slave in at most one constraint.

​NodeRestraint

DTO for reading a node restraint. Restraints define boundary conditions at nodes (fixed, released, spring, etc.) using a 6-character restraint code (FRSVPN). Top-level entity attribute keyed on the parent node.


Update

PATCH
/api/v1
/job/structure/nodes/{id}

Updates an existing item. If a validator is registered, the update is validated first.

Update › path Parameters

id
​integer · int32 · required

The entity Id

Update › Request Body

DTO for updating an existing node. All coordinate fields are optional to support partial updates. Id is inherited from EntityUpdateBaseDto - nullable because single updates receive the Id from the route, while bulk updates include it in the body.
id
​integer | null · int32 · min: 1 · max: 2147483647

Primary identifier of the entity to update. Optional for single updates (Id comes from route), required for bulk updates.

Example: 1
x
​number | null · double

X coordinate. Unit: Length (see GET /job/units).

y
​number | null · double

Y coordinate. Unit: Length (see GET /job/units).

z
​number | null · double

Z coordinate. Unit: Length (see GET /job/units).

Update › Responses

OK

DTO for a single node in the structure Only includes non-hidden fields from the SPACEGASS node definition
id
​integer · int32 · min: 1 · max: 2147483647 · required

Primary identifier - must be unique, no duplicates allowed. Range: 1 to int.MaxValue

Example: 1
x
​number · double · required

X coordinate. Unit: Length (see GET /job/units).

y
​number · double · required

Y coordinate. Unit: Length (see GET /job/units).

z
​number · double · required

Z coordinate. Unit: Length (see GET /job/units).

hasConstraint
​boolean

True when this node is the slave side of a master-slave constraint. A node can be the slave of at most one constraint. Use ?expand=all to include the full constraint object.

hasRestraint
​boolean

True when this node has an explicit restraint row defined. False means the node uses default restraints (all DOFs free, no spring stiffness).

​NodeConstraint

DTO for reading a node constraint (master-slave constraint). Defines a kinematic relationship between a slave node and a master node. The slave node's degrees of freedom are tied to the master node according to the constraint code. Top-level entity attribute keyed on the slave node — each node can be a slave in at most one constraint.

​NodeRestraint

DTO for reading a node restraint. Restraints define boundary conditions at nodes (fixed, released, spring, etc.) using a 6-character restraint code (FRSVPN). Top-level entity attribute keyed on the parent node.


Delete

DELETE
/api/v1
/job/structure/nodes/{id}

Deletes the entity with the supplied Id. Returns 404 if no entity with that Id exists.

For entities whose delete cascades (Nodes, Members, Plates), returns 200 with a SpaceGassApi.Models.Dtos.Entity.DeleteResultDto listing every row removed — the entity itself, child rows that referenced it (loads, restraints, offsets, plate cuts, …), any nodes left disconnected by the removal, and the steel member groups that went with them. Notes and dimensions attached to the removed items are removed from the job settings too, but are not listed; if those settings cannot be saved, the response carries a warning instead. Cleanup is best-effort and not atomic: if it fails part-way, the request fails and some of the removals may already have been made.

For all other entities, returns 204 No Content and removes only the entity's own row.

Delete › path Parameters

id
​integer · int32 · required

The entity Id

Delete › Responses

OK

Summary of a cascade delete: everything removed when a Node, Member, or Plate was deleted — the entity itself plus every child row that referenced it and any nodes transitively orphaned by the removal. Only entity types that actually had rows removed are present; the rest are omitted. Notes and dimensions attached to removed items are removed from the job settings but not listed.
nodes
​array | null

Ids of nodes removed (the requested node(s) plus any orphaned by member/plate removal).

members
​array | null

Ids of members removed because one of their end nodes was deleted.

plates
​array | null

Ids of plates removed because one of their corner nodes was deleted.

nodeRestraints
​array | null

Node Ids whose restraint row was removed.

nodeConstraints
​array | null

Slave-node Ids of constraint rows removed (a constraint is dropped if either its slave or master node is deleted).

memberOffsets
​array | null

Member Ids whose offset row was removed.

plateCuts
​array | null

Ids of plate cuts removed (a cut references two plates and two nodes).

plateStrips
​array | null

Ids of plate strips removed (a strip references two plates and two nodes).

​array | null

Composite keys (case + node) of node loads removed.

​array | null

Composite keys (case + node) of prescribed displacements removed.

​array | null

Composite keys (case + node) of lumped mass loads removed.

​array | null

Composite keys (case + member + subLoad) of member concentrated loads removed.

​array | null

Composite keys (case + member + subLoad) of member distributed loads removed.

​array | null

Composite keys (case + member + subLoad) of member distributed moments removed.

​array | null

Composite keys (case + member) of member prestress loads removed.

​array | null

Composite keys (case + plate) of plate pressure loads removed.

​array | null

Composite keys (case + element + elementType) of thermal loads removed.

steelMembers
​array | null

Ids of steel member design groups removed (a group goes whole when any listed member is deleted).

membersDirectionReset
​array | null

Ids of surviving members whose direction reference pointed at a deleted node and was therefore reverted to the default orientation (angle 0). These members were not removed.

platesDirectionReset
​array | null

Ids of surviving plates whose direction reference pointed at a deleted node and was therefore reverted to the default orientation (angle 0). These plates were not removed.

warnings
​array | null

Cleanup that was skipped; the removed lists contain only completed removals.

totalRemoved
​integer · int32

Total number of rows removed across all entity types.


Get by Location

GET
/api/v1
/job/structure/nodes/exists

Checks if a node exists within a given tolerance of the specified coordinates. Returns the first matching node found within the Euclidean distance tolerance.

Get by Location › query Parameters

x
​number · double

X coordinate to search near

y
​number · double

Y coordinate to search near

z
​number · double

Z coordinate to search near

tolerance
​number · double

Maximum Euclidean distance to consider a match

Get by Location › Responses

Returns the matching node

DTO for a single node in the structure Only includes non-hidden fields from the SPACEGASS node definition
id
​integer · int32 · min: 1 · max: 2147483647 · required

Primary identifier - must be unique, no duplicates allowed. Range: 1 to int.MaxValue

Example: 1
x
​number · double · required

X coordinate. Unit: Length (see GET /job/units).

y
​number · double · required

Y coordinate. Unit: Length (see GET /job/units).

z
​number · double · required

Z coordinate. Unit: Length (see GET /job/units).

hasConstraint
​boolean

True when this node is the slave side of a master-slave constraint. A node can be the slave of at most one constraint. Use ?expand=all to include the full constraint object.

hasRestraint
​boolean

True when this node has an explicit restraint row defined. False means the node uses default restraints (all DOFs free, no spring stiffness).

​NodeConstraint

DTO for reading a node constraint (master-slave constraint). Defines a kinematic relationship between a slave node and a master node. The slave node's degrees of freedom are tied to the master node according to the constraint code. Top-level entity attribute keyed on the slave node — each node can be a slave in at most one constraint.

​NodeRestraint

DTO for reading a node restraint. Restraints define boundary conditions at nodes (fixed, released, spring, etc.) using a 6-character restraint code (FRSVPN). Top-level entity attribute keyed on the parent node.


Get Metadata

GET
/api/v1
/job/structure/nodes/metadata

Returns the resource metadata document — field schema, data types, units resolved against current job units, allowed values for enum fields, and validation bounds. Clients use this to drive UI, form validation, and schema introspection.

Get Metadata › Responses

OK

Metadata describing an API resource — entity, sub-resource, or result set. Returned from `GET …/metadata` endpoints so clients can introspect the shape, units, and valid values of the data without hitting a live endpoint.
resourceType
​string | null

Resource type identifier — e.g. "Members", "NodeLoads", "StaticResults".

Example: Members
count
​integer | null · int32

Current count of items in this resource. Null for sub-resources whose count does not apply uniformly.

maxId
​integer | null · int32

Maximum Id currently in use (single-int Id entities only).

nextId
​integer | null · int32

Next available Id (single-int Id entities only).

​array | null

Field definitions describing the resource's wire shape. Each entry corresponds to a property on the read DTO; jsonName matches the JSON key clients see. On a results endpoint each field also says whether sort and distinctBy accept it and which value-filter parameters apply to it.


Next Id

GET
/api/v1
/job/structure/nodes/next

Gets the next available (unused) Id for this entity type.

Next Id › query Parameters

start
​integer · int32

The Id value to start searching from (inclusive). Defaults to 1.

Default: 1

Next Id › Responses

OK

integer · int32

Create Bulk

POST
/api/v1
/job/structure/nodes/bulk

Creates multiple items in a bulk operation. If a validator is registered, all items are validated upfront before any are created.

Create Bulk › query Parameters

continueOnError
​boolean

Whether to continue processing after individual failures

Default: false

Create Bulk › Request Body

​NodeCreate[]
DTO for creating a new node Node number may be auto-assigned if not provided
id
​integer | null · int32 · min: 1 · max: 2147483647

Primary identifier - must be unique, no duplicates allowed. Optional - will be auto-assigned to next available number if not provided. If provided, must not already exist in the model.

Example: 1
x
​number · double

X coordinate. Unit: Length (see GET /job/units).

y
​number · double

Y coordinate. Unit: Length (see GET /job/units).

z
​number · double

Z coordinate. Unit: Length (see GET /job/units).

Create Bulk › Responses

OK

Result of a bulk operation.
​array | null

Successfully processed items.

​array | null

Errors from failed items.

errorsTruncated
​boolean

True when the bulk operation stopped accumulating errors after reaching SpaceGassApi.Models.Dtos.Entity.BulkResultDto`1.ErrorMessageCap. Further failures may exist beyond what is reported.


Update Bulk

PATCH
/api/v1
/job/structure/nodes/bulk

Updates multiple items in a bulk operation. Each item must include its Id in the request body. If a validator is registered, all items are validated upfront before any are updated.

Update Bulk › query Parameters

continueOnError
​boolean

Whether to continue processing after individual failures

Default: false

Update Bulk › Request Body

​NodeUpdate[]
DTO for updating an existing node. All coordinate fields are optional to support partial updates. Id is inherited from EntityUpdateBaseDto - nullable because single updates receive the Id from the route, while bulk updates include it in the body.
id
​integer | null · int32 · min: 1 · max: 2147483647

Primary identifier of the entity to update. Optional for single updates (Id comes from route), required for bulk updates.

Example: 1
x
​number | null · double

X coordinate. Unit: Length (see GET /job/units).

y
​number | null · double

Y coordinate. Unit: Length (see GET /job/units).

z
​number | null · double

Z coordinate. Unit: Length (see GET /job/units).

Update Bulk › Responses

OK

Result of a bulk operation.
​array | null

Successfully processed items.

​array | null

Errors from failed items.

errorsTruncated
​boolean

True when the bulk operation stopped accumulating errors after reaching SpaceGassApi.Models.Dtos.Entity.BulkResultDto`1.ErrorMessageCap. Further failures may exist beyond what is reported.


Delete Bulk

DELETE
/api/v1
/job/structure/nodes/bulk

Deletes multiple entities by Id. The body is a JSON array of integer Ids (e.g. [1, 5, 10]).

For cascading entities (Nodes, Members, Plates), continueOnError governs only the per-Id existence pre-check: a missing Id is reported and, when false, aborts the batch. The cleanup for the whole batch then runs once. It is best-effort and not atomic: if it fails part-way, the request fails and some of the removals may already have been made.

For Nodes, Members and Plates the response also has removed: the batch's cascade, in the shape a single delete returns.

Delete Bulk › query Parameters

continueOnError
​boolean

Whether to continue on error

Default: false

Delete Bulk › Request Body

​integer[]

Delete Bulk › Responses

Returns a bulk result whose succeeded entries each carry the deleted Id.

Bulk delete result for nodes, members and plates, plus the batch's cascade.
​array | null

Successfully processed items.

​array | null

Errors from failed items.

errorsTruncated
​boolean

True when the bulk operation stopped accumulating errors after reaching SpaceGassApi.Models.Dtos.Entity.BulkResultDto`1.ErrorMessageCap. Further failures may exist beyond what is reported.

​DeleteResult

Summary of a cascade delete: everything removed when a Node, Member, or Plate was deleted — the entity itself plus every child row that referenced it and any nodes transitively orphaned by the removal. Only entity types that actually had rows removed are present; the rest are omitted. Notes and dimensions attached to removed items are removed from the job settings but not listed.


Match Positions

POST
/api/v1
/job/structure/nodes/match

Finds the node in the job at each of a list of positions, so geometry can be built by position without creating a node on top of an existing one. For each position the response gives the nearest node closer than the tolerance, or none. A position with no node that repeats an earlier position in the same request is reported against that earlier position, so creating one node for each position that is null in both node and sameAs adds no coincident nodes. A position matches here exactly when the SPACE GASS Clean Up tool would merge a node at it with the same tolerance. Writes nothing.

Match Positions › Request Body

Positions to match against the nodes in the job.
​Point3D[] · required

The positions to match, in order.

tolerance
​number | null · double

Distance within which a position matches a node: a node matches when it is closer than this.

Example: 0.001

Match Positions › Responses

Returns the match for each position

The node at each requested position.
​array | null

One entry per requested position, in request order.

tolerance
​number · double

The tolerance the positions were matched with: the one supplied, or the default.

Example: 0.001
​NodeMatchSummary

Counts of the match outcomes. existing + new + repeated is the number of positions.