---
title: "List provider deployments"
method: GET
path: "/provider-deployments"
tags: ["Provider Deployments"]
---

# List provider deployments

`GET /provider-deployments`

## Request

- Base URL: `https://api.metorial.com`
- URL: `https://api.metorial.com/provider-deployments`
- Auth: HTTP bearer

Returns a paginated list of provider deployments.

## Query parameters

- `limit` number
- `after` string
- `before` string
- `cursor` string
- `order` 'asc' | 'desc'
- `id` union
  - string
  - string[]
- `provider_id` union
  - string
  - string[]
- `provider_version_id` union
  - string
  - string[]
- `actor_id` union
  - string
  - string[]
- `consumer_id` union
  - string
  - string[]
- `identity_id` union
  - string
  - string[]
- `identity_credential_id` union
  - string
  - string[]
- `status` union
  - 'active' | 'archived'
  - string[]
- `search` string
- `created_at` object
  - `gt` string, date-time: Only include records after this timestamp for provider deployment creation time
  - `lt` string, date-time: Only include records before this timestamp for provider deployment creation time
- `updated_at` object
  - `gt` string, date-time: Only include records after this timestamp for provider deployment last update time
  - `lt` string, date-time: Only include records before this timestamp for provider deployment last update time

## Headers

- `Metorial-Version` string

## Response `200`

Successful response

- DeploymentList
  - `items` Item21[], required
    - `object` 'provider.deployment', required: String representing the object's type
    - `id` string, required: Unique deployment identifier
    - `status` 'active' | 'archived' | 'deleted', required: Deployment status
    - `is_default` boolean, required: Whether this is the default deployment
    - `name` string, nullable, required: Display name
    - `description` string, nullable, required: Description
    - `metadata` object, nullable, required: Custom key-value pairs for storing additional information
    - `tool_filter` union, required: Tool filter configuration
      - object
        - `type` 'allow_all', required
        - `ignore_parent_filters` boolean, required
      - ToolFilter
        - `type` 'filter', required
        - `filters` union[], required
          - union
            - object
              - …
            - object
              - …
            - object
              - …
            - object
              - …
            - object
              - …
            - object
              - …
            - object
              - …
        - `ignore_parent_filters` boolean, required
    - `provider_id` string, required: Provider ID
    - `locked_version` object, nullable, required
      - `object` 'provider.version', required: String representing the object's type
      - `id` string, required: Unique version identifier
      - `version` string, required: Version identifier string
      - `provider_id` string, required: Provider ID
      - `is_current` boolean, required: Whether this is the current version
      - `name` string, required: Version name
      - `description` string, nullable, required: Version description
      - `metadata` object, nullable, required: Custom key-value pairs for storing additional information
      - `specification_id` string, nullable, required: Specification ID
      - `created_at` string, date-time, required: Timestamp when created
      - `updated_at` string, date-time, required: Timestamp when last updated
    - `default_config` object, nullable, required
      - `object` 'provider.config#preview', required: String representing the object's type
      - `id` string, required: Config ID
      - `is_default` boolean, required: Whether this is the default config
      - `name` string, nullable, required: Config name
      - `description` string, nullable, required: Description
      - `metadata` object, nullable, required: Custom key-value pairs for storing additional information
      - `provider_id` string, required: Provider ID
      - `created_at` string, date-time, required: Timestamp when created
      - `updated_at` string, date-time, required: Timestamp when last updated
    - `created_at` string, date-time, required: Timestamp when created
    - `updated_at` string, date-time, required: Timestamp when last updated
  - `pagination` object, required
    - `has_more_before` boolean, required
    - `has_more_after` boolean, required

## Other responses

- `400`: Invalid parameters or action
- `401`: Missing or invalid API key
- `403`: The key lacks permission for this resource
- `404`: No such resource
- `422`: Validation failed
- `429`: Rate limit exceeded
- `500`: Unexpected server error

---

[API](https://skmtc.dev/metorial/apis/metorial-api.md) - [All operations](https://skmtc.dev/metorial/apis/metorial-api/llms.txt) - [OpenAPI document](https://skmtc.dev/metorial/apis/metorial-api/revisions/10ccc89f3eac?raw)
