> **Building with AI coding agents?** Install the authstack plugin with one command. This equips your agent with accurate Scalekit implementation patterns.
>
> **Recommended** (the `-y` flags skip prompts, so the command runs without an interactive terminal):
> ```bash
> npx -y @scalekit-inc/cli setup -y
> ```
>
> Global:
> ```bash
> npm install -g @scalekit-inc/cli
> scalekit setup -y
> ```
>
> Supports Claude Code, Cursor, GitHub Copilot, Codex + skills for other Agent Skills-compatible agents in `~/.agents/skills`.
> Skills: integrate-agentkit, implement-saaskit, add-mcp-oauth, implement-sso, implement-scim.
> [Full setup guide](https://docs.scalekit.com/dev-kit/build-with-ai/)

---

# List custom connectors

`GET /api/v1/providers`

Lists connectors. Set `filter.provider_type` to `CUSTOM` to list only this environment's custom connectors, or `ALL` for built-in and custom connectors together. Without it, only built-in connectors are returned. Use it to find a custom connector's `identifier` before you update or delete it.

**Query parameters**

| Name | Type | Required | Description |
| --- | --- | --- | --- |
| `filter.provider_type` | string (enum) | No | Which connectors to return: `DEFAULT` for built-in connectors, `CUSTOM` for this environment's custom connectors, `ALL` for both. One of: `DEFAULT`, `CUSTOM`, `ALL`. |
| `identifier` | string | No | Return only the connector with this `identifier`. Leave it out to list every connector that matches `filter.provider_type`. |
| `page_size` | integer | No | Maximum number of connectors to return per page. |
| `page_token` | string | No | The `next_page_token` from the previous response, to get the next page. Leave it out for the first page. |

**Response (200)**

| Name | Type | Description |
| --- | --- | --- |
| `next_page_token` | string | Pass as `page_token` to get the next page. Empty on the last page. |
| `prev_page_token` | string | Pass as `page_token` to get the previous page. Empty on the first page. |
| `providers` | array of object | The connectors on this page. |
| `providers.auth_patterns` | array of object | How users authenticate, as sent in the request. |
| `providers.auth_patterns.account_fields` | array of object | Inputs collected for an `OAUTH` pattern, such as a value `proxy_url` needs. Same fields as `fields`. |
| `providers.auth_patterns.auth_field_mutations` | object | A `prefix`, `suffix` or `default` applied to a credential before Scalekit sends it, keyed by `api_key`, `token`, `username` or `password`. |
| `providers.auth_patterns.auth_header_key_override` | string | Header to send the credential in when the app doesn't use `Authorization`, such as `X-API-Key`. It applies to a single credential: Scalekit ignores it on a pattern whose fields set `header_name`. |
| `providers.auth_patterns.description` | string | Short explanation of the method. |
| `providers.auth_patterns.display_name` | string | Name of the method, shown to the user while they connect. |
| `providers.auth_patterns.fields` | array of object | Inputs the user fills in for `BEARER`, `API_KEY` and `BASIC`. Leave it empty for `OAUTH` and `NO_AUTH`. For an `API_KEY` pattern that sends several credentials as separate headers, set `header_name` on every credential field. |
| `providers.auth_patterns.fields.field_name` | string | Key the value is stored under: `token` for `BEARER`, `api_key` for `API_KEY`, `username` and `password` for `BASIC`, or a name such as `domain` that `proxy_url` uses as `{{domain}}`. When you set `header_name`, Scalekit derives it from the header name. |
| `providers.auth_patterns.fields.header_name` | string | On an `API_KEY` pattern, the HTTP header that carries this field's value. Set it on every credential field to send several credentials as separate headers; a pattern that sets it on only some fields is rejected. Scalekit derives `field_name` from it, so a connected account takes one value per header, keyed by the header name. |
| `providers.auth_patterns.fields.hint` | string | Helper text shown with the input. |
| `providers.auth_patterns.fields.input_type` | string (enum) | Use `password` for secrets, so the input is masked. One of: `text`, `password`, `select`. |
| `providers.auth_patterns.fields.label` | string | Label shown above the input. |
| `providers.auth_patterns.fields.options` | array of object | Choices for a `select` input, each with `value`, `display_name`, `description` and `default`. |
| `providers.auth_patterns.fields.required` | boolean | Whether the user must fill in the input before connecting. |
| `providers.auth_patterns.is_mcp` | boolean | Set to `true` when `proxy_url` is an MCP server. Set it on every pattern; it can't change later. |
| `providers.auth_patterns.is_open_api` | boolean | Set to `true` on every pattern when you send `openapi_spec_url`. Scalekit sets it from `openapi_spec_url`, whatever you send. |
| `providers.auth_patterns.oauth_config` | object | OAuth settings for an `OAUTH` pattern. For an MCP server, `{"pkce_enabled": true}` is enough: the server handles authorization. |
| `providers.auth_patterns.oauth_config.authorize_uri` | string | The app's authorization endpoint. |
| `providers.auth_patterns.oauth_config.available_scopes` | array of object | Scopes the connection can request, each with `scope`, `display_name`, `description` and `required`. |
| `providers.auth_patterns.oauth_config.pkce_enabled` | boolean | Whether the authorization flow uses PKCE. |
| `providers.auth_patterns.oauth_config.token_uri` | string | The app's token endpoint. |
| `providers.auth_patterns.oauth_config.user_info_uri` | string | Endpoint that returns the signed-in user. |
| `providers.auth_patterns.type` | string (enum) | How users authenticate. Use `NO_AUTH` only for a public MCP server, with `is_mcp` set and no `fields`. The `type` of an existing pattern can't change. One of: `OAUTH`, `BEARER`, `API_KEY`, `BASIC`, `NO_AUTH`. |
| `providers.categories` | array of string | Catalog categories. Empty for a custom connector. |
| `providers.coming_soon` | boolean | Whether the catalog lists the connector as coming soon. |
| `providers.description` | string | Short description of the app. |
| `providers.display_name` | string | Name shown to users. |
| `providers.display_priority` | integer | Where the connector sorts in lists; lower numbers come first. |
| `providers.icon_src` | string | URL of the connector's icon. |
| `providers.id` | string | Scalekit's ID for the connector. |
| `providers.identifier` | string | Pass it to update and delete the connector. Scalekit derives it from `display_name`. |
| `providers.is_custom` | boolean | Indicates whether the provider is environment-scoped (custom provider). |
| `providers.is_custom_mcp` | boolean | Indicates whether this is an environment-scoped MCP-based custom provider. |
| `providers.metadata` | object | Custom key-value metadata stored for this provider. Returned for all providers; defaults to {} when no metadata has been set. |
| `providers.openapi_spec_url` | string | URL of the OpenAPI spec the connector was created from. Empty for an MCP server. |
| `providers.proxy_enabled` | boolean | Whether Scalekit proxies requests to `proxy_url`. |
| `providers.proxy_url` | string | Base URL of the API that the proxy calls. |
| `total_size` | integer | Total number of connectors that match the request, across all pages. |

**Errors**

- `400`: Invalid request - unsupported `filter.provider_type`

**Request**

```bash
curl -sS -G -X GET \
  "$SCALEKIT_ENVIRONMENT_URL/api/v1/providers" \
  -H "Authorization: Bearer $TOKEN" \
  --data-urlencode "filter.provider_type=CUSTOM" \
  --data-urlencode "page_size=10"
```

**Response**

```json
{
  "providers": [
    {
      "id": "prvd_84718296317953812",
      "identifier": "EXAMPLEAPI:12345",
      "display_name": "Example API",
      "description": "Connect to an API that accepts a static bearer token",
      "auth_patterns": [
        {
          "type": "BEARER",
          "display_name": "Bearer Token",
          "description": "Authenticate with a static bearer token",
          "fields": [
            {
              "field_name": "token",
              "label": "Bearer Token",
              "input_type": "password",
              "hint": "Your long-lived bearer token",
              "required": true
            }
          ]
        }
      ],
      "proxy_url": "https://api.example.com",
      "proxy_enabled": true,
      "categories": [],
      "icon_src": "",
      "display_priority": 1,
      "coming_soon": false,
      "is_custom": true,
      "is_custom_mcp": false,
      "metadata": {}
    }
  ],
  "next_page_token": "",
  "prev_page_token": "",
  "total_size": 1
}
```

**Python SDK:** `scalekit_client.actions.providers.list_providers`

Lists connectors, built-in or custom. Set `provider_type` to `ProviderType.CUSTOM` to list only your custom connectors. Without it, only built-in connectors are returned.

```python
scalekit_client.actions.providers.list_providers(
    request: ListProvidersRequest,
) -> ListProvidersResponse
```

Example:

```python
from scalekit.actions.types import ListProvidersRequest
from scalekit.v1.providers.providers_pb2 import ProviderType

result = scalekit_client.actions.providers.list_providers(
    request=ListProvidersRequest(provider_type=ProviderType.CUSTOM, page_size=10),
)
```

| Parameter | Type | Required | Description |
| --- | --- | --- | --- |
| `request` | `ListProvidersRequest` | Yes | The request: `provider_type` (`ProviderType.CUSTOM` for your custom connectors, `ProviderType.ALL` for built-in and custom, `ProviderType.DEFAULT` or left out for built-in only), and optionally `identifier`, `page_size` and `page_token`. |

Returns `ListProvidersResponse`: The a page of providers and a next_page_token for fetching subsequent pages.

**Node.js SDK:** `scalekit.actions.providers.listProviders`

Lists connectors, built-in or custom. Set `providerType` to `ProviderType.CUSTOM` to list only your custom connectors. Without it, only built-in connectors are returned.

```ts
scalekit.actions.providers.listProviders(
  params?: {
    pageSize?: number;
    pageToken?: string;
    providerType?: ProviderType;
    identifier?: string;
  },
): Promise<ListProvidersResponse>
```

Example:

```ts
import { ProviderType } from '@scalekit-sdk/node';

const result = await scalekit.actions.providers.listProviders({
  pageSize: 10,
  providerType: ProviderType.CUSTOM,
});
```

| Parameter | Type | Required | Description |
| --- | --- | --- | --- |
| `pageSize` | `number` | No | Maximum number of connectors to return per page. |
| `pageToken` | `string` | No | The `nextPageToken` from the previous response, to get the next page. Leave it out for the first page. |
| `providerType` | `ProviderType` | No | `ProviderType.CUSTOM` for your custom connectors, `ProviderType.ALL` for built-in and custom. Left out, or `ProviderType.DEFAULT`, returns built-in connectors only. |
| `identifier` | `string` | No | Return only the connector with this `identifier`. |

Returns `Promise<ListProvidersResponse>`.

**Used in**

- [Create a connector](https://docs.scalekit.com/agentkit/bring-your-own-connector/create-connector/)
- [Migrate to AgentKit](https://docs.scalekit.com/agentkit/advanced/migrate-to-agentkit/)


Part of [Custom connectors](https://docs.scalekit.com/agentkit/reference/custom-connectors/) in the [AgentKit API reference](https://docs.scalekit.com/agentkit/reference/). Authentication: https://docs.scalekit.com/agentkit/reference/authentication.md. Errors and rate limits: https://docs.scalekit.com/agentkit/reference/errors.md. Pagination: https://docs.scalekit.com/agentkit/reference/pagination.md


---

## More Scalekit documentation

| Resource | What it contains | When to use it |
|----------|-----------------|----------------|
| [/llms.txt](/llms.txt) | Structured index with routing hints per product area | Start here — find which documentation set covers your topic before loading full content |
| [/llms-full.txt](/llms-full.txt) | Complete documentation for all Scalekit products in one file | Use when you need exhaustive context across multiple products or when the topic spans several areas |
| [sitemap-0.xml](https://docs.scalekit.com/sitemap-0.xml) | Full URL list of every documentation page | Use to discover specific page URLs you can fetch for targeted, page-level answers |
