Skip to content

List the module catalog with this workspace's state

GET
/workspace/modules
Code sample: Shell / cURL
curl --request GET \
--url https://example.com/api/v1/workspace/modules \
--header 'Authorization: Bearer <token>'

Returns every module the application ships, each with the state in force for the active workspace. A module with no stored override reports the catalog default and overridden: false — the registry is never backfilled, so a workspace that has changed nothing still gets the full list. Requires settings.manage.

The module catalog with effective state.

Media typeapplication/json
object
data
required
Array<object>

A module the application ships, plus its effective state for this workspace.

object
code
required
string
defaultEnabled
required
boolean
dependsOn
required
Array<string>
description
required
string
enabled
required
boolean
name
required
string
overridden
required
boolean
toggleable
required
boolean
meta
required

Pagination metadata for list responses.

object
page
required
integer
>= -9007199254740991 <= 9007199254740991
perPage
required
integer
>= -9007199254740991 <= 9007199254740991
total
required
integer
>= -9007199254740991 <= 9007199254740991
totalPages
required
integer
>= -9007199254740991 <= 9007199254740991

Example generated

{
"data": [
{
"code": "example",
"defaultEnabled": true,
"dependsOn": [
"example"
],
"description": "example",
"enabled": true,
"name": "example",
"overridden": true,
"toggleable": true
}
],
"meta": {
"page": 1,
"perPage": 1,
"total": 1,
"totalPages": 1
}
}

Unauthorized.

Media typeapplication/json

Standard error envelope.

object
error
required
object
code
required

Stable machine-readable error code.

string
message
required

Human-readable error message.

string
status
required

HTTP status code, mirrored in the body.

integer
>= -9007199254740991 <= 9007199254740991

Example

{
"error": {
"code": "UNAUTHORIZED"
}
}

Forbidden.

Media typeapplication/json

Standard error envelope.

object
error
required
object
code
required

Stable machine-readable error code.

string
message
required

Human-readable error message.

string
status
required

HTTP status code, mirrored in the body.

integer
>= -9007199254740991 <= 9007199254740991

Example

{
"error": {
"code": "UNAUTHORIZED"
}
}

Rate limit exceeded. Wait for Retry-After before retrying.

Media typeapplication/json

Standard error envelope.

object
error
required
object
code
required

Stable machine-readable error code.

string
message
required

Human-readable error message.

string
status
required

HTTP status code, mirrored in the body.

integer
>= -9007199254740991 <= 9007199254740991

Example

{
"error": {
"code": "UNAUTHORIZED"
}
}
RateLimit-Limit
string
/^\d+$/

Maximum requests in the current quota window.

RateLimit-Policy
string

Quota policy in requests and window seconds, for example 60;w=60.

RateLimit-Remaining
string
/^\d+$/

Requests left in this quota window (zero when blocked).

RateLimit-Reset
string
/^\d+$/

Seconds until the current quota window resets, when available from the rate-limit store.

Retry-After
string
/^\d+$/

Seconds until another request may be attempted.