πŸ€– 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

Job-level settings sub-resource (vertical axis, default libraries, etc.)


Get Settings

GET
/api/v1
/job/settings

Gets job-level settings (vertical axis, etc.) for the current job. These properties apply to the job as a whole.

Get Settings β€Ί Responses

Returns the settings

Read DTO for job-level settings. Groups configuration properties that apply to the job as a whole.
verticalAxis
​VerticalAxisΒ Β·Β enum

Vertical (gravity) axis direction for the job. Determines which global axis is treated as the vertical/gravity direction. Only YAxis and ZAxis are valid choices in SPACE GASS.

Enum values:
YAxis
ZAxis

Get Default Libraries

GET
/api/v1
/job/settings/default-libraries

Returns the default library for every library type nominated in SPACE GASS (Preferences, Default Libraries), each in its installed spelling, so a sections, materials or vehicles name can be passed straight to that type's search endpoint as its library parameter. A type is null when no default is recorded or the nominated library is not installed. The values are the API's own SPACE GASS default library names: read from SG.INI when the API starts and changed by PATCH. A default changed in the desktop (a separate process) is seen after the API restarts.

Get Default Libraries β€Ί Responses

Returns the default libraries

The default library for each library type, as nominated in SPACE GASS (Preferences, Default Libraries).
sections
​string | null

The default section library name, or null when none is available.

Example: Aust300
materials
​string | null

The default material library name, or null when none is available.

Example: Aust
vehicles
​string | null

The default vehicle (moving-load design vehicle) library name, or null when none is available.

Example: Australia
bolts
​string | null

The default bolt library name (steel connection design), or null when none is available.

Example: Metric
plates
​string | null

The default plate library name (steel connection design plate sizes), or null when none is available.

Example: Metric
welds
​string | null

The default weld library name (steel connection design), or null when none is available.

Example: Metric
spectralCurves
​string | null

The default spectral curve library name (dynamic response analysis), or null when none is available.

Example: AS1170-4 2007
reinforcingBars
​string | null

The default reinforcing bar library name (concrete design), or null when none is available.

Example: Australia

Update Default Libraries

PATCH
/api/v1
/job/settings/default-libraries

Partially updates the default library for each library type: only the names included in the request body are changed. The names are the API's own SPACE GASS default libraries; they are saved to SG.INI, so they apply to every job and survive a restart. Each name must be an installed library of its type, as in the desktop's Default Libraries dialog; it is matched without regard to case and stored in the installed spelling. A name that is not installed (including an empty one) is a 400 with code REFERENCE_NOT_FOUND on that field, and nothing is changed.

Update Default Libraries β€Ί Request Body

A partial update of the default library for each library type (`PATCH job/settings/default-libraries`).
sections
​string | null

The new default section library name.

Example: Aust300
materials
​string | null

The new default material library name.

Example: Aust
vehicles
​string | null

The new default vehicle (moving-load design vehicle) library name.

Example: Australia
bolts
​string | null

The new default bolt library name (steel connection design).

Example: Metric
plates
​string | null

The new default plate library name (steel connection design plate sizes).

Example: Metric
welds
​string | null

The new default weld library name (steel connection design).

Example: Metric
spectralCurves
​string | null

The new default spectral curve library name (dynamic response analysis).

Example: AS1170-4 2007
reinforcingBars
​string | null

The new default reinforcing bar library name (concrete design).

Example: Australia

Update Default Libraries β€Ί Responses

Returns the default libraries

The default library for each library type, as nominated in SPACE GASS (Preferences, Default Libraries).
sections
​string | null

The default section library name, or null when none is available.

Example: Aust300
materials
​string | null

The default material library name, or null when none is available.

Example: Aust
vehicles
​string | null

The default vehicle (moving-load design vehicle) library name, or null when none is available.

Example: Australia
bolts
​string | null

The default bolt library name (steel connection design), or null when none is available.

Example: Metric
plates
​string | null

The default plate library name (steel connection design plate sizes), or null when none is available.

Example: Metric
welds
​string | null

The default weld library name (steel connection design), or null when none is available.

Example: Metric
spectralCurves
​string | null

The default spectral curve library name (dynamic response analysis), or null when none is available.

Example: AS1170-4 2007
reinforcingBars
​string | null

The default reinforcing bar library name (concrete design), or null when none is available.

Example: Australia

Get Settings Metadata

GET
/api/v1
/job/settings/metadata

Returns the schema for GET /job/settings β€” field definitions with allowedValues for enum-backed fields (e.g. verticalAxis).

Get Settings Metadata β€Ί Responses

Returns the settings schema

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.