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

API service information and version details


Get Access Mode

GET
/api/v1
/service/access-mode

Returns the current access mode, the modes available to switch to, and any pending transition. Always reachable โ€” works while unregistered, unlicensed, or in ReadOnly. When licensed, readWriteAvailability says whether a ReadWrite seat can be had (Available, AllSeatsInUse, NotLicensed, Expired or Unknown); omitted when the API is unlicensed. The explanation in words comes only with a refusal: the 409 from a failed switch (detail) or from a write in ReadOnly (extensions.readWriteAvailabilityReason).

Get Access Mode โ€บ Responses

Returns the current access mode

Service status โ€” what the API can do right now: the current access mode, the access modes available to switch to, and any pending transition.
accessMode
โ€‹AccessModeย ยทย enum

Current operational mode of the API.

Enum values:
ReadWrite
ReadOnly
NoAccess
availableAccessModes
โ€‹array | null

The access modes the API can currently operate in โ€” i.e. which targets POST /service/access-mode can be expected to accept.

Enum values:
ReadWrite
ReadOnly
NoAccess
Example: ["ReadOnly","ReadWrite"]
pendingAccessMode
โ€‹AccessModeย ยทย enum

Current operational mode of the API.

Enum values:
ReadWrite
ReadOnly
NoAccess
reasonIfAccessModePending
โ€‹string | null

Human-readable explanation of the pending access-mode transition (e.g. "Job open โ€” release on close").

Example: Job open โ€” release on close
readWriteAvailability
โ€‹ReadWriteAvailabilityย ยทย enum

Whether this licence can give the API a ReadWrite seat, and if not, why. Computed by SpaceGassApi.Licensing.LicenseState.ReadWriteAvailability; surfaced on GET /service/access-mode and on the 409 responses that refuse a write or a switch to ReadWrite. The System.ComponentModel.DescriptionAttribute is the short label for metadata and docs; the sentence for the user lives in SpaceGassApi.Licensing.ReadWriteAvailabilityText.

Enum values:
Available
AllSeatsInUse
NotLicensed
Expired
Unknown

Set Access Mode

POST
/api/v1
/service/access-mode

Transitions the API between ReadWrite and ReadOnly. When switching to ReadOnly with a job open, the transition is queued and returns 202 โ€” the switch commits when the job closes. When switching to ReadWrite the API attempts to re-acquire MODULE_API_ID; a failure returns 409 and leaves the access mode unchanged. The 409 errorCode says why: API_MODULE_NOT_LICENSED (the API module is not in the licence), API_SEAT_UNAVAILABLE (every API seat is in use), MAINTENANCE_EXPIRED or VERSION_OUT_OF_DATE (the API licence has expired or does not cover this version), or READONLY_MODE when the cause could not be determined. For the first four, extensions carries the current access status (accessMode, availableAccessModes, readWriteAvailability); detail is the explanation.

Set Access Mode โ€บ Request Body

Request body for `POST /service/access-mode`.
accessMode
โ€‹AccessModeย ยทย enumย ยทย required

Current operational mode of the API.

Enum values:
ReadWrite
ReadOnly
NoAccess

Set Access Mode โ€บ Responses

Access mode transitioned successfully; returns the updated access mode

Service status โ€” what the API can do right now: the current access mode, the access modes available to switch to, and any pending transition.
accessMode
โ€‹AccessModeย ยทย enum

Current operational mode of the API.

Enum values:
ReadWrite
ReadOnly
NoAccess
availableAccessModes
โ€‹array | null

The access modes the API can currently operate in โ€” i.e. which targets POST /service/access-mode can be expected to accept.

Enum values:
ReadWrite
ReadOnly
NoAccess
Example: ["ReadOnly","ReadWrite"]
pendingAccessMode
โ€‹AccessModeย ยทย enum

Current operational mode of the API.

Enum values:
ReadWrite
ReadOnly
NoAccess
reasonIfAccessModePending
โ€‹string | null

Human-readable explanation of the pending access-mode transition (e.g. "Job open โ€” release on close").

Example: Job open โ€” release on close
readWriteAvailability
โ€‹ReadWriteAvailabilityย ยทย enum

Whether this licence can give the API a ReadWrite seat, and if not, why. Computed by SpaceGassApi.Licensing.LicenseState.ReadWriteAvailability; surfaced on GET /service/access-mode and on the 409 responses that refuse a write or a switch to ReadWrite. The System.ComponentModel.DescriptionAttribute is the short label for metadata and docs; the sentence for the user lives in SpaceGassApi.Licensing.ReadWriteAvailabilityText.

Enum values:
Available
AllSeatsInUse
NotLicensed
Expired
Unknown

Get Service Info

GET
/api/v1
/service/info

Returns static identity information about the API instance โ€” its base URL and the SPACE GASS version. Always reachable, including while unregistered or unlicensed.

Get Service Info โ€บ Responses

Returns the service info

Static identity information about the API instance โ€” its base URL and the SPACE GASS version.
apiPath
โ€‹string | null

The API base URL (scheme, host, and path base).

Example: http://localhost:34560/api
spaceGassVersion
โ€‹string | null

SPACE GASS version number in format "X.XX.XXXX (ProgramType)".

Example: 14.50.96 (Commercial)