/v1/workspaces/{workspace_slug}/policies/actions/catalogAuthList every known workspace action (catalog of statement actions).
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
actions*arrayEvery known workspace action across all enabled service catalogs.
Example
Request
GET https://api.platform-auth.productcraft.co/v1/workspaces/{workspace_slug}/policies/actions/catalog
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 workspaceActionCatalog = await platform.workspaces.policies.actions.catalog("acme");platform.workspaces.policies.actions.catalog(workspaceSlug, options?): PlatformAuth.WorkspaceActionCatalog
Response
{
"actions": [
"string"
]
}