๐Ÿค– 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

Section-library catalogues โ€” browse and search the installed standard/custom section libraries (values in each library's native units)


List Libraries

GET
/api/v1
/libraries/sections

Returns the installed standard and custom libraries, sorted by name, each with its group list (section libraries list their groups in scan-code order). Only section libraries have groups; for every other type the group list is empty.

List Libraries โ€บ Responses

Returns the libraries

โ€‹Library[]
One installed library: its name and description, where it came from, and the groups it contains.
name
โ€‹string | null

The library name โ€” the identity every other library endpoint and the job-side create endpoints accept.

Example: Aust300
description
โ€‹string | null

The library's descriptive title.

Example: Australian Standard Sections (Grade 300)
origin
โ€‹LibraryOriginย ยทย enum

Where a library came from: shipped with SPACE GASS, or created locally.

Enum values:
Standard
Custom
โ€‹array | null

The library's groups, in scan-code order.


Get Library

GET
/api/v1
/libraries/sections/{library}

Returns one installed library with its group list.

"search" is a reserved path segment on this route: a library of that name is reachable through the library list and its own items route, but not here.

Get Library โ€บ path Parameters

library
โ€‹stringย ยทย required

The library name (case-insensitive)

Get Library โ€บ Responses

Returns the library

One installed library: its name and description, where it came from, and the groups it contains.
name
โ€‹string | null

The library name โ€” the identity every other library endpoint and the job-side create endpoints accept.

Example: Aust300
description
โ€‹string | null

The library's descriptive title.

Example: Australian Standard Sections (Grade 300)
origin
โ€‹LibraryOriginย ยทย enum

Where a library came from: shipped with SPACE GASS, or created locally.

Enum values:
Standard
Custom
โ€‹array | null

The library's groups, in scan-code order.


List Item Names

GET
/api/v1
/libraries/sections/{library}/items

Returns the sections in one library, in library order.

List Item Names โ€บ path Parameters

library
โ€‹stringย ยทย required

The library name (case-insensitive)

List Item Names โ€บ query Parameters

group
โ€‹string

Optional group name (case-insensitive). Only sections in that group are returned; an unmatched group returns an empty list. Omit to cover every group

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).

List Item Names โ€บ Responses

Returns the sections

One library item: its name plus the library and group it belongs to. This is the identity the job-side create endpoints accept.
library
โ€‹string | null

The library the item belongs to.

Example: Aust300
group
โ€‹string | null

The group the item belongs to.

Example: Universal beams
name
โ€‹string | null

The item's name as stored in the library.

Example: 310UB40.4
availability
โ€‹LibraryAvailabilityย ยทย enum

Commercial availability of a library section โ€” whether it is still produced.

Enum values:
Common
Special
Legacy
Obsolete

Search Items

GET
/api/v1
/libraries/sections/search

Searches section names across the section libraries, case-insensitively and ignoring separator characters, with typo tolerance. Returns a summary of the outcome (total matches, strongest match type) plus the matching items, strongest match first. Among equally strong matches, items from the default library (see GET /job/settings/default-libraries) rank first. Omit q to list names instead of searching: every section in scope is returned in library order.

Search Items โ€บ query Parameters

q
โ€‹string

The search text. Omit to list every section in scope

library
โ€‹string

Optional library name (case-insensitive). Only that library is searched; omit to cover every library of the type

group
โ€‹string

Optional group name (case-insensitive). Only sections in that group are included; an unmatched group returns an empty result. Omit to cover every group

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).

Search Items โ€บ Responses

Returns the search result

The result of a library search: a summary of the outcome plus the matching items, strongest match first.
โ€‹LibrarySearchSummary

Describes the outcome of one library search.

โ€‹array | null

The matching items, strongest match first โ€” or, when the request had no search text, every item in scope in library order.