SnozeDevelopers
API referenceDatabases

List a database's buttons

Returns the buttons defined on the database in display order, each with the action it runs, its input bindings, the placements it appears in (record, row, or toolbar), its optional visibility formula and its confirmation prompt. Requires the `databases:read` permission.

GET
/v1/workspaces/{workspaceId}/databases/{databaseId}/buttons
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
databaseId*string

Response Body

application/json

application/json

application/json

curl -X GET "https://example.com/v1/workspaces/string/databases/string/buttons"
{  "data": [    {      "id": "string",      "workspaceId": "string",      "databaseId": "string",      "label": "string",      "icon": "string",      "variant": "primary",      "actionId": "string",      "bindings": [        {          "inputPath": "string",          "source": "record_id"        }      ],      "confirmation": {        "title": "string",        "body": "string",        "confirmLabel": "string"      },      "placements": [        "record"      ],      "visibleWhen": "string",      "enabled": true,      "order": 0,      "createdAt": "string",      "updatedAt": "string"    }  ]}