platform | ChannelPlatform! | Yes | Platform connected through the caller’s Slack connection; Slack must already be connected. |
name | String | No | Display name, 1-255 characters. |
agentId | String! | Yes | An agent returned by channelAgents for the same runtime target. |
respondTo | ChannelRespondTo | No | Default mentions. |
allowedSlackChannelIds | [String!] | No | Slack channel IDs. Overlap with another channel in the same workspace is rejected with resource-already-exists. At most 250 IDs; empty means every Slack channel the bot is in. A preview_branch target needs at least one. |
welcomeMessage | String | No | At most 4000 characters; null clears. |
errorMessage | String | No | At most 4000 characters; null clears. |
maxResponseTokens | Int | No | 1-65536; null clears. |
runtimeTargetKind | RuntimeTargetKind | No | Default main_branch. |
targetEnvironmentId | ID | No | Required when runtimeTargetKind is environment. |
targetBranchId | ID | No | Required when runtimeTargetKind is preview_branch. |