---
title: "List provider config vaults"
method: GET
path: "/provider-config-vaults"
tags: ["Provider Config Vaults"]
---

# List provider config vaults

`GET /provider-config-vaults`

## Request

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

Returns a paginated list of provider config vaults.

## Query parameters

- `limit` number
- `after` string
- `before` string
- `cursor` string
- `order` 'asc' | 'desc'
- `status` union
  - 'active' | 'archived'
  - string[]
- `id` union
  - string
  - string[]
- `provider_id` union
  - string
  - string[]
- `provider_deployment_id` union
  - string
  - string[]
- `provider_config_id` union
  - string
  - string[]
- `provider_config_vault_id` union
  - string
  - string[]
- `search` string
- `created_at` object
  - `gt` string, date-time: Only include records after this timestamp for provider config vault creation time
  - `lt` string, date-time: Only include records before this timestamp for provider config vault creation time
- `updated_at` object
  - `gt` string, date-time: Only include records after this timestamp for provider config vault last update time
  - `lt` string, date-time: Only include records before this timestamp for provider config vault last update time

## Headers

- `Metorial-Version` string

## Response `200`

Successful response

- ConfigVaultList
  - `items` ConfigVault[], required
    - `object` 'provider.config_vault', required: String representing the object's type
    - `id` string, required: Unique config vault identifier
    - `status` 'active' | 'archived' | 'deleted', required: Status of the config vault
    - `name` string, required: Display name
    - `description` string, nullable, required: Description
    - `metadata` object, nullable, required: Custom key-value pairs for storing additional information
    - `provider_id` string, required: Provider ID
    - `deployment` object, nullable, required
      - `object` 'provider.deployment#preview', required: String representing the object's type
      - `id` string, required: Deployment ID
      - `is_default` boolean, required: Whether this is the default deployment
      - `name` string, nullable, required: Deployment 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)
