/v1/workspaces/{workspace_slug}/servicesAuthList services activated on this workspace. Complete — one row per product, not paginated.
Path parameters
workspace_slug*stringSlug of the workspace. Platform routes name the workspace by slug, positionally in the SDK (`platform.workspaces.retrieve("acme")`); the product APIs bind `workspace_id` instead.
Response · 200
data*arrayEvery product service and its state in this workspace.
Example
Request
GET https://api.platform-auth.productcraft.co/v1/workspaces/{workspace_slug}/services
Authorization: Bearer YOUR_TOKENimport { PlatformAuth } from "@productcraft/platform-auth";
// Reads PRODUCTCRAFT_API_KEY from the environment; administration
// calls take a person's session: { auth: { type: "bearer", token } }
const platform = new PlatformAuth();
const listWorkspaceServices = await platform.workspaces.services.list("acme");platform.workspaces.services.list(workspaceSlug, options?): PlatformAuth.ListWorkspaceServices
Response
{
"data": [
{
"workspace_id": "00000000-0000-0000-0000-000000000000",
"service": "mail",
"enabled": false,
"enabled_at": "2026-01-01T00:00:00.000Z",
"enabled_by": "00000000-0000-0000-0000-000000000000",
"disabled_at": "2026-01-01T00:00:00.000Z",
"disabled_by": "00000000-0000-0000-0000-000000000000",
"settings": {},
"prelaunch": false
}
]
}