{
  "schemaVersion": 1,
  "snapshotDate": "2026-10-23",
  "slug": "reference-teams-channels-list",
  "title": "Teams List Channels",
  "section": "Library asset reference",
  "description": "Discover real provider IDs through delegated Graph reads; directory remainder is preserved. top is used for chats only; joinedTeams/channels do not support that parameter.",
  "kind": "node",
  "url": "/wiki/reference-teams-channels-list/",
  "markdown": "/wiki/reference-teams-channels-list/index.md",
  "json": "/wiki/reference-teams-channels-list/index.json",
  "headings": [
    {
      "id": "audited-socket-contract-21-october-2026",
      "title": "Audited socket contract (21 October 2026)",
      "depth": 2
    },
    {
      "id": "catalog-identity",
      "title": "Catalog identity",
      "depth": 2
    },
    {
      "id": "inputs",
      "title": "Inputs",
      "depth": 2
    },
    {
      "id": "outputs",
      "title": "Outputs",
      "depth": 2
    },
    {
      "id": "configuration-schema",
      "title": "Configuration schema",
      "depth": 2
    },
    {
      "id": "source-and-installed-versions",
      "title": "Source and installed versions",
      "depth": 2
    }
  ],
  "sources": [
    "../OpenNodeFlow-Library/work/catalog-all.mjs",
    "../OpenNodeFlow-Library/work/azure-pack-consolidation-20261022/catalog-policy.mjs",
    "../OpenNodeFlow-Library/work/developer-packs-20261022/catalog.mjs",
    "shared/seed.ts",
    "shared/storage-library.ts",
    "shared/variable-library.ts",
    "shared/control-flow.ts",
    "shared/remote-routes.ts",
    "server/runtime-library.ts",
    "shared/error-library.ts",
    "shared/storage-model.ts",
    "shared/builtin-documentation.ts"
  ],
  "family": "teams",
  "contract": {
    "key": "teams.channels.list",
    "slug": "teams-channels-list",
    "name": "Teams List Channels",
    "kind": "node",
    "family": "teams",
    "packId": null,
    "category": "Microsoft Teams",
    "description": "Discover real provider IDs through delegated Graph reads; directory remainder is preserved. top is used for chats only; joinedTeams/channels do not support that parameter.",
    "inputs": [
      {
        "id": "exec",
        "name": "exec",
        "type": "control",
        "typeName": "Control",
        "required": false
      },
      {
        "id": "address",
        "name": "address",
        "type": "@teams.type.address",
        "typeName": "Teams Message Address",
        "typeKey": "teams.type.address",
        "typeVersion": 1,
        "required": true
      },
      {
        "id": "query",
        "name": "query",
        "type": "@teams.type.page.query",
        "typeName": "Teams Page Query",
        "typeKey": "teams.type.page.query",
        "typeVersion": 1,
        "required": false
      }
    ],
    "outputs": [
      {
        "id": "next",
        "name": "next",
        "type": "control",
        "typeName": "Control",
        "required": false
      },
      {
        "id": "error",
        "name": "error",
        "type": "control",
        "typeName": "Control",
        "required": false
      },
      {
        "id": "page",
        "name": "page",
        "type": "@teams.type.directory.page",
        "typeName": "Teams Directory Page",
        "typeKey": "teams.type.directory.page",
        "typeVersion": 1,
        "required": true
      }
    ],
    "configSchema": {
      "type": "object",
      "properties": {
        "accessTokenSecret": {
          "type": "string",
          "minLength": 1,
          "default": "GRAPH_ACCESS_TOKEN"
        },
        "baseUrl": {
          "type": "string",
          "description": "Leave absent for official HTTPS API. Only explicit http://127.0.0.1 or http://[::1] local mock override is accepted."
        },
        "timeoutMs": {
          "type": "integer",
          "minimum": 100,
          "maximum": 120000,
          "default": 15000
        },
        "readRetries": {
          "type": "integer",
          "minimum": 0,
          "maximum": 3,
          "default": 2
        },
        "maxPages": {
          "type": "integer",
          "minimum": 1,
          "maximum": 20,
          "default": 1
        },
        "maxItems": {
          "type": "integer",
          "minimum": 1,
          "maximum": 1000,
          "default": 1000
        }
      },
      "required": [],
      "additionalProperties": false
    },
    "documentation": "Teams List Channels\n\nDiscover real provider IDs through delegated Graph reads; directory remainder is preserved. top is used for chats only; joinedTeams/channels do not support that parameter.\n\nInputs: `exec`, `address`, `query`. Outputs: `next`, `error`, `page`. Configuration follows the inspector schema; no schema defaults are assumed at execution. Missing optional fields stay absent. Provider remainders are retained by codecs. Errors throw and can select a wired error control route.\n\nAuthored 2026-10-20. Provider reference: [official documentation](https://learn.microsoft.com/en-us/graph/api/resources/chatmessage?view=graph-rest-1.0). New assets are v1; callers must preserve exact dependency pins. Mock tests establish request/codec behavior only; live tenant access is unverified.\n\n## Audited socket contract (21 October 2026)\n\nInputs:\n- `address`: `@teams.type.address`; required.\n- `query`: `@teams.type.page.query`; optional (absent stays absent).\n\nOutputs:\n- `page`: `@teams.type.directory.page`; required.\n\nConfiguration:\n- `accessTokenSecret`: string; default \"GRAPH_ACCESS_TOKEN\"\n- `baseUrl`: string; no automatic default. Leave absent for official HTTPS API. Only explicit http://127.0.0.1 or http://[::1] local mock override is accepted.\n- `timeoutMs`: integer; default 15000\n- `readRetries`: integer; default 2\n- `maxPages`: integer; default 1\n- `maxItems`: integer; default 1000\n\nKnown provider records and list elements have structural schemas. Explicit dynamic payloads, selected query results and provider extensions retain the recursive JSON Value vocabulary; they do not imply a known provider entity. Null is distinct from omission. Runtime validates the exact selected immutable type version; reading newer documentation never repins existing graphs. This audit used synthetic fixtures/local mocks and does not establish live provider authorization or delivery.",
    "runtime": "javascript",
    "tags": [
      "library-expansion",
      "node",
      "teams",
      "typed-data"
    ],
    "source": "baseline-catalog"
  }
}
