SnozeDevelopers
API referenceActions

List the actions available in a given context

Returns the enabled actions that apply to one context - pass the workspace item `kind` and, when they exist, its `itemId` and `targetId` - combining derived system actions with the workspace's own enabled actions. Requires the `actions:read` permission in the workspace.

GET
/v1/workspaces/{workspaceId}/available-actions
AuthorizationBearer <token>

Workspace API key created in Workspace settings → API keys. Scopes on the key bound what it can read and write.

In: header

Path Parameters

workspaceId*string

Query Parameters

kind*string

Value in

  • "folder"
  • "page"
  • "note"
  • "dashboard"
  • "canvas"
  • "view"
  • "form"
  • "database"
  • "file"
  • "data_source"
  • "action"
  • "automation"
  • "external_resource"
  • "calendar"
itemId?string|null
targetId?string|null

Response Body

application/json

application/json

application/json

curl -X GET "https://example.com/v1/workspaces/string/available-actions?kind=folder"
{  "data": [    {      "id": "string",      "label": "string",      "icon": "string",      "group": "string",      "requiresConfirmation": true,      "target": {        "kind": "folder",        "id": "string"      },      "connectorOperation": {        "kind": "connector_operation",        "connector": "string",        "operation": "string",        "inputFields": [          {            "name": "string",            "label": "string",            "required": true,            "type": "text",            "options": [              {                "value": "string",                "label": "string"              }            ],            "secret": true,            "placeholder": "string"          }        ],        "connectionId": "string",        "connectionLabel": "string"      },      "itemAction": {        "key": "save_as_template",        "itemId": "string"      }    }  ]}