channel

Return a channel binding. Requires project.channels.read.

Arguments

  • projectReferenceID!required

    Project UUID or slug.

  • channelIdID!required

    Channel ID in the selected project; a channel in another project returns not_found.

Responses

query Channel($projectReference: ID!, $channelId: ID!) {  channel(projectReference: $projectReference, channelId: $channelId) {    id    projectId    platform    name    agentId    enabled    status    installationId    platformTeamId    platformBotId    workspaceName    respondTo    allowedSlackChannelIds    welcomeMessage    errorMessage    maxResponseTokens    runtimeTargetKind    targetEnvironmentId    targetBranchId    resolvedTarget {      resolvedInvokeMode    }    createdAt    updatedAt  }}
{  "data": {    "channel": {      "id": "string",      "projectId": "string",      "platform": "slack",      "name": "string",      "agentId": "string",      "enabled": false,      "status": "connected",      "installationId": "string",      "platformTeamId": "string",      "platformBotId": "string",      "workspaceName": "string",      "respondTo": "mentions",      "allowedSlackChannelIds": [        "string"      ],      "welcomeMessage": "string",      "errorMessage": "string",      "maxResponseTokens": 0,      "runtimeTargetKind": "main_branch",      "targetEnvironmentId": "string",      "targetBranchId": "string",      "resolvedTarget": {        "resolvedInvokeMode": "dispatch_override"      },      "createdAt": "2026-01-01T00:00:00Z",      "updatedAt": "2026-01-01T00:00:00Z"    }  }}

The Channel! in data.channel.