---
title: "List provider auth credentials"
method: GET
path: "/provider-auth-credentials"
tags: ["Provider Auth Credentials"]
---

# List provider auth credentials

`GET /provider-auth-credentials`

## Request

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

Returns a paginated list of provider auth credentials.

## 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_auth_method_id` union
  - string
  - string[]
- `origin` union
  - 'custom' | 'managed'
  - string[]
- `search` string
- `created_at` object
  - `gt` string, date-time: Only include records after this timestamp for provider auth credentials creation time
  - `lt` string, date-time: Only include records before this timestamp for provider auth credentials creation time
- `updated_at` object
  - `gt` string, date-time: Only include records after this timestamp for provider auth credentials last update time
  - `lt` string, date-time: Only include records before this timestamp for provider auth credentials last update time

## Headers

- `Metorial-Version` string

## Response `200`

Successful response

- ProviderAuthCredentialsList
  - `items` ProviderAuthCredentials[], required
    - `object` 'provider.auth_credentials', required: String representing the object's type
    - `id` string, required: Unique credentials identifier
    - `type` 'oauth', required
    - `status` 'active' | 'archived' | 'deleted', required: Credentials status
    - `is_default` boolean, required: Whether this is the default credentials for the provider
    - `is_managed` boolean, required: Whether these credentials are managed by Metorial
    - `name` string, nullable, required: Display name
    - `description` string, nullable, required: Description
    - `metadata` object, nullable, required: Custom key-value pairs for storing additional information
    - `scopes` string[], nullable, required: OAuth scopes requested by this credential
    - `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
  - `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)
