# List Lead sources

`source_channels.list`

List a workspace's active Lead sources (Source Channels) by name or type. Each result identifies how businesses or Deals originate and includes an authorized link to the channel. Read one channel before changing its setup.

[Lead sources guide](https://docs.levr.ai/mcp/resources/source_channels.md)

Availability depends on live discovery and your access to the record. Do not infer MCP calls from REST paths.

Operation: read. Required OAuth scopes: mcp.

## Input schema

```json
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "additionalProperties": false,
  "properties": {
    "cursor": {
      "anyOf": [
        {
          "description": "Opaque next_cursor from the preceding page with the same query.",
          "maxLength": 4096,
          "minLength": 1,
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "description": "Opaque next_cursor from the preceding page with the same query."
    },
    "ordering": {
      "default": "name",
      "description": "Comma-separated ordering fields. Prefix a field with - for descending order. Allowed fields: name, created_at, updated_at.",
      "maxLength": 255,
      "minLength": 1,
      "pattern": "^-?(?:name|created_at|updated_at)(?:,-?(?:name|created_at|updated_at)){0,2}$",
      "type": "string"
    },
    "page_size": {
      "default": 20,
      "description": "Maximum items to return. The allowed range is 1 through 50.",
      "maximum": 50,
      "minimum": 1,
      "type": "integer"
    },
    "provider_slug": {
      "description": "Copy provider_slug from providers.list; named slugs are valid.",
      "maxLength": 255,
      "minLength": 1,
      "type": "string"
    },
    "search": {
      "default": "",
      "description": "Case-insensitive search over Lead source names.",
      "maxLength": 255,
      "type": "string"
    },
    "type": {
      "anyOf": [
        {
          "enum": [
            "in_house",
            "client_added",
            "marketplace",
            "business_signup_link",
            "referrer_api",
            "provider_relationship"
          ],
          "type": "string"
        },
        {
          "type": "null"
        }
      ]
    }
  },
  "required": [
    "provider_slug"
  ],
  "type": "object"
}
```

## Output schema

```json
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "additionalProperties": false,
  "oneOf": [
    {
      "not": {
        "required": [
          "error"
        ]
      },
      "properties": {
        "ok": {
          "const": true
        }
      },
      "required": [
        "data"
      ]
    },
    {
      "not": {
        "required": [
          "data"
        ]
      },
      "properties": {
        "ok": {
          "const": false
        }
      },
      "required": [
        "error"
      ]
    }
  ],
  "properties": {
    "data": {
      "additionalProperties": false,
      "properties": {
        "items": {
          "description": "Resources in this page.",
          "items": {
            "additionalProperties": false,
            "properties": {
              "created_at": {
                "format": "date-time",
                "type": "string"
              },
              "frontend_link": {
                "format": "uri",
                "type": "string"
              },
              "id": {
                "description": "Stable public identifier for the referenced resource.",
                "maxLength": 255,
                "minLength": 1,
                "type": "string"
              },
              "name": {
                "type": "string"
              },
              "type": {
                "enum": [
                  "in_house",
                  "client_added",
                  "marketplace",
                  "business_signup_link",
                  "referrer_api",
                  "provider_relationship"
                ],
                "type": "string"
              },
              "type_label": {
                "type": "string"
              },
              "updated_at": {
                "format": "date-time",
                "type": "string"
              }
            },
            "required": [
              "id",
              "name",
              "type",
              "type_label",
              "created_at",
              "updated_at",
              "frontend_link"
            ],
            "type": "object"
          },
          "type": "array"
        },
        "next_cursor": {
          "anyOf": [
            {
              "description": "Opaque cursor for the next page, or null when this is the final page.",
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "description": "Opaque cursor for the next page, or null when this is the final page."
        }
      },
      "required": [
        "items",
        "next_cursor"
      ],
      "type": "object"
    },
    "error": {
      "additionalProperties": false,
      "properties": {
        "code": {
          "type": "string"
        },
        "details": {
          "additionalProperties": true,
          "description": "Optional bounded, agent-safe correction or recovery facts.",
          "type": "object"
        },
        "message": {
          "type": "string"
        },
        "retryable": {
          "type": "boolean"
        }
      },
      "required": [
        "code",
        "message",
        "retryable"
      ],
      "type": "object"
    },
    "meta": {
      "additionalProperties": false,
      "properties": {
        "request_id": {
          "type": "string"
        }
      },
      "required": [
        "request_id"
      ],
      "type": "object"
    },
    "ok": {
      "description": "Whether the tool completed successfully.",
      "type": "boolean"
    }
  },
  "required": [
    "ok",
    "meta"
  ],
  "type": "object"
}
```
