Brume · Docs
API

Starter actions

Suggested starter actions.

GET
/api/workspaces/{workspace_id}/starter-action-groups

Path Parameters

workspace_id*string

Response Body

application/json

application/json

curl -X GET "https://example.com/api/workspaces/string/starter-action-groups"
[  {    "icon": "string",    "id": "string",    "label": "string",    "position": 0  }]
POST
/api/workspaces/{workspace_id}/starter-action-groups

Create a group; requires permission to manage workspace starter actions.

Path Parameters

workspace_id*string

Request Body

application/json

TypeScript Definitions

Use the request body type in TypeScript.

Response Body

application/json

application/json

curl -X POST "https://example.com/api/workspaces/string/starter-action-groups" \  -H "Content-Type: application/json" \  -d '{    "label": "string"  }'
{  "icon": "string",  "id": "string",  "label": "string",  "position": 0}
PATCH
/api/workspaces/{workspace_id}/starter-action-groups/{group_id}

Update a group; requires permission to manage workspace starter actions.

Path Parameters

workspace_id*string
group_id*string

Request Body

application/json

TypeScript Definitions

Use the request body type in TypeScript.

Response Body

application/json

application/json

curl -X PATCH "https://example.com/api/workspaces/string/starter-action-groups/string" \  -H "Content-Type: application/json" \  -d '{}'
{  "icon": "string",  "id": "string",  "label": "string",  "position": 0}
DELETE
/api/workspaces/{workspace_id}/starter-action-groups/{group_id}

Delete a group and ungroup its actions; requires starter-action management permission.

Path Parameters

workspace_id*string
group_id*string

Response Body

application/json

curl -X DELETE "https://example.com/api/workspaces/string/starter-action-groups/string"
Empty
GET
/api/workspaces/{workspace_id}/starter-actions

Return custom actions when present, otherwise derive actions from allowed skills.

Path Parameters

workspace_id*string

Response Body

application/json

application/json

curl -X GET "https://example.com/api/workspaces/string/starter-actions"
[  {    "description": "string",    "group_id": "string",    "id": "string",    "is_custom": true,    "label": "string",    "position": 0,    "prompt": "string",    "skill_active": true,    "skill_dir_name": "string"  }]
POST
/api/workspaces/{workspace_id}/starter-actions

Create a starter action; requires permission to manage workspace starter actions.

Path Parameters

workspace_id*string

Request Body

application/json

TypeScript Definitions

Use the request body type in TypeScript.

Response Body

application/json

application/json

curl -X POST "https://example.com/api/workspaces/string/starter-actions" \  -H "Content-Type: application/json" \  -d '{    "label": "string",    "prompt": "string"  }'
{  "description": "string",  "group_id": "string",  "id": "string",  "is_custom": true,  "label": "string",  "position": 0,  "prompt": "string",  "skill_active": true,  "skill_dir_name": "string"}
GET
/api/workspaces/{workspace_id}/starter-actions/available-skills

List skills usable in this workspace, with their slash command.

Used by the admin UI to populate the skill picker on a starter action. Includes both system skills and tenant-pool (custom) skills, and honors inherited whitelists for private workspaces.

Path Parameters

workspace_id*string

Response Body

application/json

application/json

curl -X GET "https://example.com/api/workspaces/string/starter-actions/available-skills"
[  {    "dir_name": "string",    "name": "string",    "slash": "string"  }]
PATCH
/api/workspaces/{workspace_id}/starter-actions/{action_id}

Update a starter action; requires permission to manage workspace starter actions.

Path Parameters

workspace_id*string
action_id*string

Request Body

application/json

TypeScript Definitions

Use the request body type in TypeScript.

Response Body

application/json

application/json

curl -X PATCH "https://example.com/api/workspaces/string/starter-actions/string" \  -H "Content-Type: application/json" \  -d '{}'
{  "description": "string",  "group_id": "string",  "id": "string",  "is_custom": true,  "label": "string",  "position": 0,  "prompt": "string",  "skill_active": true,  "skill_dir_name": "string"}
DELETE
/api/workspaces/{workspace_id}/starter-actions/{action_id}

Delete a starter action; requires permission to manage workspace starter actions.

Path Parameters

workspace_id*string
action_id*string

Response Body

application/json

curl -X DELETE "https://example.com/api/workspaces/string/starter-actions/string"
Empty