bot_scope_bindings
Creates, updates, deletes, gets or lists a bot_scope_bindings resource.
Overview​
| Name | bot_scope_bindings |
| Type | Resource |
| Id | railway.account.bot_scope_bindings |
Fields​
The following fields are returned by SELECT queries:
- list
One row per BotScopeBindingInfo.
| Name | Datatype | Description |
|---|---|---|
id | string | |
scope_id | string | |
workspace_id | string | |
scope_name | string | |
workspace_name | string | |
can_remove | boolean | |
platform | string | |
scope_type | string |
Methods​
The following methods are available for this resource:
| Name | Accessible by | Required Params | Optional Params | Description |
|---|---|---|---|---|
list | select | Railway agent chat bindings (Slack/Discord scope → workspace) across the caller's workspaces. Backed by the Railway GraphQL query botScopeBindings. | ||
remove | delete | id | Remove a Railway agent chat binding. Requires admin on the binding's workspace. Backed by the Railway GraphQL mutation botScopeBindingRemove. |
Parameters​
Parameters can be passed in the WHERE clause of a query. Check the Methods section to see which parameters are required or optional for each operation.
| Name | Datatype | Description |
|---|---|---|
id | string |
SELECT examples​
- list
Railway agent chat bindings (Slack/Discord scope → workspace) across the caller's workspaces. Backed by the Railway GraphQL query botScopeBindings.
SELECT
id,
scope_id,
workspace_id,
scope_name,
workspace_name,
can_remove,
platform,
scope_type
FROM railway.account.bot_scope_bindings
;
DELETE examples​
- remove
Remove a Railway agent chat binding. Requires admin on the binding's workspace. Backed by the Railway GraphQL mutation botScopeBindingRemove.
DELETE FROM railway.account.bot_scope_bindings
WHERE
id = '{{ id }}' --required
;